From b61c8aba800959edfa405adb8c8a6f2f371633dd Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 14 Aug 2003 00:14:43 +0000 Subject: Update. 2003-08-13 Ulrich Drepper * sysdeps/unix/sysv/linux/i386/syscalls.list: Add time syscall. * elf/Makefile: Use LC_ALL=C in a few cases where we call external text processing tools. * sysdeps/pthread/aio_misc.h (struct waitlist): Don't add caller_pid element unless BROKEN_THREAD_SIGNALS is defined. (struct requestlist): Likewise. * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Don't fill in caller_pid of new request unless BROKEN_THREAD_SIGNALS is defined. * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise. * sysdeps/pthread/aio_notify.c (__aio_notify_only): Remove caller_pid parameter unless BROKEN_THREAD_SIGNALS is defined. Adjust callers. Pass current PID to __aio_sigqueue. * sysdeps/pthread/lio_listio.c (lio_listio): Adjust __aio_notify_only call. Don't initialize caller_pid field of waitlist element. --- stdio-common/vfprintf.c | 4 ++-- stdio-common/vfscanf.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'stdio-common') diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c index 16f280ed4f..bcff97118d 100644 --- a/stdio-common/vfprintf.c +++ b/stdio-common/vfprintf.c @@ -78,7 +78,7 @@ if (width > 0) \ done += INTUSE(_IO_padn) (s, (Padchar), width) # define PUTC(C, F) _IO_putc_unlocked (C, F) -# define ORIENT if (s->_vtable_offset == 0 && _IO_fwide (s, -1) != -1)\ +# define ORIENT if (_IO_vtable_offset (s) == 0 && _IO_fwide (s, -1) != -1)\ return -1 # else # define vfprintf _IO_vfwprintf @@ -1267,7 +1267,7 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap) /* Check for correct orientation. */ if ( # ifdef USE_IN_LIBIO - s->_vtable_offset == 0 && + _IO_vtable_offset (s) == 0 && # endif _IO_fwide (s, sizeof (CHAR_T) == 1 ? -1 : 1) != (sizeof (CHAR_T) == 1 ? -1 : 1)) diff --git a/stdio-common/vfscanf.c b/stdio-common/vfscanf.c index 8f8c99af8c..4f6a531b0c 100644 --- a/stdio-common/vfscanf.c +++ b/stdio-common/vfscanf.c @@ -120,7 +120,7 @@ # define ISDIGIT(Ch) isdigit (Ch) # define ISXDIGIT(Ch) isxdigit (Ch) # define TOLOWER(Ch) tolower (Ch) -# define ORIENT if (s->_vtable_offset == 0 \ +# define ORIENT if (_IO_vtable_offset (s) == 0 \ && _IO_fwide (s, -1) != -1) \ return EOF -- cgit v1.2.3