comparison rogue4/rip.c @ 247:23d2e2bf812f

Enable the logfile on 64-bit Windows. It seems to work without any problems. One use of a non-portable function was corrected in the process.
author John "Elwin" Edwards
date Tue, 17 May 2016 21:28:34 -0400
parents 1b73a8641b37
children d3968e9cb98d
comparison
equal deleted inserted replaced
246:61283e71037c 247:23d2e2bf812f
244 char *killer; 244 char *killer;
245 if (noscore) 245 if (noscore)
246 return; 246 return;
247 #ifdef LOGFILE 247 #ifdef LOGFILE
248 if (lfd >= 0) 248 if (lfd >= 0)
249 logfi = fdopen(lfd, "a"); 249 logfi = md_fdopen(lfd, "a");
250 else 250 else
251 return; 251 return;
252 if (logfi == NULL) 252 if (logfi == NULL)
253 return; 253 return;
254 /* otherwise writing should work */ 254 /* otherwise writing should work */