fix nasty daemon/pthread issue (closes: #4915)
authorNicolas Thill <nico@openwrt.org>
Fri, 10 Apr 2009 12:13:52 +0000 (12:13 +0000)
committerNicolas Thill <nico@openwrt.org>
Fri, 10 Apr 2009 12:13:52 +0000 (12:13 +0000)
SVN-Revision: 15193

toolchain/uClibc/patches/141-fix-daemon-to-support-pthread.patch [new file with mode: 0644]

diff --git a/toolchain/uClibc/patches/141-fix-daemon-to-support-pthread.patch b/toolchain/uClibc/patches/141-fix-daemon-to-support-pthread.patch
new file mode 100644 (file)
index 0000000..88ab9f3
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/libc/unistd/daemon.c
++++ b/libc/unistd/daemon.c
+@@ -54,7 +54,7 @@ libc_hidden_proto(_exit)
+ libc_hidden_proto(dup2)
+ libc_hidden_proto(setsid)
+ libc_hidden_proto(chdir)
+-libc_hidden_proto(fork)
++/* libc_hidden_proto(fork) */
+ int daemon( int nochdir, int noclose )
+ {