]> granicus.if.org Git - gc/commit
Code refactoring of GC_CreateLogFile (Win32)
authorIvan Maidanski <ivmai@mail.ru>
Mon, 30 Jan 2012 18:20:04 +0000 (22:20 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 30 Jan 2012 18:20:04 +0000 (22:20 +0400)
commitb8de88d1c0a43b7f936db5f7671d870c44a22778
tree4f1d823b6d1ea202bc9015f6dc70c465da9ec841
parentf0a965e137b94eb6fa80c588fe796903ba8dec00
Code refactoring of GC_CreateLogFile (Win32)

* misc.c (GC_LOG_STD_NAME): New macro.
* misc.c (GC_init, GC_CreateLogFile): Use GC_LOG_STD_NAME instead
of "gc.log".
* misc.c (GC_CreateLogFile): Rename "logPath" local variable to
"pathBuf".
* misc.c (GC_CreateLogFile): Declare/use "hFile" and "logPath" local
variables.
misc.c