comparison rogue4/mach_dep.c @ 26:ea7372f5d314

rogue4: add logging all games
author edwarj4
date Thu, 26 Nov 2009 03:02:13 +0000
parents 107a467612fb
children 2dcd75e6a736
comparison
equal deleted inserted replaced
25:00e90f1bffd6 26:ea7372f5d314
77 #else 77 #else
78 fd = -1; 78 fd = -1;
79 #endif 79 #endif
80 if (!use_savedir) 80 if (!use_savedir)
81 md_normaluser(); 81 md_normaluser();
82 return;
83 }
84
85 void open_log(void)
86 {
87 #ifdef LOGFILE
88 lfd = open(LOGFILE, O_WRONLY | O_APPEND | O_CREAT, 0666);
89 #else
90 lfd = -1;
91 #endif
82 return; 92 return;
83 } 93 }
84 94
85 /* 95 /*
86 * setup: 96 * setup: