]> sourceware.org Git - glibc.git/commitdiff
*** empty log message ***
authorThomas Bushnell, BSG <thomas@gnu.org>
Fri, 17 Jan 1997 19:27:54 +0000 (19:27 +0000)
committerThomas Bushnell, BSG <thomas@gnu.org>
Fri, 17 Jan 1997 19:27:54 +0000 (19:27 +0000)
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.

ChangeLog
sysdeps/mach/hurd/posix_opt.h [new file with mode: 0644]
sysdeps/mach/hurd/sigwait.c
sysdeps/mach/libc-lock.h
sysdeps/unix/bsd/tcsendbrk.c

index c33e862b9f5b816d0fcd2d1cb9c4b0d778571d7f..6389d5a268dbe6056bdd52cf6cc22a2e9d367a44 100644 (file)
--- 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 (file)
index 0000000..75a07e1
--- /dev/null
@@ -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
+
+
+
index b8e5ade84f20ba6d26d81db53eb854be136d8b8d..69fe03ebb03cd4ab3b127637ec58022ddf43b76f 100644 (file)
@@ -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);
index 36bf2c1038a70d0b06aad18c25be943e551b6f80..53dc8ee9e0c60cfeabe1ba71b5fae9c019ec1687 100644 (file)
@@ -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 */
index 8e63163af1c83497474213bee9ce06a5a494ca3b..55175dc88aa9a81c42a7a0eb9a72074479920711 100644 (file)
@@ -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);
 }
This page took 0.052918 seconds and 5 git commands to generate.