Parent Directory | Revision Log | Patch
revision 99 by jds, Sun Oct 30 01:38:20 2005 UTC | revision 100 by jds, Fri Dec 9 23:25:15 2005 UTC | |
---|---|---|
# | Line 165 void Asc_Panic(CONST int status, CONST c | Line 165 void Asc_Panic(CONST int status, CONST c |
165 | void Asc_PanicSetOutfile(CONST char *filename) | void Asc_PanicSetOutfile(CONST char *filename) |
166 | { | { |
167 | if( filename != NULL ) { | if( filename != NULL ) { |
168 | strncpy( g_panic_outfile, filename, PANIC_MSG_MAXLEN-1 ); | strncpy( g_panic_outfile, filename, PATH_MAX-1 ); |
169 | g_panic_outfile[PATH_MAX-1] = '\0'; | |
170 | } else { | } else { |
171 | g_panic_outfile[0] = '\0'; | g_panic_outfile[0] = '\0'; |
172 | } | } |
|
john.pye@anu.edu.au | ViewVC Help |
Powered by ViewVC 1.1.22 |