|
From: Dustin K. <da...@us...> - 2009-02-25 03:16:59
|
Update of /cvsroot/radmind/radmind-pc/fs In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv5832/fs Modified Files: ntfsdiff.c pathcmp.c update.c Log Message: Fixes bugs 1451645 (sort order problems--actually affected registry as well), 1381982 (ntfsdiff fl_string buffer size issue), and 1386652 (regcreate usage message). Also fixed a problem where lapply would set the time incorrectly because of a signedness problem. Cleaned up a couple references to missing files. Index: ntfsdiff.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/fs/ntfsdiff.c,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** ntfsdiff.c 13 Jun 2007 16:17:40 -0000 1.24 --- ntfsdiff.c 25 Feb 2009 02:12:30 -0000 1.25 *************** *** 210,214 **** char *qpenc_temp = NULL; char start_string[ 2048 ]; ! char fl_string[ _MAX_PATH + 20 ]; char ts_string[ 128 ]; int x = 0; --- 210,214 ---- char *qpenc_temp = NULL; char start_string[ 2048 ]; ! char fl_string[ _MAX_PATH*3 + 20 ]; char ts_string[ 128 ]; int x = 0; Index: update.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/fs/update.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** update.c 14 Dec 2005 20:25:09 -0000 1.3 --- update.c 25 Feb 2009 02:12:30 -0000 1.4 *************** *** 113,118 **** times.modtime = inttime_to_utime( ft.QuadPart );*/ ! tran_ft.dwHighDateTime = atoi( targv[ 6 ] ); ! tran_ft.dwLowDateTime = atoi( targv[ 7 ] ); t_handle = CreateFile( path, FILE_READ_ATTRIBUTES | FILE_WRITE_ATTRIBUTES, 0, NULL, OPEN_EXISTING, 0, NULL ); --- 113,118 ---- times.modtime = inttime_to_utime( ft.QuadPart );*/ ! tran_ft.dwHighDateTime = strtoul( targv[ 6 ] ); ! tran_ft.dwLowDateTime = strtoul( targv[ 7 ] ); t_handle = CreateFile( path, FILE_READ_ATTRIBUTES | FILE_WRITE_ATTRIBUTES, 0, NULL, OPEN_EXISTING, 0, NULL ); Index: pathcmp.c =================================================================== RCS file: /cvsroot/radmind/radmind-pc/fs/pathcmp.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** pathcmp.c 13 Jun 2007 16:17:40 -0000 1.2 --- pathcmp.c 25 Feb 2009 02:12:30 -0000 1.3 *************** *** 50,54 **** do { ! rc = ( tolower( *p1 ) - tolower( *p2 )); if ( rc != 0 ) { if (( *p2 != '\0' ) && ( *p1 == '/' )) { --- 50,54 ---- do { ! rc = ( toupper( *p1 ) - toupper( *p2 )); if ( rc != 0 ) { if (( *p2 != '\0' ) && ( *p1 == '/' )) { |