aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox/busybox-1.16.0-syslogd.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-02-24 10:39:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-02-24 10:39:25 +0000
commit9f73184dbf63dc608a8a9790a94bb640bcb5a270 (patch)
tree9425c769ff232b4e1f0156551fb5b9dc99276a0e /main/busybox/busybox-1.16.0-syslogd.patch
parent267ba0e86a23af6d4fa06241df3a684df21962aa (diff)
downloadaports-9f73184dbf63dc608a8a9790a94bb640bcb5a270.tar.bz2
aports-9f73184dbf63dc608a8a9790a94bb640bcb5a270.tar.xz
main/busybox: apply patches from upstream
Diffstat (limited to 'main/busybox/busybox-1.16.0-syslogd.patch')
-rw-r--r--main/busybox/busybox-1.16.0-syslogd.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/busybox/busybox-1.16.0-syslogd.patch b/main/busybox/busybox-1.16.0-syslogd.patch
new file mode 100644
index 0000000000..dcca134fd5
--- /dev/null
+++ b/main/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; */