diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2012-03-12 14:41:51 +0000 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2012-03-12 14:41:51 +0000 |
commit | 0c6c47ecd1fa99971ca6853337fc9cb888bc6049 (patch) | |
tree | 746be177b035fc1d2aa20e66f55cb20addbed929 /os/log.c | |
parent | b1be72c5ca6cb98ba64637990b142be0f1710a19 (diff) | |
parent | ea0598773ec2859df09ae62f027db6ee611f51c0 (diff) |
Merge branch 'cygwin-patches-for-1.12' into cygwin-release-1.12xserver-cygwin-1.12.0-1
Diffstat (limited to 'os/log.c')
-rw-r--r-- | os/log.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -203,6 +203,8 @@ LogInit(const char *fname, const char *backup) } free(oldLog); } + } else { + unlink(logFileName); } if ((logFile = fopen(logFileName, "w")) == NULL) FatalError("Cannot open log file \"%s\"\n", logFileName); |