From: Nicolas Thill Date: Fri, 10 Apr 2009 12:13:52 +0000 (+0000) Subject: [toolchain] fix nasty daemon/pthread issue (closes: #4915) X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=54ac51d8a6c6274761fbd1543b7a38bcccd2f745;p=openwrt%2Fsvn-archive%2Farchive.git [toolchain] fix nasty daemon/pthread issue (closes: #4915) SVN-Revision: 15193 --- 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 index 0000000000..88ab9f3db5 --- /dev/null +++ b/toolchain/uClibc/patches/141-fix-daemon-to-support-pthread.patch @@ -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 ) + {