From c90c1e1c9909bf1549f1d1226d2af61791f1f3c7 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 7 Jan 2009 01:59:43 +0000 Subject: * sysdeps/mach/hurd/Makefile (sysdep_headers) [subdir=socket]: Add net/ethernet.h net/if_arp.h net/if_ether.h net/if_ppp.h net/route.h. * hurd/report-wait.c (describe_number): Use __stpcpy to prepend flavor to description only when flavor is not NULL. * hurd/hurdsig.c (signal_allowed): Unlock _hurd_dtable_lock mutex after SIGIO/SIGURG lookup loop. --- ChangeLog | 12 ++++++++++++ hurd/hurdsig.c | 1 + sysdeps/mach/hurd/Makefile | 7 ++++++- 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4ba72c2f2a..8ebe5bb467 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2009-01-07 Samuel Thibault + + * sysdeps/mach/hurd/Makefile (sysdep_headers) [subdir=socket]: + Add net/ethernet.h net/if_arp.h net/if_ether.h net/if_ppp.h + net/route.h. + + * hurd/report-wait.c (describe_number): Use __stpcpy to prepend + flavor to description only when flavor is not NULL. + + * hurd/hurdsig.c (signal_allowed): Unlock _hurd_dtable_lock + mutex after SIGIO/SIGURG lookup loop. + 2009-01-03 Samuel Thibault * bits/resource.h (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Add macros. diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c index 27050c99d9..7a6b1d50c4 100644 --- a/hurd/hurdsig.c +++ b/hurd/hurdsig.c @@ -1134,6 +1134,7 @@ signal_allowed (int signo, mach_port_t refport) } _hurd_port_free (&_hurd_dtable[d]->port, &ulink, port); } + __mutex_unlock (&_hurd_dtable_lock); /* If we found a lucky winner, we've set D to -1 in the loop. */ if (lucky) goto win; diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile index 8677515cd9..95d7ba3800 100644 --- a/sysdeps/mach/hurd/Makefile +++ b/sysdeps/mach/hurd/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1993,94,95,96,97,98,99,2000,2001,2002, 2003, 2004 +# Copyright (C) 1993,94,95,96,97,98,99,2000,2001,2002,2003,2004,2009 # Free Software Foundation, Inc. # This file is part of the GNU C Library. @@ -206,4 +206,9 @@ ifeq ($(subdir),sunrpc) sysdep_headers += nfs/nfs.h endif +ifeq ($(subdir),socket) +sysdep_headers += net/ethernet.h net/if_arp.h net/if_ether.h net/if_ppp.h \ + net/route.h +endif + endif # in-Makerules -- cgit 1.4.1