Loading lib_debug/debug.c +5 −2 Original line number Diff line number Diff line Loading @@ -39,6 +39,7 @@ #include "options.h" #ifdef DEBUGGING #include "debug.h" #include <assert.h> #ifdef DEBUG_MODE_INFO #ifdef DEBUG_MODE_INFO_TWEAK #include <sys/stat.h> Loading Loading @@ -771,8 +772,10 @@ char *fname( const int16_t id, const int16_t enc_dec ) { char idd[5] = ".idX"; idd[3] = (char) ( id + '0' ); char idd[6]; assert( id < 100 ); sprintf( idd, ".id%d", id ); strcpy( tmp_fname, dir ); strcat( tmp_fname, file ); Loading Loading
lib_debug/debug.c +5 −2 Original line number Diff line number Diff line Loading @@ -39,6 +39,7 @@ #include "options.h" #ifdef DEBUGGING #include "debug.h" #include <assert.h> #ifdef DEBUG_MODE_INFO #ifdef DEBUG_MODE_INFO_TWEAK #include <sys/stat.h> Loading Loading @@ -771,8 +772,10 @@ char *fname( const int16_t id, const int16_t enc_dec ) { char idd[5] = ".idX"; idd[3] = (char) ( id + '0' ); char idd[6]; assert( id < 100 ); sprintf( idd, ".id%d", id ); strcpy( tmp_fname, dir ); strcat( tmp_fname, file ); Loading