summaryrefslogtreecommitdiffstats
path: root/package/busybox/busybox-1.10.2-syslogd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/busybox-1.10.2-syslogd.patch')
-rw-r--r--package/busybox/busybox-1.10.2-syslogd.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/package/busybox/busybox-1.10.2-syslogd.patch b/package/busybox/busybox-1.10.2-syslogd.patch
deleted file mode 100644
index 49e55cc8a..000000000
--- a/package/busybox/busybox-1.10.2-syslogd.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- busybox-1.10.2/sysklogd/syslogd.c Sat Apr 19 05:50:29 2008
-+++ busybox-1.10.2-syslogd/sysklogd/syslogd.c Sat May 24 23:02:56 2008
-@@ -347,10 +347,11 @@
- sprintf(newFile, "%s.%d", G.logFilePath, i);
- if (i == 0) break;
- sprintf(oldFile, "%s.%d", G.logFilePath, --i);
-- xrename(oldFile, newFile);
-+ /* ignore errors - file might be missing */
-+ rename(oldFile, newFile);
- }
- /* newFile == "f.0" now */
-- xrename(G.logFilePath, newFile);
-+ rename(G.logFilePath, newFile);
- fl.l_type = F_UNLCK;
- fcntl(G.logFD, F_SETLKW, &fl);
- close(G.logFD);