about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2009-01-07 01:59:43 +0000
committerRoland McGrath <roland@gnu.org>2009-01-07 01:59:43 +0000
commitc90c1e1c9909bf1549f1d1226d2af61791f1f3c7 (patch)
tree43e28d06b583f87bbc343d94da851ebb6c20c578
parent0db58a77b432040aaf74ea8fd91c7f9ece3c0901 (diff)
downloadglibc-c90c1e1c9909bf1549f1d1226d2af61791f1f3c7.tar.gz
glibc-c90c1e1c9909bf1549f1d1226d2af61791f1f3c7.tar.xz
glibc-c90c1e1c9909bf1549f1d1226d2af61791f1f3c7.zip
* 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.
-rw-r--r--ChangeLog12
-rw-r--r--hurd/hurdsig.c1
-rw-r--r--sysdeps/mach/hurd/Makefile7
3 files changed, 19 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4ba72c2f2a..8ebe5bb467 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2009-01-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+	* 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  <samuel.thibault@ens-lyon.org>
 
 	* 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