summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r--sysdeps/mach/hurd/posix_opt.h12
-rw-r--r--sysdeps/mach/hurd/sigwait.c8
2 files changed, 13 insertions, 7 deletions
diff --git a/sysdeps/mach/hurd/posix_opt.h b/sysdeps/mach/hurd/posix_opt.h
new file mode 100644
index 0000000000..75a07e1539
--- /dev/null
+++ b/sysdeps/mach/hurd/posix_opt.h
@@ -0,0 +1,12 @@
+/* Posix options supported by the GNU Hurd port of GNU libc. */
+
+#define _POSIX_JOB_CONTROL 1
+#define _POSIX_SAVED_IDS 1
+#define _POSIX_VDISABLE ((unsigned char) -1)
+
+/* Different Hurd filesystems might do these differently. */
+#undef _POSIX_CHOWN_RESTRICTED
+#undef _POSIX_NO_TRUNC
+
+
+
diff --git a/sysdeps/mach/hurd/sigwait.c b/sysdeps/mach/hurd/sigwait.c
index b8e5ade84f..69fe03ebb0 100644
--- a/sysdeps/mach/hurd/sigwait.c
+++ b/sysdeps/mach/hurd/sigwait.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -120,12 +120,6 @@ __sigwait (const sigset_t *set, int *sig)
all_done:
- /* Cause the pointless side-effect. */
- __sigfillset (&ss->blocked);
- for (signo = 1; signo < NSIG; signo++)
- if (__sigismember (&mask, signo))
- __sigdelset (&ss->blocked, signo);
-
spin_unlock (&ss->lock);
__mach_port_destroy (__mach_task_self (), wait);