|
From: Wes C. <wes...@us...> - 2009-08-19 17:37:48
|
Update of /cvsroot/radmind/radmind In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv9631 Modified Files: lapply.c lcksum.c lmerge.c transcript.c Log Message: detect repeated pathnames and flag them as bad sort order Index: lmerge.c =================================================================== RCS file: /cvsroot/radmind/radmind/lmerge.c,v retrieving revision 1.58 retrieving revision 1.59 diff -C2 -d -r1.58 -r1.59 *** lmerge.c 1 Aug 2009 18:25:31 -0000 1.58 --- lmerge.c 19 Aug 2009 17:37:34 -0000 1.59 *************** *** 151,155 **** if ( pathcasecmp( tran->t_filepath, tran->t_prepath, ! case_sensitive ) < 0 ) { fprintf( stderr, "%s: line %d: bad sort order\n", tran->t_tran_name, tran->t_linenum ); --- 151,155 ---- if ( pathcasecmp( tran->t_filepath, tran->t_prepath, ! case_sensitive ) <= 0 ) { fprintf( stderr, "%s: line %d: bad sort order\n", tran->t_tran_name, tran->t_linenum ); Index: lcksum.c =================================================================== RCS file: /cvsroot/radmind/radmind/lcksum.c,v retrieving revision 1.77 retrieving revision 1.78 diff -C2 -d -r1.77 -r1.78 *** lcksum.c 2 Dec 2007 15:36:04 -0000 1.77 --- lcksum.c 19 Aug 2009 17:37:34 -0000 1.78 *************** *** 310,314 **** /* Check transcript order */ if ( prepath != 0 ) { ! if ( pathcasecmp( path, prepath, case_sensitive ) < 0 ) { fprintf( stderr, "line %d: bad sort order\n", linenum ); cleanup( updatetran, upath ); --- 310,314 ---- /* Check transcript order */ if ( prepath != 0 ) { ! if ( pathcasecmp( path, prepath, case_sensitive ) <= 0 ) { fprintf( stderr, "line %d: bad sort order\n", linenum ); cleanup( updatetran, upath ); Index: transcript.c =================================================================== RCS file: /cvsroot/radmind/radmind/transcript.c,v retrieving revision 1.130 retrieving revision 1.131 diff -C2 -d -r1.130 -r1.131 *** transcript.c 29 Jan 2009 02:06:17 -0000 1.130 --- transcript.c 19 Aug 2009 17:37:35 -0000 1.131 *************** *** 165,169 **** } ! if ( pathcasecmp( epath, tran->t_pinfo.pi_name, case_sensitive ) < 0 ) { fprintf( stderr, "%s: line %d: bad sort order\n", tran->t_fullname, tran->t_linenum ); --- 165,169 ---- } ! if ( pathcasecmp( epath, tran->t_pinfo.pi_name, case_sensitive ) <= 0 ) { fprintf( stderr, "%s: line %d: bad sort order\n", tran->t_fullname, tran->t_linenum ); Index: lapply.c =================================================================== RCS file: /cvsroot/radmind/radmind/lapply.c,v retrieving revision 1.147 retrieving revision 1.148 diff -C2 -d -r1.147 -r1.148 *** lapply.c 1 Aug 2008 00:21:42 -0000 1.147 --- lapply.c 19 Aug 2009 17:37:33 -0000 1.148 *************** *** 530,534 **** /* Check transcript order */ if ( prepath != 0 ) { ! if ( pathcasecmp( path, prepath, case_sensitive ) < 0 ) { fprintf( stderr, "line %d: bad sort order\n", linenum ); goto error2; --- 530,534 ---- /* Check transcript order */ if ( prepath != 0 ) { ! if ( pathcasecmp( path, prepath, case_sensitive ) <= 0 ) { fprintf( stderr, "line %d: bad sort order\n", linenum ); goto error2; |