mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:01:52 +02:00
uclibc: add the pthread daemon() fix from #4809
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15344 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b13ea33189
commit
54c0f5e0cb
@ -0,0 +1,10 @@
|
|||||||
|
--- a/libc/unistd/daemon.c
|
||||||
|
+++ b/libc/unistd/daemon.c
|
||||||
|
@@ -54,7 +54,6 @@
|
||||||
|
libc_hidden_proto(dup2)
|
||||||
|
libc_hidden_proto(setsid)
|
||||||
|
libc_hidden_proto(chdir)
|
||||||
|
-libc_hidden_proto(fork)
|
||||||
|
|
||||||
|
int daemon( int nochdir, int noclose )
|
||||||
|
{
|
@ -0,0 +1,10 @@
|
|||||||
|
--- a/libc/unistd/daemon.c
|
||||||
|
+++ b/libc/unistd/daemon.c
|
||||||
|
@@ -54,7 +54,6 @@
|
||||||
|
libc_hidden_proto(dup2)
|
||||||
|
libc_hidden_proto(setsid)
|
||||||
|
libc_hidden_proto(chdir)
|
||||||
|
-libc_hidden_proto(fork)
|
||||||
|
|
||||||
|
int daemon( int nochdir, int noclose )
|
||||||
|
{
|
10
toolchain/uClibc/patches-nptl/130-pthread_weak_binding.patch
Normal file
10
toolchain/uClibc/patches-nptl/130-pthread_weak_binding.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- a/libc/unistd/daemon.c
|
||||||
|
+++ b/libc/unistd/daemon.c
|
||||||
|
@@ -54,7 +54,6 @@
|
||||||
|
libc_hidden_proto(dup2)
|
||||||
|
libc_hidden_proto(setsid)
|
||||||
|
libc_hidden_proto(chdir)
|
||||||
|
-libc_hidden_proto(fork)
|
||||||
|
|
||||||
|
int daemon( int nochdir, int noclose )
|
||||||
|
{
|
Loading…
Reference in New Issue
Block a user