You can subscribe to this list here.
2006 |
Jan
|
Feb
(52) |
Mar
(83) |
Apr
(37) |
May
(23) |
Jun
(9) |
Jul
(10) |
Aug
(30) |
Sep
(4) |
Oct
(9) |
Nov
(10) |
Dec
(7) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(3) |
Feb
(20) |
Mar
(3) |
Apr
|
May
(10) |
Jun
(17) |
Jul
(11) |
Aug
(6) |
Sep
(6) |
Oct
|
Nov
(15) |
Dec
(15) |
2008 |
Jan
(12) |
Feb
(1) |
Mar
(13) |
Apr
(7) |
May
(4) |
Jun
(37) |
Jul
(9) |
Aug
(7) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
2009 |
Jan
(1) |
Feb
(11) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2010 |
Jan
(3) |
Feb
(1) |
Mar
|
Apr
|
May
(2) |
Jun
(2) |
Jul
(1) |
Aug
|
Sep
|
Oct
(4) |
Nov
(6) |
Dec
(2) |
2011 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
(3) |
Oct
(3) |
Nov
(6) |
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2014 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Patrick M. <ume...@us...> - 2007-07-11 11:30:38
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv3754 Added Files: mkprefix.c mkprefix.h Log Message: Added -C option to lapply that will create missing intermediate directories. --- NEW FILE: mkprefix.h --- /* * Copyright (c) 2003 Regents of The University of Michigan. * All Rights Reserved. See COPYRIGHT. */ int mkprefix( char *path ); --- NEW FILE: mkprefix.c --- /* * Copyright (c) 2003 Regents of The University of Michigan. * All Rights Reserved. See COPYRIGHT. */ #include "config.h" #include <sys/types.h> #include <sys/stat.h> #include <errno.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <sys/param.h> #include "mkprefix.h" int extern quiet; int extern showprogress; /* mkprefix attempts to create intermediate directories of path. * Intermediate directories are created with the permission of the * mode and UID of the last pre-existing parent directory. */ int mkprefix( char *path ) { char *p, parent_path[ MAXPATHLEN * 2 ]; int saved_errno, parent_stats = 0; uid_t e_uid; struct stat st, parent_st; mode_t mode = 0777; e_uid = geteuid(); /* Move past any leading /'s */ for ( p = path; *p == '/'; p++ ) ; /* Attempt to create each intermediate directory of path */ for ( p = strchr( p, '/' ); p != NULL; p = strchr( p, '/' )) { *p = '\0'; if ( mkdir( path, mode ) < 0 ) { /* Only error if path exists and it's not a directory */ saved_errno = errno; if ( stat( path, &st ) != 0 ) { errno = saved_errno; return( -1 ); } if ( !S_ISDIR( st.st_mode )) { errno = EEXIST; return( -1 ); } errno = 0; *p++ = '/'; continue; } /* Get stats from parent of first missing directory */ if ( !parent_stats ) { if ( snprintf( parent_path, MAXPATHLEN, "%s/..", path) > MAXPATHLEN ) { fprintf( stderr, "%s/..: path too long\n", path ); *p++ = '/'; return( -1 ); } if ( stat( parent_path, &parent_st ) != 0 ) { return( -1 ); } parent_stats = 1; } /* Set mode to that of last preexisting parent */ if ( mode != parent_st.st_mode ) { if ( chmod( path, parent_st.st_mode ) != 0 ) { return( -1 ); } } /* Set uid to that of last preexisting parent */ if ( e_uid != parent_st.st_uid ) { if ( chown( path, parent_st.st_uid, parent_st.st_gid ) != 0 ) { return( -1 ); } } if ( !quiet && !showprogress ) { printf( "%s: created missing prefix\n", path ); } *p++ = '/'; } return( 0 ); } |
From: Patrick M. <ume...@us...> - 2007-07-11 03:01:46
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv30643 Modified Files: Makefile.in ktcheck.c lapply.c lfdiff.c retr.c update.c Log Message: Added -C option to lapply that will create missing intermediate directories. Index: update.c =================================================================== RCS file: /cvsroot/radmind/radmind/update.c,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -d -r1.46 -r1.47 *** update.c 30 Nov 2004 18:44:06 -0000 1.46 --- update.c 11 Jul 2007 03:01:42 -0000 1.47 *************** *** 15,18 **** --- 15,19 ---- #include <sys/attr.h> #endif /* __APPLE__ */ + #include <errno.h> #include <stdio.h> #include <stdlib.h> *************** *** 28,35 **** --- 29,38 ---- #include "transcript.h" #include "progress.h" + #include "mkdirs.h" extern int quiet; extern int linenum; extern int showprogress; + extern int create_prefix; int *************** *** 87,92 **** if ( !present ) { if ( mkdir( path, mode ) != 0 ) { ! perror( path ); ! return( 1 ); } newfile = 1; --- 90,107 ---- if ( !present ) { if ( mkdir( path, mode ) != 0 ) { ! if ( create_prefix && errno == ENOENT ) { ! errno = 0; ! if ( mkprefix( path ) != 0 ) { ! perror( path ); ! return( 1 ); ! } ! if ( mkdir( path, mode ) != 0 ) { ! perror( path ); ! return( 1 ); ! } ! } else { ! perror( path ); ! return( 1 ); ! } } newfile = 1; *************** *** 128,133 **** } if ( link( d_target, path ) != 0 ) { ! perror( path ); ! return( 1 ); } if ( !quiet && !showprogress ) { --- 143,160 ---- } if ( link( d_target, path ) != 0 ) { ! if ( create_prefix && errno == ENOENT ) { ! errno = 0; ! if ( mkprefix( path ) != 0 ) { ! perror( path ); ! return( 1 ); ! } ! if ( link( d_target, path ) != 0 ) { ! perror( path ); ! return( 1 ); ! } ! } else { ! perror( path ); ! return( 1 ); ! } } if ( !quiet && !showprogress ) { *************** *** 154,159 **** } if ( symlink( d_target, path ) != 0 ) { ! perror( path ); ! return( 1 ); } if ( !quiet && !showprogress ) printf( "%s: symbolic linked to %s", --- 181,198 ---- } if ( symlink( d_target, path ) != 0 ) { ! if ( create_prefix && errno == ENOENT ) { ! errno = 0; ! if ( mkprefix( path ) != 0 ) { ! perror( path ); ! return( 1 ); ! } ! if ( symlink( d_target, path ) != 0 ) { ! perror( path ); ! return( 1 ); ! } ! } else { ! perror( path ); ! return( 1 ); ! } } if ( !quiet && !showprogress ) printf( "%s: symbolic linked to %s", *************** *** 172,177 **** if ( !present ) { if ( mkfifo( path, mode ) != 0 ){ ! perror( path ); ! return( 1 ); } if ( lstat( path, st ) != 0 ) { --- 211,228 ---- if ( !present ) { if ( mkfifo( path, mode ) != 0 ){ ! if ( create_prefix && errno == ENOENT ) { ! errno = 0; ! if ( mkprefix( path ) != 0 ) { ! perror( path ); ! return( 1 ); ! } ! if ( mkfifo( path, mode ) != 0 ) { ! perror( path ); ! return( 1 ); ! } ! } else { ! perror( path ); ! return( 1 ); ! } } if ( lstat( path, st ) != 0 ) { *************** *** 221,226 **** if ( mknod( path, mode, dev ) != 0 ) { ! perror( path ); ! return( 1 ); } if ( lstat( path, st ) != 0 ) { --- 272,289 ---- if ( mknod( path, mode, dev ) != 0 ) { ! if ( create_prefix && errno == ENOENT ) { ! errno = 0; ! if ( mkprefix( path ) != 0 ) { ! perror( path ); ! return( 1 ); ! } ! if ( mknod( path, mode, dev ) != 0 ) { ! perror( path ); ! return( 1 ); ! } ! } else { ! perror( path ); ! return( 1 ); ! } } if ( lstat( path, st ) != 0 ) { Index: Makefile.in =================================================================== RCS file: /cvsroot/radmind/radmind/Makefile.in,v retrieving revision 1.102 retrieving revision 1.103 diff -C2 -d -r1.102 -r1.103 *** Makefile.in 18 Jun 2007 21:16:25 -0000 1.102 --- Makefile.in 11 Jul 2007 03:01:42 -0000 1.103 *************** *** 63,71 **** KTCHECK_OBJ= version.o ktcheck.o argcargv.o retr.o base64.o code.o \ cksum.o list.o llist.o connect.o applefile.o tls.o pathcmp.o \ ! progress.o mkdirs.o report.o rmdirs.o LAPPLY_OBJ= version.o lapply.o argcargv.o code.o base64.o retr.o \ radstat.o update.o cksum.o connect.o pathcmp.o progress.o \ ! applefile.o report.o tls.o LCREATE_OBJ= version.o lcreate.o argcargv.o code.o connect.o progress.o \ --- 63,71 ---- KTCHECK_OBJ= version.o ktcheck.o argcargv.o retr.o base64.o code.o \ cksum.o list.o llist.o connect.o applefile.o tls.o pathcmp.o \ ! progress.o mkdirs.o report.o rmdirs.o mkprefix.o LAPPLY_OBJ= version.o lapply.o argcargv.o code.o base64.o retr.o \ radstat.o update.o cksum.o connect.o pathcmp.o progress.o \ ! applefile.o report.o tls.o mkprefix.o LCREATE_OBJ= version.o lcreate.o argcargv.o code.o connect.o progress.o \ *************** *** 80,84 **** LFDIFF_OBJ= version.o lfdiff.o argcargv.o connect.o retr.o cksum.o \ progress.o base64.o applefile.o code.o tls.o pathcmp.o \ ! transcript.o list.o radstat.o hardlink.o REPO_OBJ= version.o repo.o report.o argcargv.o connect.o code.o tls.o --- 80,84 ---- LFDIFF_OBJ= version.o lfdiff.o argcargv.o connect.o retr.o cksum.o \ progress.o base64.o applefile.o code.o tls.o pathcmp.o \ ! transcript.o list.o radstat.o hardlink.o mkprefix.o REPO_OBJ= version.o repo.o report.o argcargv.o connect.o code.o tls.o Index: retr.c =================================================================== RCS file: /cvsroot/radmind/radmind/retr.c,v retrieving revision 1.58 retrieving revision 1.59 diff -C2 -d -r1.58 -r1.59 *** retr.c 6 May 2006 22:07:45 -0000 1.58 --- retr.c 11 Jul 2007 03:01:42 -0000 1.59 *************** *** 39,42 **** --- 39,43 ---- #include "largefile.h" #include "progress.h" + #include "mkprefix.h" extern void (*logger)( char * ); *************** *** 48,51 **** --- 49,53 ---- extern int cksum; extern int errno; + extern int create_prefix; extern SSL_CTX *ctx; *************** *** 120,124 **** return( -1 ); } - if ( verbose ) printf( "<<< " ); /*Create temp file name*/ --- 122,125 ---- *************** *** 131,138 **** /* Open file */ if (( fd = open( temppath, O_WRONLY | O_CREAT, tempmode )) < 0 ) { ! perror( temppath ); ! return( -1 ); } /* Get file from server */ while ( size > 0 ) { --- 132,153 ---- /* Open file */ if (( fd = open( temppath, O_WRONLY | O_CREAT, tempmode )) < 0 ) { ! if ( create_prefix && errno == ENOENT ) { ! errno = 0; ! if ( mkprefix( temppath ) != 0 ) { ! perror( temppath ); ! return( -1 ); ! } ! if (( fd = open( temppath, O_WRONLY | O_CREAT, tempmode )) < 0 ) { ! perror( temppath ); ! return( -1 ); ! } ! } else { ! perror( temppath ); ! return( -1 ); ! } } + if ( verbose ) printf( "<<< " ); + /* Get file from server */ while ( size > 0 ) { *************** *** 279,283 **** return( -1 ); } - if ( verbose ) printf( "<<< " ); if ( size < ( AS_HEADERLEN + ( 3 * sizeof( struct as_entry )) + FINFOLEN )) { --- 294,297 ---- *************** *** 305,308 **** --- 319,351 ---- EVP_DigestUpdate( &mdctx, (char *)&ah, (unsigned int)rc ); } + + /* name temp file */ + if ( snprintf( temppath, MAXPATHLEN, "%s.radmind.%i", path, + getpid()) >= MAXPATHLEN ) { + fprintf( stderr, "%s.radmind.%i: too long", path, ( int )getpid()); + return( -1 ); + } + + /* data fork must exist to write to rsrc fork */ + /* Open here so messages from mkprefix don't verbose dots */ + if (( dfd = open( temppath, O_CREAT | O_EXCL | O_WRONLY, tempmode )) < 0 ) { + if ( create_prefix && errno == ENOENT ) { + errno = 0; + if ( mkprefix( temppath ) != 0 ) { + perror( temppath ); + return( -1 ); + } + if (( dfd = open( temppath, O_CREAT | O_EXCL | O_WRONLY, + tempmode )) < 0 ) { + perror( temppath ); + return( -1 ); + } + } else { + perror( temppath ); + return( -1 ); + } + } + + if ( verbose ) printf( "<<< " ); if ( dodots ) { putc( '.', stdout ); fflush( stdout ); } size -= rc; *************** *** 317,321 **** fprintf( stderr, "retrieve applefile %s failed: 5-%s\n", pathdesc, strerror( errno )); ! return( -1 ); } if ( rc != ( 3 * sizeof( struct as_entry ))) { --- 360,365 ---- fprintf( stderr, "retrieve applefile %s failed: 5-%s\n", pathdesc, strerror( errno )); ! returnval = -1; ! goto error2; } if ( rc != ( 3 * sizeof( struct as_entry ))) { *************** *** 323,327 **** "retrieve applefile %s failed: corrupt AppleSingle-encoded file\n", path ); ! return( -1 ); } --- 367,372 ---- "retrieve applefile %s failed: corrupt AppleSingle-encoded file\n", path ); ! returnval = -1; ! goto error2; } *************** *** 343,347 **** fprintf( stderr, "retrieve applefile %s failed: 6-%s\n", pathdesc, strerror( errno )); ! return( -1 ); } if ( rc != FINFOLEN ) { --- 388,393 ---- fprintf( stderr, "retrieve applefile %s failed: 6-%s\n", pathdesc, strerror( errno )); ! returnval = -1; ! goto error2; } if ( rc != FINFOLEN ) { *************** *** 349,353 **** "retrieve applefile %s failed: corrupt AppleSingle-encoded file\n", path ); ! return( -1 ); } if ( cksum ) { --- 395,400 ---- "retrieve applefile %s failed: corrupt AppleSingle-encoded file\n", path ); ! returnval = -1; ! goto error2; } if ( cksum ) { *************** *** 360,376 **** } - /* name temp file */ - if ( snprintf( temppath, MAXPATHLEN, "%s.radmind.%i", path, - getpid()) >= MAXPATHLEN ) { - fprintf( stderr, "%s.radmind.%i: too long", path, ( int )getpid()); - return( -1 ); - } - - /* data fork must exist to write to rsrc fork */ - if (( dfd = open( temppath, O_CREAT | O_EXCL | O_WRONLY, tempmode )) < 0 ) { - perror( temppath ); - return( -1 ); - } - /* * endian handling: swap bytes to architecture --- 407,410 ---- *************** *** 392,400 **** } if (( rfd = open( rsrc_path, O_WRONLY, 0 )) < 0 ) { perror( rsrc_path ); returnval = -1; goto error2; ! }; for ( rsize = ae_ents[ AS_RFE ].ae_length; --- 426,435 ---- } + /* No need to mkprefix as dfd is already present */ if (( rfd = open( rsrc_path, O_WRONLY, 0 )) < 0 ) { perror( rsrc_path ); returnval = -1; goto error2; ! } for ( rsize = ae_ents[ AS_RFE ].ae_length; Index: ktcheck.c =================================================================== RCS file: /cvsroot/radmind/radmind/ktcheck.c,v retrieving revision 1.123 retrieving revision 1.124 diff -C2 -d -r1.123 -r1.124 *** ktcheck.c 18 Jun 2007 19:40:05 -0000 1.123 --- ktcheck.c 11 Jul 2007 03:01:42 -0000 1.124 *************** *** 48,51 **** --- 48,52 ---- #include "rmdirs.h" #include "report.h" + #include "mkprefix.h" int cleandirs( char *path, struct llist *khead ); *************** *** 67,70 **** --- 68,72 ---- int case_sensitive = 1; int report = 1; + int create_prefix = 0; char *base_kfile= _RADMIND_COMMANDFILE; char *radmind_path = _RADMIND_PATH; Index: lapply.c =================================================================== RCS file: /cvsroot/radmind/radmind/lapply.c,v retrieving revision 1.139 retrieving revision 1.140 diff -C2 -d -r1.139 -r1.140 *** lapply.c 11 Jul 2007 02:59:43 -0000 1.139 --- lapply.c 11 Jul 2007 03:01:42 -0000 1.140 *************** *** 55,58 **** --- 55,59 ---- int case_sensitive = 1; int report = 1; + int create_prefix = 0; char transcript[ 2 * MAXPATHLEN ] = { 0 }; char prepath[ MAXPATHLEN ] = { 0 }; *************** *** 252,256 **** char **capa = NULL; /* capabilities */ ! while (( c = getopt ( argc, argv, "%c:Fh:iInp:qru:Vvw:x:y:z:Z:" )) != EOF ) { switch( c ) { case '%': --- 253,258 ---- char **capa = NULL; /* capabilities */ ! while (( c = getopt( argc, argv, ! "%c:CFh:iInp:qru:Vvw:x:y:z:Z:" )) != EOF ) { switch( c ) { case '%': *************** *** 268,271 **** --- 270,277 ---- break; + case 'C': + create_prefix = 1; + break; + case 'F': force = 1; *************** *** 394,398 **** if ( err ) { ! fprintf( stderr, "usage: %s [ -FiInrV ] [ -%% | -q | -v ] ", argv[ 0 ] ); fprintf( stderr, "[ -c checksum ] [ -h host ] [ -p port ] " ); --- 400,404 ---- if ( err ) { ! fprintf( stderr, "usage: %s [ -CFiInrV ] [ -%% | -q | -v ] ", argv[ 0 ] ); fprintf( stderr, "[ -c checksum ] [ -h host ] [ -p port ] " ); Index: lfdiff.c =================================================================== RCS file: /cvsroot/radmind/radmind/lfdiff.c,v retrieving revision 1.59 retrieving revision 1.60 diff -C2 -d -r1.59 -r1.60 *** lfdiff.c 18 Jun 2007 19:40:05 -0000 1.59 --- lfdiff.c 11 Jul 2007 03:01:42 -0000 1.60 *************** *** 46,49 **** --- 46,51 ---- int cksum = 0; int case_sensitive = 1; + int create_prefix = 0; + int quiet = 1; const EVP_MD *md; SSL_CTX *ctx; |
From: Patrick M. <ume...@us...> - 2007-07-11 03:01:46
|
Update of /cvsroot/radmind/radmind/man In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv30643/man Modified Files: lapply.1 Log Message: Added -C option to lapply that will create missing intermediate directories. Index: lapply.1 =================================================================== RCS file: /cvsroot/radmind/radmind/man/lapply.1,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** lapply.1 26 Mar 2007 18:56:53 -0000 1.16 --- lapply.1 11 Jul 2007 03:01:43 -0000 1.17 *************** *** 5,9 **** .SH SYNOPSIS .B lapply ! .RB [ \-FiInrV ] [ .RB \-%\ |\ \-q\ |\ \-v --- 5,9 ---- .SH SYNOPSIS .B lapply ! .RB [ \-CFiInrV ] [ .RB \-%\ |\ \-q\ |\ \-v *************** *** 43,51 **** the transcript line. File system objects marked with a "-" are removed. Other transcript lines indicate that a file system ! object must be modified or created if missing. lapply is not able to create doors or sockets. .sp File system objects listed in the transcript and present in the file system as a different type are automatically removed. .sp The radmind tools are unaware of user defined file flags, some of which may prevent lapply from successfully completing. Using the -F option, --- 43,61 ---- the transcript line. File system objects marked with a "-" are removed. Other transcript lines indicate that a file system ! object must be modified or created if missing. lapply is not able to create ! doors or sockets. .sp File system objects listed in the transcript and present in the file system as a different type are automatically removed. .sp + By default, + .B lapply + will exit with an error if an object's full path is not present on the file + system. When run with the -C option, + .B lapply + will attempt to create any intermediate directories that are missing. + Intermediated directories inherit the owner, group and permissions of its + parent directory. + .sp The radmind tools are unaware of user defined file flags, some of which may prevent lapply from successfully completing. Using the -F option, *************** *** 74,77 **** --- 84,90 ---- enables checksuming. .TP 19 + .BI \-C + create missing intermediate directories. + .TP 19 .BI \-h\ host specifies the radmind server, by default |
From: Patrick M. <ume...@us...> - 2007-07-11 02:59:50
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv30208 Modified Files: lapply.c Log Message: Removed unset string from error message. Index: lapply.c =================================================================== RCS file: /cvsroot/radmind/radmind/lapply.c,v retrieving revision 1.138 retrieving revision 1.139 diff -C2 -d -r1.138 -r1.139 *** lapply.c 18 Jun 2007 19:40:05 -0000 1.138 --- lapply.c 11 Jul 2007 02:59:43 -0000 1.139 *************** *** 521,526 **** if ( prepath != 0 ) { if ( pathcasecmp( path, prepath, case_sensitive ) < 0 ) { ! fprintf( stderr, "%s: line %d: bad sort order\n", ! transcript, linenum ); goto error2; } --- 521,525 ---- if ( prepath != 0 ) { if ( pathcasecmp( path, prepath, case_sensitive ) < 0 ) { ! fprintf( stderr, "line %d: bad sort order\n", linenum ); goto error2; } |
From: Patrick M. <ume...@us...> - 2007-07-05 19:39:05
|
Update of /cvsroot/radmind/radmind/man In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv10583 Modified Files: fsdiff.1 Log Message: Added information on minus lines. Index: fsdiff.1 =================================================================== RCS file: /cvsroot/radmind/radmind/man/fsdiff.1,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** fsdiff.1 14 Jun 2005 14:13:54 -0000 1.12 --- fsdiff.1 5 Jul 2007 19:38:59 -0000 1.13 *************** *** 187,191 **** .br .sp ! # example command file .br k linux-base.K --- 187,191 ---- .br .sp ! # example command file .br k linux-base.K *************** *** 208,211 **** --- 208,234 ---- filesystem, eg. a filesystem snapshot. .sp + Positive and negative transcripts and special files can be removed from a command file by using minus lines. These lines effectively remove all previously referenced lines that match both the type and path of the minus line. Minus lines begin with a '-', followed by some amount of whitespace. + .sp + Minus lines only apply to transcripts and special files that have already been read from a command file. If a subsequent line or included command file lists the same transcript or special file, it will be once again included. + .sp + For example, if you wanted to remove the special file /etc/fstab from the previous example, you could use this command file: + .br + .br + .sp + # example command file + .br + k linux-base.K + .br + p test/denser-10.T + .br + p simta-032.T + .br + n simta-neg.T + .br + s /etc/fstab + .br + - s /etc/fstab + .sp + The minus line in this example would match the special file /etc/fstab, causing it to be effectively removed from the command file. .SH EXAMPLES In this example, fsdiff is used to generate a line for the negative |
From: Andrew M. <fit...@us...> - 2007-06-24 23:45:36
|
Update of /cvsroot/radmind/radmind-assistant/rte/filters In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv17998/filters Added Files: Applications.transcriptFilter DS_Store.transcriptFilter Non-Root Owners.transcriptFilter Log Message: Basic filters included with RTE. --- NEW FILE: Non-Root Owners.transcriptFilter --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>filterName</key> <string>Non-Root Owners</string> <key>negateBoolean</key> <true/> <key>owner</key> <string>0</string> </dict> </plist> --- NEW FILE: Applications.transcriptFilter --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>filterName</key> <string>Applications</string> <key>negateBoolean</key> <true/> <key>path</key> <string>*.app</string> </dict> </plist> --- NEW FILE: DS_Store.transcriptFilter --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>filterName</key> <string>DS_Store</string> <key>path</key> <string>*.DS_Store</string> </dict> </plist> |
From: Andrew M. <fit...@us...> - 2007-06-24 23:44:48
|
Update of /cvsroot/radmind/radmind-assistant/rte/filters In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv17596/filters Log Message: Directory /cvsroot/radmind/radmind-assistant/rte/filters added to the repository |
From: Andrew M. <fit...@us...> - 2007-06-24 23:11:48
|
Update of /cvsroot/radmind/radmind-assistant/rte In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv4792 Modified Files: RXTranscript.m Log Message: Copy/paste works again. Restored tableview data source methods until I have time to work on version using bindings. Index: RXTranscript.m =================================================================== RCS file: /cvsroot/radmind/radmind-assistant/rte/RXTranscript.m,v retrieving revision 1.111 retrieving revision 1.112 diff -C2 -d -r1.111 -r1.112 *** RXTranscript.m 29 Aug 2006 01:32:00 -0000 1.111 --- RXTranscript.m 24 Jun 2007 23:11:43 -0000 1.112 *************** *** 423,426 **** --- 423,428 ---- NSMutableArray *transcriptObjects = transcriptLines; NSMutableArray *searchCopy = nil; + NSMutableIndexSet *searchIndexes; + unsigned int i; if ( searchResults != nil ) { *************** *** 443,448 **** return; } ! ! [[ self transcriptContents ] removeObjectsInArray: transcriptObjects ]; transcriptObjects = searchResults; } --- 445,459 ---- return; } ! ! searchIndexes = [[ NSMutableIndexSet alloc ] init ]; ! for ( i = 0; i < [ transcriptObjects count ]; i++ ) { ! [ searchIndexes addIndex: [[[ transcriptObjects objectAtIndex: i ] ! objectForKey: @"tindex" ] intValue ]]; ! } ! if ( [ searchIndexes count ] > 0 ) { ! [[ self transcriptContents ] removeObjectsAtIndexes: searchIndexes ]; ! } ! [ searchIndexes release ]; ! transcriptObjects = searchResults; } *************** *** 517,530 **** NSIndexSet *indexes = [ tContentsTableView selectedRowIndexes ]; ! copiedlines = [ NSMutableArray arrayWithCapacity: [ indexes count ]]; [ copiedlines addObjectsFromArray: [[ self displayedTranscriptContents ] objectsAtIndexes: indexes ]]; ! pb = [ NSPasteboard generalPasteboard ]; [ pb declareTypes: [ NSArray arrayWithObject: RTETranscriptContentsPboardType ] owner: self ]; ! [ pb setPropertyList: copiedlines forType: RTETranscriptContentsPboardType ]; } else { if ( [[ tWindow firstResponder ] respondsToSelector: @selector( copy: ) ] ) { --- 528,544 ---- NSIndexSet *indexes = [ tContentsTableView selectedRowIndexes ]; ! copiedlines = [[ NSMutableArray alloc ] initWithCapacity: [ indexes count ]]; [ copiedlines addObjectsFromArray: [[ self displayedTranscriptContents ] objectsAtIndexes: indexes ]]; ! pb = [ NSPasteboard generalPasteboard ]; [ pb declareTypes: [ NSArray arrayWithObject: RTETranscriptContentsPboardType ] owner: self ]; ! ! [ pb setData: [ NSArchiver archivedDataWithRootObject: copiedlines ] ! forType: RTETranscriptContentsPboardType ]; ! [ copiedlines release ]; } else { if ( [[ tWindow firstResponder ] respondsToSelector: @selector( copy: ) ] ) { *************** *** 560,564 **** [ NSArray arrayWithObject: RTETranscriptContentsPboardType ]]; ! id pasteContents = nil; NSMutableArray *lines; --- 574,579 ---- [ NSArray arrayWithObject: RTETranscriptContentsPboardType ]]; ! NSData *pasteData; ! id pasteContents; NSMutableArray *lines; *************** *** 570,574 **** } ! pasteContents = [ pb propertyListForType: RTETranscriptContentsPboardType ]; if ( [ self transcriptContents ] == nil ) { --- 585,594 ---- } ! pasteData = [ pb dataForType: type ]; ! pasteContents = [ NSUnarchiver unarchiveObjectWithData: pasteData ]; ! if ( pasteContents == nil ) { ! NSBeep(); ! return; ! } if ( [ self transcriptContents ] == nil ) { *************** *** 599,603 **** } ! //[ tContentsTableView reloadData ]; [ tWindow setDocumentEdited: YES ]; } --- 619,623 ---- } ! [ tContentsTableView reloadData ]; [ tWindow setDocumentEdited: YES ]; } *************** *** 988,995 **** filter = [[[ RTEFilter alloc ] init ] autorelease ]; filteredTranscript = [ filter filterTranscript: [ self transcriptContents ] withFilterPatterns: [ NSArray arrayWithObject: filterDictionary ]]; ! /* XXX add undo invocation */ [ self setTranscriptContents: filteredTranscript ]; [ self setDisplayedTranscriptContents: [ self transcriptContents ]]; --- 1008,1018 ---- filter = [[[ RTEFilter alloc ] init ] autorelease ]; + /* XXX faster to do with NSIndexSet? */ filteredTranscript = [ filter filterTranscript: [ self transcriptContents ] withFilterPatterns: [ NSArray arrayWithObject: filterDictionary ]]; ! [[ self undoManager ] registerUndoWithTarget: self ! selector: @selector( setTranscriptContents: ) ! object: [ self transcriptContents ]]; [ self setTranscriptContents: filteredTranscript ]; [ self setDisplayedTranscriptContents: [ self transcriptContents ]]; *************** *** 2445,2448 **** --- 2468,2498 ---- /* tableview data source methods */ + - ( int )numberOfRowsInTableView: ( NSTableView * )aTableView + { + int count = [[ self displayedTranscriptContents ] count ]; + + return( count ); + } + + - ( id )tableView: ( NSTableView * )aTableView + objectValueForTableColumn: ( NSTableColumn * )aTableColumn + row: ( int )rowIndex + { + NSMutableArray *lines = [ self displayedTranscriptContents ]; + + if ( [[ aTableColumn identifier ] isEqualToString: @"Path" ] ) { + NSString *path = [[ lines objectAtIndex: rowIndex ] objectForKey: @"path" ]; + NSAttributedString *attrString = [[[ NSAttributedString alloc ] initWithString: path ] autorelease ]; + double width = [ aTableColumn width ]; + + attrString = [ attrString ellipsisAbbreviatedStringForWidth: width ]; + + return( attrString ); + } + + /* rest handled by willDisplayCell: */ + return( @"" ); + } + - ( void )tableView: ( NSTableView * )tableView willDisplayCell: ( id )aCell forTableColumn: ( NSTableColumn * )aTableColumn row: ( int )rowIndex |
From: Patrick M. <ume...@us...> - 2007-06-18 21:16:28
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv25138 Modified Files: Makefile.in Log Message: Using correct variable name when substituting path to echo. Index: Makefile.in =================================================================== RCS file: /cvsroot/radmind/radmind/Makefile.in,v retrieving revision 1.101 retrieving revision 1.102 diff -C2 -d -r1.101 -r1.102 *** Makefile.in 23 May 2007 18:33:45 -0000 1.101 --- Makefile.in 18 Jun 2007 21:16:25 -0000 1.102 *************** *** 254,258 **** -e 's@_RADMIND_COMMANDFILE@${COMMANDFILE}@g' \ -e 's@_RADMIND_VERSION@$(shell cat VERSION)@g' \ ! -e 's@_RADMIND_ECHO_PATH@${ECHOPATH}@g' \ ${srcdir}/ra.sh > tmp/ra.sh; --- 254,258 ---- -e 's@_RADMIND_COMMANDFILE@${COMMANDFILE}@g' \ -e 's@_RADMIND_VERSION@$(shell cat VERSION)@g' \ ! -e 's@_RADMIND_ECHO_PATH@${ECHO}@g' \ ${srcdir}/ra.sh > tmp/ra.sh; |
From: Patrick M. <ume...@us...> - 2007-06-18 19:40:12
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv15907 Modified Files: aclocal.m4 config.h.in configure configure.ac daemon.c ktcheck.c lapply.c largefile.h lcreate.c lfdiff.c repo.c Log Message: A port to HP/UX. Thanks to Jim Foraker for the patch. [ PATCH 1733645 ] Changes include: * no wait4(), so emulated with wait3(). Another option would be to just use wait3() on all platforms, since the extra arg of wait4() isn't currently being used. * check for strtoll() and use strtol if it doesn't exist, even if off_t is 64-bit. Some people have used __strtoll() on HP/UX, but in radmind it's only used for progress reporting, so it didn't seem worth it to use an unapproved function. * use = instead of == in aclocal, since HP/UX /bin/sh doesn't support that test * define _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED=1 on HP/UX. This not only fixes a bunch of prototypes, but is necessary to get gcc to successfully parse the HP/UX includes. * #include <arpa/inet.h> a few places it probably should have been anyways, for hton* and ntoh*. threw in a cast in repo.c to fix a compiler warning probably occuring on multiple platforms. Index: config.h.in =================================================================== RCS file: /cvsroot/radmind/radmind/config.h.in,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** config.h.in 22 Sep 2006 20:44:41 -0000 1.9 --- config.h.in 18 Jun 2007 19:40:05 -0000 1.10 *************** *** 29,32 **** --- 29,35 ---- #undef HAVE_ZLIB + #undef HAVE_WAIT4 + #undef HAVE_STRTOLL + #ifndef MIN #define MIN(a,b) ((a)<(b)?(a):(b)) Index: configure =================================================================== RCS file: /cvsroot/radmind/radmind/configure,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -d -r1.51 -r1.52 *** configure 23 May 2007 18:33:45 -0000 1.51 --- configure 18 Jun 2007 19:40:05 -0000 1.52 *************** *** 5416,5420 **** fi done ! if test x_$found_zlib == x_yes; then if test "$dir" != "/usr"; then CPPFLAGS="$CPPFLAGS -I$zlibdir/include"; --- 5416,5420 ---- fi done ! if test x_$found_zlib = x_yes; then if test "$dir" != "/usr"; then CPPFLAGS="$CPPFLAGS -I$zlibdir/include"; *************** *** 5440,5446 **** # Miscellaneous: ! if test x_$GCC = x_yes; then ! OPTOPTS=${OPTOPTS:-"-Wall -Wmissing-prototypes"} fi --- 5440,5556 ---- + # HPUX lacks wait4 and strtoll + + + for ac_func in wait4 strtoll + do + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` + echo "$as_me:$LINENO: checking for $ac_func" >&5 + echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 + if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. + For example, HP-UX 11i <limits.h> declares gettimeofday. */ + #define $ac_func innocuous_$ac_func + + /* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since + <limits.h> exists even on freestanding compilers. */ + + #ifdef __STDC__ + # include <limits.h> + #else + # include <assert.h> + #endif + + #undef $ac_func + + /* Override any gcc2 internal prototype to avoid an error. */ + #ifdef __cplusplus + extern "C" + { + #endif + /* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ + char $ac_func (); + /* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ + #if defined (__stub_$ac_func) || defined (__stub___$ac_func) + choke me + #else + char (*f) () = $ac_func; + #endif + #ifdef __cplusplus + } + #endif + + int + main () + { + return f != $ac_func; + ; + return 0; + } + _ACEOF + rm -f conftest.$ac_objext conftest$ac_exeext + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" + else + echo "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + + eval "$as_ac_var=no" + fi + rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 + echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 + if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF + #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 + _ACEOF + + fi + done + + # Miscellaneous: ! if test x_$OPTOPTS = x_; then ! if test x_$GCC = x_yes; then ! OPTOPTS="$OPTOPTS -Wall -Wmissing-prototypes" ! fi ! if test x_$build_vendor = x_hp; then ! OPTOPTS="$OPTOPTS -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" ! fi fi Index: daemon.c =================================================================== RCS file: /cvsroot/radmind/radmind/daemon.c,v retrieving revision 1.81 retrieving revision 1.82 diff -C2 -d -r1.81 -r1.82 *** daemon.c 25 May 2007 02:47:20 -0000 1.81 --- daemon.c 18 Jun 2007 19:40:05 -0000 1.82 *************** *** 479,483 **** --- 479,487 ---- child_signal = 0; /* check to see if any children need to be accounted for */ + #ifdef HAVE_WAIT4 while (( pid = wait4( 0, &status, WNOHANG, &usage )) > 0 ) { + #else + while (( pid = wait3(&status, WNOHANG, &usage )) > 0 ) { + #endif connections--; Index: lcreate.c =================================================================== RCS file: /cvsroot/radmind/radmind/lcreate.c,v retrieving revision 1.87 retrieving revision 1.88 diff -C2 -d -r1.87 -r1.88 *** lcreate.c 13 Oct 2006 20:20:20 -0000 1.87 --- lcreate.c 18 Jun 2007 19:40:05 -0000 1.88 *************** *** 11,14 **** --- 11,15 ---- #include <sys/time.h> #include <netinet/in.h> + #include <arpa/inet.h> #include <errno.h> #include <fcntl.h> Index: configure.ac =================================================================== RCS file: /cvsroot/radmind/radmind/configure.ac,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -d -r1.41 -r1.42 *** configure.ac 23 May 2007 18:33:45 -0000 1.41 --- configure.ac 18 Jun 2007 19:40:05 -0000 1.42 *************** *** 73,79 **** CHECK_ZLIB # Miscellaneous: ! if test x_$GCC = x_yes; then ! OPTOPTS=${OPTOPTS:-"-Wall -Wmissing-prototypes"} fi AC_SUBST(OPTOPTS) --- 73,87 ---- CHECK_ZLIB + # HPUX lacks wait4 and strtoll + AC_CHECK_FUNCS(wait4 strtoll) + # Miscellaneous: ! if test x_$OPTOPTS = x_; then ! if test x_$GCC = x_yes; then ! OPTOPTS="$OPTOPTS -Wall -Wmissing-prototypes" ! fi ! if test x_$build_vendor = x_hp; then ! OPTOPTS="$OPTOPTS -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" ! fi fi AC_SUBST(OPTOPTS) Index: repo.c =================================================================== RCS file: /cvsroot/radmind/radmind/repo.c,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** repo.c 27 Feb 2007 15:33:00 -0000 1.9 --- repo.c 18 Jun 2007 19:40:05 -0000 1.10 *************** *** 10,13 **** --- 10,14 ---- #include <sys/time.h> #include <netinet/in.h> + #include <arpa/inet.h> #include <ctype.h> #include <netdb.h> *************** *** 135,139 **** } else { for ( i = 0; i < len; i++ ) { ! if ( isspace( event[ i ] )) { err++; break; --- 136,140 ---- } else { for ( i = 0; i < len; i++ ) { ! if ( isspace( (int)event[ i ] )) { err++; break; Index: ktcheck.c =================================================================== RCS file: /cvsroot/radmind/radmind/ktcheck.c,v retrieving revision 1.122 retrieving revision 1.123 diff -C2 -d -r1.122 -r1.123 *** ktcheck.c 31 May 2007 20:47:16 -0000 1.122 --- ktcheck.c 18 Jun 2007 19:40:05 -0000 1.123 *************** *** 11,14 **** --- 11,15 ---- #include <sys/time.h> #include <netinet/in.h> + #include <arpa/inet.h> #include <dirent.h> #include <fcntl.h> Index: aclocal.m4 =================================================================== RCS file: /cvsroot/radmind/radmind/aclocal.m4,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** aclocal.m4 1 Aug 2006 16:48:05 -0000 1.16 --- aclocal.m4 18 Jun 2007 19:40:05 -0000 1.17 *************** *** 70,74 **** fi done ! if test x_$found_zlib == x_yes; then if test "$dir" != "/usr"; then CPPFLAGS="$CPPFLAGS -I$zlibdir/include"; --- 70,74 ---- fi done ! if test x_$found_zlib = x_yes; then if test "$dir" != "/usr"; then CPPFLAGS="$CPPFLAGS -I$zlibdir/include"; Index: lapply.c =================================================================== RCS file: /cvsroot/radmind/radmind/lapply.c,v retrieving revision 1.137 retrieving revision 1.138 diff -C2 -d -r1.137 -r1.138 *** lapply.c 18 May 2007 19:10:27 -0000 1.137 --- lapply.c 18 Jun 2007 19:40:05 -0000 1.138 *************** *** 10,13 **** --- 10,14 ---- #include <sys/param.h> #include <netinet/in.h> + #include <arpa/inet.h> #include <errno.h> #include <netdb.h> Index: lfdiff.c =================================================================== RCS file: /cvsroot/radmind/radmind/lfdiff.c,v retrieving revision 1.58 retrieving revision 1.59 diff -C2 -d -r1.58 -r1.59 *** lfdiff.c 13 Oct 2006 20:20:20 -0000 1.58 --- lfdiff.c 18 Jun 2007 19:40:05 -0000 1.59 *************** *** 11,14 **** --- 11,15 ---- #include <sys/param.h> #include <netinet/in.h> + #include <arpa/inet.h> #include <fcntl.h> #include <netdb.h> Index: largefile.h =================================================================== RCS file: /cvsroot/radmind/radmind/largefile.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** largefile.h 20 Sep 2004 04:50:59 -0000 1.6 --- largefile.h 18 Jun 2007 19:40:05 -0000 1.7 *************** *** 9,13 **** #if SIZEOF_OFF_T == 8 ! #define strtoofft(x,y,z) (strtoll((x),(y),(z))) #define PRIofft "ll" #else /* a bit of an assumption, here */ --- 9,17 ---- #if SIZEOF_OFF_T == 8 ! #ifdef HAVE_STRTOLL ! #define strtoofft(x,y,z) (strtoll((x),(y),(z))) ! #else ! #define strtoofft(x,y,z) (strtol((x),(y),(z))) ! #endif #define PRIofft "ll" #else /* a bit of an assumption, here */ |
From: Jarod <um...@us...> - 2007-06-13 16:17:45
|
Update of /cvsroot/radmind/radmind-pc/fs In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv28567/fs Modified Files: chksum.c connect.c ktcheck.c ktcheck.vcproj lapply.c lapply.vcproj lcreate.c lcreate.vcproj ntfsdiff.c ntfsdiff.vcproj pathcmp.c retr.c stor.c transcript.c Log Message: Recompiled with new version of Openssl and libsnet. Fixed uploading transcript of size 0 bytes error. Index: connect.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/fs/connect.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** connect.c 14 Dec 2005 20:25:09 -0000 1.3 --- connect.c 13 Jun 2007 16:17:40 -0000 1.4 *************** *** 26,30 **** #include <openssl/sha.h> ! #include <snet.h> #include "transcript.h" --- 26,30 ---- #include <openssl/sha.h> ! #include <libsnet/snet.h> #include "transcript.h" Index: transcript.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/fs/transcript.c,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** transcript.c 14 Dec 2005 20:25:09 -0000 1.16 --- transcript.c 13 Jun 2007 16:17:40 -0000 1.17 *************** *** 281,286 **** if ( tran->t_type == T_NEGATIVE ) { strcpy( cur->pi_chksum_b64, "-" ); ! if ( stricmp( tran->t_pinfo.pi_first_line, cur->pi_first_line ) != 0 || ! stricmp( tran->t_pinfo.pi_sec_string, cur->pi_sec_string ) != 0 ) { t_print( cur, tran, PR_STATUS ); break; --- 281,286 ---- if ( tran->t_type == T_NEGATIVE ) { strcpy( cur->pi_chksum_b64, "-" ); ! if ( _stricmp( tran->t_pinfo.pi_first_line, cur->pi_first_line ) != 0 || ! _stricmp( tran->t_pinfo.pi_sec_string, cur->pi_sec_string ) != 0 ) { t_print( cur, tran, PR_STATUS ); break; *************** *** 298,307 **** strcpy( cur->pi_chksum_b64, "-" ); } ! if ( stricmp( tran->t_pinfo.pi_time_size_string, cur->pi_time_size_string ) != 0 ){ t_print( cur, tran, PR_DOWNLOAD ); break; } ! if ( stricmp( tran->t_pinfo.pi_first_line, cur->pi_first_line ) != 0 || ! stricmp( tran->t_pinfo.pi_sec_string, cur->pi_sec_string ) != 0 ){ t_print( cur, tran, PR_STATUS ); break; --- 298,307 ---- strcpy( cur->pi_chksum_b64, "-" ); } ! if ( _stricmp( tran->t_pinfo.pi_time_size_string, cur->pi_time_size_string ) != 0 ){ t_print( cur, tran, PR_DOWNLOAD ); break; } ! if ( _stricmp( tran->t_pinfo.pi_first_line, cur->pi_first_line ) != 0 || ! _stricmp( tran->t_pinfo.pi_sec_string, cur->pi_sec_string ) != 0 ){ t_print( cur, tran, PR_STATUS ); break; *************** *** 311,316 **** case 'd': /* dir */ ! if ( stricmp( tran->t_pinfo.pi_sec_string, cur->pi_sec_string ) != 0 || ! stricmp( tran->t_pinfo.pi_first_line, cur->pi_first_line ) != 0 ){ t_print( cur, tran, PR_STATUS ); break; --- 311,316 ---- case 'd': /* dir */ ! if ( _stricmp( tran->t_pinfo.pi_sec_string, cur->pi_sec_string ) != 0 || ! _stricmp( tran->t_pinfo.pi_first_line, cur->pi_first_line ) != 0 ){ t_print( cur, tran, PR_STATUS ); break; *************** *** 368,372 **** } ! if ( ! ( strnicmp( child_test_root, begin_tran->t_pinfo.pi_name, strlen( child_test_root ) ) == 0 && ( strlen( child_test_root ) == strlen( begin_tran->t_pinfo.pi_name ) || begin_tran->t_pinfo.pi_name[ strlen( child_test_root ) ] == '/' ) ) ) { --- 368,372 ---- } ! if ( ! ( _strnicmp( child_test_root, begin_tran->t_pinfo.pi_name, strlen( child_test_root ) ) == 0 && ( strlen( child_test_root ) == strlen( begin_tran->t_pinfo.pi_name ) || begin_tran->t_pinfo.pi_name[ strlen( child_test_root ) ] == '/' ) ) ) { Index: lapply.vcproj =================================================================== RCS file: /cvsroot/radmind/radmind-pc/fs/lapply.vcproj,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** lapply.vcproj 14 Dec 2005 20:25:09 -0000 1.2 --- lapply.vcproj 13 Jun 2007 16:17:40 -0000 1.3 *************** *** 2,14 **** <VisualStudioProject ProjectType="Visual C++" ! Version="7.10" Name="lapply" ! ProjectGUID="{937DD88A-B559-4E4B-8613-A1AF099D11E2}" ! SccProjectName="" ! SccLocalPath=""> <Platforms> <Platform ! Name="Win32"/> </Platforms> <Configurations> <Configuration --- 2,17 ---- <VisualStudioProject ProjectType="Visual C++" ! Version="8.00" Name="lapply" ! ProjectGUID="{4E6E7896-C849-4917-B930-BC2352F2DADB}" ! RootNamespace="lapply" ! > <Platforms> <Platform ! Name="Win32" ! /> </Platforms> + <ToolFiles> + </ToolFiles> <Configurations> <Configuration *************** *** 17,72 **** IntermediateDirectory="..\temp\fs" ConfigurationType="1" UseOfMFC="0" ! ATLMinimizesCRunTimeLibraryUsage="FALSE" ! CharacterSet="2"> <Tool Name="VCCLCompilerTool" ! AdditionalOptions="/D "_RADMIND_TLS_CA=\"\"" /D "_RADMIND_TLS_CERT=\"\"" /D "_RADMIND_PATH=\"c:/radmind\"" /D "_RADMIND_COMMANDFILE=\"C:/radmind/client/command.K\"" /D "_RADMIND_HOST=\"\"" /D "_RADMIND_AUTHLEVEL=0"" Optimization="0" ! AdditionalIncludeDirectories="" PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" BasicRuntimeChecks="3" ! RuntimeLibrary="5" ! UsePrecompiledHeader="2" WarningLevel="3" ! SuppressStartupBanner="TRUE" ! DebugInformationFormat="3"/> <Tool ! Name="VCCustomBuildTool"/> <Tool Name="VCLinkerTool" ! AdditionalDependencies="ssleay32.lib libeay32.lib odbc32.lib odbccp32.lib libsnet.lib" OutputFile="..\bin\lapply.exe" LinkIncremental="1" ! SuppressStartupBanner="TRUE" AddModuleNamesToAssembly="" ! GenerateDebugInformation="TRUE" ProgramDatabaseFile=".\Debug/ntfsdiff.pdb" SubSystem="1" ! TargetMachine="1"/> ! <Tool ! Name="VCMIDLTool" ! TypeLibraryName=".\Debug/ntfsdiff.tlb" ! HeaderFileName=""/> ! <Tool ! Name="VCPostBuildEventTool"/> <Tool ! Name="VCPreBuildEventTool"/> <Tool ! Name="VCPreLinkEventTool"/> <Tool ! Name="VCResourceCompilerTool" ! PreprocessorDefinitions="_DEBUG" ! Culture="1033"/> <Tool ! Name="VCWebServiceProxyGeneratorTool"/> <Tool ! Name="VCXMLDataGeneratorTool"/> <Tool ! Name="VCWebDeploymentTool"/> <Tool ! Name="VCManagedWrapperGeneratorTool"/> <Tool ! Name="VCAuxiliaryManagedWrapperGeneratorTool"/> </Configuration> <Configuration --- 20,106 ---- IntermediateDirectory="..\temp\fs" ConfigurationType="1" + InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" UseOfMFC="0" ! ATLMinimizesCRunTimeLibraryUsage="false" ! CharacterSet="2" ! > ! <Tool ! Name="VCPreBuildEventTool" ! /> ! <Tool ! Name="VCCustomBuildTool" ! /> ! <Tool ! Name="VCXMLDataGeneratorTool" ! /> ! <Tool ! Name="VCWebServiceProxyGeneratorTool" ! /> ! <Tool ! Name="VCMIDLTool" ! TypeLibraryName=".\Debug/ntfsdiff.tlb" ! HeaderFileName="" ! /> <Tool Name="VCCLCompilerTool" ! AdditionalOptions="/D "_RADMIND_TLS_CA=\"\"" /D "_RADMIND_TLS_CERT=\"\"" /D "_RADMIND_PATH=\"c:/radmind\"" /D "_RADMIND_COMMANDFILE=\"C:/radmind/client/command.K\"" /D "_RADMIND_HOST=\"\"" /D "_RADMIND_AUTHLEVEL=0" /D "_CRT_SECURE_NO_WARNINGS"" Optimization="0" ! AdditionalIncludeDirectories="..\common" PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" BasicRuntimeChecks="3" ! RuntimeLibrary="1" ! UsePrecompiledHeader="0" WarningLevel="3" ! SuppressStartupBanner="true" ! DebugInformationFormat="3" ! CompileAs="1" ! /> <Tool ! Name="VCManagedResourceCompilerTool" ! /> ! <Tool ! Name="VCResourceCompilerTool" ! PreprocessorDefinitions="_DEBUG" ! Culture="1033" ! /> ! <Tool ! Name="VCPreLinkEventTool" ! /> <Tool Name="VCLinkerTool" ! AdditionalDependencies="ssleay32.lib libeay32.lib odbc32.lib odbccp32.lib libsnetdbg.lib ws2_32.lib" OutputFile="..\bin\lapply.exe" LinkIncremental="1" ! SuppressStartupBanner="true" AddModuleNamesToAssembly="" ! GenerateDebugInformation="true" ProgramDatabaseFile=".\Debug/ntfsdiff.pdb" SubSystem="1" ! TargetMachine="1" ! /> <Tool ! Name="VCALinkTool" ! /> <Tool ! Name="VCManifestTool" ! /> <Tool ! Name="VCXDCMakeTool" ! /> <Tool ! Name="VCBscMakeTool" ! /> <Tool ! Name="VCFxCopTool" ! /> <Tool ! Name="VCAppVerifierTool" ! /> <Tool ! Name="VCWebDeploymentTool" ! /> <Tool ! Name="VCPostBuildEventTool" ! /> </Configuration> <Configuration *************** *** 75,81 **** IntermediateDirectory="..\temp\fs" ConfigurationType="1" UseOfMFC="0" ! ATLMinimizesCRunTimeLibraryUsage="FALSE" ! CharacterSet="2"> <Tool Name="VCCLCompilerTool" --- 109,134 ---- IntermediateDirectory="..\temp\fs" ConfigurationType="1" + InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" UseOfMFC="0" ! ATLMinimizesCRunTimeLibraryUsage="false" ! CharacterSet="2" ! > ! <Tool ! Name="VCPreBuildEventTool" ! /> ! <Tool ! Name="VCCustomBuildTool" ! /> ! <Tool ! Name="VCXMLDataGeneratorTool" ! /> ! <Tool ! Name="VCWebServiceProxyGeneratorTool" ! /> ! <Tool ! Name="VCMIDLTool" ! TypeLibraryName=".\Release/ntfsdiff.tlb" ! HeaderFileName="" ! /> <Tool Name="VCCLCompilerTool" *************** *** 85,127 **** AdditionalIncludeDirectories="..\common" PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" ! StringPooling="TRUE" ! RuntimeLibrary="4" ! EnableFunctionLevelLinking="TRUE" ! UsePrecompiledHeader="2" WarningLevel="3" ! SuppressStartupBanner="TRUE"/> <Tool ! Name="VCCustomBuildTool"/> <Tool Name="VCLinkerTool" AdditionalDependencies="ssleay32.lib libeay32.lib odbc32.lib odbccp32.lib libsnet.lib" LinkIncremental="1" ! SuppressStartupBanner="TRUE" SubSystem="1" ! TargetMachine="1"/> ! <Tool ! Name="VCMIDLTool" ! TypeLibraryName=".\Release/ntfsdiff.tlb" ! HeaderFileName=""/> ! <Tool ! Name="VCPostBuildEventTool"/> <Tool ! Name="VCPreBuildEventTool"/> <Tool ! Name="VCPreLinkEventTool"/> <Tool ! Name="VCResourceCompilerTool" ! PreprocessorDefinitions="NDEBUG" ! Culture="1033"/> <Tool ! Name="VCWebServiceProxyGeneratorTool"/> <Tool ! Name="VCXMLDataGeneratorTool"/> <Tool ! Name="VCWebDeploymentTool"/> <Tool ! Name="VCManagedWrapperGeneratorTool"/> <Tool ! Name="VCAuxiliaryManagedWrapperGeneratorTool"/> </Configuration> </Configurations> --- 138,191 ---- AdditionalIncludeDirectories="..\common" PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" ! StringPooling="true" ! RuntimeLibrary="0" ! EnableFunctionLevelLinking="true" ! UsePrecompiledHeader="0" WarningLevel="3" ! SuppressStartupBanner="true" ! /> <Tool ! Name="VCManagedResourceCompilerTool" ! /> ! <Tool ! Name="VCResourceCompilerTool" ! PreprocessorDefinitions="NDEBUG" ! Culture="1033" ! /> ! <Tool ! Name="VCPreLinkEventTool" ! /> <Tool Name="VCLinkerTool" AdditionalDependencies="ssleay32.lib libeay32.lib odbc32.lib odbccp32.lib libsnet.lib" LinkIncremental="1" ! SuppressStartupBanner="true" SubSystem="1" ! TargetMachine="1" ! /> <Tool ! Name="VCALinkTool" ! /> <Tool ! Name="VCManifestTool" ! /> <Tool ! Name="VCXDCMakeTool" ! /> <Tool ! Name="VCBscMakeTool" ! /> <Tool ! Name="VCFxCopTool" ! /> <Tool ! Name="VCAppVerifierTool" ! /> <Tool ! Name="VCWebDeploymentTool" ! /> <Tool ! Name="VCPostBuildEventTool" ! /> </Configuration> </Configurations> *************** *** 131,251 **** <Filter Name="Source Files" ! Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"> <File ! RelativePath=".\argcargv.c"> </File> <File ! RelativePath="..\common\base64.c"> </File> <File ! RelativePath=".\chksum.c"> </File> <File ! RelativePath=".\code.c"> </File> <File ! RelativePath=".\connect.c"> </File> <File ! RelativePath="..\common\getopt.c"> </File> <File ! RelativePath=".\lapply.c"> </File> <File ! RelativePath="..\common\list.c"> <FileConfiguration ! Name="Debug|Win32"> <Tool Name="VCCLCompilerTool" ! AdditionalIncludeDirectories="..\fs"/> </FileConfiguration> <FileConfiguration ! Name="Release|Win32"> <Tool Name="VCCLCompilerTool" ! AdditionalIncludeDirectories="..\fs"/> </FileConfiguration> </File> <File ! RelativePath=".\llist.c"> </File> <File ! RelativePath="..\common\mkdirs.c"> </File> <File ! RelativePath=".\pathcmp.c"> </File> <File ! RelativePath=".\retr.c"> </File> <File ! RelativePath="..\common\rmdirs.c"> </File> <File ! RelativePath="..\common\tls.c"> </File> <File ! RelativePath=".\transcript.c"> </File> <File ! RelativePath=".\update.c"> </File> <File ! RelativePath=".\winwrap.c"> </File> </Filter> <Filter Name="Header Files" ! Filter="h;hpp;hxx;hm;inl"> <File ! RelativePath=".\argcargv.h"> </File> <File ! RelativePath="..\common\base64.h"> </File> <File ! RelativePath=".\code.h"> </File> <File ! RelativePath=".\connect.h"> </File> <File ! RelativePath="..\common\getopt.h"> </File> <File ! RelativePath="..\common\list.h"> </File> <File ! RelativePath=".\llist.h"> </File> <File ! RelativePath="..\common\mkdirs.h"> </File> <File ! RelativePath=".\pathcmp.h"> </File> <File ! RelativePath="..\common\rmdirs.h"> </File> <File ! RelativePath="..\common\tailor.h"> </File> <File ! RelativePath="..\common\tls.h"> </File> <File ! RelativePath=".\transcript.h"> </File> <File ! RelativePath=".\update.h"> </File> <File ! RelativePath=".\winwrap.h"> </File> </Filter> <Filter Name="Resource Files" ! Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"> </Filter> </Files> --- 195,358 ---- <Filter Name="Source Files" ! Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" ! > <File ! RelativePath=".\argcargv.c" ! > </File> <File ! RelativePath="..\common\base64.c" ! > </File> <File ! RelativePath=".\chksum.c" ! > </File> <File ! RelativePath=".\code.c" ! > </File> <File ! RelativePath=".\connect.c" ! > </File> <File ! RelativePath="..\common\getopt.c" ! > </File> <File ! RelativePath=".\lapply.c" ! > </File> <File ! RelativePath="..\common\list.c" ! > <FileConfiguration ! Name="Debug|Win32" ! > <Tool Name="VCCLCompilerTool" ! AdditionalIncludeDirectories="..\fs" ! /> </FileConfiguration> <FileConfiguration ! Name="Release|Win32" ! > <Tool Name="VCCLCompilerTool" ! AdditionalIncludeDirectories="..\fs" ! /> </FileConfiguration> </File> <File ! RelativePath=".\llist.c" ! > </File> <File ! RelativePath="..\common\mkdirs.c" ! > </File> <File ! RelativePath=".\pathcmp.c" ! > </File> <File ! RelativePath=".\retr.c" ! > </File> <File ! RelativePath="..\common\rmdirs.c" ! > </File> <File ! RelativePath="..\common\tls.c" ! > </File> <File ! RelativePath=".\transcript.c" ! > </File> <File ! RelativePath=".\update.c" ! > </File> <File ! RelativePath="..\common\version.c" ! > ! </File> ! <File ! RelativePath=".\winwrap.c" ! > </File> </Filter> <Filter Name="Header Files" ! Filter="h;hpp;hxx;hm;inl" ! > <File ! RelativePath=".\argcargv.h" ! > </File> <File ! RelativePath="..\common\base64.h" ! > </File> <File ! RelativePath=".\code.h" ! > </File> <File ! RelativePath=".\connect.h" ! > </File> <File ! RelativePath="..\common\getopt.h" ! > </File> <File ! RelativePath="..\common\list.h" ! > </File> <File ! RelativePath=".\llist.h" ! > </File> <File ! RelativePath="..\common\mkdirs.h" ! > </File> <File ! RelativePath=".\pathcmp.h" ! > </File> <File ! RelativePath="..\common\rmdirs.h" ! > </File> <File ! RelativePath="..\common\tailor.h" ! > </File> <File ! RelativePath="..\common\tls.h" ! > </File> <File ! RelativePath=".\transcript.h" ! > </File> <File ! RelativePath=".\update.h" ! > </File> <File ! RelativePath=".\winwrap.h" ! > </File> </Filter> <Filter Name="Resource Files" ! Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" ! > </Filter> </Files> Index: ktcheck.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/fs/ktcheck.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ktcheck.c 17 May 2006 17:41:54 -0000 1.6 --- ktcheck.c 13 Jun 2007 16:17:40 -0000 1.7 *************** *** 34,38 **** #include <openssl/evp.h> ! #include <snet.h> #include "transcript.h" --- 34,38 ---- #include <openssl/evp.h> ! #include <libsnet/snet.h> #include "transcript.h" *************** *** 78,83 **** extern struct timeval timeout; ! char *version = "0.7.0", *checksumlist = "", *child_test_root = ""; ! extern char *ca, *cert, *privatekey; void --- 78,83 ---- extern struct timeval timeout; ! char *checksumlist = "", *child_test_root = ""; ! extern char *version, *ca, *cert, *privatekey; void *************** *** 110,114 **** /* skip dotfiles and the special transcript */ if ( de.cFileName[ 0 ] == '.' || ! stricmp( de.cFileName, "special.T" ) == 0 ) { continue; } --- 110,114 ---- /* skip dotfiles and the special transcript */ if ( de.cFileName[ 0 ] == '.' || ! _stricmp( de.cFileName, "special.T" ) == 0 ) { continue; } *************** *** 121,125 **** /* also skip the base command file */ ! if ( stricmp( fsitem, base_kfile ) == 0 ) { continue; } --- 121,125 ---- /* also skip the base command file */ ! if ( _stricmp( fsitem, base_kfile ) == 0 ) { continue; } *************** *** 143,147 **** } ! if ( stricmp( fsitem, kitem ) == 0 || ischild( kitem, fsitem )) { match = 1; --- 143,147 ---- } ! if ( _stricmp( fsitem, kitem ) == 0 || ischild( kitem, fsitem )) { match = 1; *************** *** 159,163 **** rmdirs( fsitem ); } else { ! if ( unlink( fsitem ) != 0 ) { perror( fsitem ); exit( 2 ); --- 159,163 ---- rmdirs( fsitem ); } else { ! if ( _unlink( fsitem ) != 0 ) { perror( fsitem ); exit( 2 ); *************** *** 367,371 **** /* Make sure it is a directory */ if ( !( st.st_mode & _S_IFDIR )) { ! if ( unlink( tempfile ) != 0 ) { perror( tempfile ); return( 2 ); --- 367,371 ---- /* Make sure it is a directory */ if ( !( st.st_mode & _S_IFDIR )) { ! if ( _unlink( tempfile ) != 0 ) { perror( tempfile ); return( 2 ); *************** *** 471,475 **** if ( update ) { if ( !quiet ) { printf( "%s:", path ); fflush( stdout ); } ! if ( unlink( path ) != 0 ) { perror( path ); return( 2 ); --- 471,475 ---- if ( update ) { if ( !quiet ) { printf( "%s:", path ); fflush( stdout ); } ! if ( _unlink( path ) != 0 ) { perror( path ); return( 2 ); *************** *** 680,684 **** exit( 2 ); } ! if (( kdir = strdup( base_kfile )) == NULL ) { perror( "strdup failed" ); exit( 2 ); --- 680,684 ---- exit( 2 ); } ! if (( kdir = _strdup( base_kfile )) == NULL ) { perror( "strdup failed" ); exit( 2 ); *************** *** 771,775 **** } else { /* special.T not updated */ ! if ( unlink( tempfile ) !=0 ) { perror( tempfile ); exit( 2 ); --- 771,775 ---- } else { /* special.T not updated */ ! if ( _unlink( tempfile ) !=0 ) { perror( tempfile ); exit( 2 ); *************** *** 810,814 **** if ( !quiet ) printf( "%s: updated\n", path ); } else { ! if ( unlink( tempfile ) !=0 ) { perror( tempfile ); exit( 2 ); --- 810,814 ---- if ( !quiet ) printf( "%s: updated\n", path ); } else { ! if ( _unlink( tempfile ) !=0 ) { perror( tempfile ); exit( 2 ); *************** *** 817,821 **** } else { /* special.T not updated */ ! if ( unlink( tempfile ) !=0 ) { perror( tempfile ); exit( 2 ); --- 817,821 ---- } else { /* special.T not updated */ ! if ( _unlink( tempfile ) !=0 ) { perror( tempfile ); exit( 2 ); Index: ntfsdiff.vcproj =================================================================== RCS file: /cvsroot/radmind/radmind-pc/fs/ntfsdiff.vcproj,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ntfsdiff.vcproj 14 Dec 2005 20:25:09 -0000 1.2 --- ntfsdiff.vcproj 13 Jun 2007 16:17:40 -0000 1.3 *************** *** 2,14 **** <VisualStudioProject ProjectType="Visual C++" ! Version="7.10" Name="ntfsdiff" ! ProjectGUID="{937DD88A-B559-4E4B-8613-A1AF099D11E2}" ! SccProjectName="" ! SccLocalPath=""> <Platforms> <Platform ! Name="Win32"/> </Platforms> <Configurations> <Configuration --- 2,16 ---- <VisualStudioProject ProjectType="Visual C++" ! Version="8.00" Name="ntfsdiff" ! ProjectGUID="{08996B7A-3475-47F6-B85A-4B76C267EB6C}" ! > <Platforms> <Platform ! Name="Win32" ! /> </Platforms> + <ToolFiles> + </ToolFiles> <Configurations> <Configuration *************** *** 17,36 **** IntermediateDirectory="..\temp\fs" ConfigurationType="1" UseOfMFC="0" ! ATLMinimizesCRunTimeLibraryUsage="FALSE" ! CharacterSet="2"> <Tool Name="VCCLCompilerTool" Optimization="0" ! AdditionalIncludeDirectories="" PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" BasicRuntimeChecks="3" ! RuntimeLibrary="5" ! UsePrecompiledHeader="2" WarningLevel="3" ! SuppressStartupBanner="TRUE" ! DebugInformationFormat="3"/> <Tool ! Name="VCCustomBuildTool"/> <Tool Name="VCLinkerTool" --- 19,69 ---- IntermediateDirectory="..\temp\fs" ConfigurationType="1" + InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" UseOfMFC="0" ! ATLMinimizesCRunTimeLibraryUsage="false" ! CharacterSet="2" ! > ! <Tool ! Name="VCPreBuildEventTool" ! /> ! <Tool ! Name="VCCustomBuildTool" ! /> ! <Tool ! Name="VCXMLDataGeneratorTool" ! /> ! <Tool ! Name="VCWebServiceProxyGeneratorTool" ! /> ! <Tool ! Name="VCMIDLTool" ! TypeLibraryName=".\Debug/ntfsdiff.tlb" ! HeaderFileName="" ! /> <Tool Name="VCCLCompilerTool" + AdditionalOptions="/D"_CRT_SECURE_NO_WARNINGS"" Optimization="0" ! AdditionalIncludeDirectories="..\common" PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" BasicRuntimeChecks="3" ! RuntimeLibrary="1" ! UsePrecompiledHeader="0" WarningLevel="3" ! SuppressStartupBanner="true" ! DebugInformationFormat="3" ! CompileAs="1" ! /> <Tool ! Name="VCManagedResourceCompilerTool" ! /> ! <Tool ! Name="VCResourceCompilerTool" ! PreprocessorDefinitions="_DEBUG" ! Culture="1033" ! /> ! <Tool ! Name="VCPreLinkEventTool" ! /> <Tool Name="VCLinkerTool" *************** *** 38,71 **** OutputFile="..\bin\ntfsdiff.exe" LinkIncremental="1" ! SuppressStartupBanner="TRUE" AddModuleNamesToAssembly="" ! GenerateDebugInformation="TRUE" ProgramDatabaseFile=".\Debug/ntfsdiff.pdb" SubSystem="1" ! TargetMachine="1"/> ! <Tool ! Name="VCMIDLTool" ! TypeLibraryName=".\Debug/ntfsdiff.tlb" ! HeaderFileName=""/> ! <Tool ! Name="VCPostBuildEventTool"/> <Tool ! Name="VCPreBuildEventTool"/> <Tool ! Name="VCPreLinkEventTool"/> <Tool ! Name="VCResourceCompilerTool" ! PreprocessorDefinitions="_DEBUG" ! Culture="1033"/> <Tool ! Name="VCWebServiceProxyGeneratorTool"/> <Tool ! Name="VCXMLDataGeneratorTool"/> <Tool ! Name="VCWebDeploymentTool"/> <Tool ! Name="VCManagedWrapperGeneratorTool"/> <Tool ! Name="VCAuxiliaryManagedWrapperGeneratorTool"/> </Configuration> <Configuration --- 71,105 ---- OutputFile="..\bin\ntfsdiff.exe" LinkIncremental="1" ! SuppressStartupBanner="true" AddModuleNamesToAssembly="" ! GenerateDebugInformation="true" ProgramDatabaseFile=".\Debug/ntfsdiff.pdb" SubSystem="1" ! TargetMachine="1" ! /> <Tool ! Name="VCALinkTool" ! /> <Tool ! Name="VCManifestTool" ! /> <Tool ! Name="VCXDCMakeTool" ! /> <Tool ! Name="VCBscMakeTool" ! /> <Tool ! Name="VCFxCopTool" ! /> <Tool ! Name="VCAppVerifierTool" ! /> <Tool ! Name="VCWebDeploymentTool" ! /> <Tool ! Name="VCPostBuildEventTool" ! /> </Configuration> <Configuration *************** *** 74,80 **** IntermediateDirectory="..\temp\fs" ConfigurationType="1" UseOfMFC="0" ! ATLMinimizesCRunTimeLibraryUsage="FALSE" ! CharacterSet="2"> <Tool Name="VCCLCompilerTool" --- 108,133 ---- IntermediateDirectory="..\temp\fs" ConfigurationType="1" + InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" UseOfMFC="0" ! ATLMinimizesCRunTimeLibraryUsage="false" ! CharacterSet="2" ! > ! <Tool ! Name="VCPreBuildEventTool" ! /> ! <Tool ! Name="VCCustomBuildTool" ! /> ! <Tool ! Name="VCXMLDataGeneratorTool" ! /> ! <Tool ! Name="VCWebServiceProxyGeneratorTool" ! /> ! <Tool ! Name="VCMIDLTool" ! TypeLibraryName=".\Release/ntfsdiff.tlb" ! HeaderFileName="" ! /> <Tool Name="VCCLCompilerTool" *************** *** 83,125 **** AdditionalIncludeDirectories="..\common" PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" ! StringPooling="TRUE" ! RuntimeLibrary="4" ! EnableFunctionLevelLinking="TRUE" ! UsePrecompiledHeader="2" WarningLevel="3" ! SuppressStartupBanner="TRUE"/> <Tool ! Name="VCCustomBuildTool"/> <Tool Name="VCLinkerTool" AdditionalDependencies="ssleay32.lib libeay32.lib odbc32.lib odbccp32.lib" LinkIncremental="1" ! SuppressStartupBanner="TRUE" SubSystem="1" ! TargetMachine="1"/> ! <Tool ! Name="VCMIDLTool" ! TypeLibraryName=".\Release/ntfsdiff.tlb" ! HeaderFileName=""/> ! <Tool ! Name="VCPostBuildEventTool"/> <Tool ! Name="VCPreBuildEventTool"/> <Tool ! Name="VCPreLinkEventTool"/> <Tool ! Name="VCResourceCompilerTool" ! PreprocessorDefinitions="NDEBUG" ! Culture="1033"/> <Tool ! Name="VCWebServiceProxyGeneratorTool"/> <Tool ! Name="VCXMLDataGeneratorTool"/> <Tool ! Name="VCWebDeploymentTool"/> <Tool ! Name="VCManagedWrapperGeneratorTool"/> <Tool ! Name="VCAuxiliaryManagedWrapperGeneratorTool"/> </Configuration> </Configurations> --- 136,189 ---- AdditionalIncludeDirectories="..\common" PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" ! StringPooling="true" ! RuntimeLibrary="0" ! EnableFunctionLevelLinking="true" ! UsePrecompiledHeader="0" WarningLevel="3" ! SuppressStartupBanner="true" ! /> <Tool ! Name="VCManagedResourceCompilerTool" ! /> ! <Tool ! Name="VCResourceCompilerTool" ! PreprocessorDefinitions="NDEBUG" ! Culture="1033" ! /> ! <Tool ! Name="VCPreLinkEventTool" ! /> <Tool Name="VCLinkerTool" AdditionalDependencies="ssleay32.lib libeay32.lib odbc32.lib odbccp32.lib" LinkIncremental="1" ! SuppressStartupBanner="true" SubSystem="1" ! TargetMachine="1" ! /> <Tool ! Name="VCALinkTool" ! /> <Tool ! Name="VCManifestTool" ! /> <Tool ! Name="VCXDCMakeTool" ! /> <Tool ! Name="VCBscMakeTool" ! /> <Tool ! Name="VCFxCopTool" ! /> <Tool ! Name="VCAppVerifierTool" ! /> <Tool ! Name="VCWebDeploymentTool" ! /> <Tool ! Name="VCPostBuildEventTool" ! /> </Configuration> </Configurations> *************** *** 129,257 **** <Filter Name="Source Files" ! Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"> <File ! RelativePath="argcargv.c"> <FileConfiguration ! Name="Debug|Win32"> <Tool Name="VCCLCompilerTool" Optimization="0" PreprocessorDefinitions="" ! BasicRuntimeChecks="3"/> </FileConfiguration> <FileConfiguration ! Name="Release|Win32"> <Tool Name="VCCLCompilerTool" Optimization="2" ! PreprocessorDefinitions=""/> </FileConfiguration> </File> <File ! RelativePath="..\common\base64.c"> </File> <File ! RelativePath="chksum.c"> <FileConfiguration ! Name="Debug|Win32"> <Tool Name="VCCLCompilerTool" Optimization="0" PreprocessorDefinitions="" ! BasicRuntimeChecks="3"/> </FileConfiguration> <FileConfiguration ! Name="Release|Win32"> <Tool Name="VCCLCompilerTool" Optimization="2" ! PreprocessorDefinitions=""/> </FileConfiguration> </File> <File ! RelativePath="code.c"> <FileConfiguration ! Name="Debug|Win32"> <Tool Name="VCCLCompilerTool" Optimization="0" PreprocessorDefinitions="" ! BasicRuntimeChecks="3"/> </FileConfiguration> <FileConfiguration ! Name="Release|Win32"> <Tool Name="VCCLCompilerTool" Optimization="2" ! PreprocessorDefinitions=""/> </FileConfiguration> </File> <File ! RelativePath="..\common\getopt.c"> </File> <File ! RelativePath="llist.c"> <FileConfiguration ! Name="Debug|Win32"> <Tool Name="VCCLCompilerTool" Optimization="0" PreprocessorDefinitions="" ! BasicRuntimeChecks="3"/> </FileConfiguration> <FileConfiguration ! Name="Release|Win32"> <Tool Name="VCCLCompilerTool" Optimization="2" ! PreprocessorDefinitions=""/> </FileConfiguration> </File> <File ! RelativePath=".\ntfsdiff.c"> </File> <File ! RelativePath=".\pathcmp.c"> <FileConfiguration ! Name="Release|Win32"> <Tool Name="VCCLCompilerTool" ! AdditionalIncludeDirectories=""/> </FileConfiguration> </File> <File ! RelativePath="transcript.c"> <FileConfiguration ! Name="Debug|Win32"> <Tool Name="VCCLCompilerTool" Optimization="0" PreprocessorDefinitions="" ! BasicRuntimeChecks="3"/> </FileConfiguration> <FileConfiguration ! Name="Release|Win32"> <Tool Name="VCCLCompilerTool" Optimization="2" ! PreprocessorDefinitions=""/> </FileConfiguration> </File> <File ! RelativePath="winwrap.c"> <FileConfiguration ! Name="Debug|Win32"> <Tool Name="VCCLCompilerTool" Optimization="0" PreprocessorDefinitions="" ! BasicRuntimeChecks="3"/> </FileConfiguration> <FileConfiguration ! Name="Release|Win32"> <Tool Name="VCCLCompilerTool" Optimization="2" ! PreprocessorDefinitions=""/> </FileConfiguration> </File> --- 193,362 ---- <Filter Name="Source Files" ! Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" ! > <File ! RelativePath="argcargv.c" ! > <FileConfiguration ! Name="Debug|Win32" ! > <Tool Name="VCCLCompilerTool" Optimization="0" PreprocessorDefinitions="" ! BasicRuntimeChecks="3" ! /> </FileConfiguration> <FileConfiguration ! Name="Release|Win32" ! > <Tool Name="VCCLCompilerTool" Optimization="2" ! PreprocessorDefinitions="" ! /> </FileConfiguration> </File> <File ! RelativePath="..\common\base64.c" ! > </File> <File ! RelativePath="chksum.c" ! > <FileConfiguration ! Name="Debug|Win32" ! > <Tool Name="VCCLCompilerTool" Optimization="0" PreprocessorDefinitions="" ! BasicRuntimeChecks="3" ! /> </FileConfiguration> <FileConfiguration ! Name="Release|Win32" ! > <Tool Name="VCCLCompilerTool" Optimization="2" ! PreprocessorDefinitions="" ! /> </FileConfiguration> </File> <File ! RelativePath="code.c" ! > <FileConfiguration ! Name="Debug|Win32" ! > <Tool Name="VCCLCompilerTool" Optimization="0" PreprocessorDefinitions="" ! BasicRuntimeChecks="3" ! /> </FileConfiguration> <FileConfiguration ! Name="Release|Win32" ! > <Tool Name="VCCLCompilerTool" Optimization="2" ! PreprocessorDefinitions="" ! /> </FileConfiguration> </File> <File ! RelativePath="..\common\getopt.c" ! > </File> <File ! RelativePath="llist.c" ! > <FileConfiguration ! Name="Debug|Win32" ! > <Tool Name="VCCLCompilerTool" Optimization="0" PreprocessorDefinitions="" ! BasicRuntimeChecks="3" ! /> </FileConfiguration> <FileConfiguration ! Name="Release|Win32" ! > <Tool Name="VCCLCompilerTool" Optimization="2" ! PreprocessorDefinitions="" ! /> </FileConfiguration> </File> <File ! RelativePath=".\ntfsdiff.c" ! > </File> <File ! RelativePath=".\pathcmp.c" ! > <FileConfiguration ! Name="Release|Win32" ! > <Tool Name="VCCLCompilerTool" ! AdditionalIncludeDirectories="" ! /> </FileConfiguration> </File> <File ! RelativePath="transcript.c" ! > <FileConfiguration ! Name="Debug|Win32" ! > <Tool Name="VCCLCompilerTool" Optimization="0" PreprocessorDefinitions="" ! BasicRuntimeChecks="3" ! /> </FileConfiguration> <FileConfiguration ! Name="Release|Win32" ! > <Tool Name="VCCLCompilerTool" Optimization="2" ! PreprocessorDefinitions="" ! /> </FileConfiguration> </File> <File ! RelativePath="..\common\version.c" ! > ! </File> ! <File ! RelativePath="winwrap.c" ! > <FileConfiguration ! Name="Debug|Win32" ! > <Tool Name="VCCLCompilerTool" Optimization="0" PreprocessorDefinitions="" ! BasicRuntimeChecks="3" ! /> </FileConfiguration> <FileConfiguration ! Name="Release|Win32" ! > <Tool Name="VCCLCompilerTool" Optimization="2" ! PreprocessorDefinitions="" ! /> </FileConfiguration> </File> *************** *** 259,294 **** <Filter Name="Header Files" ! Filter="h;hpp;hxx;hm;inl"> <File ! RelativePath="argcargv.h"> </File> <File ! RelativePath="..\common\base64.h"> </File> <File ! RelativePath="code.h"> </File> <File ! RelativePath="..\common\getopt.h"> </File> <File ! RelativePath="llist.h"> </File> <File ! RelativePath=".\pathcmp.h"> </File> <File ! RelativePath="..\common\tailor.h"> </File> <File ! RelativePath="transcript.h"> </File> <File ! RelativePath="winwrap.h"> </File> </Filter> <Filter Name="Resource Files" ! Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"> </Filter> </Files> --- 364,410 ---- <Filter Name="Header Files" ! Filter="h;hpp;hxx;hm;inl" ! > <File ! RelativePath="argcargv.h" ! > </File> <File ! RelativePath="..\common\base64.h" ! > </File> <File ! RelativePath="code.h" ! > </File> <File ! RelativePath="..\common\getopt.h" ! > </File> <File ! RelativePath="llist.h" ! > </File> <File ! RelativePath=".\pathcmp.h" ! > </File> <File ! RelativePath="..\common\tailor.h" ! > </File> <File ! RelativePath="transcript.h" ! > </File> <File ! RelativePath="winwrap.h" ! > </File> </Filter> <Filter Name="Resource Files" ! Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" ! > </Filter> </Files> Index: lcreate.vcproj =================================================================== RCS file: /cvsroot/radmind/radmind-pc/fs/lcreate.vcproj,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** lcreate.vcproj 14 Dec 2005 20:25:09 -0000 1.2 --- lcreate.vcproj 13 Jun 2007 16:17:40 -0000 1.3 *************** *** 2,14 **** <VisualStudioProject ProjectType="Visual C++" ! Version="7.10" Name="lcreate" ! ProjectGUID="{937DD88A-B559-4E4B-8613-A1AF099D11E2}" ! SccProjectName="" ! SccLocalPath=""> <Platforms> <Platform ! Name="Win32"/> </Platforms> <Configurations> <Configuration --- 2,17 ---- <VisualStudioProject ProjectType="Visual C++" ! Version="8.00" Name="lcreate" ! ProjectGUID="{47A23069-F7D7-4A29-AF3E-74BA91C434DF}" ! RootNamespace="lcreate" ! > <Platforms> <Platform ! Name="Win32" ! /> </Platforms> + <ToolFiles> + </ToolFiles> <Configurations> <Configuration *************** *** 17,72 **** IntermediateDirectory="..\temp\fs" ConfigurationType="1" UseOfMFC="0" ! ATLMinimizesCRunTimeLibraryUsage="FALSE" ! CharacterSet="2"> <Tool Name="VCCLCompilerTool" ! AdditionalOptions="/D "_RADMIND_TLS_CA=\"\"" /D "_RADMIND_TLS_CERT=\"\"" /D "_RADMIND_PATH=\"c:/radmind\"" /D "_RADMIND_COMMANDFILE=\"C:/radmind/client/command.K\"" /D "_RADMIND_HOST=\"\"" /D "_RADMIND_AUTHLEVEL=0"" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" BasicRuntimeChecks="3" ! RuntimeLibrary="5" ! UsePrecompiledHeader="2" WarningLevel="3" ! SuppressStartupBanner="TRUE" ! DebugInformationFormat="3"/> <Tool ! Name="VCCustomBuildTool"/> <Tool Name="VCLinkerTool" ! AdditionalDependencies="ssleay32.lib libeay32.lib odbc32.lib odbccp32.lib libsnet.lib" OutputFile="..\bin\lcreate.exe" LinkIncremental="1" ! SuppressStartupBanner="TRUE" AddModuleNamesToAssembly="" ! GenerateDebugInformation="TRUE" ProgramDatabaseFile=".\Debug/ntfsdiff.pdb" SubSystem="1" ! TargetMachine="1"/> ! <Tool ! Name="VCMIDLTool" ! TypeLibraryName=".\Debug/ntfsdiff.tlb" ! HeaderFileName=""/> ! <Tool ! Name="VCPostBuildEventTool"/> <Tool ! Name="VCPreBuildEventTool"/> <Tool ! Name="VCPreLinkEventTool"/> <Tool ! Name="VCResourceCompilerTool" ! PreprocessorDefinitions="_DEBUG" ! Culture="1033"/> <Tool ! Name="VCWebServiceProxyGeneratorTool"/> <Tool ! Name="VCXMLDataGeneratorTool"/> <Tool ! Name="VCWebDeploymentTool"/> <Tool ! Name="VCManagedWrapperGeneratorTool"/> <Tool ! Name="VCAuxiliaryManagedWrapperGeneratorTool"/> </Configuration> <Configuration --- 20,106 ---- IntermediateDirectory="..\temp\fs" ConfigurationType="1" + InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" UseOfMFC="0" ! ATLMinimizesCRunTimeLibraryUsage="false" ! CharacterSet="2" ! > ! <Tool ! Name="VCPreBuildEventTool" ! /> ! <Tool ! Name="VCCustomBuildTool" ! /> ! <Tool ! Name="VCXMLDataGeneratorTool" ! /> ! <Tool ! Name="VCWebServiceProxyGeneratorTool" ! /> ! <Tool ! Name="VCMIDLTool" ! TypeLibraryName=".\Debug/ntfsdiff.tlb" ! HeaderFileName="" ! /> <Tool Name="VCCLCompilerTool" ! AdditionalOptions="/D "_RADMIND_TLS_CA=\"\"" /D "_RADMIND_TLS_CERT=\"\"" /D "_RADMIND_PATH=\"c:/radmind\"" /D "_RADMIND_COMMANDFILE=\"C:/radmind/client/command.K\"" /D "_RADMIND_HOST=\"\"" /D "_RADMIND_AUTHLEVEL=0" /D"_CRT_SECURE_NO_WARNINGS"" Optimization="0" AdditionalIncludeDirectories="" PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" BasicRuntimeChecks="3" ! RuntimeLibrary="1" ! UsePrecompiledHeader="0" WarningLevel="3" ! SuppressStartupBanner="true" ! DebugInformationFormat="3" ! CompileAs="1" ! /> <Tool ! Name="VCManagedResourceCompilerTool" ! /> ! <Tool ! Name="VCResourceCompilerTool" ! PreprocessorDefinitions="_DEBUG" ! Culture="1033" ! /> ! <Tool ! Name="VCPreLinkEventTool" ! /> <Tool Name="VCLinkerTool" ! AdditionalDependencies="ssleay32.lib libeay32.lib odbc32.lib odbccp32.lib libsnetdbg.lib ws2_32.lib" OutputFile="..\bin\lcreate.exe" LinkIncremental="1" ! SuppressStartupBanner="true" AddModuleNamesToAssembly="" ! GenerateDebugInformation="true" ProgramDatabaseFile=".\Debug/ntfsdiff.pdb" SubSystem="1" ! TargetMachine="1" ! /> <Tool ! Name="VCALinkTool" ! /> <Tool ! Name="VCManifestTool" ! /> <Tool ! Name="VCXDCMakeTool" ! /> <Tool ! Name="VCBscMakeTool" ! /> <Tool ! Name="VCFxCopTool" ! /> <Tool ! Name="VCAppVerifierTool" ! /> <Tool ! Name="VCWebDeploymentTool" ! /> <Tool ! Name="VCPostBuildEventTool" ! /> </Configuration> <Configuration *************** *** 75,81 **** IntermediateDirectory="..\temp\fs" ConfigurationType="1" UseOfMFC="0" ! ATLMinimizesCRunTimeLibraryUsage="FALSE" ! CharacterSet="2"> <Tool Name="VCCLCompilerTool" --- 109,134 ---- IntermediateDirectory="..\temp\fs" ConfigurationType="1" + InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" UseOfMFC="0" ! ATLMinimizesCRunTimeLibraryUsage="false" ! CharacterSet="2" ! > ! <Tool ! Name="VCPreBuildEventTool" ! /> ! <Tool ! Name="VCCustomBuildTool" ! /> ! <Tool ! Name="VCXMLDataGeneratorTool" ! /> ! <Tool ! Name="VCWebServiceProxyGeneratorTool" ! /> ! <Tool ! Name="VCMIDLTool" ! TypeLibraryName=".\Release/ntfsdiff.tlb" ! HeaderFileName="" ! /> <Tool Name="VCCLCompilerTool" *************** *** 85,127 **** AdditionalIncludeDirectories="..\common" PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" ! StringPooling="TRUE" ! RuntimeLibrary="4" ! EnableFunctionLevelLinking="TRUE" ! UsePrecompiledHeader="2" WarningLevel="3" ! SuppressStartupBanner="TRUE"/> <Tool ! Name="VCCustomBuildTool"/> <Tool Name="VCLinkerTool" ! AdditionalDependencies="ssleay32.lib libeay32.lib odbc32.lib odbccp32.lib libsnet.lib" LinkIncremental="1" ! SuppressStartupBanner="TRUE" SubSystem="1" ! TargetMachine="1"/> ! <Tool ! Name="VCMIDLTool" ! TypeLibraryName=".\Release/ntfsdiff.tlb" ! HeaderFileName=""/> ! <Tool ! Name="VCPostBuildEventTool"/> <Tool ! Name="VCPreBuildEventTool"/> <Tool ! Name="VCPreLinkEventTool"/> <Tool ! Name="VCResourceCompilerTool" ! PreprocessorDefinitions="NDEBUG" ! Culture="1033"/> <Tool ! Name="VCWebServiceProxyGeneratorTool"/> <Tool ! Name="VCXMLDataGeneratorTool"/> <Tool ! Name="VCWebDeploymentTool"/> <Tool ! Name="VCManagedWrapperGeneratorTool"/> <Tool ! Name="VCAuxiliaryManagedWrapperGeneratorTool"/> </Configuration> </Configurations> --- 138,191 ---- AdditionalIncludeDirectories="..\common" PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" ! StringPooling="true" ! RuntimeLibrary="0" ! EnableFunctionLevelLinking="true" ! UsePrecompiledHeader="0" WarningLevel="3" ! SuppressStartupBanner="true" ! /> <Tool ! Name="VCManagedResourceCompilerTool" ! /> ! <Tool ! Name="VCResourceCompilerTool" ! PreprocessorDefinitions="NDEBUG" ! Culture="1033" ! /> ! <Tool ! Name="VCPreLinkEventTool" ! /> <Tool Name="VCLinkerTool" ! AdditionalDependencies="ssleay32.lib libeay32.lib odbc32.lib odbccp32.lib libsnet32.lib ws2_32.lib" LinkIncremental="1" ! SuppressStartupBanner="true" SubSystem="1" ! TargetMachine="1" ! /> <Tool ! Name="VCALinkTool" ! /> <Tool ! Name="VCManifestTool" ! /> <Tool ! Name="VCXDCMakeTool" ! /> <Tool ! Name="VCBscMakeTool" ! /> <Tool ! Name="VCFxCopTool" ! /> <Tool ! Name="VCAppVerifierTool" ! /> <Tool ! Name="VCWebDeploymentTool" ! /> <Tool ! Name="VCPostBuildEventTool" ! /> </Configuration> </Configurations> *************** *** 131,242 **** <Filter Name="Source Files" ! Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"> <File ! RelativePath=".\argcargv.c"> </File> <File ! RelativePath="..\common\base64.c"> </File> <File ! RelativePath=".\chksum.c"> </File> <File ! RelativePath=".\code.c"> </File> <File ! RelativePath=".\connect.c"> </File> <File ! RelativePath="..\common\getopt.c"> </File> <File ! RelativePath=".\lcreate.c"> </File> <File ! RelativePath="..\common\list.c"> <FileConfiguration ! Name="Debug|Win32"> <Tool Name="VCCLCompilerTool" ! AdditionalIncludeDirectories="..\fs"/> </FileConfiguration> <FileConfiguration ! Name="Release|Win32"> <Tool Name="VCCLCompilerTool" ! AdditionalIncludeDirectories="..\fs"/> </FileConfiguration> </File> <File ! RelativePath=".\llist.c"> </File> <File ! RelativePath="..\common\mkdirs.c"> </File> <File ! RelativePath=".\pathcmp.c"> </File> <File ! RelativePath=".\retr.c"> </File> <File ! RelativePath=".\stor.c"> </File> <File ! RelativePath="..\common\tls.c"> </File> <File ! RelativePath=".\transcript.c"> </File> <File ! RelativePath=".\winwrap.c"> </File> </Filter> <Filter Name="Header Files" ! Filter="h;hpp;hxx;hm;inl"> <File ! RelativePath=".\argcargv.h"> </File> <File ! RelativePath="..\common\base64.h"> </File> <File ! RelativePath=".\code.h"> </File> <File ! RelativePath=".\connect.h"> </File> <File ! RelativePath="..\common\getopt.h"> </File> <File ! RelativePath="..\common\list.h"> </File> <File ! RelativePath=".\llist.h"> </File> <File ! RelativePath="..\common\mkdirs.h"> </File> <File ! RelativePath=".\pathcmp.h"> </File> <File ! RelativePath="..\common\tailor.h"> </File> <File ! RelativePath="..\common\tls.h"> </File> <File ! RelativePath=".\transcript.h"> </File> <File ! RelativePath=".\winwrap.h"> </File> </Filter> <Filter Name="Resource Files" ! Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"> </Filter> </Files> --- 195,346 ---- <Filter Name="Source Files" ! Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" ! > <File ! RelativePath=".\argcargv.c" ! > </File> <File ! RelativePath="..\common\base64.c" ! > </File> <File ! RelativePath=".\chksum.c" ! > </File> <File ! RelativePath=".\code.c" ! > </File> <File ! RelativePath=".\connect.c" ! > </File> <File ! RelativePath="..\common\getopt.c" ! > </File> <File ! RelativePath=".\lcreate.c" ! > </File> <File ! RelativePath="..\common\list.c" ! > <FileConfiguration ! Name="Debug|Win32" ! > <Tool Name="VCCLCompilerTool" ! AdditionalIncludeDirectories="..\fs" ! /> </FileConfiguration> <FileConfiguration ! Name="Release|Win32" ! > <Tool Name="VCCLCompilerTool" ! AdditionalIncludeDirectories="..\fs" ! /> </FileConfiguration> </File> <File ! RelativePath=".\llist.c" ! > </File> <File ! RelativePath="..\common\mkdirs.c" ! > </File> <File ! RelativePath=".\pathcmp.c" ! > </File> <File ! RelativePath=".\retr.c" ! > </File> <File ! RelativePath=".\stor.c" ! > </File> <File ! RelativePath="..\common\tls.c" ! > </File> <File ! RelativePath=".\transcript.c" ! > </File> <File ! RelativePath="..\common\version.c" ! > ! </File> ! <File ! RelativePath=".\winwrap.c" ! > </File> </Filter> <Filter Name="Header Files" ! Filter="h;hpp;hxx;hm;inl" ! > <File ! RelativePath=".\argcargv.h" ! > </File> <File ! RelativePath="..\common\base64.h" ! > </File> <File ! RelativePath=".\code.h" ! > </File> <File ! RelativePath=".\connect.h" ! > </File> <File ! RelativePath="..\common\getopt.h" ! > </File> <File ! RelativePath="..\common\list.h" ! > </File> <File ! RelativePath=".\llist.h" ! > </File> <File ! RelativePath="..\common\mkdirs.h" ! > </File> <File ! RelativePath=".\pathcmp.h" ! > </File> <File ! RelativePath="..\common\tailor.h" ! > </File> <File ! RelativePath="..\common\tls.h" ! > </File> <File ! RelativePath=".\transcript.h" ! > </File> <File ! RelativePath=".\winwrap.h" ! > </File> </Filter> <Filter Name="Resource Files" ! Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" ! > </Filter> </Files> Index: lcreate.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/fs/lcreate.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** lcreate.c 17 May 2006 17:41:54 -0000 1.2 --- lcreate.c 13 Jun 2007 16:17:40 -0000 1.3 *************** *** 32,49 **** #include <openssl/evp.h> ! #include <snet.h> //#include "applefile.h" //#include "radstat.h" ! #include "base64.h" //#include "cksum.h" #include "connect.h" #include "argcargv.h" #include "code.h" ! #include "tls.h" //#include "largefile.h" //#include "progress.h" ! #include "getopt.h" #include "transcript.h" --- 32,49 ---- #include <openssl/evp.h> ! #include <libsnet/snet.h> //#include "applefile.h" //#include "radstat.h" ! #include "../common/base64.h" //#include "cksum.h" #include "connect.h" #include "argcargv.h" #include "code.h" ! #include "../common/tls.h" //#include "largefile.h" //#include "progress.h" ! #include "../common/getopt.h" #include "transcript.h" *************** *** 69,74 **** extern off_t lsize; //extern int showprogress; ! /*extern char *version; ! extern char *checksumlist;*/ extern struct timeval timeout; const EVP_MD *md; --- 69,74 ---- extern off_t lsize; //extern int showprogress; ! extern char *version; ! //extern char *checksumlist;*/ extern struct timeval timeout; const EVP_MD *md; *************** *** 76,80 **** int showprogress = 0; - char version[] = "0.7.0"; char checksumlist[] = ""; char child_test_root[] = ""; --- 76,79 ---- Index: ntfsdiff.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/fs/ntfsdiff.c,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** ntfsdiff.c 17 May 2006 17:41:54 -0000 1.23 --- ntfsdiff.c 13 Jun 2007 16:17:40 -0000 1.24 *************** *** 28,35 **** #endif - #define VERSION "0.7.0" #define APPNAME "ntfsdiff" ! char *version = VERSION; char *appname = APPNAME; char chksumlist[] = "sha1, sha, md5, md4, md2, dss1, mdc2, ripemd160"; --- 28,34 ---- #endif #define APPNAME "ntfsdiff" ! extern char *version; char *appname = APPNAME; char chksumlist[] = "sha1, sha, md5, md4, md2, dss1, mdc2, ripemd160"; *************** *** 342,346 **** return; } ! if ( strnicmp( pinfo->pi_name, tran->t_pinfo.pi_name, strlen( pinfo->pi_name ) ) == 0 && tran->t_pinfo.pi_name[ strlen( pinfo->pi_name ) ] == '/' ) { strncpy( ntemp, tran->t_pinfo.pi_name, sizeof( ntemp ) ); --- 341,345 ---- return; } ! if ( _strnicmp( pinfo->pi_name, tran->t_pinfo.pi_name, strlen( pinfo->pi_name ) ) == 0 && tran->t_pinfo.pi_name[ strlen( pinfo->pi_name ) ] == '/' ) { strncpy( ntemp, tran->t_pinfo.pi_name, sizeof( ntemp ) ); *************** *** 578,582 **** //Store root of walk for later comparisons. ! child_test_root = strdup( root ); x = strlen( child_test_root ) - 1; if ( child_test_root[ x ] == '/' ) { --- 577,581 ---- //Store root of walk for later comparisons. ! child_test_root = _strdup( root ); x = strlen( child_test_root ) - 1; if ( child_test_root[ x ] == '/' ) { Index: retr.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/fs/retr.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** retr.c 14 Dec 2005 20:25:09 -0000 1.3 --- retr.c 13 Jun 2007 16:17:40 -0000 1.4 *************** *** 32,41 **** #include <openssl/evp.h> ! #include <snet.h> //#include "applefile.h" #include "connect.h" //#include "chksum.h" ! #include "base64.h" #include "code.h" //#include "largefile.h" --- 32,41 ---- #include <openssl/evp.h> ! #include <libsnet/snet.h> //#include "applefile.h" #include "connect.h" //#include "chksum.h" ! #include "../common/base64.h" #include "code.h" //#include "largefile.h" *************** *** 166,170 **** }*/ } ! if ( close( fd ) != 0 ) { perror( path ); returnval = -1; --- 166,170 ---- }*/ } ! if ( _close( fd ) != 0 ) { perror( path ); returnval = -1; *************** *** 204,210 **** error2: ! close( fd ); error1: ! unlink( temppath ); return( returnval ); } --- 204,210 ---- error2: ! _close( fd ); error1: ! _unlink( temppath ); return( returnval ); } Index: ktcheck.vcproj =================================================================== RCS file: /cvsroot/radmind/radmind-pc/fs/ktcheck.vcproj,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ktcheck.vcproj 14 Dec 2005 20:25:09 -0000 1.2 --- ktcheck.vcproj 13 Jun 2007 16:17:40 -0000 1.3 *************** *** 2,14 **** <VisualStudioProject ProjectType="Visual C++" ! Version="7.10" Name="ktcheck" ProjectGUID="{937DD88A-B559-4E4B-8613-A1AF099D11E2}" ! SccProjectName="" ! SccLocalPath=""> <Platforms> <Platform ! Name="Win32"/> </Platforms> <Configurations> <Configuration --- 2,17 ---- <VisualStudioProject ProjectType="Visual C++" ! Version="8.00" Name="ktcheck" ProjectGUID="{937DD88A-B559-4E4B-8613-A1AF099D11E2}" ! RootNamespace="ktcheck" ! > <Platforms> <Platform ! Name="Win32" ! /> </Platforms> + <ToolFiles> + </ToolFiles> <Configurations> <Configuration *************** *** 17,74 **** IntermediateDirectory="..\temp\fs" ConfigurationType="1" UseOfMFC="0" ! ATLMinimizesCRunTimeLibraryUsage="FALSE" ! CharacterSet="2"> <Tool Name="VCCLCompilerTool" ! AdditionalOptions="/D "_RADMIND_TLS_CA=\"\"" /D "_RADMIND_TLS_CERT=\"\"" /D "_RADMIND_PATH=\"c:/radmind\"" /D "_RADMIND_COMMANDFILE=\"C:/radmind/client/command.K\"" /D "_RADMIND_HOST=\"\"" /D "_RADMIND_AUTHLEVEL=0"" Optimization="0" ! AdditionalIncludeDirectories="" PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" BasicRuntimeChecks="3" ! RuntimeLibrary="5" ! UsePrecompiledHeader="2" WarningLevel="3" ! SuppressStartupBanner="TRUE" ! DebugInformationFormat="3"/> <Tool ! Name="VCCustomBuildTool"/> <Tool Name="VCLinkerTool" ! AdditionalDependencies="ssleay32.lib libeay32.lib odbc32.lib odbccp32.lib libsnet.lib" OutputFile="..\bin\ktcheck.exe" LinkIncremental="1" ! SuppressStartupBanner="TRUE" ! IgnoreAllDefaultLibraries="FALSE" IgnoreDefaultLibraryNames="" AddModuleNamesToAssembly="" ! GenerateDebugInformation="TRUE" ProgramDatabaseFile=".\Debug/ntfsdiff.pdb" SubSystem="1" ! TargetMachine="1"/> ! <Tool ! Name="VCMIDLTool" ! TypeLibraryName=".\Debug/ntfsdiff.tlb" ! HeaderFileName=""/> ! <Tool ! Name="VCPostBuildEventTool"/> <Tool ! Name="VCPreBuildEventTool"/> <Tool ! Name="VCPreLinkEventTool"/> <Tool ! Name="VCResourceCompilerTool" ! PreprocessorDefinitions="_DEBUG" ! Culture="1033"/> <Tool ! Name="VCWebServiceProxyGeneratorTool"/> <Tool ! Name="VCXMLDataGeneratorTool"/> <Tool ! Name="VCWebDeploymentTool"/> <Tool ! Name="VCManagedWrapperGeneratorTool"/> <Tool ! Name="VCAuxiliaryManagedWrapperGeneratorTool"/> </Configuration> <Configuration --- 20,108 ---- IntermediateDirectory="..\temp\fs" ConfigurationType="1" + InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" UseOfMFC="0" ! ATLMinimizesCRunTimeLibraryUsage="false" ! CharacterSet="2" ! > ! <Tool ! Name="VCPreBuildEventTool" ! /> ! <Tool ! Name="VCCustomBuildTool" ! /> ! <Tool ! Name="VCXMLDataGeneratorTool" ! /> ! <Tool ! Name="VCWebServiceProxyGeneratorTool" ! /> ! <Tool ! Name="VCMIDLTool" ! TypeLibraryName=".\Debug/ntfsdiff.tlb" ! HeaderFileName="" ! /> <Tool Name="VCCLCompilerTool" ! AdditionalOptions="/D "_RADMIND_TLS_CA=\"\"" /D "_RADMIND_TLS_CERT=\"\"" /D "_RADMIND_PATH=\"c:/radmind\"" /D "_RADMIND_COMMANDFILE=\"C:/radmind/client/... [truncated message content] |
From: Jarod <um...@us...> - 2007-06-13 16:17:45
|
Update of /cvsroot/radmind/radmind-pc/reg In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv28567/reg Modified Files: chksum.c connect.c llist.c pathcmp.c regapply.c regapply.vcproj regcreate.c regcreate.vcproj regdiff.c regdiff.vcproj retr.c stor.c transcript.c Log Message: Recompiled with new version of Openssl and libsnet. Fixed uploading transcript of size 0 bytes error. Index: connect.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/reg/connect.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** connect.c 14 Dec 2005 20:25:09 -0000 1.3 --- connect.c 13 Jun 2007 16:17:40 -0000 1.4 *************** *** 26,30 **** #include <openssl/sha.h> ! #include <snet.h> #include "transcript.h" --- 26,30 ---- #include <openssl/sha.h> ! #include <libsnet/snet.h> #include "transcript.h" Index: regapply.vcproj =================================================================== RCS file: /cvsroot/radmind/radmind-pc/reg/regapply.vcproj,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** regapply.vcproj 14 Dec 2005 20:25:09 -0000 1.2 --- regapply.vcproj 13 Jun 2007 16:17:41 -0000 1.3 *************** *** 2,14 **** <VisualStudioProject ProjectType="Visual C++" ! Version="7.10" Name="regapply" ! ProjectGUID="{937DD88A-B559-4E4B-8613-A1AF099D11E2}" ! SccProjectName="" ! SccLocalPath=""> <Platforms> <Platform ! Name="Win32"/> </Platforms> <Configurations> <Configuration --- 2,17 ---- <VisualStudioProject ProjectType="Visual C++" ! Version="8.00" Name="regapply" ! ProjectGUID="{0ECF944E-2594-4554-A0F9-8BFD724DD9F7}" ! RootNamespace="regapply" ! > <Platforms> <Platform ! Name="Win32" ! /> </Platforms> + <ToolFiles> + </ToolFiles> <Configurations> <Configuration *************** *** 17,72 **** IntermediateDirectory="..\temp\reg" ConfigurationType="1" UseOfMFC="0" ! ATLMinimizesCRunTimeLibraryUsage="FALSE" ! CharacterSet="2"> <Tool Name="VCCLCompilerTool" ! AdditionalOptions="/D "_RADMIND_TLS_CA=\"\"" /D "_RADMIND_TLS_CERT=\"\"" /D "_RADMIND_PATH=\"c:/radmind\"" /D "_RADMIND_COMMANDFILE=\"C:/radmind/client/command.K\"" /D "_RADMIND_HOST=\"\"" /D "_RADMIND_AUTHLEVEL=0"" Optimization="0" ! AdditionalIncludeDirectories="" PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" BasicRuntimeChecks="3" ! RuntimeLibrary="5" ! UsePrecompiledHeader="2" WarningLevel="3" ! SuppressStartupBanner="TRUE" ! DebugInformationFormat="3"/> <Tool ! Name="VCCustomBuildTool"/> <Tool Name="VCLinkerTool" ! AdditionalDependencies="ssleay32.lib libeay32.lib odbc32.lib odbccp32.lib libsnet.lib" OutputFile="..\bin\regapply.exe" LinkIncremental="1" ! SuppressStartupBanner="TRUE" AddModuleNamesToAssembly="" ! GenerateDebugInformation="TRUE" ProgramDatabaseFile=".\Debug/ntfsdiff.pdb" SubSystem="1" ! TargetMachine="1"/> ! <Tool ! Name="VCMIDLTool" ! TypeLibraryName=".\Debug/ntfsdiff.tlb" ! HeaderFileName=""/> ! <Tool ! Name="VCPostBuildEventTool"/> <Tool ! Name="VCPreBuildEventTool"/> <Tool ! Name="VCPreLinkEventTool"/> <Tool ! Name="VCResourceCompilerTool" ! PreprocessorDefinitions="_DEBUG" ! Culture="1033"/> <Tool ! Name="VCWebServiceProxyGeneratorTool"/> <Tool ! Name="VCXMLDataGeneratorTool"/> <Tool ! Name="VCWebDeploymentTool"/> <Tool ! Name="VCManagedWrapperGeneratorTool"/> <Tool ! Name="VCAuxiliaryManagedWrapperGeneratorTool"/> </Configuration> <Configuration --- 20,106 ---- IntermediateDirectory="..\temp\reg" ConfigurationType="1" + InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" UseOfMFC="0" ! ATLMinimizesCRunTimeLibraryUsage="false" ! CharacterSet="2" ! > ! <Tool ! Name="VCPreBuildEventTool" ! /> ! <Tool ! Name="VCCustomBuildTool" ! /> ! <Tool ! Name="VCXMLDataGeneratorTool" ! /> ! <Tool ! Name="VCWebServiceProxyGeneratorTool" ! /> ! <Tool ! Name="VCMIDLTool" ! TypeLibraryName=".\Debug/ntfsdiff.tlb" ! HeaderFileName="" ! /> <Tool Name="VCCLCompilerTool" ! AdditionalOptions="/D "_RADMIND_TLS_CA=\"\"" /D "_RADMIND_TLS_CERT=\"\"" /D "_RADMIND_PATH=\"c:/radmind\"" /D "_RADMIND_COMMANDFILE=\"C:/radmind/client/command.K\"" /D "_RADMIND_HOST=\"\"" /D "_RADMIND_AUTHLEVEL=0" /D"_CRT_SECURE_NO_WARNINGS"" Optimization="0" ! AdditionalIncludeDirectories="..\common" PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" BasicRuntimeChecks="3" ! RuntimeLibrary="1" ! UsePrecompiledHeader="0" WarningLevel="3" ! SuppressStartupBanner="true" ! DebugInformationFormat="3" ! CompileAs="1" ! /> <Tool ! Name="VCManagedResourceCompilerTool" ! /> ! <Tool ! Name="VCResourceCompilerTool" ! PreprocessorDefinitions="_DEBUG" ! Culture="1033" ! /> ! <Tool ! Name="VCPreLinkEventTool" ! /> <Tool Name="VCLinkerTool" ! AdditionalDependencies="ssleay32.lib libeay32.lib odbc32.lib odbccp32.lib libsnetdbg.lib ws2_32.lib" OutputFile="..\bin\regapply.exe" LinkIncremental="1" ! SuppressStartupBanner="true" AddModuleNamesToAssembly="" ! GenerateDebugInformation="true" ProgramDatabaseFile=".\Debug/ntfsdiff.pdb" SubSystem="1" ! TargetMachine="1" ! /> <Tool ! Name="VCALinkTool" ! /> <Tool ! Name="VCManifestTool" ! /> <Tool ! Name="VCXDCMakeTool" ! /> <Tool ! Name="VCBscMakeTool" ! /> <Tool ! Name="VCFxCopTool" ! /> <Tool ! Name="VCAppVerifierTool" ! /> <Tool ! Name="VCWebDeploymentTool" ! /> <Tool ! Name="VCPostBuildEventTool" ! /> </Configuration> <Configuration *************** *** 75,81 **** IntermediateDirectory="..\temp\reg" ConfigurationType="1" UseOfMFC="0" ! ATLMinimizesCRunTimeLibraryUsage="FALSE" ! CharacterSet="2"> <Tool Name="VCCLCompilerTool" --- 109,134 ---- IntermediateDirectory="..\temp\reg" ConfigurationType="1" + InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" UseOfMFC="0" ! ATLMinimizesCRunTimeLibraryUsage="false" ! CharacterSet="2" ! > ! <Tool ! Name="VCPreBuildEventTool" ! /> ! <Tool ! Name="VCCustomBuildTool" ! /> ! <Tool ! Name="VCXMLDataGeneratorTool" ! /> ! <Tool ! Name="VCWebServiceProxyGeneratorTool" ! /> ! <Tool ! Name="VCMIDLTool" ! TypeLibraryName=".\Release/ntfsdiff.tlb" ! HeaderFileName="" ! /> <Tool Name="VCCLCompilerTool" *************** *** 85,127 **** AdditionalIncludeDirectories="..\common" PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" ! StringPooling="TRUE" ! RuntimeLibrary="4" ! EnableFunctionLevelLinking="TRUE" ! UsePrecompiledHeader="2" WarningLevel="3" ! SuppressStartupBanner="TRUE"/> <Tool ! Name="VCCustomBuildTool"/> <Tool Name="VCLinkerTool" AdditionalDependencies="ssleay32.lib libeay32.lib odbc32.lib odbccp32.lib libsnet.lib" LinkIncremental="1" ! SuppressStartupBanner="TRUE" SubSystem="1" ! TargetMachine="1"/> ! <Tool ! Name="VCMIDLTool" ! TypeLibraryName=".\Release/ntfsdiff.tlb" ! HeaderFileName=""/> ! <Tool ! Name="VCPostBuildEventTool"/> <Tool ! Name="VCPreBuildEventTool"/> <Tool ! Name="VCPreLinkEventTool"/> <Tool ! Name="VCResourceCompilerTool" ! PreprocessorDefinitions="NDEBUG" ! Culture="1033"/> <Tool ! Name="VCWebServiceProxyGeneratorTool"/> <Tool ! Name="VCXMLDataGeneratorTool"/> <Tool ! Name="VCWebDeploymentTool"/> <Tool ! Name="VCManagedWrapperGeneratorTool"/> <Tool ! Name="VCAuxiliaryManagedWrapperGeneratorTool"/> </Configuration> </Configurations> --- 138,191 ---- AdditionalIncludeDirectories="..\common" PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" ! StringPooling="true" ! RuntimeLibrary="0" ! EnableFunctionLevelLinking="true" ! UsePrecompiledHeader="0" WarningLevel="3" ! SuppressStartupBanner="true" ! /> <Tool ! Name="VCManagedResourceCompilerTool" ! /> ! <Tool ! Name="VCResourceCompilerTool" ! PreprocessorDefinitions="NDEBUG" ! Culture="1033" ! /> ! <Tool ! Name="VCPreLinkEventTool" ! /> <Tool Name="VCLinkerTool" AdditionalDependencies="ssleay32.lib libeay32.lib odbc32.lib odbccp32.lib libsnet.lib" LinkIncremental="1" ! SuppressStartupBanner="true" SubSystem="1" ! TargetMachine="1" ! /> <Tool ! Name="VCALinkTool" ! /> <Tool ! Name="VCManifestTool" ! /> <Tool ! Name="VCXDCMakeTool" ! /> <Tool ! Name="VCBscMakeTool" ! /> <Tool ! Name="VCFxCopTool" ! /> <Tool ! Name="VCAppVerifierTool" ! /> <Tool ! Name="VCWebDeploymentTool" ! /> <Tool ! Name="VCPostBuildEventTool" ! /> </Configuration> </Configurations> *************** *** 131,269 **** <Filter Name="Source Files" ! Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"> <File ! RelativePath=".\argcargv.c"> <FileConfiguration ! Name="Debug|Win32"> <Tool Name="VCCLCompilerTool" ! ObjectFile="$(IntDir)/$(InputName)1.obj"/> </FileConfiguration> </File> <File ! RelativePath="..\common\base64.c"> </File> <File ! RelativePath=".\chksum.c"> </File> <File ! RelativePath=".\code.c"> </File> <File ! RelativePath=".\connect.c"> <FileConfiguration ! Name="Debug|Win32"> <Tool Name="VCCLCompilerTool" ! ObjectFile="$(IntDir)/$(InputName)1.obj"/> </FileConfiguration> </File> <File ! RelativePath="..\common\getopt.c"> </File> <File ! RelativePath=".\heapcheck.c"> </File> <File ! RelativePath="..\common\list.c"> <FileConfiguration ! Name="Debug|Win32"> <Tool Name="VCCLCompilerTool" ! AdditionalIncludeDirectories="..\reg"/> </FileConfiguration> <FileConfiguration ! Name="Release|Win32"> <Tool Name="VCCLCompilerTool" ! AdditionalIncludeDirectories="..\reg"/> </FileConfiguration> </File> <File ! RelativePath=".\llist.c"> </File> <File ! RelativePath="..\common\mkdirs.c"> </File> <File ! RelativePath=".\pathcmp.c"> </File> <File ! RelativePath=".\regapply.c"> </File> <File ! RelativePath=".\retr.c"> </File> <File ! RelativePath="..\common\rmdirs.c"> </File> <File ! RelativePath="..\common\tls.c"> </File> <File ! RelativePath=".\transcript.c"> </File> <File ! RelativePath=".\update.c"> </File> <File ! RelativePath=".\winwrap.c"> </File> </Filter> <Filter Name="Header Files" ! Filter="h;hpp;hxx;hm;inl"> <File ! RelativePath=".\argcargv.h"> </File> <File ! RelativePath="..\common\base64.h"> </File> <File ! RelativePath=".\code.h"> </File> <File ! RelativePath=".\connect.h"> </File> <File ! RelativePath="..\common\getopt.h"> </File> <File ! RelativePath=".\heapcheck.h"> </File> <File ! RelativePath="..\common\list.h"> </File> <File ! RelativePath=".\llist.h"> </File> <File ! RelativePath="..\common\mkdirs.h"> </File> <File ! RelativePath=".\pathcmp.h"> </File> <File ! RelativePath="..\common\rmdirs.h"> </File> <File ! RelativePath="..\common\tailor.h"> </File> <File ! RelativePath="..\common\tls.h"> </File> <File ! RelativePath=".\transcript.h"> </File> <File ! RelativePath=".\update.h"> </File> <File ! RelativePath=".\winwrap.h"> </File> </Filter> <Filter Name="Resource Files" ! Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"> </Filter> </Files> --- 195,382 ---- <Filter Name="Source Files" ! Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" ! > <File ! RelativePath=".\argcargv.c" ! > <FileConfiguration ! Name="Debug|Win32" ! > <Tool Name="VCCLCompilerTool" ! ObjectFile="$(IntDir)/$(InputName)1.obj" ! /> </FileConfiguration> </File> <File ! RelativePath="..\common\base64.c" ! > </File> <File ! RelativePath=".\chksum.c" ! > </File> <File ! RelativePath=".\code.c" ! > </File> <File ! RelativePath=".\connect.c" ! > <FileConfiguration ! Name="Debug|Win32" ! > <Tool Name="VCCLCompilerTool" ! ObjectFile="$(IntDir)/$(InputName)1.obj" ! /> </FileConfiguration> </File> <File ! RelativePath="..\common\getopt.c" ! > </File> <File ! RelativePath=".\heapcheck.c" ! > </File> <File ! RelativePath="..\common\list.c" ! > <FileConfiguration ! Name="Debug|Win32" ! > <Tool Name="VCCLCompilerTool" ! AdditionalIncludeDirectories="..\reg" ! /> </FileConfiguration> <FileConfiguration ! Name="Release|Win32" ! > <Tool Name="VCCLCompilerTool" ! AdditionalIncludeDirectories="..\reg" ! /> </FileConfiguration> </File> <File ! RelativePath=".\llist.c" ! > </File> <File ! RelativePath="..\common\mkdirs.c" ! > </File> <File ! RelativePath=".\pathcmp.c" ! > </File> <File ! RelativePath=".\regapply.c" ! > </File> <File ! RelativePath=".\retr.c" ! > </File> <File ! RelativePath="..\common\rmdirs.c" ! > </File> <File ! RelativePath="..\common\tls.c" ! > </File> <File ! RelativePath=".\transcript.c" ! > </File> <File ! RelativePath=".\update.c" ! > </File> <File ! RelativePath="..\common\version.c" ! > ! </File> ! <File ! RelativePath=".\winwrap.c" ! > </File> </Filter> <Filter Name="Header Files" ! Filter="h;hpp;hxx;hm;inl" ! > <File ! RelativePath=".\argcargv.h" ! > </File> <File ! RelativePath="..\common\base64.h" ! > </File> <File ! RelativePath=".\code.h" ! > </File> <File ! RelativePath=".\connect.h" ! > </File> <File ! RelativePath="..\common\getopt.h" ! > </File> <File ! RelativePath=".\heapcheck.h" ! > </File> <File ! RelativePath="..\common\list.h" ! > </File> <File ! RelativePath=".\llist.h" ! > </File> <File ! RelativePath="..\common\mkdirs.h" ! > </File> <File ! RelativePath=".\pathcmp.h" ! > </File> <File ! RelativePath="..\common\rmdirs.h" ! > </File> <File ! RelativePath="..\common\tailor.h" ! > </File> <File ! RelativePath="..\common\tls.h" ! > </File> <File ! RelativePath=".\transcript.h" ! > </File> <File ! RelativePath=".\update.h" ! > </File> <File ! RelativePath=".\winwrap.h" ! > </File> </Filter> <Filter Name="Resource Files" ! Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" ! > </Filter> </Files> Index: regcreate.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/reg/regcreate.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** regcreate.c 17 May 2006 17:41:54 -0000 1.5 --- regcreate.c 13 Jun 2007 16:17:41 -0000 1.6 *************** *** 32,36 **** #include <openssl/evp.h> ! #include <snet.h> //#include "applefile.h" --- 32,36 ---- #include <openssl/evp.h> ! #include <libsnet/snet.h> //#include "applefile.h" *************** *** 69,74 **** extern off_t lsize; //extern int showprogress; ! /*extern char *version; ! extern char *checksumlist;*/ extern struct timeval timeout; const EVP_MD *md; --- 69,74 ---- extern off_t lsize; //extern int showprogress; ! extern char *version; ! //extern char *checksumlist; extern struct timeval timeout; const EVP_MD *md; *************** *** 76,80 **** int showprogress = 0; - char version[] = "0.7.0"; char checksumlist[] = ""; char child_test_root[] = ""; --- 76,79 ---- *************** *** 617,622 **** //sprintf( pinfo->pi_name, "%s\\%s", name, valname ); strcpy( pinfo->pi_name, name ); ! pinfo->pi_keyname = strdup( name ); ! pinfo->pi_valname = strdup( valname ); free( name ); free( file_name ); --- 616,621 ---- //sprintf( pinfo->pi_name, "%s\\%s", name, valname ); strcpy( pinfo->pi_name, name ); ! pinfo->pi_keyname = _strdup( name ); ! pinfo->pi_valname = _strdup( valname ); free( name ); free( file_name ); Index: transcript.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/reg/transcript.c,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** transcript.c 14 Dec 2005 20:25:09 -0000 1.12 --- transcript.c 13 Jun 2007 16:17:41 -0000 1.13 *************** *** 418,422 **** } ! if ( ! ( strnicmp( child_test_root, begin_tran->t_pinfo->pi_name, strlen( child_test_root ) ) == 0 && ( strlen( child_test_root ) == strlen( begin_tran->t_pinfo->pi_name ) || begin_tran->t_pinfo->pi_name[ strlen( child_test_root ) ] == '\\' ) ) ) { --- 418,422 ---- } ! if ( ! ( _strnicmp( child_test_root, begin_tran->t_pinfo->pi_name, strlen( child_test_root ) ) == 0 && ( strlen( child_test_root ) == strlen( begin_tran->t_pinfo->pi_name ) || begin_tran->t_pinfo->pi_name[ strlen( child_test_root ) ] == '\\' ) ) ) { *************** *** 1034,1038 **** next = loop_head->ll_next; ! esc_temp = strdup( loop_head->ll_pinfo->pi_name ); esc_buf = escape_quotes( esc_temp ); if ( *loop_head->ll_pinfo->pi_name == '\0' ) --- 1034,1038 ---- next = loop_head->ll_next; ! esc_temp = _strdup( loop_head->ll_pinfo->pi_name ); esc_buf = escape_quotes( esc_temp ); if ( *loop_head->ll_pinfo->pi_name == '\0' ) *************** *** 1087,1091 **** else { ! esc_temp = strdup( loop_head->ll_pinfo->pi_value ); esc_buf = escape_quotes( esc_temp ); strcat( chksum_pt, "\"" ); --- 1087,1091 ---- else { ! esc_temp = _strdup( loop_head->ll_pinfo->pi_value ); esc_buf = escape_quotes( esc_temp ); strcat( chksum_pt, "\"" ); *************** *** 1204,1209 **** } ! cur->pi_reg_str = strdup( chksum_buf ); ! cur->pi_regdel_str = strdup( del_buf ); free( chksum_buf ); free( del_buf ); --- 1204,1209 ---- } ! cur->pi_reg_str = _strdup( chksum_buf ); ! cur->pi_regdel_str = _strdup( del_buf ); free( chksum_buf ); free( del_buf ); *************** *** 1251,1255 **** chksum_pt = chksum_buf + strlen( chksum_buf ); ! esc_temp = strdup( cur->pi_valname ); esc_buf = escape_quotes( esc_temp ); if ( *cur->pi_valname == '\0' ) --- 1251,1255 ---- chksum_pt = chksum_buf + strlen( chksum_buf ); ! esc_temp = _strdup( cur->pi_valname ); esc_buf = escape_quotes( esc_temp ); if ( *cur->pi_valname == '\0' ) *************** *** 1278,1282 **** else { ! esc_temp = strdup( cur->pi_value ); esc_buf = escape_quotes( esc_temp ); strcat( chksum_pt, "\"" ); --- 1278,1282 ---- else { ! esc_temp = _strdup( cur->pi_value ); esc_buf = escape_quotes( esc_temp ); strcat( chksum_pt, "\"" ); *************** *** 1393,1397 **** break; } ! cur->pi_reg_str = strdup( chksum_buf ); free( chksum_buf ); do_chksuma( cur->pi_reg_str, cur->pi_chksum_b64 ); --- 1393,1397 ---- break; } ! cur->pi_reg_str = _strdup( chksum_buf ); free( chksum_buf ); do_chksuma( cur->pi_reg_str, cur->pi_chksum_b64 ); Index: regcreate.vcproj =================================================================== RCS file: /cvsroot/radmind/radmind-pc/reg/regcreate.vcproj,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** regcreate.vcproj 14 Dec 2005 20:25:09 -0000 1.2 --- regcreate.vcproj 13 Jun 2007 16:17:41 -0000 1.3 *************** *** 2,14 **** <VisualStudioProject ProjectType="Visual C++" ! Version="7.10" Name="regcreate" ! ProjectGUID="{937DD88A-B559-4E4B-8613-A1AF099D11E2}" ! SccProjectName="" ! SccLocalPath=""> <Platforms> <Platform ! Name="Win32"/> </Platforms> <Configurations> <Configuration --- 2,16 ---- <VisualStudioProject ProjectType="Visual C++" ! Version="8.00" Name="regcreate" ! ProjectGUID="{0FAADB12-2D93-4465-9DDC-8180E1C98BD1}" ! > <Platforms> <Platform ! Name="Win32" ! /> </Platforms> + <ToolFiles> + </ToolFiles> <Configurations> <Configuration *************** *** 17,72 **** IntermediateDirectory="..\temp\reg" ConfigurationType="1" UseOfMFC="0" ! ATLMinimizesCRunTimeLibraryUsage="FALSE" ! CharacterSet="2"> <Tool Name="VCCLCompilerTool" ! AdditionalOptions="/D "_RADMIND_TLS_CA=\"\"" /D "_RADMIND_TLS_CERT=\"\"" /D "_RADMIND_PATH=\"c:/radmind\"" /D "_RADMIND_COMMANDFILE=\"C:/radmind/client/command.K\"" /D "_RADMIND_HOST=\"\"" /D "_RADMIND_AUTHLEVEL=0"" Optimization="0" ! AdditionalIncludeDirectories="" PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" BasicRuntimeChecks="3" ! RuntimeLibrary="5" ! UsePrecompiledHeader="2" WarningLevel="3" ! SuppressStartupBanner="TRUE" ! DebugInformationFormat="3"/> <Tool ! Name="VCCustomBuildTool"/> <Tool Name="VCLinkerTool" ! AdditionalDependencies="ssleay32.lib libeay32.lib odbc32.lib odbccp32.lib libsnet.lib" OutputFile="..\bin\regcreate.exe" LinkIncremental="1" ! SuppressStartupBanner="TRUE" AddModuleNamesToAssembly="" ! GenerateDebugInformation="TRUE" ProgramDatabaseFile=".\Debug/ntfsdiff.pdb" SubSystem="1" ! TargetMachine="1"/> ! <Tool ! Name="VCMIDLTool" ! TypeLibraryName=".\Debug/ntfsdiff.tlb" ! HeaderFileName=""/> ! <Tool ! Name="VCPostBuildEventTool"/> <Tool ! Name="VCPreBuildEventTool"/> <Tool ! Name="VCPreLinkEventTool"/> <Tool ! Name="VCResourceCompilerTool" ! PreprocessorDefinitions="_DEBUG" ! Culture="1033"/> <Tool ! Name="VCWebServiceProxyGeneratorTool"/> <Tool ! Name="VCXMLDataGeneratorTool"/> <Tool ! Name="VCWebDeploymentTool"/> <Tool ! Name="VCManagedWrapperGeneratorTool"/> <Tool ! Name="VCAuxiliaryManagedWrapperGeneratorTool"/> </Configuration> <Configuration --- 19,105 ---- IntermediateDirectory="..\temp\reg" ConfigurationType="1" + InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" UseOfMFC="0" ! ATLMinimizesCRunTimeLibraryUsage="false" ! CharacterSet="2" ! > ! <Tool ! Name="VCPreBuildEventTool" ! /> ! <Tool ! Name="VCCustomBuildTool" ! /> ! <Tool ! Name="VCXMLDataGeneratorTool" ! /> ! <Tool ! Name="VCWebServiceProxyGeneratorTool" ! /> ! <Tool ! Name="VCMIDLTool" ! TypeLibraryName=".\Debug/ntfsdiff.tlb" ! HeaderFileName="" ! /> <Tool Name="VCCLCompilerTool" ! AdditionalOptions="/D "_RADMIND_TLS_CA=\"\"" /D "_RADMIND_TLS_CERT=\"\"" /D "_RADMIND_PATH=\"c:/radmind\"" /D "_RADMIND_COMMANDFILE=\"C:/radmind/client/command.K\"" /D "_RADMIND_HOST=\"\"" /D "_RADMIND_AUTHLEVEL=0" /D"_CRT_SECURE_NO_WARNINGS"" Optimization="0" ! AdditionalIncludeDirectories="..\common" PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" BasicRuntimeChecks="3" ! RuntimeLibrary="1" ! UsePrecompiledHeader="0" WarningLevel="3" ! SuppressStartupBanner="true" ! DebugInformationFormat="3" ! CompileAs="1" ! /> <Tool ! Name="VCManagedResourceCompilerTool" ! /> ! <Tool ! Name="VCResourceCompilerTool" ! PreprocessorDefinitions="_DEBUG" ! Culture="1033" ! /> ! <Tool ! Name="VCPreLinkEventTool" ! /> <Tool Name="VCLinkerTool" ! AdditionalDependencies="ssleay32.lib libeay32.lib odbc32.lib odbccp32.lib libsnetdbg.lib ws2_32.lib" OutputFile="..\bin\regcreate.exe" LinkIncremental="1" ! SuppressStartupBanner="true" AddModuleNamesToAssembly="" ! GenerateDebugInformation="true" ProgramDatabaseFile=".\Debug/ntfsdiff.pdb" SubSystem="1" ! TargetMachine="1" ! /> <Tool ! Name="VCALinkTool" ! /> <Tool ! Name="VCManifestTool" ! /> <Tool ! Name="VCXDCMakeTool" ! /> <Tool ! Name="VCBscMakeTool" ! /> <Tool ! Name="VCFxCopTool" ! /> <Tool ! Name="VCAppVerifierTool" ! /> <Tool ! Name="VCWebDeploymentTool" ! /> <Tool ! Name="VCPostBuildEventTool" ! /> </Configuration> <Configuration *************** *** 75,81 **** IntermediateDirectory="..\temp\reg" ConfigurationType="1" UseOfMFC="0" ! ATLMinimizesCRunTimeLibraryUsage="FALSE" ! CharacterSet="2"> <Tool Name="VCCLCompilerTool" --- 108,133 ---- IntermediateDirectory="..\temp\reg" ConfigurationType="1" + InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" UseOfMFC="0" ! ATLMinimizesCRunTimeLibraryUsage="false" ! CharacterSet="2" ! > ! <Tool ! Name="VCPreBuildEventTool" ! /> ! <Tool ! Name="VCCustomBuildTool" ! /> ! <Tool ! Name="VCXMLDataGeneratorTool" ! /> ! <Tool ! Name="VCWebServiceProxyGeneratorTool" ! /> ! <Tool ! Name="VCMIDLTool" ! TypeLibraryName=".\Release/ntfsdiff.tlb" ! HeaderFileName="" ! /> <Tool Name="VCCLCompilerTool" *************** *** 85,127 **** AdditionalIncludeDirectories="..\common" PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" ! StringPooling="TRUE" ! RuntimeLibrary="4" ! EnableFunctionLevelLinking="TRUE" ! UsePrecompiledHeader="2" WarningLevel="3" ! SuppressStartupBanner="TRUE"/> <Tool ! Name="VCCustomBuildTool"/> <Tool Name="VCLinkerTool" AdditionalDependencies="ssleay32.lib libeay32.lib odbc32.lib odbccp32.lib libsnet.lib" LinkIncremental="1" ! SuppressStartupBanner="TRUE" SubSystem="1" ! TargetMachine="1"/> ! <Tool ! Name="VCMIDLTool" ! TypeLibraryName=".\Release/ntfsdiff.tlb" ! HeaderFileName=""/> ! <Tool ! Name="VCPostBuildEventTool"/> <Tool ! Name="VCPreBuildEventTool"/> <Tool ! Name="VCPreLinkEventTool"/> <Tool ! Name="VCResourceCompilerTool" ! PreprocessorDefinitions="NDEBUG" ! Culture="1033"/> <Tool ! Name="VCWebServiceProxyGeneratorTool"/> <Tool ! Name="VCXMLDataGeneratorTool"/> <Tool ! Name="VCWebDeploymentTool"/> <Tool ! Name="VCManagedWrapperGeneratorTool"/> <Tool ! Name="VCAuxiliaryManagedWrapperGeneratorTool"/> </Configuration> </Configurations> --- 137,190 ---- AdditionalIncludeDirectories="..\common" PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" ! StringPooling="true" ! RuntimeLibrary="0" ! EnableFunctionLevelLinking="true" ! UsePrecompiledHeader="0" WarningLevel="3" ! SuppressStartupBanner="true" ! /> <Tool ! Name="VCManagedResourceCompilerTool" ! /> ! <Tool ! Name="VCResourceCompilerTool" ! PreprocessorDefinitions="NDEBUG" ! Culture="1033" ! /> ! <Tool ! Name="VCPreLinkEventTool" ! /> <Tool Name="VCLinkerTool" AdditionalDependencies="ssleay32.lib libeay32.lib odbc32.lib odbccp32.lib libsnet.lib" LinkIncremental="1" ! SuppressStartupBanner="true" SubSystem="1" ! TargetMachine="1" ! /> <Tool ! Name="VCALinkTool" ! /> <Tool ! Name="VCManifestTool" ! /> <Tool ! Name="VCXDCMakeTool" ! /> <Tool ! Name="VCBscMakeTool" ! /> <Tool ! Name="VCFxCopTool" ! /> <Tool ! Name="VCAppVerifierTool" ! /> <Tool ! Name="VCWebDeploymentTool" ! /> <Tool ! Name="VCPostBuildEventTool" ! /> </Configuration> </Configurations> *************** *** 131,254 **** <Filter Name="Source Files" ! Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"> <File ! RelativePath=".\argcargv.c"> </File> <File ! RelativePath="..\common\base64.c"> </File> <File ! RelativePath=".\chksum.c"> </File> <File ! RelativePath=".\code.c"> </File> <File ! RelativePath=".\connect.c"> </File> <File ! RelativePath="..\common\getopt.c"> </File> <File ! RelativePath=".\heapcheck.c"> </File> <File ! RelativePath="..\common\list.c"> <FileConfiguration ! Name="Debug|Win32"> <Tool Name="VCCLCompilerTool" ! AdditionalIncludeDirectories="..\reg"/> </FileConfiguration> <FileConfiguration ! Name="Release|Win32"> <Tool Name="VCCLCompilerTool" ! AdditionalIncludeDirectories="..\reg"/> </FileConfiguration> </File> <File ! RelativePath=".\llist.c"> </File> <File ! RelativePath="..\common\mkdirs.c"> </File> <File ! RelativePath=".\pathcmp.c"> </File> <File ! RelativePath=".\regcreate.c"> </File> <File ! RelativePath=".\retr.c"> </File> <File ! RelativePath=".\stor.c"> </File> <File ! RelativePath="..\common\tls.c"> <FileConfiguration ! Name="Release|Win32"> <Tool Name="VCCLCompilerTool" ! AdditionalIncludeDirectories=""/> </FileConfiguration> </File> <File ! RelativePath=".\transcript.c"> </File> <File ! RelativePath=".\winwrap.c"> </File> </Filter> <Filter Name="Header Files" ! Filter="h;hpp;hxx;hm;inl"> <File ! RelativePath=".\argcargv.h"> </File> <File ! RelativePath="..\common\base64.h"> </File> <File ! RelativePath=".\code.h"> </File> <File ! RelativePath=".\connect.h"> </File> <File ! RelativePath="..\common\getopt.h"> </File> <File ! RelativePath=".\heapcheck.h"> </File> <File ! RelativePath="..\common\list.h"> </File> <File ! RelativePath=".\llist.h"> </File> <File ! RelativePath="..\common\mkdirs.h"> </File> <File ! RelativePath=".\pathcmp.h"> </File> <File ! RelativePath="..\common\tailor.h"> </File> <File ! RelativePath="..\common\tls.h"> </File> <File ! RelativePath=".\transcript.h"> </File> <File ! RelativePath=".\winwrap.h"> </File> </Filter> <Filter Name="Resource Files" ! Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"> </Filter> </Files> --- 194,361 ---- <Filter Name="Source Files" ! Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" ! > <File ! RelativePath=".\argcargv.c" ! > </File> <File ! RelativePath="..\common\base64.c" ! > </File> <File ! RelativePath=".\chksum.c" ! > </File> <File ! RelativePath=".\code.c" ! > </File> <File ! RelativePath=".\connect.c" ! > </File> <File ! RelativePath="..\common\getopt.c" ! > </File> <File ! RelativePath=".\heapcheck.c" ! > </File> <File ! RelativePath="..\common\list.c" ! > <FileConfiguration ! Name="Debug|Win32" ! > <Tool Name="VCCLCompilerTool" ! AdditionalIncludeDirectories="..\reg" ! /> </FileConfiguration> <FileConfiguration ! Name="Release|Win32" ! > <Tool Name="VCCLCompilerTool" ! AdditionalIncludeDirectories="..\reg" ! /> </FileConfiguration> </File> <File ! RelativePath=".\llist.c" ! > </File> <File ! RelativePath="..\common\mkdirs.c" ! > </File> <File ! RelativePath=".\pathcmp.c" ! > </File> <File ! RelativePath=".\regcreate.c" ! > </File> <File ! RelativePath=".\retr.c" ! > </File> <File ! RelativePath=".\stor.c" ! > </File> <File ! RelativePath="..\common\tls.c" ! > <FileConfiguration ! Name="Release|Win32" ! > <Tool Name="VCCLCompilerTool" ! AdditionalIncludeDirectories="" ! /> </FileConfiguration> </File> <File ! RelativePath=".\transcript.c" ! > </File> <File ! RelativePath="..\common\version.c" ! > ! </File> ! <File ! RelativePath=".\winwrap.c" ! > </File> </Filter> <Filter Name="Header Files" ! Filter="h;hpp;hxx;hm;inl" ! > <File ! RelativePath=".\argcargv.h" ! > </File> <File ! RelativePath="..\common\base64.h" ! > </File> <File ! RelativePath=".\code.h" ! > </File> <File ! RelativePath=".\connect.h" ! > </File> <File ! RelativePath="..\common\getopt.h" ! > </File> <File ! RelativePath=".\heapcheck.h" ! > </File> <File ! RelativePath="..\common\list.h" ! > </File> <File ! RelativePath=".\llist.h" ! > </File> <File ! RelativePath="..\common\mkdirs.h" ! > </File> <File ! RelativePath=".\pathcmp.h" ! > </File> <File ! RelativePath="..\common\tailor.h" ! > </File> <File ! RelativePath="..\common\tls.h" ! > </File> <File ! RelativePath=".\transcript.h" ! > </File> <File ! RelativePath=".\winwrap.h" ! > </File> </Filter> <Filter Name="Resource Files" ! Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" ! > </Filter> </Files> Index: llist.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/reg/llist.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** llist.c 2 Aug 2005 03:52:04 -0000 1.2 --- llist.c 13 Jun 2007 16:17:40 -0000 1.3 *************** *** 52,56 **** /* find where in the list to put the new entry */ for ( current = headp; *current != NULL; current = &(*current)->ll_next) { ! ret = stricmp( new->ll_pinfo->pi_name, (*current)->ll_pinfo->pi_name ); if ( ret <= 0 ) { break; --- 52,56 ---- /* find where in the list to put the new entry */ for ( current = headp; *current != NULL; current = &(*current)->ll_next) { ! ret = _stricmp( new->ll_pinfo->pi_name, (*current)->ll_pinfo->pi_name ); if ( ret <= 0 ) { break; Index: stor.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/reg/stor.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** stor.c 14 Dec 2005 20:25:09 -0000 1.2 --- stor.c 13 Jun 2007 16:17:41 -0000 1.3 *************** *** 32,36 **** #include <openssl/evp.h> ! #include <snet.h> //#include "applefile.h" --- 32,36 ---- #include <openssl/evp.h> ! #include <libsnet/snet.h> //#include "applefile.h" *************** *** 158,168 **** /* Open and stat file */ if (( fd = _open( path, _O_BINARY | _O_RDONLY, 0 )) < 0 ) { ! perror( path ); ! exit( 2 ); } if ( _fstat( fd, &st ) < 0 ) { ! perror( path ); ! close( fd ); ! exit( 2 ); } --- 158,168 ---- /* Open and stat file */ if (( fd = _open( path, _O_BINARY | _O_RDONLY, 0 )) < 0 ) { ! perror( path ); ! exit( 2 ); } if ( _fstat( fd, &st ) < 0 ) { ! perror( path ); ! _close( fd ); ! exit( 2 ); } *************** *** 235,247 **** /* End transaction with server */ if ( snet_writeftv( sn, NULL, ".\r\n" ) < 0 ) { ! fprintf( stderr, "stor_file %s failed: %s\n", pathdesc, ! strerror( errno )); ! return( -1 ); } if ( verbose ) fputs( "\n>>> .\n", stdout ); ! if ( close( fd ) < 0 ) { ! perror( path ); ! exit( 2 ); } --- 235,247 ---- /* End transaction with server */ if ( snet_writeftv( sn, NULL, ".\r\n" ) < 0 ) { ! fprintf( stderr, "stor_file %s failed: %s\n", pathdesc, ! strerror( errno )); ! return( -1 ); } if ( verbose ) fputs( "\n>>> .\n", stdout ); ! if ( _close( fd ) < 0 ) { ! perror( path ); ! exit( 2 ); } Index: retr.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/reg/retr.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** retr.c 14 Dec 2005 20:25:09 -0000 1.2 --- retr.c 13 Jun 2007 16:17:41 -0000 1.3 *************** *** 32,36 **** #include <openssl/evp.h> ! #include <snet.h> //#include "applefile.h" --- 32,36 ---- #include <openssl/evp.h> ! #include <libsnet/snet.h> //#include "applefile.h" *************** *** 175,182 **** }*/ } ! if ( close( fd ) != 0 ) { ! perror( path ); ! returnval = -1; ! goto error1; } if ( verbose ) printf( "\n" ); --- 175,182 ---- }*/ } ! if ( _close( fd ) != 0 ) { ! perror( path ); ! returnval = -1; ! goto error1; } if ( verbose ) printf( "\n" ); *************** *** 213,219 **** error2: ! close( fd ); error1: ! unlink( temppath ); return( returnval ); } --- 213,219 ---- error2: ! _close( fd ); error1: ! _unlink( temppath ); return( returnval ); } Index: regdiff.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/reg/regdiff.c,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** regdiff.c 17 May 2006 17:41:54 -0000 1.12 --- regdiff.c 13 Jun 2007 16:17:41 -0000 1.13 *************** *** 59,66 **** #endif - #define VERSION "0.7.0" #define APPNAME "regdiff" ! char *version = VERSION; char *appname = APPNAME; char chksumlist[] = "sha1, sha, md5, md4, md2, dss1, mdc2, ripemd160"; --- 59,65 ---- #endif #define APPNAME "regdiff" ! extern char *version; char *appname = APPNAME; char chksumlist[] = "sha1, sha, md5, md4, md2, dss1, mdc2, ripemd160"; *************** *** 123,127 **** return; } ! if ( strnicmp( path->ll_pinfo->pi_name, tran->t_pinfo->pi_name, strlen( path->ll_pinfo->pi_name ) ) == 0 && tran->t_pinfo->pi_name[ strlen( path->ll_pinfo->pi_name ) ] == '\\' ) { neg = ll_allocate( tran->t_pinfo->pi_name ); --- 122,126 ---- return; } ! if ( _strnicmp( path->ll_pinfo->pi_name, tran->t_pinfo->pi_name, strlen( path->ll_pinfo->pi_name ) ) == 0 && tran->t_pinfo->pi_name[ strlen( path->ll_pinfo->pi_name ) ] == '\\' ) { neg = ll_allocate( tran->t_pinfo->pi_name ); *************** *** 201,206 **** memset( valueData, 0, sizeValue + 1 ); } ! llNew->ll_pinfo->pi_valname = strdup( lpName ); ! llNew->ll_pinfo->pi_keyname = strdup( path->ll_pinfo->pi_name ); llNew->ll_pinfo->pi_type = 'v'; llNew->ll_pinfo->pi_maxValueLen = sizeValue; --- 200,205 ---- memset( valueData, 0, sizeValue + 1 ); } ! llNew->ll_pinfo->pi_valname = _strdup( lpName ); ! llNew->ll_pinfo->pi_keyname = _strdup( path->ll_pinfo->pi_name ); llNew->ll_pinfo->pi_type = 'v'; llNew->ll_pinfo->pi_maxValueLen = sizeValue; *************** *** 399,403 **** root->ll_pinfo->pi_type = 'k'; ! child_test_root = strdup( root->ll_pinfo->pi_name ); reg_walk( root ); --- 398,402 ---- root->ll_pinfo->pi_type = 'k'; ! child_test_root = _strdup( root->ll_pinfo->pi_name ); reg_walk( root ); Index: regdiff.vcproj =================================================================== RCS file: /cvsroot/radmind/radmind-pc/reg/regdiff.vcproj,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** regdiff.vcproj 14 Dec 2005 20:25:09 -0000 1.5 --- regdiff.vcproj 13 Jun 2007 16:17:41 -0000 1.6 *************** *** 2,14 **** <VisualStudioProject ProjectType="Visual C++" ! Version="7.10" Name="regdiff" ProjectGUID="{F1D26D4C-2BD3-43BC-8BB2-2503E77FD1AB}" ! SccProjectName="" ! SccLocalPath=""> <Platforms> <Platform ! Name="Win32"/> </Platforms> <Configurations> <Configuration --- 2,17 ---- <VisualStudioProject ProjectType="Visual C++" ! Version="8.00" Name="regdiff" ProjectGUID="{F1D26D4C-2BD3-43BC-8BB2-2503E77FD1AB}" ! RootNamespace="regdiff" ! > <Platforms> <Platform ! Name="Win32" ! /> </Platforms> + <ToolFiles> + </ToolFiles> <Configurations> <Configuration *************** *** 17,23 **** IntermediateDirectory="..\temp\reg" ConfigurationType="1" UseOfMFC="0" ! ATLMinimizesCRunTimeLibraryUsage="FALSE" ! CharacterSet="2"> <Tool Name="VCCLCompilerTool" --- 20,45 ---- IntermediateDirectory="..\temp\reg" ConfigurationType="1" + InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" UseOfMFC="0" ! ATLMinimizesCRunTimeLibraryUsage="false" ! CharacterSet="2" ! > ! <Tool ! Name="VCPreBuildEventTool" ! /> ! <Tool ! Name="VCCustomBuildTool" ! /> ! <Tool ! Name="VCXMLDataGeneratorTool" ! /> ! <Tool ! Name="VCWebServiceProxyGeneratorTool" ! /> ! <Tool ! Name="VCMIDLTool" ! TypeLibraryName=".\Release/regdiff.tlb" ! HeaderFileName="" ! /> <Tool Name="VCCLCompilerTool" *************** *** 26,68 **** AdditionalIncludeDirectories="..\common" PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" ! StringPooling="TRUE" ! RuntimeLibrary="4" ! EnableFunctionLevelLinking="TRUE" ! UsePrecompiledHeader="2" WarningLevel="3" ! SuppressStartupBanner="TRUE"/> <Tool ! Name="VCCustomBuildTool"/> <Tool Name="VCLinkerTool" AdditionalDependencies="ssleay32.lib libeay32.lib odbc32.lib odbccp32.lib" LinkIncremental="1" ! SuppressStartupBanner="TRUE" SubSystem="1" ! TargetMachine="1"/> ! <Tool ! Name="VCMIDLTool" ! TypeLibraryName=".\Release/regdiff.tlb" ! HeaderFileName=""/> ! <Tool ! Name="VCPostBuildEventTool"/> <Tool ! Name="VCPreBuildEventTool"/> <Tool ! Name="VCPreLinkEventTool"/> <Tool ! Name="VCResourceCompilerTool" ! PreprocessorDefinitions="NDEBUG" ! Culture="1033"/> <Tool ! Name="VCWebServiceProxyGeneratorTool"/> <Tool ! Name="VCXMLDataGeneratorTool"/> <Tool ! Name="VCWebDeploymentTool"/> <Tool ! Name="VCManagedWrapperGeneratorTool"/> <Tool ! Name="VCAuxiliaryManagedWrapperGeneratorTool"/> </Configuration> <Configuration --- 48,101 ---- AdditionalIncludeDirectories="..\common" PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" ! StringPooling="true" ! RuntimeLibrary="0" ! EnableFunctionLevelLinking="true" ! UsePrecompiledHeader="0" WarningLevel="3" ! SuppressStartupBanner="true" ! /> <Tool ! Name="VCManagedResourceCompilerTool" ! /> ! <Tool ! Name="VCResourceCompilerTool" ! PreprocessorDefinitions="NDEBUG" ! Culture="1033" ! /> ! <Tool ! Name="VCPreLinkEventTool" ! /> <Tool Name="VCLinkerTool" AdditionalDependencies="ssleay32.lib libeay32.lib odbc32.lib odbccp32.lib" LinkIncremental="1" ! SuppressStartupBanner="true" SubSystem="1" ! TargetMachine="1" ! /> <Tool ! Name="VCALinkTool" ! /> <Tool ! Name="VCManifestTool" ! /> <Tool ! Name="VCXDCMakeTool" ! /> <Tool ! Name="VCBscMakeTool" ! /> <Tool ! Name="VCFxCopTool" ! /> <Tool ! Name="VCAppVerifierTool" ! /> <Tool ! Name="VCWebDeploymentTool" ! /> <Tool ! Name="VCPostBuildEventTool" ! /> </Configuration> <Configuration *************** *** 71,90 **** IntermediateDirectory="..\temp\reg" ConfigurationType="1" UseOfMFC="0" ! ATLMinimizesCRunTimeLibraryUsage="FALSE" ! CharacterSet="2"> <Tool Name="VCCLCompilerTool" Optimization="0" ! AdditionalIncludeDirectories="" PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" BasicRuntimeChecks="3" ! RuntimeLibrary="5" ! UsePrecompiledHeader="2" WarningLevel="3" ! SuppressStartupBanner="TRUE" ! DebugInformationFormat="3"/> <Tool ! Name="VCCustomBuildTool"/> <Tool Name="VCLinkerTool" --- 104,154 ---- IntermediateDirectory="..\temp\reg" ConfigurationType="1" + InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" UseOfMFC="0" ! ATLMinimizesCRunTimeLibraryUsage="false" ! CharacterSet="2" ! > ! <Tool ! Name="VCPreBuildEventTool" ! /> ! <Tool ! Name="VCCustomBuildTool" ! /> ! <Tool ! Name="VCXMLDataGeneratorTool" ! /> ! <Tool ! Name="VCWebServiceProxyGeneratorTool" ! /> ! <Tool ! Name="VCMIDLTool" ! TypeLibraryName=".\Debug/regdiff.tlb" ! HeaderFileName="" ! /> <Tool Name="VCCLCompilerTool" + AdditionalOptions="/D"_CRT_SECURE_NO_WARNINGS"" Optimization="0" ! AdditionalIncludeDirectories="..\common" PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" BasicRuntimeChecks="3" ! RuntimeLibrary="1" ! UsePrecompiledHeader="0" WarningLevel="3" ! SuppressStartupBanner="true" ! DebugInformationFormat="3" ! CompileAs="1" ! /> <Tool ! Name="VCManagedResourceCompilerTool" ! /> ! <Tool ! Name="VCResourceCompilerTool" ! PreprocessorDefinitions="_DEBUG" ! Culture="1033" ! /> ! <Tool ! Name="VCPreLinkEventTool" ! /> <Tool Name="VCLinkerTool" *************** *** 92,124 **** OutputFile="..\bin\regdiff.exe" LinkIncremental="1" ! SuppressStartupBanner="TRUE" ! GenerateDebugInformation="TRUE" ProgramDatabaseFile=".\Debug/regdiff.pdb" SubSystem="1" ! TargetMachine="1"/> ! <Tool ! Name="VCMIDLTool" ! TypeLibraryName=".\Debug/regdiff.tlb" ! HeaderFileName=""/> ! <Tool ! Name="VCPostBuildEventTool"/> <Tool ! Name="VCPreBuildEventTool"/> <Tool ! Name="VCPreLinkEventTool"/> <Tool ! Name="VCResourceCompilerTool" ! PreprocessorDefinitions="_DEBUG" ! Culture="1033"/> <Tool ! Name="VCWebServiceProxyGeneratorTool"/> <Tool ! Name="VCXMLDataGeneratorTool"/> <Tool ! Name="VCWebDeploymentTool"/> <Tool ! Name="VCManagedWrapperGeneratorTool"/> <Tool ! Name="VCAuxiliaryManagedWrapperGeneratorTool"/> </Configuration> </Configurations> --- 156,189 ---- OutputFile="..\bin\regdiff.exe" LinkIncremental="1" ! SuppressStartupBanner="true" ! GenerateDebugInformation="true" ProgramDatabaseFile=".\Debug/regdiff.pdb" SubSystem="1" ! TargetMachine="1" ! /> <Tool ! Name="VCALinkTool" ! /> <Tool ! Name="VCManifestTool" ! /> <Tool ! Name="VCXDCMakeTool" ! /> <Tool ! Name="VCBscMakeTool" ! /> <Tool ! Name="VCFxCopTool" ! /> <Tool ! Name="VCAppVerifierTool" ! /> <Tool ! Name="VCWebDeploymentTool" ! /> <Tool ! Name="VCPostBuildEventTool" ! /> </Configuration> </Configurations> *************** *** 128,253 **** <Filter Name="Source Files" ! Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"> <File ! RelativePath="argcargv.c"> <FileConfiguration ! Name="Release|Win32"> <Tool Name="VCCLCompilerTool" Optimization="2" ! PreprocessorDefinitions=""/> </FileConfiguration> <FileConfiguration ! Name="Debug|Win32"> <Tool Name="VCCLCompilerTool" Optimization="0" PreprocessorDefinitions="" ! BasicRuntimeChecks="3"/> </FileConfiguration> </File> <File ! RelativePath="..\common\base64.c"> </File> <File ! RelativePath=".\chksum.c"> </File> <File ! RelativePath="code.c"> <FileConfiguration ! Name="Release|Win32"> <Tool Name="VCCLCompilerTool" Optimization="2" ! PreprocessorDefinitions=""/> </FileConfiguration> <FileConfiguration ! Name="Debug|Win32"> <Tool Name="VCCLCompilerTool" Optimization="0" PreprocessorDefinitions="" ! BasicRuntimeChecks="3"/> </FileConfiguration> </File> <File ! RelativePath="..\common\getopt.c"> </File> <File ! RelativePath="heapcheck.c"> <FileConfiguration ! Name="Release|Win32"> <Tool Name="VCCLCompilerTool" Optimization="2" ! PreprocessorDefinitions=""/> </FileConfiguration> <FileConfiguration ! Name="Debug|Win32"> <Tool Name="VCCLCompilerTool" Optimization="0" PreprocessorDefinitions="" ! BasicRuntimeChecks="3"/> </FileConfiguration> </File> <File ! RelativePath="llist.c"> <FileConfiguration ! Name="Release|Win32"> <Tool Name="VCCLCompilerTool" Optimization="2" ! PreprocessorDefinitions=""/> </FileConfiguration> <FileConfiguration ! Name="Debug|Win32"> <Tool Name="VCCLCompilerTool" Optimization="0" PreprocessorDefinitions="" ! BasicRuntimeChecks="3"/> </FileConfiguration> </File> <File ! RelativePath=".\pathcmp.c"> </File> <File ! RelativePath=".\regdiff.c"> </File> <File ! RelativePath="transcript.c"> <FileConfiguration ! Name="Release|Win32"> <Tool Name="VCCLCompilerTool" Optimization="2" ! PreprocessorDefinitions=""/> </FileConfiguration> <FileConfiguration ! Name="Debug|Win32"> <Tool Name="VCCLCompilerTool" Optimization="0" PreprocessorDefinitions="" ! BasicRuntimeChecks="3"/> </FileConfiguration> </File> <File ! RelativePath="winwrap.c"> <FileConfiguration ! Name="Release|Win32"> <Tool Name="VCCLCompilerTool" Optimization="2" ! PreprocessorDefinitions=""/> </FileConfiguration> <FileConfiguration ! Name="Debug|Win32"> <Tool Name="VCCLCompilerTool" Optimization="0" PreprocessorDefinitions="" ! BasicRuntimeChecks="3"/> </FileConfiguration> </File> --- 193,358 ---- <Filter Name="Source Files" ! Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" ! > <File ! RelativePath="argcargv.c" ! > <FileConfiguration ! Name="Release|Win32" ! > <Tool Name="VCCLCompilerTool" Optimization="2" ! PreprocessorDefinitions="" ! /> </FileConfiguration> <FileConfiguration ! Name="Debug|Win32" ! > <Tool Name="VCCLCompilerTool" Optimization="0" PreprocessorDefinitions="" ! BasicRuntimeChecks="3" ! /> </FileConfiguration> </File> <File ! RelativePath="..\common\base64.c" ! > </File> <File ! RelativePath=".\chksum.c" ! > </File> <File ! RelativePath="code.c" ! > <FileConfiguration ! Name="Release|Win32" ! > <Tool Name="VCCLCompilerTool" Optimization="2" ! PreprocessorDefinitions="" ! /> </FileConfiguration> <FileConfiguration ! Name="Debug|Win32" ! > <Tool Name="VCCLCompilerTool" Optimization="0" PreprocessorDefinitions="" ! BasicRuntimeChecks="3" ! /> </FileConfiguration> </File> <File ! RelativePath="..\common\getopt.c" ! > </File> <File ! RelativePath="heapcheck.c" ! > <FileConfiguration ! Name="Release|Win32" ! > <Tool Name="VCCLCompilerTool" Optimization="2" ! PreprocessorDefinitions="" ! /> </FileConfiguration> <FileConfiguration ! Name="Debug|Win32" ! > <Tool Name="VCCLCompilerTool" Optimization="0" PreprocessorDefinitions="" ! BasicRuntimeChecks="3" ! /> </FileConfiguration> </File> <File ! RelativePath="llist.c" ! > <FileConfiguration ! Name="Release|Win32" ! > <Tool Name="VCCLCompilerTool" Optimization="2" ! PreprocessorDefinitions="" ! /> </FileConfiguration> <FileConfiguration ! Name="Debug|Win32" ! > <Tool Name="VCCLCompilerTool" Optimization="0" PreprocessorDefinitions="" ! BasicRuntimeChecks="3" ! /> </FileConfiguration> </File> <File ! RelativePath=".\pathcmp.c" ! > </File> <File ! RelativePath=".\regdiff.c" ! > </File> <File ! RelativePath="transcript.c" ! > <FileConfiguration ! Name="Release|Win32" ! > <Tool Name="VCCLCompilerTool" Optimization="2" ! PreprocessorDefinitions="" ! /> </FileConfiguration> <FileConfiguration ! Name="Debug|Win32" ! > <Tool Name="VCCLCompilerTool" Optimization="0" PreprocessorDefinitions="" ! BasicRuntimeChecks="3" ! /> </FileConfiguration> </File> <File ! RelativePath="..\common\version.c" ! > ! </File> ! <File ! RelativePath="winwrap.c" ! > <FileConfiguration ! Name="Release|Win32" ! > <Tool Name="VCCLCompilerTool" Optimization="2" ! PreprocessorDefinitions="" ! /> </FileConfiguration> <FileConfiguration ! Name="Debug|Win32" ! > <Tool Name="VCCLCompilerTool" Optimization="0" PreprocessorDefinitions="" ! BasicRuntimeChecks="3" ! /> </FileConfiguration> </File> *************** *** 255,293 **** <Filter Name="Header Files" ! Filter="h;hpp;hxx;hm;inl"> <File ! RelativePath="argcargv.h"> </File> <File ! RelativePath="..\common\base64.h"> </File> <File ! RelativePath="code.h"> </File> <File ! RelativePath="..\common\getopt.h"> </File> <File ! RelativePath="heapcheck.h"> </File> <File ! RelativePath="llist.h"> </File> <File ! RelativePath=".\pathcmp.h"> </File> <File ! RelativePath="..\common\tailor.h"> </File> <File ! RelativePath="transcript.h"> </File> <File ! RelativePath="winwrap.h"> </File> </Filter> <Filter Name="Resource Files" ! Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"> </Filter> </Files> --- 360,410 ---- <Filter Name="Header Files" ! Filter="h;hpp;hxx;hm;inl" ! > <File ! RelativePath="argcargv.h" ! > </File> <File ! RelativePath="..\common\base64.h" ! > </File> <File ! RelativePath="code.h" ! > </File> <File ! RelativePath="..\common\getopt.h" ! > </File> <File ! RelativePath="heapcheck.h" ! > </File> <File ! RelativePath="llist.h" ! > </File> <File ! RelativePath=".\pathcmp.h" ! > </File> <File ! RelativePath="..\common\tailor.h" ! > </File> <File ! RelativePath="transcript.h" ! > </File> <File ! RelativePath="winwrap.h" ! > </File> </Filter> <Filter Name="Resource Files" ! Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" ! > </Filter> </Files> Index: chksum.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/reg/chksum.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** chksum.c 14 Dec 2005 20:25:09 -0000 1.4 --- chksum.c 13 Jun 2007 16:17:40 -0000 1.5 *************** *** 82,92 **** //Read chunks of data from file and update digest. ! while (( rr = read( fd, buf, sizeof( buf ))) > 0 ) { EVP_DigestUpdate( &mdctx, buf, (unsigned int)rr ); } if ( rr < 0 ) { ! if ( close( fd ) != 0 ) { ! perror( path ); ! exit( 1 );; } EVP_MD_CTX_cleanup(&mdctx); --- 82,92 ---- //Read chunks of data from file and update digest. ! while (( rr = _read( fd, buf, sizeof( buf ))) > 0 ) { EVP_DigestUpdate( &mdctx, buf, (unsigned int)rr ); } if ( rr < 0 ) { ! if ( _close( fd ) != 0 ) { ! perror( path ); ! exit( 1 );; } EVP_MD_CTX_cleanup(&mdctx); *************** *** 96,102 **** //Close file. ! if ( close( fd ) != 0 ) { ! perror( path ); ! exit( 1 );; } --- 96,102 ---- //Close file. ! if ( _close( fd ) != 0 ) { ! perror( path ); ! exit( 1 );; } Index: regapply.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/reg/regapply.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** regapply.c 17 May 2006 17:41:54 -0000 1.6 --- regapply.c 13 Jun 2007 16:17:40 -0000 1.7 *************** *** 32,36 **** #include <openssl/evp.h> ! #include <snet.h> //#include "applefile.h" --- 32,36 ---- #include <openssl/evp.h> ! #include <libsnet/snet.h> //#include "applefile.h" *************** *** 70,75 **** SSL_CTX *ctx; ! char *version = "0.7.0", *checksumlist = "", *child_test_root = ""; ! extern char *ca, *cert, *privatekey; struct node { --- 70,75 ---- SSL_CTX *ctx; ! char *checksumlist = "", *child_test_root = ""; ! extern char *version, *ca, *cert, *privatekey; struct node { *************** *** 91,100 **** new_node = (struct node *) malloc( sizeof( struct node )); ! new_node->path = strdup( path ); if ( tline != NULL ) { ! sprintf( new_node->tline, "%s", tline ); ! new_node->doline = 1; } else { ! new_node->doline = 0; } new_node->next = NULL; --- 91,100 ---- new_node = (struct node *) malloc( sizeof( struct node )); ! new_node->path = _strdup( path ); if ( tline != NULL ) { ! sprintf( new_node->tline, "%s", tline ); ! new_node->doline = 1; } else { ! new_node->doline = 0; } new_node->next = NULL; *************** *** 251,255 **** } ! close( fd ); } if ( hKey != NULL && pinfo->pi_regdel_str != NULL ) --- 251,255 ---- } ! _close( fd ); } if ( hKey != NULL && pinfo->pi_regdel_str != NULL ) *************** *** 268,276 **** } ! close( fd ); system( "regedit /s c:\\radmind\\client\\-.reg" ); ! unlink( "c:\\radmind\\client\\-.reg" ); } if ( *targv[ 5 ] == '"' && strcmp( cksum_b64, "+" ) != 0 ) --- 268,276 ---- } ! _close( fd ); system( "regedit /s c:\\radmind\\client\\-.reg" ); ! _unlink( "c:\\radmind\\client... [truncated message content] |
From: Jarod <um...@us...> - 2007-06-13 16:17:45
|
Update of /cvsroot/radmind/radmind-pc In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv28567 Modified Files: radwind.sln radwind.suo Log Message: Recompiled with new version of Openssl and libsnet. Fixed uploading transcript of size 0 bytes error. Index: radwind.sln =================================================================== RCS file: /cvsroot/radmind/radmind-pc/radwind.sln,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** radwind.sln 14 Dec 2005 20:25:09 -0000 1.1 --- radwind.sln 13 Jun 2007 16:17:39 -0000 1.2 *************** *** 1,69 **** ! Microsoft Visual Studio Solution File, Format Version 8.00 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ktcheck", "fs\ktcheck.vcproj", "{937DD88A-B559-4E4B-8613-A1AF099D11E2}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection EndProject ! Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lapply", "fs\lapply.vcproj", "{937DD88A-B559-4E4B-8613-A1AF099D11E2}" ! ProjectSection(ProjectDependencies) = postProject ! EndProjectSection EndProject ! Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lcreate", "fs\lcreate.vcproj", "{937DD88A-B559-4E4B-8613-A1AF099D11E2}" ! ProjectSection(ProjectDependencies) = postProject ! EndProjectSection EndProject ! Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ntfsdiff", "fs\ntfsdiff.vcproj", "{937DD88A-B559-4E4B-8613-A1AF099D11E2}" ! ProjectSection(ProjectDependencies) = postProject ! EndProjectSection EndProject ! Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "regapply", "reg\regapply.vcproj", "{937DD88A-B559-4E4B-8613-A1AF099D11E2}" ! ProjectSection(ProjectDependencies) = postProject ! EndProjectSection EndProject ! Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "regcreate", "reg\regcreate.vcproj", "{937DD88A-B559-4E4B-8613-A1AF099D11E2}" ! ProjectSection(ProjectDependencies) = postProject ! EndProjectSection EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "regdiff", "reg\regdiff.vcproj", "{F1D26D4C-2BD3-43BC-8BB2-2503E77FD1AB}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection EndProject Global ! GlobalSection(SolutionConfiguration) = preSolution ! Debug = Debug ! Release = Release ! EndGlobalSection ! GlobalSection(ProjectConfiguration) = postSolution ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Debug.ActiveCfg = Debug|Win32 ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Debug.Build.0 = Debug|Win32 ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Release.ActiveCfg = Release|Win32 ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Release.Build.0 = Release|Win32 ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Debug.ActiveCfg = Debug|Win32 ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Debug.Build.0 = Debug|Win32 ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Release.ActiveCfg = Release|Win32 ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Release.Build.0 = Release|Win32 ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Debug.ActiveCfg = Debug|Win32 ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Debug.Build.0 = Debug|Win32 ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Release.ActiveCfg = Release|Win32 ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Release.Build.0 = Release|Win32 ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Debug.ActiveCfg = Debug|Win32 ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Debug.Build.0 = Debug|Win32 ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Release.ActiveCfg = Release|Win32 ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Release.Build.0 = Release|Win32 ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Debug.ActiveCfg = Debug|Win32 ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Debug.Build.0 = Debug|Win32 ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Release.ActiveCfg = Release|Win32 ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Release.Build.0 = Release|Win32 ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Debug.ActiveCfg = Debug|Win32 ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Debug.Build.0 = Debug|Win32 ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Release.ActiveCfg = Release|Win32 ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Release.Build.0 = Release|Win32 ! {F1D26D4C-2BD3-43BC-8BB2-2503E77FD1AB}.Debug.ActiveCfg = Debug|Win32 ! {F1D26D4C-2BD3-43BC-8BB2-2503E77FD1AB}.Debug.Build.0 = Debug|Win32 ! {F1D26D4C-2BD3-43BC-8BB2-2503E77FD1AB}.Release.ActiveCfg = Release|Win32 ! {F1D26D4C-2BD3-43BC-8BB2-2503E77FD1AB}.Release.Build.0 = Release|Win32 EndGlobalSection ! GlobalSection(ExtensibilityGlobals) = postSolution EndGlobalSection ! GlobalSection(ExtensibilityAddIns) = postSolution EndGlobalSection EndGlobal --- 1,50 ---- ! Microsoft Visual Studio Solution File, Format Version 9.00 ! # Visual Studio 2005 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ktcheck", "fs\ktcheck.vcproj", "{937DD88A-B559-4E4B-8613-A1AF099D11E2}" EndProject ! Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lapply", "fs\lapply.vcproj", "{4E6E7896-C849-4917-B930-BC2352F2DADB}" EndProject ! Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lcreate", "fs\lcreate.vcproj", "{47A23069-F7D7-4A29-AF3E-74BA91C434DF}" EndProject ! Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ntfsdiff", "fs\ntfsdiff.vcproj", "{08996B7A-3475-47F6-B85A-4B76C267EB6C}" EndProject ! Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "regapply", "reg\regapply.vcproj", "{0ECF944E-2594-4554-A0F9-8BFD724DD9F7}" EndProject ! Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "regcreate", "reg\regcreate.vcproj", "{0FAADB12-2D93-4465-9DDC-8180E1C98BD1}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "regdiff", "reg\regdiff.vcproj", "{F1D26D4C-2BD3-43BC-8BB2-2503E77FD1AB}" EndProject Global ! GlobalSection(SolutionConfigurationPlatforms) = preSolution ! Debug|Win32 = Debug|Win32 ! Release|Win32 = Release|Win32 EndGlobalSection ! GlobalSection(ProjectConfigurationPlatforms) = postSolution ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Debug|Win32.ActiveCfg = Debug|Win32 ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Debug|Win32.Build.0 = Debug|Win32 ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Release|Win32.ActiveCfg = Release|Win32 ! {937DD88A-B559-4E4B-8613-A1AF099D11E2}.Release|Win32.Build.0 = Release|Win32 ! {4E6E7896-C849-4917-B930-BC2352F2DADB}.Debug|Win32.ActiveCfg = Debug|Win32 ! {4E6E7896-C849-4917-B930-BC2352F2DADB}.Debug|Win32.Build.0 = Debug|Win32 ! {4E6E7896-C849-4917-B930-BC2352F2DADB}.Release|Win32.ActiveCfg = Release|Win32 ! {47A23069-F7D7-4A29-AF3E-74BA91C434DF}.Debug|Win32.ActiveCfg = Debug|Win32 ! {47A23069-F7D7-4A29-AF3E-74BA91C434DF}.Debug|Win32.Build.0 = Debug|Win32 ! {47A23069-F7D7-4A29-AF3E-74BA91C434DF}.Release|Win32.ActiveCfg = Release|Win32 ! {08996B7A-3475-47F6-B85A-4B76C267EB6C}.Debug|Win32.ActiveCfg = Debug|Win32 ! {08996B7A-3475-47F6-B85A-4B76C267EB6C}.Debug|Win32.Build.0 = Debug|Win32 ! {08996B7A-3475-47F6-B85A-4B76C267EB6C}.Release|Win32.ActiveCfg = Release|Win32 ! {0ECF944E-2594-4554-A0F9-8BFD724DD9F7}.Debug|Win32.ActiveCfg = Debug|Win32 ! {0ECF944E-2594-4554-A0F9-8BFD724DD9F7}.Debug|Win32.Build.0 = Debug|Win32 ! {0ECF944E-2594-4554-A0F9-8BFD724DD9F7}.Release|Win32.ActiveCfg = Release|Win32 ! {0FAADB12-2D93-4465-9DDC-8180E1C98BD1}.Debug|Win32.ActiveCfg = Debug|Win32 ! {0FAADB12-2D93-4465-9DDC-8180E1C98BD1}.Debug|Win32.Build.0 = Debug|Win32 ! {0FAADB12-2D93-4465-9DDC-8180E1C98BD1}.Release|Win32.ActiveCfg = Release|Win32 ! {F1D26D4C-2BD3-43BC-8BB2-2503E77FD1AB}.Debug|Win32.ActiveCfg = Debug|Win32 ! {F1D26D4C-2BD3-43BC-8BB2-2503E77FD1AB}.Debug|Win32.Build.0 = Debug|Win32 ! {F1D26D4C-2BD3-43BC-8BB2-2503E77FD1AB}.Release|Win32.ActiveCfg = Release|Win32 ! {F1D26D4C-2BD3-43BC-8BB2-2503E77FD1AB}.Release|Win32.Build.0 = Release|Win32 EndGlobalSection ! GlobalSection(SolutionProperties) = preSolution ! HideSolutionNode = FALSE EndGlobalSection EndGlobal Index: radwind.suo =================================================================== RCS file: /cvsroot/radmind/radmind-pc/radwind.suo,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 Binary files /tmp/cvstIfC8F and /tmp/cvsDmsJI0 differ |
From: Jarod <um...@us...> - 2007-06-13 16:17:45
|
Update of /cvsroot/radmind/radmind-pc/common In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv28567/common Modified Files: rmdirs.c tls.c Log Message: Recompiled with new version of Openssl and libsnet. Fixed uploading transcript of size 0 bytes error. Index: tls.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/common/tls.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** tls.c 13 Aug 2005 02:33:20 -0000 1.1 --- tls.c 13 Jun 2007 16:17:40 -0000 1.2 *************** *** 4,9 **** */ - //#include "config.h" - #define WIN32_LEAN_AND_MEAN #include <winsock2.h> --- 4,7 ---- *************** *** 11,19 **** #include <sys/types.h> - //#include <sys/param.h> - //#include <sys/time.h> - - //#include <netinet/in.h> /* For inet_aton */ - //#include <arpa/inet.h> #include <openssl/ssl.h> --- 9,12 ---- *************** *** 26,30 **** #include <string.h> ! #include <snet.h> /* what kind of hostname were we given? */ --- 19,23 ---- #include <string.h> ! #include <libsnet/snet.h> /* what kind of hostname were we given? */ *************** *** 286,290 **** /* Is this an exact match? */ ! if (( len1 == sl ) && !strnicmp( host, sn, len1 )) { /* Found! */ if ( verbose ) { --- 279,283 ---- /* Is this an exact match? */ ! if (( len1 == sl ) && !_strnicmp( host, sn, len1 )) { /* Found! */ if ( verbose ) { *************** *** 298,302 **** if ( domain && ( sn[0] == '*' ) && ( sn[1] == '.' ) && ( len2 == sl-1 ) && ! strnicmp( domain, &sn[1], len2 )) { /* Found! */ if ( verbose ) { --- 291,295 ---- if ( domain && ( sn[0] == '*' ) && ( sn[1] == '.' ) && ( len2 == sl-1 ) && ! _strnicmp( domain, &sn[1], len2 )) { /* Found! */ if ( verbose ) { Index: rmdirs.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/common/rmdirs.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** rmdirs.c 19 Aug 2005 01:57:41 -0000 1.2 --- rmdirs.c 13 Jun 2007 16:17:40 -0000 1.3 *************** *** 33,37 **** int i; ! name_temp = strdup( dir ); name_ptr = name_temp; len = strlen( name_temp ); --- 33,37 ---- int i; ! name_temp = _strdup( dir ); name_ptr = name_temp; len = strlen( name_temp ); |
From: Jarod <um...@us...> - 2007-06-13 16:17:45
|
Update of /cvsroot/radmind/radmind-pc/bin In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv28567/bin Modified Files: ktcheck.exe lapply.exe lcreate.exe ntfsdiff.exe regapply.exe regcreate.exe regdiff.exe Log Message: Recompiled with new version of Openssl and libsnet. Fixed uploading transcript of size 0 bytes error. Index: lcreate.exe =================================================================== RCS file: /cvsroot/radmind/radmind-pc/bin/lcreate.exe,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 Binary files /tmp/cvsTnm2xk and /tmp/cvsLzXdgG differ Index: regapply.exe =================================================================== RCS file: /cvsroot/radmind/radmind-pc/bin/regapply.exe,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 Binary files /tmp/cvsjqLr8o and /tmp/cvsVmWiYK differ Index: regcreate.exe =================================================================== RCS file: /cvsroot/radmind/radmind-pc/bin/regcreate.exe,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 Binary files /tmp/cvs7VnA1u and /tmp/cvs0Ngp1Q differ Index: ntfsdiff.exe =================================================================== RCS file: /cvsroot/radmind/radmind-pc/bin/ntfsdiff.exe,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 Binary files /tmp/cvsaWQExy and /tmp/cvsM6GxKU differ Index: ktcheck.exe =================================================================== RCS file: /cvsroot/radmind/radmind-pc/bin/ktcheck.exe,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 Binary files /tmp/cvsnkoI7y and /tmp/cvsCYrIxV differ Index: lapply.exe =================================================================== RCS file: /cvsroot/radmind/radmind-pc/bin/lapply.exe,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 Binary files /tmp/cvse5LhSE and /tmp/cvsaF2Gr1 differ Index: regdiff.exe =================================================================== RCS file: /cvsroot/radmind/radmind-pc/bin/regdiff.exe,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 Binary files /tmp/cvssBQFMN and /tmp/cvs46kxBa differ |
From: Andrew M. <fit...@us...> - 2007-06-03 03:30:27
|
Update of /cvsroot/radmind/radmind-assistant/rsm/English.lproj/MainMenu.nib In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv4341/MainMenu.nib Modified Files: info.nib objects.nib Log Message: Support for minus lines in command files. Fixed Bonjour switch. Index: info.nib =================================================================== RCS file: /cvsroot/radmind/radmind-assistant/rsm/English.lproj/MainMenu.nib/info.nib,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** info.nib 5 May 2005 18:13:01 -0000 1.9 --- info.nib 3 Jun 2007 03:30:23 -0000 1.10 *************** *** 23,27 **** </dict> <key>IBFramework Version</key> ! <string>437.0</string> <key>IBOpenObjects</key> <array> --- 23,27 ---- </dict> <key>IBFramework Version</key> ! <string>446.1</string> <key>IBOpenObjects</key> <array> *************** *** 29,37 **** <integer>240</integer> <integer>284</integer> - <integer>294</integer> <integer>567</integer> </array> <key>IBSystem Version</key> ! <string>8A428</string> </dict> </plist> --- 29,38 ---- <integer>240</integer> <integer>284</integer> <integer>567</integer> + <integer>211</integer> + <integer>294</integer> </array> <key>IBSystem Version</key> ! <string>8P2137</string> </dict> </plist> Index: objects.nib =================================================================== RCS file: /cvsroot/radmind/radmind-assistant/rsm/English.lproj/MainMenu.nib/objects.nib,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 Binary files /tmp/cvsmJSfMY and /tmp/cvskAdUog differ |
From: Andrew M. <fit...@us...> - 2007-06-03 03:30:27
|
Update of /cvsroot/radmind/radmind-assistant/rsm/English.lproj/Preferences.nib In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv4341/Preferences.nib Modified Files: info.nib keyedobjects.nib Log Message: Support for minus lines in command files. Fixed Bonjour switch. Index: info.nib =================================================================== RCS file: /cvsroot/radmind/radmind-assistant/rsm/English.lproj/Preferences.nib/info.nib,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** info.nib 25 Apr 2006 17:50:18 -0000 1.9 --- info.nib 3 Jun 2007 03:30:24 -0000 1.10 *************** *** 4,10 **** <dict> <key>IBDocumentLocation</key> ! <string>69 68 356 240 0 0 1440 878 </string> <key>IBFramework Version</key> ! <string>443.0</string> <key>IBOpenObjects</key> <array> --- 4,10 ---- <dict> <key>IBDocumentLocation</key> ! <string>70 68 356 240 0 0 1440 878 </string> <key>IBFramework Version</key> ! <string>446.1</string> <key>IBOpenObjects</key> <array> *************** *** 13,17 **** </array> <key>IBSystem Version</key> ! <string>8I1119</string> </dict> </plist> --- 13,17 ---- </array> <key>IBSystem Version</key> ! <string>8P2137</string> </dict> </plist> Index: keyedobjects.nib =================================================================== RCS file: /cvsroot/radmind/radmind-assistant/rsm/English.lproj/Preferences.nib/keyedobjects.nib,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 Binary files /tmp/cvsZdmYg2 and /tmp/cvsKzaqVj differ |
From: Andrew M. <fit...@us...> - 2007-06-03 03:24:34
|
Update of /cvsroot/radmind/radmind-assistant/rsm In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv3283 Modified Files: RSMPreferences.m Log Message: Use -B for Bonjour instead of deprecated -R. Index: RSMPreferences.m =================================================================== RCS file: /cvsroot/radmind/radmind-assistant/rsm/RSMPreferences.m,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** RSMPreferences.m 19 Mar 2006 01:49:01 -0000 1.15 --- RSMPreferences.m 3 Jun 2007 03:24:31 -0000 1.16 *************** *** 304,308 **** } if ( [ rsmPrefRendezvousSwitch state ] == NSOnState ) { ! arglist = [ arglist arrayByAddingObject: @"-R" ]; } if ( [ rsmPrefUserAuthenticationSwitch state ] == NSOnState ) { --- 304,308 ---- } if ( [ rsmPrefRendezvousSwitch state ] == NSOnState ) { ! arglist = [ arglist arrayByAddingObject: @"-B" ]; } if ( [ rsmPrefUserAuthenticationSwitch state ] == NSOnState ) { |
From: Andrew M. <fit...@us...> - 2007-06-03 03:23:42
|
Update of /cvsroot/radmind/radmind-assistant/rsm In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv2754 Modified Files: RSMLoadsetEditor.h RSMLoadsetEditor.m Log Message: Support for minus lines in command files. Don't show arrows in pop-up button cells. Index: RSMLoadsetEditor.h =================================================================== RCS file: /cvsroot/radmind/radmind-assistant/rsm/RSMLoadsetEditor.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** RSMLoadsetEditor.h 14 Dec 2005 18:34:23 -0000 1.7 --- RSMLoadsetEditor.h 3 Jun 2007 03:23:39 -0000 1.8 *************** *** 97,100 **** --- 97,101 ---- - ( void )setupKFileEntryTypePopups; + - ( void )setupKFileEntryMinusPopups; - ( oneway void )command: ( int )cmd finishedWithStatus: ( int )status inThread: ( int )ID; Index: RSMLoadsetEditor.m =================================================================== RCS file: /cvsroot/radmind/radmind-assistant/rsm/RSMLoadsetEditor.m,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** RSMLoadsetEditor.m 28 Mar 2006 18:48:36 -0000 1.18 --- RSMLoadsetEditor.m 3 Jun 2007 03:23:39 -0000 1.19 *************** *** 134,137 **** --- 134,138 ---- [ loadsetWindow setFrameAutosaveName: @"RSMLoadsetWindow" ]; + [ self setupKFileEntryMinusPopups ]; [ self setupKFileEntryTypePopups ]; [ self setupCommandFileNameCells ]; *************** *** 562,565 **** --- 563,583 ---- [ protoCell setEditable: YES ]; [ protoCell setBordered: NO ]; + [ protoCell setArrowPosition: NSPopUpNoArrow ]; + [ kColumn setDataCell: protoCell]; + [ protoCell release]; + } + + - ( void )setupKFileEntryMinusPopups + { + id protoCell = [[ NSPopUpButtonCell alloc ] + initTextCell: @"" pullsDown: NO ]; + NSTableColumn *kColumn = [ currentKFileTable tableColumnWithIdentifier: @"minus" ]; + + [ protoCell insertItemWithTitle: @" " atIndex: 0 ]; + [ protoCell insertItemWithTitle: @"-" atIndex: 1 ]; + + [ protoCell setEditable: YES ]; + [ protoCell setBordered: NO ]; + [ protoCell setArrowPosition: NSPopUpNoArrow ]; [ kColumn setDataCell: protoCell]; [ protoCell release]; *************** *** 722,725 **** --- 740,747 ---- } + if ( [[ dict objectForKey: @"minus" ] isEqualToString: @"-" ] ) { + fprintf( tmpkfile, "- " ); + } + fprintf( tmpkfile, "%s %s\n", ( char * )[[ dict objectForKey: @"type" ] UTF8String ], *************** *** 850,854 **** NSString *kfile; FILE *f; ! int tac; char tmp[ MAXPATHLEN ], buf[ MAXPATHLEN ]; char **targv; --- 872,876 ---- NSString *kfile; FILE *f; ! int tac, minus = 0; char tmp[ MAXPATHLEN ], buf[ MAXPATHLEN ]; char **targv; *************** *** 866,869 **** --- 888,892 ---- strcpy( tmp, buf ); tac = argcargv( buf, &targv ); + minus = 0; if ( tac == 0 ) { *************** *** 874,877 **** --- 897,913 ---- } + if ( strcmp( "-", targv[ 0 ] ) == 0 ) { + /* minus line */ + tac--; + targv++; + + if ( tac != 2 ) { + NSLog( @"Invalid command file line: %s", tmp ); + return; + } + + minus = 1; + } + switch ( *targv[ 0 ] ) { case 'n': *************** *** 882,885 **** --- 918,924 ---- [ NSString stringWithUTF8String: targv[ 0 ]], @"type", [ NSString stringWithUTF8String: targv[ 1 ]], @"tname", nil ]; + if ( minus ) { + [ kLine setObject: @"-" forKey: @"minus" ]; + } break; *************** *** 887,890 **** --- 926,930 ---- case '#': kLine = [ NSMutableDictionary dictionaryWithObjectsAndKeys: + @"#", @"minus", @"#", @"type", [ NSString stringWithUTF8String: tmp ], @"tname", nil ]; *************** *** 893,897 **** default: ! NSLog( @"Invalid line in command file: %s", buf ); return; } --- 933,937 ---- default: ! NSLog( @"Invalid command file line: %s", buf ); return; } *************** *** 1027,1054 **** forTableColumn: ( NSTableColumn * )column row: ( int )row { if ( row < 0 ) return; if ( [[ column identifier ] isEqualToString: @"tname" ] ) { [ aCell setTextColor: [ NSColor blackColor ]]; ! if ( [[[ _currentCommandFile objectAtIndex: row ] objectForKey: @"tname" ] ! characterAtIndex: 0 ] == '#' ) { [ aCell setTextColor: [ NSColor blueColor ]]; ! } else if ( [[[ _currentCommandFile objectAtIndex: row ] objectForKey: @"type" ] ! characterAtIndex: 0 ] == 'n' ) { [ aCell setTextColor: [ NSColor redColor ]]; } ! [ aCell setStringValue: [[ _currentCommandFile objectAtIndex: row ] objectForKey: @"tname" ]]; [ aCell setEditable: NO ]; } else if ( [[ column identifier ] isEqualToString: @"type" ] ) { [ aCell setEnabled: YES ]; ! if ( [[[ _currentCommandFile objectAtIndex: row ] objectForKey: @"type" ] ! characterAtIndex: 0 ] == '#' ) { [ aCell setEnabled: NO ]; } ! [ aCell selectItemWithTitle: ! [[ _currentCommandFile objectAtIndex: row ] objectForKey: @"type" ]]; } } --- 1067,1102 ---- forTableColumn: ( NSTableColumn * )column row: ( int )row { + id obj; + if ( row < 0 ) return; + + obj = [ _currentCommandFile objectAtIndex: row ]; if ( [[ column identifier ] isEqualToString: @"tname" ] ) { [ aCell setTextColor: [ NSColor blackColor ]]; ! if ( [[ obj objectForKey: @"tname" ] characterAtIndex: 0 ] == '#' ) { [ aCell setTextColor: [ NSColor blueColor ]]; ! } else if ( [[ obj objectForKey: @"type" ] ! characterAtIndex: 0 ] == 'n' ) { [ aCell setTextColor: [ NSColor redColor ]]; } ! [ aCell setStringValue: [ obj objectForKey: @"tname" ]]; [ aCell setEditable: NO ]; } else if ( [[ column identifier ] isEqualToString: @"type" ] ) { [ aCell setEnabled: YES ]; ! if ( [[ obj objectForKey: @"type" ] characterAtIndex: 0 ] == '#' ) { [ aCell setEnabled: NO ]; } ! [ aCell selectItemWithTitle: [ obj objectForKey: @"type" ]]; ! } else if ( [[ column identifier ] isEqualToString: @"minus" ] ) { ! [ aCell setEnabled: YES ]; ! ! if ( [[ obj objectForKey: @"minus" ] characterAtIndex: 0 ] == '#' ) { ! [ aCell setEnabled: NO ]; ! } ! [ aCell selectItemWithTitle: [ obj objectForKey: @"minus" ]]; } } *************** *** 1065,1073 **** forTableColumn: ( NSTableColumn * )tableColumn row: ( int )row { if ( row < 0 ) return; if ( [[ tableColumn identifier ] isEqualToString: @"type" ] ) { int index = [ object intValue ]; ! NSString *oldtype = [[ _currentCommandFile objectAtIndex: row ] objectForKey: @"type" ]; NSString *newtype; --- 1113,1125 ---- forTableColumn: ( NSTableColumn * )tableColumn row: ( int )row { + id item; + if ( row < 0 ) return; + item = [ _currentCommandFile objectAtIndex: row ]; + if ( [[ tableColumn identifier ] isEqualToString: @"type" ] ) { int index = [ object intValue ]; ! NSString *oldtype = [ item objectForKey: @"type" ]; NSString *newtype; *************** *** 1094,1099 **** if ( ! [ newtype isEqualToString: oldtype ] ) { ! [[ _currentCommandFile objectAtIndex: row ] ! setObject: newtype forKey: @"type" ]; [ self setCommandFileEdited: YES ]; } --- 1146,1175 ---- if ( ! [ newtype isEqualToString: oldtype ] ) { ! [ item setObject: newtype forKey: @"type" ]; ! [ self setCommandFileEdited: YES ]; ! } ! } else if ( [[ tableColumn identifier ] isEqualToString: @"minus" ] ) { ! int index = [ object intValue ]; ! NSString *old = [ item objectForKey: @"minus" ]; ! NSString *new; ! ! switch ( index ) { ! default: ! case 0: /* not a minus line */ ! new = @" "; ! break; ! ! case 1: /* minus line */ ! if ( [[ item objectForKey: @"type" ] isEqualToString: @"k" ] ) { ! /* minus k lines are not yet supported */ ! NSBeep(); ! return; ! } ! new = @"-"; ! break; ! } ! ! if ( ! [ new isEqualToString: old ] ) { ! [ item setObject: new forKey: @"minus" ]; [ self setCommandFileEdited: YES ]; } |
From: Andrew M. <fit...@us...> - 2007-06-03 03:20:54
|
Update of /cvsroot/radmind/radmind-assistant/rsm In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv1996 Modified Files: RAServerController.m Log Message: Don't show arrows in pop-up button cells. Index: RAServerController.m =================================================================== RCS file: /cvsroot/radmind/radmind-assistant/rsm/RAServerController.m,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** RAServerController.m 25 May 2007 02:17:50 -0000 1.19 --- RAServerController.m 3 Jun 2007 03:20:47 -0000 1.20 *************** *** 11,14 **** --- 11,15 ---- #import "RSMLoadsetManager.h" #import "RSMPreferences.h" + #import "RSMTranscriptTitleCell.h" #import "NSFileManager(mktemp).h" *************** *** 685,688 **** --- 686,690 ---- [ protoCell setEditable: YES ]; [ protoCell setBordered: NO ]; + [ protoCell setArrowPosition: NSPopUpNoArrow ]; [ kColumn setDataCell: protoCell]; [ protoCell release]; |
From: Andrew M. <fit...@us...> - 2007-06-03 03:18:57
|
Update of /cvsroot/radmind/radmind-assistant/rsm In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv1534 Modified Files: RAEditorLauncher.m Log Message: Use bundle identifiers to launch Transcript Editor. Use AppleScript to launch Terminal-based editing sessions. Index: RAEditorLauncher.m =================================================================== RCS file: /cvsroot/radmind/radmind-assistant/rsm/RAEditorLauncher.m,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** RAEditorLauncher.m 5 May 2005 18:02:57 -0000 1.6 --- RAEditorLauncher.m 3 Jun 2007 03:18:54 -0000 1.7 *************** *** 6,11 **** #import "RAEditorLauncher.h" - #include <ApplicationServices/ApplicationServices.h> - #include <sys/types.h> #include <errno.h> --- 6,9 ---- *************** *** 24,28 **** } ! return( [ sharedInstance autorelease ] ); } --- 22,26 ---- } ! return( sharedInstance ); } *************** *** 30,55 **** { NSUserDefaults *defaults; ! NSArray *altEditors, *itemArray = nil; int i; - OSStatus status; - NSMutableDictionary *term; - NSString *termPath; - LSLaunchURLSpec spec; - NSURL *transcriptURL = NULL; - CFURLRef url = NULL; ! if ( strstr(( char * )[ editor UTF8String ], "Radmind" ) != NULL ) { ! status = LSFindApplicationForInfo(( OSType )'????', ! ( CFStringRef )@"edu.umich.radmindtranscripteditor", ! NULL, NULL, &url ); - if ( status != noErr ) { - NSRunAlertPanel( @"Error launching editor", @"Error %d", - @"OK", @"", @"", ( int )status ); - return( NO ); - } - if ( tPath == nil ) { ! if ( ![[ NSWorkspace sharedWorkspace ] openURL: ( NSURL * )url ] ) { NSRunAlertPanel( @"Couldn't launch Radmind Transcript Editor", @"", @"OK", @"", @"" ); --- 28,57 ---- { NSUserDefaults *defaults; ! NSArray *altEditors; ! NSString *bundleID = @"edu.umich.radmindtranscripteditor"; ! NSString *rtepath; ! NSAppleScript *as = nil; ! NSDictionary *errorDictionary = nil; ! NSString *scriptSource = nil; int i; ! if ( [ editor isEqualToString: @"Radmind Transcript Editor" ] ) { ! if (( rtepath = [[ NSWorkspace sharedWorkspace ] ! absolutePathForAppBundleWithIdentifier: bundleID ] ) == nil ) { ! rtepath = [[ NSBundle mainBundle ] bundlePath ]; ! rtepath = [ rtepath stringByDeletingLastPathComponent ]; ! rtepath = [ rtepath stringByAppendingFormat: @"%@.app", editor ]; ! if ( rtepath == nil ) { ! NSRunAlertPanel( NSLocalizedString( @"Error", @"Error" ), ! NSLocalizedString( ! @"Couldn't locate the Radmind Transcript Editor", ! @"Couldn't locate the Radmind Transcript Editor" ), ! NSLocalizedString( @"OK", @"OK" ), @"", @"" ); ! return( NO ); ! } ! } if ( tPath == nil ) { ! if ( ![[ NSWorkspace sharedWorkspace ] openFile: rtepath ] ) { NSRunAlertPanel( @"Couldn't launch Radmind Transcript Editor", @"", @"OK", @"", @"" ); *************** *** 58,80 **** return( YES ); } ! ! transcriptURL = [ NSURL fileURLWithPath: tPath ]; ! itemArray = [ NSArray arrayWithObject: transcriptURL ]; ! ! spec.appURL = ( CFURLRef )url; ! spec.itemURLs = ( CFArrayRef )itemArray; ! spec.passThruParams = NULL; ! spec.launchFlags = kLSLaunchDefaults; ! spec.asyncRefCon = NULL; ! ! status = LSOpenFromURLSpec( &spec, NULL ); ! ! if ( status != noErr ) { NSRunAlertPanel( @"Error launching editing session.", ! @"Couldn't launch Radmind Transcript Editor: error %d", ! @"OK", @"", @"", ( int )status ); return( NO ); } ! return( YES ); } --- 60,77 ---- return( YES ); } ! /* ! * this fails if tPath isn't readable by the user. ! * should use NSWorkspace's launchAppWithBundleIdentifier... ! * and pass doc path as part of paramdescriptor ! */ ! if ( ![[ NSWorkspace sharedWorkspace ] openFile: tPath ! withApplication: rtepath ! andDeactivate: YES ] ) { NSRunAlertPanel( @"Error launching editing session.", ! @"Couldn't launch Radmind Transcript Editor", ! @"OK", @"", @"" ); return( NO ); } ! return( YES ); } *************** *** 92,96 **** NSRunAlertPanel( @"Error launching editing session.", @"Couldn't launch %@", @"OK", @"", @"", ! [[ altEditors objectAtIndex: i ] objectForKey: @"name" ] ); return( NO ); } --- 89,93 ---- NSRunAlertPanel( @"Error launching editing session.", @"Couldn't launch %@", @"OK", @"", @"", ! [[ altEditors objectAtIndex: i ] objectForKey: @"name" ] ); return( NO ); } *************** *** 98,136 **** } } - - term = [[ NSMutableDictionary alloc ] init ]; - - [ term setDictionary: [ NSDictionary dictionaryWithContentsOfFile: - [[ NSBundle mainBundle ] pathForResource: @"template" ofType: @"term" ]]]; ! [[[ term objectForKey: @"WindowSettings" ] objectAtIndex: 0 ] setObject: ! [ NSString stringWithFormat: @"/usr/bin/sudo %@ %@ ; exit", editor, tPath ] ! forKey: @"ExecutionString" ]; ! ! termPath = [ NSString stringWithFormat: @"/tmp/ra.%d.term", getpid() ]; ! ! if ( access(( char * )[ termPath UTF8String ], F_OK ) == 0 ) { ! if ( unlink(( char * )[ termPath UTF8String ] ) < 0 ) { ! NSLog( @"unlink %@: %s", termPath, strerror( errno )); ! return( NO ); ! } ! } ! ! if ( ![ term writeToFile: termPath atomically: YES ] ) { ! NSRunAlertPanel( @"Error creating terminal session.", ! @"Couldn't write .term file to /tmp", ! @"OK", @"", @"" ); ! return( NO ); ! } ! if ( ![[ NSWorkspace sharedWorkspace ] openFile: termPath ! withApplication: @"Terminal.app" ! andDeactivate: YES ] ) { ! NSRunAlertPanel( @"Error launching editing session.", ! @"Couldn't launch Terminal", ! @"OK", @"", @"" ); return( NO ); } ! return( YES ); } --- 95,112 ---- } } ! scriptSource = [ NSString stringWithFormat: ! @"tell application \"Terminal\"\r" ! @"activate\r" ! @"do script \"/usr/bin/sudo %@ \\\"%@\\\"; exit\"\r" ! @"end tell", editor, tPath ]; ! as = [[[ NSAppleScript alloc ] initWithSource: scriptSource ] autorelease ]; ! if ( [ as executeAndReturnError: &errorDictionary ] == nil ) { ! NSLog( @"Failed to open terminal with AppleScript: %@", ! [ errorDictionary objectForKey: @"NSAppleScriptErrorMessage" ] ); return( NO ); } ! return( YES ); } |
From: Andrew M. <fit...@us...> - 2007-06-03 03:18:06
|
Update of /cvsroot/radmind/radmind-assistant/rsm In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv1150 Modified Files: NSFileManager(mktemp).m Log Message: Checking in old changes. Index: NSFileManager(mktemp).m =================================================================== RCS file: /cvsroot/radmind/radmind-assistant/rsm/NSFileManager(mktemp).m,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NSFileManager(mktemp).m 5 Apr 2005 20:04:29 -0000 1.1 --- NSFileManager(mktemp).m 3 Jun 2007 03:18:01 -0000 1.2 *************** *** 29,33 **** strcpy( tmp, [ template UTF8String ] ); - /* XXX is this really a good idea? */ if ( mkdtemp( tmp ) == NULL ) { if ( errno != EEXIST ) { --- 29,32 ---- |
From: Patrick M. <ume...@us...> - 2007-05-31 21:28:56
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv7483 Modified Files: transcript.c Log Message: Corrected reversed logic of dealing with minus lines. Index: transcript.c =================================================================== RCS file: /cvsroot/radmind/radmind/transcript.c,v retrieving revision 1.118 retrieving revision 1.119 diff -C2 -d -r1.118 -r1.119 *** transcript.c 30 May 2007 18:11:49 -0000 1.118 --- transcript.c 31 May 2007 21:28:54 -0000 1.119 *************** *** 887,895 **** if ( *av[ 0 ] == '-' ) { ! minus = 0; av++; ac--; } else { ! minus = 1; } --- 887,895 ---- if ( *av[ 0 ] == '-' ) { ! minus = 1; av++; ac--; } else { ! minus = 0; } |
From: Patrick M. <ume...@us...> - 2007-05-31 20:47:20
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv25520 Modified Files: ktcheck.c Log Message: Fixed bug where included command files not already on the client coudln't be downloaded. Index: ktcheck.c =================================================================== RCS file: /cvsroot/radmind/radmind/ktcheck.c,v retrieving revision 1.121 retrieving revision 1.122 diff -C2 -d -r1.121 -r1.122 *** ktcheck.c 31 May 2007 15:22:26 -0000 1.121 --- ktcheck.c 31 May 2007 20:47:16 -0000 1.122 *************** *** 962,968 **** goto error; } - if ( read_kfile( path ) != 0 ) { - exit( 2 ); - } } --- 962,965 ---- *************** *** 980,983 **** --- 977,983 ---- goto error; } + if ( read_kfile( path ) != 0 ) { + exit( 2 ); + } break; |
From: Andrew M. <fit...@us...> - 2007-05-31 15:22:30
|
Update of /cvsroot/radmind/radmind In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv3196 Modified Files: ktcheck.c Log Message: Fix: Bug 1728520: ktcheck -C does not work with -K. Added support in -C for minus lines in command files. Index: ktcheck.c =================================================================== RCS file: /cvsroot/radmind/radmind/ktcheck.c,v retrieving revision 1.120 retrieving revision 1.121 diff -C2 -d -r1.120 -r1.121 *** ktcheck.c 30 May 2007 18:11:49 -0000 1.120 --- ktcheck.c 31 May 2007 15:22:26 -0000 1.121 *************** *** 103,108 **** } ! /* skip comments and special lines */ ! if ( *buf == '#' || *buf == 's' ) { continue; } --- 103,108 ---- } ! /* skip comments, special and minus lines */ ! if ( *buf == '#' || *buf == 's' || *buf == '-' ) { continue; } *************** *** 112,119 **** } ! if ( snprintf( path, MAXPATHLEN, "%s/client/%s", ! radmind_path, tav[ 1 ] ) >= MAXPATHLEN ) { ! fprintf( stderr, "%s/client/%s: path too long\n", ! radmind_path, tav[ 1 ] ); fclose( kf ); exit( 2 ); --- 112,119 ---- } ! if ( snprintf( path, MAXPATHLEN, "%s%s", ! kdir, tav[ 1 ] ) >= MAXPATHLEN ) { ! fprintf( stderr, "%s%s: path too long\n", ! kdir, tav[ 1 ] ); fclose( kf ); exit( 2 ); *************** *** 159,167 **** } ! /* also skip the base command file */ ! if ( strcmp( fsitem, base_kfile ) == 0 ) { continue; } new = ll_allocate( fsitem ); ll_insert( &head, new ); --- 159,174 ---- } ! /* ! * also skip the base command file. second case ! * handles "-K kfile.K", where kfile path is ! * same as "./kfile.K", but is passed as "kfile.K" ! */ ! if ( strcmp( fsitem, base_kfile ) == 0 || ! ( strncmp( kdir, path, strlen( path )) == 0 ! && strcmp( base_kfile, de->d_name )) == 0 ) { continue; } + new = ll_allocate( fsitem ); ll_insert( &head, new ); *************** *** 218,228 **** struct llist *khead = NULL; struct node *node; ! char clientdir[ MAXPATHLEN ]; ! ! if ( snprintf( clientdir, MAXPATHLEN, "%s/client", radmind_path ) ! >= MAXPATHLEN ) { ! fprintf( stderr, "%s/client: path too long\n", radmind_path ); ! return( -1 ); ! } expand_kfile( &khead, base_kfile ); --- 225,230 ---- struct llist *khead = NULL; struct node *node; ! char dir[ MAXPATHLEN ]; ! char *p; expand_kfile( &khead, base_kfile ); *************** *** 232,236 **** } ! cleandirs( clientdir, khead ); ll_free( khead ); --- 234,247 ---- } ! /* ! * can't pass in kdir, since it has a trailing slash. ! * bounds checking done when creating kdir in main(). ! */ ! strcpy( dir, kdir ); ! if (( p = strrchr( dir, '/' )) != NULL ) { ! *p = '\0'; ! } ! ! cleandirs( dir, khead ); ll_free( khead ); *************** *** 549,553 **** while (( c = getopt( argc, argv, "Cc:D:h:iK:np:qrvVw:x:y:z:Z:" )) != EOF ) { switch( c ) { ! case 'C': /* clean up _RADMIND_PATH/client */ clean = 1; break; --- 560,564 ---- while (( c = getopt( argc, argv, "Cc:D:h:iK:np:qrvVw:x:y:z:Z:" )) != EOF ) { switch( c ) { ! case 'C': /* clean up dir containing command.K */ clean = 1; break; |