Overview
Comment: | Added support for compiling in a default debug log file |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: | 0e0490e0608e514b03863d8723e2b15ac2325636 |
User & Date: | rkeene on 2013-01-18 15:11:02 |
Other Links: | manifest | tags |
Context
2013-08-14
| ||
04:21 | Added ignores for generated files check-in: 00fbb45437 user: rkeene tags: trunk | |
2013-01-18
| ||
15:11 | Added support for compiling in a default debug log file check-in: 0e0490e060 user: rkeene tags: trunk | |
2013-01-15
| ||
14:20 | Updated to make "leakcheck" more tolerant of %p formats check-in: 33a93aab41 user: rkeene tags: trunk | |
Changes
Modified cackey.c from [6307d2f89c] to [5df163c7aa].
244 244 logfile = strchr(logfile, '='); 245 245 if (logfile == NULL) { 246 246 logfile = getenv("CACKEY_DEBUG_LOGFILE"); 247 247 } else { 248 248 logfile++; 249 249 } 250 250 } 251 + 252 +#ifdef CACKEY_DEBUG_LOGFILE 253 + if (logfile == NULL) { 254 + logfile = CACKEY_DEBUG_LOGFILE; 255 + } 256 +#endif 251 257 252 258 if (logfile != NULL) { 253 259 CACKEY_DEBUG_PRINTF("Found log file: %s", logfile); 254 260 255 261 fd = fopen(logfile, "a"); 256 262 } 257 263