Ulrich Drepper [Thu, 29 Oct 1998 15:17:25 +0000 (15:17 +0000)]
Update.
1998-10-29 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
/prof/self/fd/FD first.
* sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
* stdio-common/_itoa.h (_fitoa_word): New inline function. Write
formatted number starting at given position and return pointer to
following byte.
(_fitoa): Likewise, for long long.
Ulrich Drepper [Thu, 29 Oct 1998 14:31:12 +0000 (14:31 +0000)]
(__pthread_trylock): Define inline. (__pthread_lock): Add extra parameter to declaration. Declare using internal_function. (__pthread_unlock): Declare using internal_function.
Roland McGrath [Thu, 29 Oct 1998 12:24:28 +0000 (12:24 +0000)]
1998-10-29 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/unix/sysv/linux/bits/sem.h,
sysdeps/unix/sysv/linux/bits/ipc.h,
sysdeps/unix/sysv/linux/bits/shm.h,
sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
* sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
so the same bits will be used for the Hurd.
Roland McGrath [Thu, 29 Oct 1998 11:51:58 +0000 (11:51 +0000)]
1998-10-29 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/unix/sysv/linux/bits/sem.h,
sysdeps/unix/sysv/linux/bits/ipc.h,
sysdeps/unix/sysv/linux/bits/shm.h,
sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
* sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
so the same bits will be used for the Hurd.
Ulrich Drepper [Thu, 29 Oct 1998 10:32:47 +0000 (10:32 +0000)]
Update.
1998-10-29 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
compiling on systems without rt_sigaction syscall.
1998-10-12 Philip Blundell <pb@nexus.co.uk>
* Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
directories as well as add them.
1998-10-28 Philip Blundell <pb@nexus.co.uk>
* sysdeps/unix/sysv/linux/neteconet/ec.h: New file. Support for
AF_ECONET sockets as found in recent Linux 2.1 kernels.
* sysdeps/unix/sysv/linux/Dist: Distribute it.
* sysdeps/unix/sysv/linux/Makefile: Install it.
1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* string/bits/string2.h: __USE_GNU already implies __USE_MISC.
1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
fds_bits member.
* sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
* sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
* sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
Likewise.
* sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
Likewise.
* sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
__FD_ISSET): Use it.
* sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
__FD_ISSET): Likewise.
Ulrich Drepper [Wed, 28 Oct 1998 17:14:02 +0000 (17:14 +0000)]
Update.
1998-10-12 Philip Blundell <pb@nexus.co.uk>
* Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
directories as well as add them.
Ulrich Drepper [Wed, 28 Oct 1998 17:09:17 +0000 (17:09 +0000)]
Update.
1998-10-28 Philip Blundell <pb@nexus.co.uk>
* sysdeps/unix/sysv/linux/neteconet/ec.h: New file. Support for
AF_ECONET sockets as found in recent Linux 2.1 kernels.
* sysdeps/unix/sysv/linux/Dist: Distribute it.
* sysdeps/unix/sysv/linux/Makefile: Install it.
Ulrich Drepper [Wed, 28 Oct 1998 14:41:59 +0000 (14:41 +0000)]
Update.
1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* string/bits/string2.h: __USE_GNU already implies __USE_MISC.
1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
fds_bits member.
* sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
* sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
* sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
Likewise.
* sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
Likewise.
* sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
__FD_ISSET): Use it.
* sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
__FD_ISSET): Likewise.
Ulrich Drepper [Tue, 27 Oct 1998 14:19:07 +0000 (14:19 +0000)]
Update.
* sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
Instead call the system call wrapper function using an 64bit argument.
* sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
Ulrich Drepper [Tue, 27 Oct 1998 12:23:36 +0000 (12:23 +0000)]
Update.
1998-10-28 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
llseek.
Ulrich Drepper [Tue, 27 Oct 1998 12:07:44 +0000 (12:07 +0000)]
Update.
* signal/signal.h: Don't include <time.h> for timespec, add
forward declaration.
Ulrich Drepper [Tue, 27 Oct 1998 10:27:11 +0000 (10:27 +0000)]
Update.
1998-10-27 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
of __FD_* macros which use __fds_bits.
* sysdeps/generic/bits/select.h: Likewise.
Reported by Matt McLean <keys@yikes.com>.
Ulrich Drepper [Tue, 27 Oct 1998 09:44:35 +0000 (09:44 +0000)]
Update.
1998-10-27 Philip Blundell <pb@nexus.co.uk>
* elf/elf.h: Update ARM definitions.
Ulrich Drepper [Tue, 27 Oct 1998 09:17:20 +0000 (09:17 +0000)]
Update.
1998-10-27 Ulrich Drepper <drepper@cygnus.com>
* signal/signal.h: Include bits/sigthread.h only for Unix98.
Ulrich Drepper [Mon, 26 Oct 1998 17:59:59 +0000 (17:59 +0000)]
Update.
* include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
define __builtin_expect as a macro substituting to the first
argument.
* config.h.in: Define HAVE_BUILTIN_EXPECT.
* configure.in: Add test for __builtin_expect.
Ulrich Drepper [Mon, 26 Oct 1998 15:43:58 +0000 (15:43 +0000)]
Update.
1998-10-26 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/bits/types.h: Include
bits/pthreadtypes.h only not for POSIX 199506.
* sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
Ulrich Drepper [Mon, 26 Oct 1998 11:46:26 +0000 (11:46 +0000)]
Update.
1998-10-26 Mark Kettenis <kettenis@phys.uva.nl>
* sysdeps/unix/sysv/linux/Versions: Move shutdown ...
* socket/Versions [libc, GLIBC_2.0]: ... to here.
Ulrich Drepper [Mon, 26 Oct 1998 11:44:32 +0000 (11:44 +0000)]
Update.
1998-10-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* include/stdio.h: Included <stddef.h> for size_t.
* stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
to ...
* include/stdio.h: ...here.
* libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
Ulrich Drepper [Mon, 26 Oct 1998 11:11:28 +0000 (11:11 +0000)]
Update.
1998-10-26 11:09 Ulrich Drepper <drepper@cygnus.com>
* time/Makefile (tests): Add tst-posixtz.
* time/tst-posixtz.c: New file.
1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* elf/rtld.c (process_envvars): Accept any non-null value of
LD_BIND_NOW, as mandated by the ABI.
1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
__syscall_pread.
* sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
__syscall_pwrite.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. Remove
duplicate entries.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
s_pread64 and s_pwrite64.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
* sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
to __syscall__llseek.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
__sys_llseek.
1998-10-26 Cristian Gafton <gafton@redhat.com>
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
and s_setfsuid.
1998-10-26 Ulrich Drepper <drepper@cygnus.com>
* time/tzset.c (tz_compute): Correct last patch and describe this
in a comment.
Ulrich Drepper [Mon, 26 Oct 1998 09:35:41 +0000 (09:35 +0000)]
(tz_compute): Correct last patch and describe this in a comment.
Andreas Schwab [Mon, 26 Oct 1998 01:47:41 +0000 (01:47 +0000)]
* sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
rt_sigaction and rt_sigpending.
* sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
for __syscall_* functions.
* sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
rt_sigaction and rt_sigpending.
* sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
for __syscall_* functions.
* sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
Roland McGrath [Mon, 26 Oct 1998 00:11:36 +0000 (00:11 +0000)]
1998-10-26 Roland McGrath <roland@baalperazim.frob.com>
* hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
_hurd_dtable_lock, _hurd_intern_fd.
* sysdeps/mach/hurd/Versions: Add cthread_keycreate,
cthread_getspecific, cthread_setspecific, __libc_getspecific.
* mach/Versions: Fix typo in last change.
__mach_port_insert_right __mutex_trylock, __mutex_lock,
__mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
__task_set_special_port, __task_terminate, __thread_depress_abort,
__thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These
functions are not used outside libc.
Roland McGrath [Mon, 26 Oct 1998 00:03:17 +0000 (00:03 +0000)]
1998-10-26 Roland McGrath <roland@baalperazim.frob.com>
* hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
_hurd_dtable_lock, _hurd_intern_fd.
Ulrich Drepper [Sun, 25 Oct 1998 22:12:57 +0000 (22:12 +0000)]
Update.
1998-10-25 Ulrich Drepper <drepper@cygnus.com>
* time/tzset.c (tz_compute): If time to switch to DST is later in
the year switch back in the next year.
Reported by jwitford@hutch.com.au.
Ulrich Drepper [Sun, 25 Oct 1998 22:10:12 +0000 (22:10 +0000)]
(tz_compute): If time to switch to DST is later in the year switch back in the next year.
Roland McGrath [Sun, 25 Oct 1998 20:09:00 +0000 (20:09 +0000)]
1998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
* mach/Versions: Add evc_wait, mach_error, mach_error_string,
mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
__mach_port_allocate, __mach_port_allocate_name,
__mach_port_deallocate, __mach_port_insert_right, __mutex_init,
__mutex_trylock, __mutex_lock, __mutex_unlock, __swtch, __switch,
__task_create, __task_suspend, __task_set_special_port,
__task_terminate, __thread_depress_abort, __thread_switch,
__vm_allocate, __vm_deallocate, __vm_map. These functions are not
used outside libc.
* sysdeps/mach/hurd/Versions: New file.
[libc, GLIBC_2.0]: Add _cthread_exit_routine and
_cthread_init_routine. These are set by the Hurd cthreads library.
Add __getcwd, __mmap. If we don't add these, the weak definitions in
the dynamic linker will not be replaced by the corresponding shared
library routines once they are loaded.
1998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
* sysdeps/mach/hurd/i386/init-first.c: Only define
__libc_enable_secure if PIC is not defined.
1998-10-25 Roland McGrath <roland@baalperazim.frob.com>
* argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
to recurse into argp.
Roland McGrath [Sun, 25 Oct 1998 20:02:56 +0000 (20:02 +0000)]
1998-10-25 Roland McGrath <roland@baalperazim.frob.com>
* argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
to recurse into argp.
Ulrich Drepper [Sun, 25 Oct 1998 09:16:51 +0000 (09:16 +0000)]
Regenerated: /usr/unsupported/bin/perl scripts/gen-FAQ.pl FAQ.in
Ulrich Drepper [Sun, 25 Oct 1998 09:11:53 +0000 (09:11 +0000)]
Update.
1998-10-25 Ulrich Drepper <drepper@cygnus.com>
* include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
greater or equal than 199506L.
* sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
only is __USE_XOPEN. Otherwise use __fds_bits.
* sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/bits/types.h: Likewise.
* sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1998-10-24 H.J. Lu <hjl@gnu.org>
* locale/programs/charmap.c (parse_charmap): Accept tok_string
for <code_set_name>.
1998-10-25 H.J. Lu <hjl@gnu.org>
* locale/programs/ld-ctype.c (ctype_finish): Also check
<space>.
1998-10-25 Ulrich Drepper <drepper@cygnus.com>
* signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
* sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
if __USE_POSIX199506 or __USE_UNIX98.
1998-10-24 22:34 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
* string/bits/string2.h: Inline strdup+friends only if
__USE_MISC || __USE_GNU (prevents namespace pollution).
1998-10-24 H.J. Lu <hjl@gnu.org>
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
* sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
LOCK_NB, LOCK_UN): Likewise.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
LOCK_NB, LOCK_UN): Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
LOCK_NB, LOCK_UN): Likewise.
* sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
LOCK_NB, LOCK_UN): Likewise.
1998-10-24 H.J. Lu <hjl@gnu.org>
* libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
* libio/rewind.c (rewind): Clear the error.
1998-10-24 H.J. Lu <hjl@gnu.org>
* grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
"buffer".
1998-10-24 H.J. Lu <hjl@gnu.org>
* sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
with __need_timeval.
* sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
* sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
1998-10-24 H.J. Lu <hjl@gnu.org>
* signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
sigqueue): Protect with __USE_POSIX199309.
1998-10-24 H.J. Lu <hjl@gnu.org>
* time/time.h (timespec): Protect with __USE_POSIX199309 instead of
__USE_POSIX.
1998-10-24 H.J. Lu <hjl@gnu.org>
* libio/fileops.c (_IO_new_file_seekoff): Always resync with
the kernel file offset.
* libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
Ulrich Drepper [Sat, 24 Oct 1998 21:51:25 +0000 (21:51 +0000)]
Update.
1998-10-24 H.J. Lu <hjl@gnu.org>
* time/tzfile.c (__tzfile_default): Set num_types to 2.
1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* rt/aio.h: Move __aio_init to...
* include/aio.h: ...here.
1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
definition of O_LARGEFILE.
1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
as first argument to statfs.
1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* malloc/mtrace.c: Include <string.h> for strlen.
Ulrich Drepper [Sat, 24 Oct 1998 15:02:35 +0000 (15:02 +0000)]
Update.
1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* rt/aio.h: Move __aio_init to...
* include/aio.h: ...here.
1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
definition of O_LARGEFILE.
1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
as first argument to statfs.
1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* malloc/mtrace.c: Include <string.h> for strlen.
Ulrich Drepper [Sat, 24 Oct 1998 14:58:08 +0000 (14:58 +0000)]
Description for supported environments for Hurd/i386.
Roland McGrath [Sat, 24 Oct 1998 11:15:15 +0000 (11:15 +0000)]
* sysdeps/mach/hurd/bits/environments.h: New file.
Roland McGrath [Sat, 24 Oct 1998 11:14:29 +0000 (11:14 +0000)]
1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/bits/environments.h: New file.
Ulrich Drepper [Sat, 24 Oct 1998 11:06:07 +0000 (11:06 +0000)]
Declare __aio_init.
Ulrich Drepper [Sat, 24 Oct 1998 10:44:47 +0000 (10:44 +0000)]
Include <string.h> for strlen.
Roland McGrath [Sat, 24 Oct 1998 01:36:01 +0000 (01:36 +0000)]
1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
* mach/Versions, hurd/Versions: Add numerous symbols.
Remove libmachuser and libhurduser sections, punt
versioning for those libraries for now.
* misc/Versions: Add reboot here; it exists on all platforms.
* sysdeps/unix/sysv/linux/Versions: Remove reboot here.
Roland McGrath [Sat, 24 Oct 1998 01:31:41 +0000 (01:31 +0000)]
1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
* misc/Versions: Add reboot here; it exists on all platforms.
* sysdeps/unix/sysv/linux/Versions: Remove reboot here.
Ulrich Drepper [Fri, 23 Oct 1998 23:27:48 +0000 (23:27 +0000)]
Update.
1998-10-23 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
macro.
* sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
O_NOFOLLOW, O_DIRECT): New macros.
(O_DIRECTORY): Correct definition according to official 2.1.126.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
O_NOFOLLOW): New macros.
Ulrich Drepper [Fri, 23 Oct 1998 23:21:47 +0000 (23:21 +0000)]
(O_DIRECTORY, O_NOFOLLOW): New macros.
Roland McGrath [Fri, 23 Oct 1998 23:12:28 +0000 (23:12 +0000)]
* include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
Roland McGrath [Fri, 23 Oct 1998 23:00:53 +0000 (23:00 +0000)]
1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
(__opendir): Add trailing slash to name for open, for ENOTDIR check.
size_t is defined. Some reordering of definitions to make
Roland McGrath [Fri, 23 Oct 1998 22:31:15 +0000 (22:31 +0000)]
1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
(__opendir): Add trailing slash to name for open, for ENOTDIR check.
Ulrich Drepper [Fri, 23 Oct 1998 14:05:15 +0000 (14:05 +0000)]
Update.
* sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
setfsuid.c, and setfsgid.c.
* sysdeps/unix/sysv/linux/arm/Dist: Likewise.
* sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
Ulrich Drepper [Fri, 23 Oct 1998 14:00:53 +0000 (14:00 +0000)]
Update.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
ustat definition.
Ulrich Drepper [Fri, 23 Oct 1998 13:48:45 +0000 (13:48 +0000)]
Update.
* sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
s_pwrite64.c.
Ulrich Drepper [Fri, 23 Oct 1998 13:44:50 +0000 (13:44 +0000)]
Update.
* version.h (VERSION): Bump to 2.0.99.
* posix/fnmath.h: Don't redefine __P when used in glibc.
* posix/glob.h: Likewise.
* inet/rcmd.c (__ivaliduser2): Fix memory leak.
Patch by Dick Streefland <dick_streefland@tasking.com>.
* stdio-common/tst-ungetc.c: Add more test cases.
* sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
* sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
definitions to ...
* sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file.
* sysdeps/unix/sysv/linux/fpathconf.c: New file.
* sysdeps/unix/sysv/linux/pathconf.c: New file.
* sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
* sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
1998-10-20 Philip Blundell <pb@nexus.co.uk>
* sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
<asm/ptrace.h> to define struct pt_regs.
* sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
including <asm/ptrace.h> here.
* sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
C_SYMBOL_NAME macro.
1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
end of enumerator list.
* sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
* posix/wordexp.h: Likewise.
* db/db.h: Use __PMT instead of __P in typedefs.
* db/mpool.h: Likewise.
* sysdeps/generic/bits/siginfo.h: Likewise.
* nis/rpcsvc/ypclnt.h: Likewise.
1998-10-23 Ulrich Drepper <drepper@cygnus.com>
Ulrich Drepper [Fri, 23 Oct 1998 10:38:06 +0000 (10:38 +0000)]
Update.
1998-10-23 Ulrich Drepper <drepper@cygnus.com>
* libio/genops.c (_IO_seekmark): When switching to backup buffer
make sure all characters from the read buffer are read after
switching back to it.
Ulrich Drepper [Thu, 22 Oct 1998 16:07:01 +0000 (16:07 +0000)]
Update.
1998-10-22 Ulrich Drepper <drepper@cygnus.com>
* configure.in: Add support for Cygnus GNUPro compilers.
Ulrich Drepper [Thu, 22 Oct 1998 14:41:49 +0000 (14:41 +0000)]
Update.
1998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* stdio/stdio.h: Use __PMT instead of __P in typedefs.
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
of __P for sa_restorer.
* sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
kernel_sigaction, old_kernel_sigaction): Likewise.
Ulrich Drepper [Thu, 22 Oct 1998 14:38:30 +0000 (14:38 +0000)]
Update.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
and __syscall_pwrite aliases.
Ulrich Drepper [Thu, 22 Oct 1998 14:35:55 +0000 (14:35 +0000)]
Update.
1998-10-22 Ulrich Drepper <drepper@cygnus.com>
* sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES.
Ulrich Drepper [Thu, 22 Oct 1998 12:49:46 +0000 (12:49 +0000)]
Update.
1998-10-22 12:49 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
improve INLINE_SYSCALL using macro assembler magic.
Ulrich Drepper [Thu, 22 Oct 1998 11:49:29 +0000 (11:49 +0000)]
Update.
1998-10-22 H.J. Lu <hjl@gnu.org>
* sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
sanity check for n.
* sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
* sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
EINVAL if errno == ENODEV. Tested by VSX-PCT.
* sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested
by VSX-PCT.
* posix/execvp.c (execvp): Check "". Tested by VSX-PCT.
Ulrich Drepper [Thu, 22 Oct 1998 11:18:01 +0000 (11:18 +0000)]
Update.
1998-10-22 Philip Blundell <pb@nexus.co.uk>
* sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
__ASSEMBLER__.
Ulrich Drepper [Wed, 21 Oct 1998 19:08:46 +0000 (19:08 +0000)]
Update.
1998-10-21 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
and adjust formats.
Ulrich Drepper [Wed, 21 Oct 1998 15:40:39 +0000 (15:40 +0000)]
Update.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
Move definition to...
* sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
* sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
* sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
* sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
Ulrich Drepper [Wed, 21 Oct 1998 15:29:52 +0000 (15:29 +0000)]
Update.
1998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call
__syscall_* function.
* sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
of calling __syscall_* function.
* sysdeps/unix/sysv/linux/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
* sysdeps/unix/sysv/linux/getcwd.c: Likewise.
* sysdeps/unix/sysv/linux/getdents.c: Likewise.
* sysdeps/unix/sysv/linux/getpriority.c: Likewise.
* sysdeps/unix/sysv/linux/getresgid.c: Likewise.
* sysdeps/unix/sysv/linux/getresuid.c: Likewise.
* sysdeps/unix/sysv/linux/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
* sysdeps/unix/sysv/linux/poll.c: Likewise.
* sysdeps/unix/sysv/linux/pread.c: Likewise.
* sysdeps/unix/sysv/linux/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/ptrace.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/readv.c: Likewise.
* sysdeps/unix/sysv/linux/reboot.c: Likewise.
* sysdeps/unix/sysv/linux/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/siglist.h: Likewise.
* sysdeps/unix/sysv/linux/sigpending.c: Likewise.
* sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
* sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
* sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sysctl.c: Likewise.
* sysdeps/unix/sysv/linux/ustat.c: Likewise.
* sysdeps/unix/sysv/linux/writev.c: Likewise.
* sysdeps/unix/sysv/linux/xmknod.c: Likewise.
* sysdeps/unix/sysv/linux/xstat.c: Likewise.
* sysdeps/unix/sysv/linux/xstat64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
inline assembler.
* sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
__syscall_* definitions.
* sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
definitions to...
* sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
* sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
* sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
* sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
* sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
(sysdep_routines): Remove s_pread64 and s_pwrite64.
* sysdeps/unix/sysv/linux/i386/pread.c: New file.
* sysdeps/unix/sysv/linux/i386/pread64.c: New file.
* sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
* sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
* sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
* sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
1998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
and bring them in synch.
* sysdeps/unix/siglist.c: Likewise.
Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
* sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
* sysdeps/unix/sysv/linux/i386/setregid.c: New file.
* sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
* sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
* sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
* sysdeps/unix/sysv/linux/arm/setregid.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
* sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
s_setregid.
* sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sunrpc/rpc_main.c (close_output, close_input): New functions.
(c_output, h_output, s_output, l_output, t_output, svc_output,
clnt_output, mkfile_output): Call them at the end.
1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
link command.
1998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
* sysdeps/unix/opendir.c: Check at runtime for kernel support for
O_DIRECTORY.
1998-10-20 H.J. Lu <hjl@gnu.org>
* sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
argument types.
Ulrich Drepper [Wed, 21 Oct 1998 14:38:14 +0000 (14:38 +0000)]
Correct bugs in origin description.
Andreas Schwab [Wed, 21 Oct 1998 01:50:21 +0000 (01:50 +0000)]
* sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
* sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
* sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
Ulrich Drepper [Tue, 20 Oct 1998 23:58:58 +0000 (23:58 +0000)]
Update.
1998-10-20 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
s_pwrite64.
* sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
* sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
* sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
Ulrich Drepper [Tue, 20 Oct 1998 23:03:20 +0000 (23:03 +0000)]
Update.
1998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
* sysdeps/unix/opendir.c: Check at runtime for kernel support for
O_DIRECTORY.
Ulrich Drepper [Tue, 20 Oct 1998 22:27:42 +0000 (22:27 +0000)]
Update.
1998-10-20 H.J. Lu <hjl@gnu.org>
* sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
argument types.
Ulrich Drepper [Tue, 20 Oct 1998 21:18:11 +0000 (21:18 +0000)]
Update.
* math/tgmath.h: Make nested function calls work.
Ulrich Drepper [Tue, 20 Oct 1998 16:18:10 +0000 (16:18 +0000)]
Update.
* include/ldsodefs.h: Fix typo.
Ulrich Drepper [Tue, 20 Oct 1998 14:40:47 +0000 (14:40 +0000)]
Update.
* posix/Makefile (tests): Add tst-preadwrite.
* posix/tst-preadwrite.c: New file.
Ulrich Drepper [Tue, 20 Oct 1998 12:34:09 +0000 (12:34 +0000)]
Update.
1998-10-20 Ulrich Drepper <drepper@cygnus.com>
* tests/test1.cm: Add missing character definitions to read POSIX
locale definition.
* tests/test2.cm: Likewise.
* tests/test3.cm: Likewise.
* tests/test4.cm: Likewise.
* tests/test5.cm: Likewise.
Ulrich Drepper [Mon, 19 Oct 1998 16:30:28 +0000 (16:30 +0000)]
Update.
1998-10-19 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
sure that descriptor is in any case for a directory.
Ulrich Drepper [Mon, 19 Oct 1998 16:05:36 +0000 (16:05 +0000)]
Update.
1998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
* math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
(atan2): Takes two arguments.
Ulrich Drepper [Mon, 19 Oct 1998 15:22:14 +0000 (15:22 +0000)]
Update.
1998-10-19 Ulrich Drepper <drepper@cygnus.com>
* include/ldsodefs.h: New file.
* iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
Remove change to avoid using _CALL_DL_FCT.
* iconv/gconv_db.c: Likewise.
* iconv/gconv_dl.c: Likewise.
* iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
* malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
* nss/nsswitch.c: Likewise.
* nss/nsswitch.h: Likewise.
1998-10-19 Philip Blundell <pb@nexus.co.uk>
* sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
required libraries.
* login/Makefile (otherlibs): Likewise.
* nscd/Makefile (otherlibs): Likewise.
* Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
* debug/Makefile (install-bin): Only build catchsegv if using ELF.
* inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
1998-10-19 Philip Blundell <pb@nexus.co.uk>
* sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
and setfsuid.
1998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* nscd/connections.c: Fix typos in comments and strings.
* nscd/nscd.conf: Update according to recent changes to nscd.
* nscd/cache.c (prune_cache): Remove wrong comment.
copy_posix.mask for copy instruction.
Ulrich Drepper [Mon, 19 Oct 1998 13:33:29 +0000 (13:33 +0000)]
Update.
1998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
* locale/programs/ld-collate.c (collate_startup): Clear bit for this
category in copy_posix.
(collate_finish): Don't warn about UNDEFINED not being defined.
* locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
category in copy_posix.
* locale/programs/ld-messages.c (messages_startup): Likewise.
* locale/programs/ld-monetary.c (monetary_startup): Likewise.
* locale/programs/ld-numeric.c (numeric_startup): Likewise.
* locale/programs/ld-time.c (time_startup): Likewise.
* locale/programs/localedef.c: Move copy_def_list_t definition into
locales.h. Define copy_posix variable.
(main): Before processing copy list add ©_posix to copy_list.
* locale/programs/locales.h: Add definition of copy_def_list_t.
* locale/programs/locfile.c: Clear bit for appropriate category in
case of an copy instruction.
Ulrich Drepper [Mon, 19 Oct 1998 09:49:20 +0000 (09:49 +0000)]
Update.
* sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
non-existing file with generic implementation.
* sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1998-10-19 Philip Blundell <pb@nexus.co.uk>
* iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
defined. Avoid using _CALL_DL_FCT if it is not defined.
* iconv/gconv.c: Likewise.
1998-10-19 Ulrich Drepper <drepper@cygnus.com>
Ulrich Drepper [Mon, 19 Oct 1998 09:28:26 +0000 (09:28 +0000)]
Update.
* nscd/connections.c (dbs): Define defualt values for timeouts and
set enabled to 0 by default.
(CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in
nscd_run.
Ulrich Drepper [Mon, 19 Oct 1998 08:03:24 +0000 (08:03 +0000)]
Update.
1998-10-19 Ulrich Drepper <drepper@cygnus.com>
* locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
character >= 0x80.
(_nl_C_LC_CTYPE_class32): Likewise.
Reported by HJ Lu.
* grp/Makefile: Don't search for linuxthreads in add-ons, use
Ulrich Drepper [Mon, 19 Oct 1998 08:01:12 +0000 (08:01 +0000)]
(_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for character >= 0x80. (_nl_C_LC_CTYPE_class32): Likewise.
Roland McGrath [Mon, 19 Oct 1998 00:45:33 +0000 (00:45 +0000)]
1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
_HURD_THREADVAR_DL_ERROR.
* hurd/Makefile (user-interfaces): Add login, password.
* sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
Roland McGrath [Mon, 19 Oct 1998 00:40:00 +0000 (00:40 +0000)]
1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
* nscd/nscd-client.h: New file, broken out of "nscd.h".
* nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
and #include that.
* nscd/Makefile (distribute): Add nscd-client.h.
* nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
Include "nscd-client.h" instead of "nscd.h"
Roland McGrath [Sun, 18 Oct 1998 23:19:12 +0000 (23:19 +0000)]
1998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
[submitted 1998-08-06]
* mach/Machrules: Create target directory and force re-evaluation
of Makefile to prevent `make' from optimizing away most of the
implicit rules and `vpath' directives.
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
is null, short-circuit to __mach_msg.
Roland McGrath [Sun, 18 Oct 1998 22:53:04 +0000 (22:53 +0000)]
* sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
broken out of init1.
(init1) [PIC]: Call it.
(__libc_init_first) [! PIC]: Call it.
Roland McGrath [Sun, 18 Oct 1998 22:02:47 +0000 (22:02 +0000)]
* nscd/nscd-client.h: New file, broken out of "nscd.h".
* nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
and #include that.
* nscd/Makefile (distribute): Add nscd-client.h
Roland McGrath [Sun, 18 Oct 1998 21:39:23 +0000 (21:39 +0000)]
1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
__libc_init_secure. Instead set __libc_enable_secure here from
the exec flags.
(__libc_enable_secure): New variable it.
* sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
Roland McGrath [Sun, 18 Oct 1998 21:22:08 +0000 (21:22 +0000)]
1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
__libc_init_secure. Instead set __libc_enable_secure here from
the exec flags.
(__libc_enable_secure): New variable it.
* sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
Ulrich Drepper [Sun, 18 Oct 1998 15:35:09 +0000 (15:35 +0000)]
Update.
* sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
directory entries when a lstat call fails.
Patch by Colin Plumb <colin@nyx.net>.
Ulrich Drepper [Sun, 18 Oct 1998 15:16:22 +0000 (15:16 +0000)]
Update.
1998-10-18 Ulrich Drepper <drepper@cygnus.com>
* resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
NSS functions.
* resolv/nss_dns/dns-network.c: Likewise.
* grp/Makefile: Don't search for linuxhtreads in add-ons, use
have-thread-library to determine whether threads are available.
* pwd/Makefile: Remove wrong comment.
* inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
* locale/C-messages.c: Define default strings for YESTR and NOSTR.
* nss/Versions: Add __nss_hosts_lookup.
* nss/getXXbyYY.c: Remove unneeded assignment.
* nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
Almost complete rewrite of the NSCD to make it smaller, faster,
add more functionnality and make it easier to extend.
* nscd/Makfile (routines): Add nscd_gethst_r.
(nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
* nscd/cache.c: New file.
* nscd/gethstbyad_r.c: New file.
* nscd/gethstbynm2_r.c: New file.
* nscd/hstcache.c: New file.
* nscd/nscd_gethst_r.c: New file.
* nscd/connections.c: Rewritten. Don't start new thread for every
new connection. Use a fixed set of threads which handle all
connections and also the cache cleanup.
* nscd/grpcache.c: Rewritten to use generic cache handling functions
in cache.c.
* nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
for rewrite. Remove handle_requests function.
* nscd/nscd.h (NSCD_VERSION): Bump to 2.
Define new data structure for the new unified cache and the host
database entries.
* nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
databases easily. Recognize check-files and threads definitions.
* nscd/nscd.conf: Add definition of enable-cache and check-files to
passwd and group definitions. Add new set of definitions for hosts.
* nscd/nscd_getgr_r.c: Rewrite for new protocol.
* nscd/nscd_getpw_r.c: Likewise.
* nscd/nscd_proto.h: Add prototype for host database functions.
* nscd/nscd_stat.c: Rewrite to simplify printing of information
for many databases.
* nscd/dbg_log.c: Remove unnecessary variable initializations.
Global variable debug_flag is renamed to dbg_level.
* nscd/dbg_log.h: Declare set_logfile.
Ulrich Drepper [Fri, 16 Oct 1998 21:05:18 +0000 (21:05 +0000)]
Update.
1998-10-16 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
O_LARGEFILE back.
Ulrich Drepper [Fri, 16 Oct 1998 18:53:55 +0000 (18:53 +0000)]
Update.
1998-10-16 Paul Eggert <eggert@shade.twinsun.com>
* time/mktime.c: Some systems require <unistd.h> to be
included before <time.h> for localtime_r to be declared
properly.
* time/strftime.c: Likewise.
Ulrich Drepper [Fri, 16 Oct 1998 16:57:36 +0000 (16:57 +0000)]
Update.
* db/Makefile: Add rule to generate shared object with the soname
from glibc 2.0.
Ulrich Drepper [Fri, 16 Oct 1998 16:33:36 +0000 (16:33 +0000)]
Update.
* sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
available double check to verify it's a directory.
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
* sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
* sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
are not generally available.
* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
* sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
* sysdeps/unix/sysv/linux/arm/Makefile: New file.
* sysdeps/unix/sysv/linux/arm/setegid.c: New file.
* sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
* sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
* sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
* sysdeps/unix/sysv/linux/arm/setgid.c: New file.
* sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
* sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
* sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
* sysdeps/unix/sysv/linux/arm/setuid.c: New file.
* sysdeps/unix/sysv/linux/i386/setegid.c: New file.
* sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
* sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
* sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
* sysdeps/unix/sysv/linux/i386/setgid.c: New file.
* sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
* sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
* sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
* sysdeps/unix/sysv/linux/i386/setuid.c: New file.
* sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
* sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
* sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
* sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
* sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
* sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
* sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
* sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
* sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
* sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
s_setresgid, and s_setuid.
* sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
(sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
1998-10-16 Ulrich Drepper <drepper@cygnus.com>
* iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
Ulrich Drepper [Fri, 16 Oct 1998 12:32:51 +0000 (12:32 +0000)]
Update.
1998-10-16 Ulrich Drepper <drepper@cygnus.com>
* time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
localtime_t declaration on some systems.
Ulrich Drepper [Fri, 16 Oct 1998 11:41:15 +0000 (11:41 +0000)]
Update.
1998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
* iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
-DSTATIC_GCONV.
* iconv/skeleton.c: Include ELF header only of STATIC?GCONV is not
defined. Avoid using DL_CLL_FCT if it is not defined.
1998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
* resolv/arpa/nameser.h: Include sys/types.h unconditionally.
Include endian.h unconditionally. Remove portability goop
depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
1998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
* sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
Ulrich Drepper [Thu, 15 Oct 1998 10:46:07 +0000 (10:46 +0000)]
Update.
* sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
Ulrich Drepper [Thu, 15 Oct 1998 09:22:13 +0000 (09:22 +0000)]
Update.
1998-10-15 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
again. Use char[44] to define size of the struct.
Ulrich Drepper [Thu, 15 Oct 1998 08:04:01 +0000 (08:04 +0000)]
Update.
1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* string/bits/string2.h (strcmp): Don't cache the result of
__builtin_constant_p in variables, otherwise constant folding
can fail in big functions.
1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* string/bits/string2.h: Add prototypes for the new inline
functions.
1998-10-08 Paul Eggert <eggert@twinsun.com>
* time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
Define also if HAVE_LOCALTIME_R && defined localtime_r, with
a body that merely expands localtime_r; this works around a
bug in Digital Unix 4.0A and 4.0D.
1998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
unnecessary after the changes of 1998-10-12.
Ulrich Drepper [Thu, 15 Oct 1998 07:51:40 +0000 (07:51 +0000)]
Update.
1998-10-15 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
have all types defined.
Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
Ulrich Drepper [Wed, 14 Oct 1998 22:37:11 +0000 (22:37 +0000)]
Update.
1998-10-08 Paul Eggert <eggert@twinsun.com>
* time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
Define also if HAVE_LOCALTIME_R && defined localtime_r, with
a body that merely expands localtime_r; this works around a
bug in Digital Unix 4.0A and 4.0D.
1998-10-14 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
* sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
__ioctl to __syscall_ioctl and include Linux version of this file.
* sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
ioctl calls which handle struct termios.
Based on a patch by Dan Jacobowitz <drow@false.org>.
Ulrich Drepper [Wed, 14 Oct 1998 12:59:45 +0000 (12:59 +0000)]
Update.
* sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
here instead of including kernel_termios.h.
Ulrich Drepper [Wed, 14 Oct 1998 12:43:51 +0000 (12:43 +0000)]
Update.
1998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
unnecessary after the changes of 1998-10-12.
Ulrich Drepper [Wed, 14 Oct 1998 10:53:45 +0000 (10:53 +0000)]
Update.
1998-10-14 Ulrich Drepper <drepper@cygnus.com>
* version.h (VERSION): Bump to 2.0.98.
Ulrich Drepper [Tue, 13 Oct 1998 16:25:46 +0000 (16:25 +0000)]
Update.
* sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
parameter format string.
(inline_outw): Likewise.
Ulrich Drepper [Tue, 13 Oct 1998 15:12:27 +0000 (15:12 +0000)]
Update.
1998-10-13 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
string.h to get memcpy prototype and NULL definition.
1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* misc/sys/cdefs.h (__THROW): New macro.
* argp/argp.h: Use it to replace the kludgey __P in inline
function definitions.
* sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
* stdlib/stdlib.h: Likewise.
* wcsmbs/wchar.h: Likewise.
* libio/stdio.h: Likewise.
* stdio/stdio.h: Likewise.
* sysdeps/wordsize-64/inttypes.h: Likewise.
* sysdeps/wordsize-32/inttypes.h: Likewise.
* string/argz.h: Likewise.
* io/sys/stat.h: Likewise.
1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* Rules (stdio_lim): New variable.
($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
on Rules and config.make, use $(move-if-change) to avoid unnessary
recompilations, and cleanup command.
(common-generated): Add bits/stdio_lim.st.