]> granicus.if.org Git - gc/commit
Recognize GC_LOG_TO_FILE_ALWAYS macro to log to 'gc.log' by default
authorIvan Maidanski <ivmai@mail.ru>
Tue, 24 Jan 2012 04:22:01 +0000 (08:22 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 24 Jan 2012 12:46:54 +0000 (16:46 +0400)
commitdce915e3ee6b408049f905b917af7711d388c08c
tree5e548dc445660f7bd2bf9ae89e2f4e6d5742537d
parentdaf8b130c8414c0487ff0c1cdc238d8c05032bf0
Recognize GC_LOG_TO_FILE_ALWAYS macro to log to 'gc.log' by default

* misc.c (GC_init): If "GC_LOG_FILE" environment variable is unset and
GC_LOG_TO_FILE_ALWAYS macro defined then open "gc.log" file for GC
logging (only Unix and Cygwin).
misc.c