summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <thomas@gnu.org>1997-01-17 19:27:54 +0000
committerThomas Bushnell, BSG <thomas@gnu.org>1997-01-17 19:27:54 +0000
commit038ebe2459c2d5f35f8dafb7c357767459244ab0 (patch)
tree4c7dfc901614e18b686678accaaca10e8168a57a
parentf94d25d4ee6de5118be0bcbe0d606895a9c05c0d (diff)
downloadglibc-038ebe2459c2d5f35f8dafb7c357767459244ab0.tar.gz
*** empty log message ***
Fri Jan 17 14:16:28 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * stdio/vdprintf.c: Moved file to ... * sysdeps/posix/vdprintf.c: Here. De-ansideclificate. * sysdeps/stub/vdprintf.c: New file. * sysdeps/mach/hurd/vdprintf.c: New file.
-rw-r--r--ChangeLog7
-rw-r--r--sysdeps/mach/hurd/posix_opt.h12
-rw-r--r--sysdeps/mach/hurd/sigwait.c8
-rw-r--r--sysdeps/mach/libc-lock.h10
-rw-r--r--sysdeps/unix/bsd/tcsendbrk.c4
5 files changed, 31 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index c33e862b9f..6389d5a268 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Fri Jan 17 14:16:28 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * stdio/vdprintf.c: Moved file to ...
+ * sysdeps/posix/vdprintf.c: Here. De-ansideclificate.
+ * sysdeps/stub/vdprintf.c: New file.
+ * sysdeps/mach/hurd/vdprintf.c: New file.
+
Thu Jan 9 15:59:35 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* sysdeps/mach/hurd/posix_opt.h: New file.
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);
diff --git a/sysdeps/mach/libc-lock.h b/sysdeps/mach/libc-lock.h
index 36bf2c1038..53dc8ee9e0 100644
--- a/sysdeps/mach/libc-lock.h
+++ b/sysdeps/mach/libc-lock.h
@@ -1,5 +1,5 @@
/* libc-internal interface for mutex locks. Mach cthreads version.
-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
@@ -79,4 +79,12 @@ typedef struct __libc_lock_opaque__ __libc_lock_t;
#define __libc_mutex_unlock __mutex_unlock
#endif
+/* XXX until cthreads supports recursive locks */
+#define __libc_lock_define_initialized_recursive __libc_lock_define_initialized
+#define __libc_lock_init_recursive __libc_lock_init
+#define __libc_lock_fini_recursive __libc_lock_fini
+#define __libc_lock_trylock_recursive __libc_lock_trylock
+#define __libc_lock_unlock_recursive __libc_lock_unlock
+#define __libc_lock_lock_recursive __libc_lock_lock
+
#endif /* libc-lock.h */
diff --git a/sysdeps/unix/bsd/tcsendbrk.c b/sysdeps/unix/bsd/tcsendbrk.c
index 8e63163af1..55175dc88a 100644
--- a/sysdeps/unix/bsd/tcsendbrk.c
+++ b/sysdeps/unix/bsd/tcsendbrk.c
@@ -44,7 +44,7 @@ tcsendbreak (fd, duration)
delay.tv_usec = duration;
/* Starting sending break. */
- if (__ioctl (fd, TIOCSBRK, (PTR) NULL) < 0)
+ if (__ioctl (fd, TIOCSBRK, (void *) NULL) < 0)
return -1;
/* Wait DURATION microseconds. */
@@ -52,5 +52,5 @@ tcsendbreak (fd, duration)
&delay);
/* Turn off the break. */
- return __ioctl (fd, TIOCCBRK, (PTR) NULL);
+ return __ioctl (fd, TIOCCBRK, (void *) NULL);
}