From: Tony v. d. H. <to...@us...> - 2005-03-07 16:38:06
|
Update of /cvsroot/ro-oslib/OSLib/!OsLib/Tools/IndexHelp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10447/!OsLib/Tools/IndexHelp Modified Files: IndexHelp.c Log Message: renamed duplicate symbol Index: IndexHelp.c =================================================================== RCS file: /cvsroot/ro-oslib/OSLib/!OsLib/Tools/IndexHelp/IndexHelp.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** IndexHelp.c 3 May 2004 15:03:34 -0000 1.6 --- IndexHelp.c 7 Mar 2005 16:37:45 -0000 1.7 *************** *** 75,79 **** /* globals */ static int index_entries; ! static char *index[ INDEX_SIZ ]; static char *src_path; //static char *dst_path; --- 75,79 ---- /* globals */ static int index_entries; ! static char *man_index[ INDEX_SIZ ]; static char *src_path; //static char *dst_path; *************** *** 148,152 **** { for( ;index_entries > 0; index_entries-- ) ! free( index[ index_entries - 1 ] ); } --- 148,152 ---- { for( ;index_entries > 0; index_entries-- ) ! free( man_index[ index_entries - 1 ] ); } *************** *** 187,191 **** *(temp+strlen(temp)-1) = '\0'; tracef( "add_index: %s\n" _ temp ); ! index[ index_entries++ ] = qstrdup( temp ); /* tidy up */ --- 187,191 ---- *(temp+strlen(temp)-1) = '\0'; tracef( "add_index: %s\n" _ temp ); ! man_index[ index_entries++ ] = qstrdup( temp ); /* tidy up */ *************** *** 212,216 **** /* sort the index */ ! qsort( index, index_entries, sizeof( index[0] ), Cmp ); /* create an index file in the source dir */ --- 212,216 ---- /* sort the index */ ! qsort( man_index, index_entries, sizeof( man_index[0] ), Cmp ); /* create an index file in the source dir */ *************** *** 245,249 **** if ( ( size += fprintf( index_file, "<%s>\n", ! index[i] ) ) < 0 --- 245,249 ---- if ( ( size += fprintf( index_file, "<%s>\n", ! man_index[i] ) ) < 0 |