*** 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.
This commit is contained in:
Thomas Bushnell, BSG 1997-01-17 19:27:54 +00:00
parent f94d25d4ee
commit 038ebe2459
5 changed files with 31 additions and 10 deletions

View File

@ -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.

View File

@ -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

View 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);

View 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 */

View 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);
}