diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-12-28 10:24:40 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-12-28 10:24:40 +0000 |
commit | 270d9d472952a8923fa8a6d9d830fea77f4b838f (patch) | |
tree | d5fa14a0a0fd3cdc509580686af55bc93ceb93e7 /nptl | |
parent | afb2e954009b7ff48379a254926730b303ce7bab (diff) | |
download | glibc-270d9d472952a8923fa8a6d9d830fea77f4b838f.tar.gz glibc-270d9d472952a8923fa8a6d9d830fea77f4b838f.tar.xz glibc-270d9d472952a8923fa8a6d9d830fea77f4b838f.zip |
Update.
* inet/herrno.c (__h_errno_location): Remove. * inet/Makefile (routines): Add herrno-loc. * resolv/res_libc.c (__res_state): Remove. * resolv/Makefile (routines): Add res-state. * sysdeps/generic/herrno-loc.c: New file. * sysdeps/generic/res-state.c: New file. 2002-12-27 Jakub Jelinek <jakub@redhat.com>
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/ChangeLog | 6 | ||||
-rw-r--r-- | nptl/pt-system.c | 8 | ||||
-rw-r--r-- | nptl/tst-cancel-wrappers.sh | 3 |
3 files changed, 9 insertions, 8 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 3288bcc7cf..24c2fb64fb 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,9 @@ +2002-12-27 Jakub Jelinek <jakub@redhat.com> + + * pt-system.c (system): Remove cancellation handling. + * tst-cancel-wrappers.sh: Allow pt-system.o* to not use the + cancellation routines. + 2002-12-28 Ulrich Drepper <drepper@redhat.com> * descr.h: Include <dl-sysdep.h>. diff --git a/nptl/pt-system.c b/nptl/pt-system.c index e98f04c413..f638a6ae32 100644 --- a/nptl/pt-system.c +++ b/nptl/pt-system.c @@ -26,11 +26,5 @@ int system (const char *line) { - int oldtype = CANCEL_ASYNC (); - - int result = __libc_system (line); - - CANCEL_RESET (oldtype); - - return result; + return __libc_system (line); } diff --git a/nptl/tst-cancel-wrappers.sh b/nptl/tst-cancel-wrappers.sh index 39ded2e743..54c5e0f23a 100644 --- a/nptl/tst-cancel-wrappers.sh +++ b/nptl/tst-cancel-wrappers.sh @@ -67,7 +67,8 @@ C["__xpg_sigpause"]=1 /:$/ { if (seen) { - if (!seen_enable || !seen_disable) + # pt-system.o* in NPTL calls __libc_system directly. + if ((!seen_enable || !seen_disable) && !(object ~ /^pt-system.o/)) { printf "in '$1'(%s) %s'\''s cancellation missing\n", object, seen ret = 1 |