diff options
author | Cem Keylan <cem@ckyln.com> | 2020-02-13 11:34:51 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-02-13 11:34:51 +0300 |
commit | 14942f3c48055b4bd12d55b2e45162d806a97ee2 (patch) | |
tree | 3c7b79e377aa8ae42cd628f337aca9c094869525 /core/runit/patches/svlogd.patch | |
parent | db137df80bb89928ec08bf696fe1a122377105a6 (diff) | |
download | repository-14942f3c48055b4bd12d55b2e45162d806a97ee2.tar.gz |
runit: make it usable
Diffstat (limited to 'core/runit/patches/svlogd.patch')
-rw-r--r-- | core/runit/patches/svlogd.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/core/runit/patches/svlogd.patch b/core/runit/patches/svlogd.patch new file mode 100644 index 00000000..c43a228f --- /dev/null +++ b/core/runit/patches/svlogd.patch @@ -0,0 +1,14 @@ +Taken from void +Initialize all fields of sockaddr_in. +http://skarnet.org/cgi-bin/archive.cgi?2:mss:1163:201602:gpiglpbjdemlioaeabbn + +--- runit-2.1.2/src/svlogd.c ++++ runit-2.1.2/src/svlogd.c +@@ -430,6 +430,7 @@ + ld->name =(char*)fn; + ld->ppid =0; + ld->match ='+'; ++ ld->udpaddr.sin_family =AF_INET; + ld->udpaddr.sin_port =0; + ld->udponly =0; + while (! stralloc_copys(&ld->prefix, "")) pause_nomem(); |