From 0b99d9d8ac0c6e439df97dfe6ca071cad9b09d6a Mon Sep 17 00:00:00 2001 From: John Birrell Date: Fri, 12 Jun 1998 02:21:27 +0000 Subject: [PATCH] Add poll to the list of hidden syscalls so that it gets renamed. This propagates a bug (that there is no poll wrapper in libc_r), but it prevents GNU configure scripts from trying to use it in preference to select. libc_r really needs to change it's wait interface to use poll instead of select because poll is more a superset of select that the other way around. This should allow the Roxen web server to work out-of-the-box. It's configuration intercae is kinda neat. The code isn't. Shiver. 8-) --- lib/libc_r/Makefile | 4 ++-- lib/libkse/Makefile | 4 ++-- lib/libpthread/Makefile | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/libc_r/Makefile b/lib/libc_r/Makefile index 63299eaad697..0e059494ece5 100644 --- a/lib/libc_r/Makefile +++ b/lib/libc_r/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.10 1998/06/01 02:12:15 jb Exp $ +# $Id: Makefile,v 1.11 1998/06/09 23:25:13 jb Exp $ # # All library objects contain rcsid strings by default; they may be # excluded as a space-saving measure. To produce a library that does @@ -26,7 +26,7 @@ HIDDEN_SYSCALLS= accept.o bind.o close.o connect.o dup.o dup2.o \ execve.o fchflags.o fchmod.o fchown.o fcntl.o \ flock.o fpathconf.o fstat.o fstatfs.o fsync.o getdirentries.o \ getpeername.o getsockname.o getsockopt.o ioctl.o listen.o \ - mknod.o nanosleep.o nfssvc.o open.o read.o readv.o recvfrom.o \ + mknod.o nanosleep.o nfssvc.o open.o poll.o read.o readv.o recvfrom.o \ recvmsg.o sched_yield.o select.o sendmsg.o sendto.o \ setsockopt.o shutdown.o sigaction.o sigaltstack.o \ signanosleep.o socket.o socketpair.o wait4.o write.o writev.o diff --git a/lib/libkse/Makefile b/lib/libkse/Makefile index 63299eaad697..0e059494ece5 100644 --- a/lib/libkse/Makefile +++ b/lib/libkse/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.10 1998/06/01 02:12:15 jb Exp $ +# $Id: Makefile,v 1.11 1998/06/09 23:25:13 jb Exp $ # # All library objects contain rcsid strings by default; they may be # excluded as a space-saving measure. To produce a library that does @@ -26,7 +26,7 @@ HIDDEN_SYSCALLS= accept.o bind.o close.o connect.o dup.o dup2.o \ execve.o fchflags.o fchmod.o fchown.o fcntl.o \ flock.o fpathconf.o fstat.o fstatfs.o fsync.o getdirentries.o \ getpeername.o getsockname.o getsockopt.o ioctl.o listen.o \ - mknod.o nanosleep.o nfssvc.o open.o read.o readv.o recvfrom.o \ + mknod.o nanosleep.o nfssvc.o open.o poll.o read.o readv.o recvfrom.o \ recvmsg.o sched_yield.o select.o sendmsg.o sendto.o \ setsockopt.o shutdown.o sigaction.o sigaltstack.o \ signanosleep.o socket.o socketpair.o wait4.o write.o writev.o diff --git a/lib/libpthread/Makefile b/lib/libpthread/Makefile index 63299eaad697..0e059494ece5 100644 --- a/lib/libpthread/Makefile +++ b/lib/libpthread/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.10 1998/06/01 02:12:15 jb Exp $ +# $Id: Makefile,v 1.11 1998/06/09 23:25:13 jb Exp $ # # All library objects contain rcsid strings by default; they may be # excluded as a space-saving measure. To produce a library that does @@ -26,7 +26,7 @@ HIDDEN_SYSCALLS= accept.o bind.o close.o connect.o dup.o dup2.o \ execve.o fchflags.o fchmod.o fchown.o fcntl.o \ flock.o fpathconf.o fstat.o fstatfs.o fsync.o getdirentries.o \ getpeername.o getsockname.o getsockopt.o ioctl.o listen.o \ - mknod.o nanosleep.o nfssvc.o open.o read.o readv.o recvfrom.o \ + mknod.o nanosleep.o nfssvc.o open.o poll.o read.o readv.o recvfrom.o \ recvmsg.o sched_yield.o select.o sendmsg.o sendto.o \ setsockopt.o shutdown.o sigaction.o sigaltstack.o \ signanosleep.o socket.o socketpair.o wait4.o write.o writev.o