Changeset 23216
- Timestamp:
- Mar 6, 2009, 2:39:17 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sys/psLogMsg.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psLogMsg.c
r20546 r23216 195 195 } 196 196 197 int fileD = creat(dest, 0666);197 int fileD = open(dest, O_WRONLY | O_CREAT, 0666); 198 198 if (fileD == 0) { 199 199 psError(PS_ERR_IO, true, _("Could not open file '%s' for output."), dest); … … 316 316 317 317 if (write(logFD, head, strlen(head))) {;} // ignore return value 318 318 319 319 if (logMsg) { 320 320 psString msg = NULL; // Message to print
Note:
See TracChangeset
for help on using the changeset viewer.
