* sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
kernels in mind when reading /proc/self/fd/FD.
* sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
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.
* 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.
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.
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.
* 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.
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>.
* 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.
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.
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.
* 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.
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.
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.
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.
* 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>
* 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.