about summary refs log tree commit diff
path: root/sysdeps/gnu
Commit message (Collapse)AuthorAgeFilesLines
* Combine __USE_BSD and __USE_SVID into __USE_MISC.Joseph Myers2014-02-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch cleans up following the obsoletion of _BSD_SOURCE and _SVID_SOURCE by combining __USE_BSD and __USE_SVID into __USE_MISC. The only non-mechanical part of this patch is the changes to features.h; everything else is simple substitution of __USE_MISC for the old macros. Thus, this patch leaves obviously redundant conditionals such as "defined __USE_MISC || defined __USE_MISC", and does not update #endif comments where they referred to BSD or SVID in words instead of the literal macro name. This is intended to facilitate patch review by separating the less mechanical changes from these purely mechanical changes into a separate patch. (I do intend to integrate all the changes from <https://sourceware.org/ml/libc-alpha/2013-12/msg00226.html>, which I believe includes all the trailing comment updates, in subsequent patches.) Tested x86_64. * include/features.h (__USE_BSD): Remove macro definitions. (__USE_SVID): Likewise. (_BSD_SOURCE): Likewise. (_SVID_SOURCE): Likewise. [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition from definition of _DEFAULT_SOURCE. [_BSD_SOURCE || _SVID_SOURCE]: Change condition to [_DEFAULT_SOURCE]. * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC]. * bits/mman.h [__USE_BSD]: Likewise. * bits/termios.h [__USE_BSD]: Likewise. * bits/waitstatus.h [__USE_BSD]: Likewise. * ctype/ctype.h [__USE_SVID]: Likewise. * dirent/dirent.h [__USE_BSD]: Likewise. * grp/grp.h [__USE_SVID]: Likewise. [__USE_BSD]: Likewise. * inet/netinet/igmp.h [__USE_BSD]: Likewise. * io/fcntl.h [__USE_BSD]: Likewise. * io/ftw.h [__USE_BSD]: Likewise. * io/sys/stat.h [__USE_BSD]: Likewise. * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise. * libio/bits/stdio2.h [__USE_BSD]: Likewise. * libio/stdio.h [__USE_SVID]: Likewise. [__USE_BSD]: Likewise. * math/math.h [__USE_SVID]: Likewise. [__USE_BSD]: Likewise. * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise. * misc/bits/syslog.h [__USE_BSD]: Likewise. * misc/search.h [__USE_SVID]: Likewise. * misc/sys/mman.h [__USE_BSD]: Likewise. * misc/sys/syslog.h [__USE_BSD]: Likewise. * misc/sys/uio.h [__USE_BSD]: Likewise. * posix/bits/unistd.h [__USE_BSD]: Likewise. * posix/glob.h [__USE_BSD]: Likewise. * posix/regex.h [__USE_BSD]: Likewise. * posix/sys/types.h [__USE_BSD]: Likewise. [__USE_SVID]: Likewise. * posix/sys/utsname.h [__USE_SVID]: Likewise. * posix/sys/wait.h [__USE_BSD]: Likewise. [__USE_SVID]: Likewise. * posix/unistd.h [__USE_BSD]: Likewise. [__USE_SVID]: Likewise. * pwd/pwd.h [__USE_SVID]: Likewise. * resolv/netdb.h [__USE_BSD]: Likewise. * setjmp/setjmp.h [__USE_BSD]: Likewise. * signal/signal.h [__USE_BSD]: Likewise. [__USE_SVID]: Likewise. * socket/sys/socket.h [__USE_BSD]: Likewise. * stdlib/fmtmsg.h [__USE_SVID]: Likewise. * stdlib/stdlib.h [__USE_BSD]: Likewise. [__USE_SVID]: Likewise. * string/bits/string2.h [__USE_BSD]: Likewise. [__USE_SVID]: Likewise. * string/bits/string3.h [__USE_BSD]: Likewise. * string/endian.h [__USE_BSD]: Likewise. * string/string.h [__USE_SVID]: Likewise. [__USE_BSD]: Likewise. * string/strings.h [__USE_BSD]: Likewise. * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise. * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise. * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise. * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]: Likewise. * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]: Likewise. * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise. * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]: Likewise. * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise. * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]: Likewise. * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]: Likewise. * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise. * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]: Likewise. * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise. * sysvipc/sys/ipc.h [__USE_SVID]: Likewise. * termios/termios.h [__USE_BSD]: Likewise. * time/sys/time.h [__USE_BSD]: Likewise. * time/time.h [__USE_BSD]: Likewise. [__USE_SVID]: Likewise. * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_BSD]: Change condition to [__USE_MISC].
* Use glibc_likely instead __builtin_expect.Ondřej Bílka2014-02-101-2/+2
|
* Update copyright notices with scripts/update-copyrightsAllan McRae2014-01-0121-21/+21
|
* Remove __FAVOR_BSD.Joseph Myers2013-12-172-75/+78
|
* Use __glibc_reserved instead __unused.Ondřej Bílka2013-11-263-3/+3
|
* rename configure.in to configure.acMike Frysinger2013-10-302-1/+1
| | | | | | | Autoconf has been deprecating configure.in for quite a long time. Rename all our configure.in and preconfigure.in files to .ac. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Remove --disable-versioning.Joseph Myers2013-09-041-1/+1
|
* Support ELFOSABI_GNU on all GNU systems.Thomas Schwinge2013-08-291-0/+48
|
* Avoid trailing whitespace in sysdeps/gnu/errlist.c.Joseph Myers2013-06-082-10/+10
|
* [BZ #14256]Jeff Law2013-05-301-5/+6
| | | | | | * manual/errno.texi (ESTALE): Update to account for more than just NFS file systems. * sysdeps/gnu/errlist.c: Regenerated.
* Sync with Linux 3.9Andreas Jaeger2013-05-031-0/+1
| | | | | | | | * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from Linux 3.9. * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add. (PF_MAX): Adjust for VSOCK change.
* s390x: Move rtld link to /libAndreas Schwab2013-03-192-4/+14
|
* Reverting wrong commit.Adhemerval Zanella2013-03-151-0/+42
| | | | | Restore sysdeps/gnu/configure wrongly modified on ef26eece6331a1f6d959818e37c438cc7ce68e53.
* PowerPC: gettimeofday optimization by using IFUNCAdhemerval Zanella2013-03-151-42/+0
|
* Remove __ptrvalue, __bounded and __unbounded.Joseph Myers2013-02-131-4/+4
|
* Sync netinet/tcp.h with upstream Linux kernel.David S. Miller2013-01-091-14/+66
| | | | | | | | | | | | | | | [BZ# 15003] * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS, TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT, TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS, TCP_FASTOPEN): Define. (tcp_repair_opt): New structure. (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New enum values. (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE, TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN, TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define. (tcp_cookie_transactions): New structure.
* Fix copyright notice corruption from update-copyright bug.Joseph Myers2013-01-021-1/+1
|
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-0220-21/+20
|
* Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers2013-01-011-2/+1
|
* Add new defines from Linux 3.7 to <netinet/tcp.h>Andreas Jaeger2012-12-281-1/+3
|
* Move _G_config.h with Linuxism to linux/ directory.Roland McGrath2012-09-281-65/+0
|
* Remove various _G_*_t type names.Joseph Myers2012-09-251-7/+0
|
* Remove _G_HAVE_SYS_WAIT and _IO_HAVE_SYS_WAIT.Joseph Myers2012-09-211-1/+0
|
* Remove _G_NEED_STDARG_H.Joseph Myers2012-09-201-1/+0
|
* Remove _G_HAVE_IO_GETLINE_INFO.Joseph Myers2012-09-171-1/+0
|
* Remove _G_HAVE_PRINTF_FP.Joseph Myers2012-09-131-1/+0
|
* Remove unused typedefs and macros from _G_config.h.Joseph Myers2012-09-111-10/+0
|
* Remove _G_USING_THUNKS.Joseph Myers2012-09-101-3/+0
|
* Remove libio C++ vtable definitions.Joseph Myers2012-09-101-4/+0
|
* Respect --localstatedir for /var/db parent directory.Roland McGrath2012-06-222-2/+14
|
* Remove use of INTDEF/INTUSE in stdio-commonAndreas Schwab2012-06-011-3/+2
|
* Rename __WORDSIZE_COMPAT32 to __WORDSIZE_TIME64_COMPAT32H.J. Lu2012-05-212-6/+5
|
* Hurd: Support --prefix=/usr special-casing for all GNU systems.Thomas Schwinge2012-05-102-0/+72
|
* move libgcc_s soname definition to shlib-versionsSiddhesh Poyarekar2012-04-261-2/+2
|
* Fix computation of inflated errlist sizeAndreas Schwab2012-04-191-2/+2
|
* Clean up glibc manual references to "GNU system" (bug 6911).Joseph Myers2012-03-081-10/+10
|
* 2012-03-01 Chris Demetriou <cgd@google.com>Chris Demetriou2012-03-021-1/+4
| | | | | | * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals * to have predictable order.
* Regenerate sysdeps/gnu/errlist.c for errno.texi changes.Joseph Myers2012-02-281-2/+2
|
* Add support for Linux error EHWPOISONAndreas Schwab2012-02-191-0/+8
|
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-0920-60/+40
|
* Remove _G_HAVE_SYS_CDEFS.Marek Polacek2012-02-091-1/+0
|
* Remove _G_ARGS macros.Marek Polacek2012-02-071-3/+0
|
* Remove __STDC__ conditionals from installed headers.Joseph Myers2012-01-261-5/+1
|
* Remove pre-ISO C supportUlrich Drepper2012-01-072-12/+11
| | | | No more __const.
* Remove support for automatic cvs check-insUlrich Drepper2011-09-081-5/+2
| | | | CVS use for glibc is long gone.
* Move unwind-resume code from NPTL to sysdeps/gnu.Roland McGrath2010-04-053-1/+80
|
* Add support for new Linux error ERFKILL.Ulrich Drepper2009-11-141-0/+8
|
* Add a few defines to <netinet/udp.h>.Ulrich Drepper2009-10-301-1/+11
|
* Allow compat handling of getutmp.Ulrich Drepper2009-10-291-4/+6
|
* [BZ #5628]Ulrich Drepper2008-01-161-1/+1
| | | | | | | | | | | | | | * bits/shm.h: Fix comment describing shmid_ds. * sysdeps/gnu/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise. Patch by Hareesh Nagarajan <hareesh.nagarajan@gmail.com>.