Age | Commit message (Collapse) | Author |
|
2000-04-22 Ulrich Drepper <drepper@redhat.com>
* assert/assert-perr.c: Include <stdlib.h> for abort prototype.
* libio/ftello.c: Likewise.
* libio/ftello64.c: Likewise.
* libio/ioftell.c: Likewise.
* sysdeps/generic/memrchr.c: Likewise.
* sysdeps/posix/libc_fatal.c: Likewise.
* sysdeps/unix/sysv/linux/init-first.c: Likewise.
* misc/fstab.c: Include <string.h> for strcmp prototype.
* sysdeps/generic/ldsodefs.h: Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
Patch by Kurt Roeckx <Q@ping.be>.
* nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
Remove db-open. Change all uses.
(libnss_db-routines): Define as $(libnss_db-dbs) db-open.
2000-04-21 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
* sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
* sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
* sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
with .set noat/at to shut up warnings.
* sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
* sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
compilation if __NR_pciconfig_iobase is not defined.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
Add alias.
|
|
* sysdeps/unix/mips/sysdep.S: Use __PIC__ instead of PIC.
|
|
* sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
|
|
* sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
|
|
* sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
* sysdeps/unix/sysv/aix/geteuid.c: Likewise.
|
|
* sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
* sysdeps/unix/sysv/aix/getegid.c: Likewise.
|
|
* sysdeps/unix/sysv/aix/getegid.c: Don't try to include <sys/id.h>.
|
|
2000-04-18 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
* sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
* sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
* sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
* sysdeps/unix/sysv/aix/setregid.c: Likewise.
* sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
* sysdeps/unix/sysv/aix/setgid.c: Likewise.
* sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
* sysdeps/unix/sysv/aix/setegid.c: Likewise.
* sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
* sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
it here.
* sysdeps/unix/sysv/aix/msync.c: New file.
* sysdeps/unix/sysv/aix/msgsnd.c: New file.
* sysdeps/unix/sysv/aix/net/if.h: New file.
* sysdeps/unix/sysv/aix/pipe.c: New file.
* sysdeps/unix/sysv/aix/poll.c: New file.
* sysdeps/unix/sysv/aix/rename.c: New file.
* sysdeps/unix/sysv/aix/rmdir.c: New file.
* sysdeps/unix/sysv/aix/select.c: New file.
* sysdeps/unix/sysv/aix/semctl.c: New file.
* sysdeps/unix/sysv/aix/semget.c: New file.
* sysdeps/unix/sysv/aix/semop.c: New file.
* sysdeps/unix/sysv/aix/sendto.c: New file.
* sysdeps/unix/sysv/aix/setgroups.c: New file.
* sysdeps/unix/sysv/aix/setpgid.c: New file.
* sysdeps/unix/sysv/aix/setpgrp.c: New file.
* sysdeps/unix/sysv/aix/setpriority.c: New file.
* sysdeps/unix/sysv/aix/setrlimit.c: New file.
* sysdeps/unix/sysv/aix/setrlimit64.c: New file.
* sysdeps/unix/sysv/aix/setsid.c: New file.
* sysdeps/unix/sysv/aix/setsockopt.c: New file.
* sysdeps/unix/sysv/aix/shmat.c: New file.
* sysdeps/unix/sysv/aix/shmctl.c: New file.
* sysdeps/unix/sysv/aix/shmdt.c: New file.
* sysdeps/unix/sysv/aix/shmget.c: New file.
* sysdeps/unix/sysv/aix/sigaltstack.c: New file.
* sysdeps/unix/sysv/aix/sigstack.c: New file.
* sysdeps/unix/sysv/aix/socket.c: New file.
* sysdeps/unix/sysv/aix/socketpair.c: New file.
* sysdeps/unix/sysv/aix/speed.c: New file.
* sysdeps/unix/sysv/aix/symlink.c: New file.
* sysdeps/unix/sysv/aix/sync.c: New file.
* sysdeps/unix/sysv/aix/tcgetattr.c: New file.
* sysdeps/unix/sysv/aix/tcsetattr.c: New file.
* sysdeps/unix/sysv/aix/times.c: New file.
* sysdeps/unix/sysv/aix/ulimit.c: New file.
* sysdeps/unix/sysv/aix/umask.c: New file.
* sysdeps/unix/sysv/aix/unlink.c: New file.
* sysdeps/unix/sysv/aix/ustat.c: New file.
* sysdeps/unix/sysv/aix/utimes.c: New file.
|
|
|
|
|
|
|
|
|
|
* sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h (struct sigcontext):
Remove the typedef keyword.
2000-04-18 Jakub Jelinek <jakub@redhat.com>
|
|
* manual/intro.texi: Change reference from System Information to
System Management.
* manual/users.texi: Likewise.
* manual/conf.texi: Likewise.
* manual/sysinfo.texi: Document mount, umount, and umount2.
Patch by Bryan Henderson <bryanh@giraffe-data.com>.
2000-04-17 Jakub Jelinek <jakub@redhat.com>
* sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
Create wnumstr as well as numstr to support wide character output
correctly.
2000-04-15 Jakub Jelinek <jakub@redhat.com>
* sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
modification and move it...
* sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
Add -melf64_sparc switch to $(LD) on sparc64-linux.
* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
switch to $(LD) on sparc-linux.
2000-04-17 Thorsten Kukuk <kukuk@suse.de>
* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
and setresuid frm sysdep_routines.
2000-04-17 Ulrich Drepper <drepper@redhat.com>
* manual/resource.texi: ...here. New file. Document ulimit, vlimit,
and vtimes.
|
|
|
|
|
|
|
|
|
|
|
|
2000-04-14 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
* sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
|
|
* sysdeps/alpha/dl-machine.h (RTLD_START):Rewrite for new init
function interface. Patch by Richard Henderson <rth@cygnus.com>.
|
|
|
|
|
|
* weaks.c: Fix typo.
2000-04-14 Andreas Jaeger <aj@suse.de>
* sysdeps/generic/madvise.c: Fix typos.
* sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
* sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
* sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
warnings.
2000-04-14 Andreas Jaeger <aj@suse.de>
* weaks.c: Fix typo.
|
|
2000-04-14 Ulrich Drepper <drepper@redhat.com>
* include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
* sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
Make old name weak alias.
* sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
* sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
Make old name weak alias.
* sysdeps/unix/sysv/linux/statfs64.c: Likewise.
* io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
posix_fallocate, and posix_fallocate64.
* io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
posix_fallocate, and posix_fallocate64.
* io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
posix_fallocate, and posix_fallocate64.
* sysdeps/generic/fadvise.c: New file.
* sysdeps/generic/fadvise64.c: New file.
* sysdeps/generic/fallocate.c: New file.
* sysdeps/generic/fallocate64.c: New file.
* sysdeps/posix/fallocate.c: New file.
* sysdeps/posix/fallocate64.c: New file.
* sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
* sysdeps/mach/hurd/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
* 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: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
* sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
* sysdeps/unix/sysv/linux/syscalls.list: Likewise.
|
|
2000-04-13 Ulrich Drepper <drepper@redhat.com>
* misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
* misc/sys/mman.h (posix_madvise): Add prototype.
* sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
old name and posix_madvise weak aliases.
* sysdeps/unix/sysv/linux/syscalls.list: Likewise.
* sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
* sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
|
|
* sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
versioning.
2000-04-13 Andreas Jaeger <aj@suse.de>
|
|
* sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
* sysdeps/unix/sysv/linux/mips/pipe.S: New file.
|
|
* sysdeps/unix/sysv/linux/mips/pipe.S: New file.
|
|
* sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
default.
* sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
with some applications.
Patches by Ralf Baechle <ralf@uni-koblenz.de>.
* sysdeps/mips/bsd-setjmp.S: Use __PIC__.
* sysdeps/mips/bsd-_setjmp.S: Likewise.
* sysdeps/mips/setjmp.S: Likewise.
|
|
* posix/getconf.c: Add support for many more POSIX options.
* sysdeps/posix/sysconf.c: Likewise.
* sysdeps/generic/bits/confname.h: Add many more POSIX options.
* sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
_POSIX_SHELL.
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
CLOCK_THREAD_CPUTIME_ID.
* sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
CLOCK_PROCESS_CPUTIME_ID.
* sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
__CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
* sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
|
|
2000-04-12 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
* sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
for memmem declaration.
* sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
to -1.
* sysdeps/posix/clock_getres.c (clock_getres): Likewise.
|
|
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
_POSIX_SHARED_MEMORY_OBJECTS.
|
|
* sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
for descriptor.
|
|
* misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
* rt/Makefile (librt-routines): Add shm_open and shm_unlink.
* rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
* sysdeps/generic/shm_open.c: New file.
* sysdeps/generic/shm_unlink.c: New file.
* sysdeps/unix/sysv/linux/shm_open.c: New file.
* sysdeps/unix/sysv/linux/shm_unlink.c: New file.
* sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
__endmntent, __getmntent_r, __setmntent, and __statfs.
|
|
2000-04-11 Ulrich Drepper <drepper@redhat.com>
* posix/globtest.sh: Fix last change.
2000-04-10 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
IPV6_DROP_MEMBERSHIP.
* sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
Likewise.
2000-04-11 Ulrich Drepper <drepper@redhat.com>
* elf/readlib (process_file): Close streams in case of an error.
2000-04-09 Andreas Jaeger <aj@suse.de>
* elf/readlib.c (process_file): Check if file is big enough to
contain aout and ELF headers.
Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
* elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
2000-04-11 Ulrich Drepper <drepper@redhat.com>
* test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
stream unbuffered.
* rt/Makefile (tests): Add tst-clock.
Add rules to build tst-clock.
* rt/tst-clock.c: New file.
* sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
about initialization of nsec.
* sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
about initialization of freq. Set retval to zero if successful.
* sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
|
|
2000-04-10 Ulrich Drepper <drepper@redhat.com>
* Versions.def (librt): Add GLIBC_2.2.
* rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
timer_getoverr, timer_gettime, and timer_settime.
* rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
clock_settime, timer_create, timer_delete, timer_getoverrun,
timer_gettime, and timer_settime.
* sysdeps/generic/clock_getcpuclockid.c: New file.
* sysdeps/generic/get_clockfreq.c: New file.
* sysdeps/unix/i386/clock_getcpuclockid.c: New file.
* sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
* sysdeps/mach/hurd/i386/bits/time.h: New file.
* sysdeps/unix/i386/i586/clock_getres.c: New file.
* sysdeps/unix/i386/i586/clock_gettime.c: New file.
* sysdeps/unix/i386/i686/Implies: New file.
* sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
* time/Makefile (routines): Move clock_getres, clock_gettime,
clock_settime, timer_create, timer_delete, timer_getoverr,
timer_gettime, and timer_settime to rt/Makefile.
* time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
clock_settime, timer_create, timer_delete, timer_getoverrun,
timer_gettime, and timer_settime.
* sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
and not const as attribute name.
|
|
2000-04-10 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
|
|
* sysdeps/unix/clock_gettime.c: New file.
* sysdeps/unix/clock_settime.c: New file.
* sysdeps/posix/clock_getres.c: New file.
|
|
* sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
lseek call be passing in a buffer which never allow a successful
first getdents syscall if not at leas the initial entry can be
stored in the user buffer.
|
|
* sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
newer kernels.
|
|
* sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
kernel does not allow relative seeks on descriptors associated
with directories. Go back to get the position in the directory
every time we enter the function. Return -1 and set errno if one
entry could be read from the kernel but does not fit into the
buffer passed in by the user.
|
|
2000-04-06 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
removed, remove it here also.
* sysdeps/unix/sysv/linux/arm/Dist: Likewise.
* sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
2000-04-06 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
include bits/sigcontext.h.
* sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
|
|
2000-04-05 Cristian Gafton <gafton@redhat.com>
* ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
because it is used in generic code.
* wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
* wcsmbs/wcwidth.h: Declare __ctype32_b.
* intl/gettext.c: Include <locale.h>.
* intl/ngettext.c: Likewise.
2000-04-05 Jakub Jelinek <jakub@redhat.com>
* resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
socklen_t type for size.
* sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
init function interface.
* sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
sys/ucontext.h.
(__jmp_buf): Declare the whole type structure here, don't use
ucontext.
* iconv/skeleton.c (put16u): Fix typo.
Reported by Bruno Haible <haible@ilog.fr>.
|
|
2000-04-05 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
* sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
* sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
* sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
* Makefile (distribute): Add abi-versions.awk and
firstversions.awk.
Patches by Torsten Duwe <duwe@caldera.de>.
|
|
|
|
2000-04-01 Andreas Jaeger <aj@suse.de>
* sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
* sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
* sysdeps/mach/mips/thread_state.h: Likewise.
* sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
* sysdeps/generic/fegetenv.c: Likewise.
* sysdeps/generic/fesetenv.c: Likewise.
* sysdeps/generic/feupdateenv.c: Likewise.
* sysdeps/generic/fraiseexcpt.c: Likewise.
* sysdeps/generic/fsetexcptflg.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
* sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
* sysdeps/unix/sysv/linux/errlist.c: Likewise.
* sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2000-04-02 H.J. Lu <hjl@gnu.org>
* elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
|
|
* posix/unistd.h (socklen_t): Define if it has not yet happened.
(gethostname): Change type of second parameter to socklen_t.
* include/unistd.h (__gethostname): Change type of second
parameter to socklen_t.
* sysdeps/generic/gethostname.c (__gethostname): Likewise.
* sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
* sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
* sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
Likewise.
* sysdeps/unix/sysv/linux/gethostname.c: Removed.
* sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
Allow definition elsewhere.
* sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
* sysdeps/generic/bits/types.h: Define __socklen_t.
* sysdeps/unix/sysv/aix/bits/types.h: Likewise.
* sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
* sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
|
|
* inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
(inet_lnaof): Likewise.
(inet_netof): Likewise.
(inet_network): Likewise.
(inet_aton): Likewise.
(inet_makeaddr): Change parameter types to in_addr_t.
(inet_neta): Likewise.
(inet_ntop): Change type of last parameter to socklen_t.
(inet_aton): Only make available if __USE_MISC.
(inet_neta): Likewise.
(inet_net_ntop): Likewise.
(inet_net_pton): Likewise.
(inet_nsap_ntoa): Likewise.
* inet/in.h: Define in_port_t type.
Define in_addr_t type.
(struct in_addr): Use in_addr_t in definition.
(IN_CLASSA): Use cast to in_addr_t.
(IN_CLASSB): Likewise.
(IN_CLASSC): Likewise.
(IN_CLASSD): Likewise.
(IN_EXPERIMENTAL): Likewise.
(IN_BADCLASS): Likewise.
(INADDR_ANY): Likewise.
(INADDR_BROADCAST): Likewise.
(INADDR_NONE): Likewise.
(INADDR_LOOPBACK): Likewise.
(INADDR_UNSPEC_GROUP): Likewise.
(INADDR_ALLHOSTS_GROUP): Likewise.
(INADDR_ALLRTRS_GROUP): Likewise.
(INADDR_MAX_LOCAL_GROUP): Likewise.
(struct sockaddr_in): Use in_port_t for sin_port element.
(struct sockaddr_in6): Use in_port_t for sin6_port element.
Use uint8_t instead of u_int8_t.
* resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
Call __inet_aton instead of inet_aton.
(__inet_aton): Renamed from inet_aton. Add weak alias under old name.
* resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
(innetgr): Likewise.
(struct addrinfo): Use socklen_t for ai_addrlen element.
* sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
IPV6_RECVERR): New defines.
|
|
* include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
* inet/getnetbyad.c: Likewise.
* inet/getnetbyad_r.c: Likewise.
* nis/nss_nis/nis-network.c: Likewise.
* nis/nssplus_nis/nisplus-network.c: Likewise.
* nss/nss_files/files-network.c: Likewise.
* resolv/netdb.h: Define uint32_t if not already happened.
Include bits/netdb.h. Remove definition of struct netent.
Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
* sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
* sysdeps/generic/bits/netdb.h: New file.
* sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
|