summaryrefslogtreecommitdiff
path: root/package/busybox/busybox-1.16.0-syslogd.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-02-24 09:13:43 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-02-24 09:13:43 +0100
commita080cc0ff48ad2f4ead2aa7a9932323379f6a37d (patch)
treeb3513287e1c54b68c614405d5f4148e6b3046415 /package/busybox/busybox-1.16.0-syslogd.patch
parentf4f157041eb53f674d21d9a323f7245bc14fd844 (diff)
busybox: add 1.16.0 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/busybox/busybox-1.16.0-syslogd.patch')
-rw-r--r--package/busybox/busybox-1.16.0-syslogd.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.16.0-syslogd.patch b/package/busybox/busybox-1.16.0-syslogd.patch
new file mode 100644
index 000000000..dcca134fd
--- /dev/null
+++ b/package/busybox/busybox-1.16.0-syslogd.patch
@@ -0,0 +1,12 @@
+diff -urpN busybox-1.16.0/sysklogd/syslogd.c busybox-1.16.0-syslogd/sysklogd/syslogd.c
+--- busybox-1.16.0/sysklogd/syslogd.c 2010-01-25 01:59:38.000000000 +0100
++++ busybox-1.16.0-syslogd/sysklogd/syslogd.c 2010-02-21 01:53:33.000000000 +0100
+@@ -698,7 +698,7 @@ int syslogd_main(int argc UNUSED_PARAM,
+ if (!(opts & OPT_nofork)) {
+ bb_daemonize_or_rexec(DAEMON_CHDIR_ROOT, argv);
+ }
+- umask(0);
++ //umask(0); - why??
+ write_pidfile("/var/run/syslogd.pid");
+ do_syslogd();
+ /* return EXIT_SUCCESS; */