Ulrich Drepper
c913639332
[BZ #5737 ]
...
2008-02-15 Ulrich Drepper <drepper@redhat.com>
[BZ #5737 ]
* resolv/netdb.h: Make NI_MAXHOST and NI_MAXSERV available when
__USE_MISC is defined.
2008-02-15 15:49:15 +00:00
Ulrich Drepper
2e3e9ff16c
* sysdeps/unix/sysv/linux/sys/timerfd.h: New file.
...
* sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): Add
sys/timerfd.h.
* sysdeps/unix/sysv/linux/syscalls.list: Add timerfd_create,
timerfd_gettime, timerfd_settime.
* sysdeps/unix/sysv/linux/Versions: Add timerfd_create,
timerfd_gettime, timerfd_settime for GLIBC_2.8.
2008-02-10 19:43:56 +00:00
Roland McGrath
85202a2b7e
* elf/elf.h (NT_PPC_SPE): New macro.
2008-02-09 01:45:01 +00:00
Roland McGrath
708ef8a471
* Makerules ($(common-objpfx)sysd-rules):
...
Depend on $(sysdep-makeconfigs).
2008-02-07 00:39:24 +00:00
Roland McGrath
67fbfa5ca1
[BZ #5442 ]
...
* configure.in: Use -print-file-name if it yields a directory,
for each of include and include-fixed.
* configure: Regenerated.
2008-02-01 00:20:11 +00:00
Roland McGrath
363a641b1c
* Makeconfig (sysd-rules-targets): New variable.
...
* sysdeps/unix/make-syscalls.sh: Use it in the rules emitted.
* sysdeps/unix/Makefile (omit-deps): Append variants for each target.
2008-02-01 00:01:25 +00:00
Roland McGrath
7bd00dbfeb
* manual/libc.texinfo: Update back-cover text.
2008-01-31 01:43:08 +00:00
Roland McGrath
0f0f961071
* elf/elf.h (NT_386_TLS): New macro.
2008-01-30 22:09:06 +00:00
Roland McGrath
16cd816fd0
* Makeconfig (sysd-rules-patterns): New variable.
...
* Makerules ($(common-objpfx)sysd-rules): Drive the loop from that.
(check-inhibit-asm): New canned sequence, replaces ...
(open-check-inhibit-asm, close-check-inhibit-asm): ... these, removed.
* elf/rtld-Rules ($(objpfx)rtld-%.os): Use $(rtld-CPPFLAGS) in commands.
(rtld-CPPFLAGS): Renamed from CPPFLAGS-rtld.
(CFLAGS-rtld): Variable removed.
2008-01-30 00:24:16 +00:00
Roland McGrath
f641ffccd8
* configure.in: Let configure fragments set base_os.
...
* configure: Regenerated.
2008-01-24 20:21:28 +00:00
Ulrich Drepper
b7e268855a
* po/ko.po: Update from translation team.
2008-01-23 07:37:05 +00:00
Ulrich Drepper
b4b166af4f
* sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Use short for fnstsw.
2008-01-22 18:58:31 +00:00
Andreas Jaeger
f66def9d2b
[BZ #5040 ]
...
Update.
2008-01-12 Andreas Jaeger <aj@suse.de>
[BZ #5040 ]
* sysdeps/unix/sysv/linux/x86_64/sys/epoll.h (enum EPOLL_EVENTS):
Add EPOLLRDHUP.
2008-01-21 21:20:03 +00:00
Roland McGrath
d3bc5e7710
* hurd/hurdsock.c (_hurd_socket_server): Return the standard
...
error EAFNOSUPPORT rather than non-standard EPFNOSUPPORT.
* sunrpc/bindrsvprt.c (bindresvport): Likewise.
2008-01-21 01:35:23 +00:00
Ulrich Drepper
4c533566c2
* include/link.h (FORCED_DYNAMIC_TLS_OFFSET): Define.
...
* elf/dl-close.c (_dl_close): Check for it.
* elf/dl-reloc.c (CHECK_STATIC_TLS): Likewise.
(_dl_allocate_static_tls): Likewise.
* elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
(__tls_get_addr): Protect from race conditions in setting l_tls_offset
to it.
* elf/tst-tls16.c: New file.
* elf/tst-tlsmod16a.c: New file.
* elf/tst-tlsmod16b.c: New file.
* elf/Makefile: Add rules to build and run tst-tls16.
2008-01-17 20:20:00 +00:00
Ulrich Drepper
a0f6c236e0
[BZ #5628 ]
...
* 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>.
2008-01-16 23:49:43 +00:00
Ulrich Drepper
6107639e64
* sysdeps/posix/getaddrinfo.c (default_labels): Adjust for change
...
of names of in in6_addr.
(default_precedence): Likewise.
* sysdeps/unix/sysv/linux/cmsg_nxthdr.c: Include <stddef.h> for
NULL definition.
2008-01-16 19:47:17 +00:00
Ulrich Drepper
a53d3f8295
[BZ #5607 ]
...
2008-01-16 Ulrich Drepper <drepper@redhat.com>
[BZ #5607 ]
* conform/data/fcntl.h-data: Fix posix_fadvise and posix_fallocate
prototypes.
* conform/data/limits.h-data: Adjust limits changed in v6 and add
additional suffixes.
* conform/data/mqueue.h-data: Fix typo in mq_curmsgs entry.
Add optional functions mq_timedreceive and mq_timedsend.
* conform/data/netdb.h-data: Add more AI_* and EAI_* constants.
* conform/data/pthread.h-data: Fix prototype of
pthread_condattr_setclock. pthread_sigmask is not required in v6.
* conform/data/semaphore.h-data: Allow time.h definitions.
* conform/data/signal.h-data: Likewise.
* conform/data/stdio.h-data: getw and putw are not required in v6.
* conform/data/stdlib.h-data: Change setstate prototype.
* conform/data/string.h-data: Fix strerror_r prototype.
* conform/data/time.h-data: Fix typo in TIMER_ABSTIME definition.
* conform/data/unistd.h-data: pthread_atfork not required in v6.
Fix readlink prototype.
* conform/data/netinet/in.h-data: Add const to in6addr_any and
in6addr_loopback.
* inet/netinet/in.h: Cleanup namespace.
* posix/regex.h: Likewise.
* resolv/netdb.h: Likewise.
* sysdeps/unix/sysv/linux/bits/in.h: Likewise.
* sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise.
2008-01-16 10:11:18 +00:00
Ulrich Drepper
fbe90cd5c7
* conform/data/fmtmsg.h-data: Add missing allows.
...
* conform/data/ftw.h-data: Likewise.
* conform/data/inttypes.h-data: Likewise.
* conform/data/math.h-data: Likewise.
* conform/data/signal.h-data: Likewise.
* conform/data/net/if.h-data: Likewise.
* conform/data/netinet/in.h-data: Likewise.
* conform/data/sys/socket.h-data: Likewise.
2008-01-15 21:30:09 +00:00
Ulrich Drepper
ebca8f730e
[BZ #5614 ]
...
2008-01-15 Ulrich Drepper <drepper@redhat.com>
[BZ #5614 ]
* string/bits/string2.h (__strtok_r_1c): Always update *__NEXTP.
(__strtok_r): Simplify.
* string/tester.c (test_strtok_r): Add test case for futile search
with single-character seach string.
2008-01-15 19:11:51 +00:00
Ulrich Drepper
7c33ca8bb3
* po/ko.po: Update from translation team.
2008-01-12 17:31:39 +00:00
Andreas Jaeger
b8cc084892
[BZ #5600 ]
...
update
2008-01-11 Andreas Jaeger <aj@suse.de>
[BZ #5600 ]
* sysdeps/unix/sysv/linux/sys/signalfd.h (struct
signalfd_siginfo): Use 64-bit type for ssi_ptr to sync with Linux
kernel header.
2008-01-12 16:34:11 +00:00
Ulrich Drepper
49029a669d
* sysdeps/posix/getaddrinfo.c (rfc3484_sort): Store result of
...
native interface lookup in all the relevant places.
2008-01-10 22:30:58 +00:00
Ulrich Drepper
99f057989e
2008-01-10 Jakub Jelinek <jakub@redhat.com>
...
Ulrich Drepper <drepper@redhat.com>
2008-01-10 20:19:53 +00:00
Ulrich Drepper
0efd19566d
* sysdeps/posix/getaddrinfo.c (sort_results): Remove service_order
...
field. Use sockaddr_in6 for source_addr.
(get_scope): Change type of parameter to sockaddr_in6. Adjust.
(match_prefix): Likewise.
(get_label): Likewise.
(get_precedence): Likewise.
(rfc3484_sort): Change to use indirect access to results array.
Adjust to use of sockaddr_in6. Replace service_order test with
simple index comparison.
(getaddrinfo): Define order array. Initialize it. Don't initialize
service_order field. Adjust qsort_t calls. Access sorted result
array indirectly through order array.
* posix/tst-rfc3484.c: Adjust for change of rfc3484_sort.
* posix/tst-rfc3484-2.c: Likewise.
* posix/tst-rfc3484-3.c: Likewise.
2008-01-10 20:00:52 +00:00
Ulrich Drepper
f6bacb8ef4
[BZ #5541 ]
...
* sunrpc/rpc_thread.c (__rpc_thread_destroy): Also free xports and
pollfd structures.
Patch by André Cruz.
2008-01-09 21:52:40 +00:00
Ulrich Drepper
aa693c68be
[BZ #5545 ]
...
* sunrpc/clnt_perr.c (clnt_sperror): Don't use fixed size buffer.
(clnt_spcreateerror): Likewise.
2008-01-09 21:16:11 +00:00
Ulrich Drepper
b34437015b
[BZ #5553 ]
...
2008-01-09 Ulrich Drepper <drepper@redhat.com>
[BZ #5553 ]
* malloc/malloc.c (public_mALLOc): Set ar_ptr when trying main_arena.
(public_mEMALIGn): Likewise.
Patch mostly by Daniel Jacobowitz.
2008-01-09 20:35:03 +00:00
Ulrich Drepper
4b1b449d1d
008-01-08 Jakub Jelinek <jakub@redhat.com>
...
* iconv/loop.c (UPDATE_PARAMS): Define to empty statement if not
defined.
(REINIT_PARAMS): Likewise. Undefine before end of file.
(STANDARD_TO_LOOP_ERR_HANDLER): Use UPDATE_PARAMS before calling
transliteration hooks and REINIT_PARAMS afterwards.
* iconvdata/iso-2022-jp.c (BODY): Use a separate variable for
status.
(REINIT_PARAMS): Define.
* iconvdata/ibm1364.c (REINIT_PARAMS): Likewise.
* iconvdata/ibm930.c (REINIT_PARAMS): Likewise.
* iconvdata/ibm933.c (REINIT_PARAMS): Likewise.
* iconvdata/ibm935.c (REINIT_PARAMS): Likewise.
* iconvdata/ibm937.c (REINIT_PARAMS): Likewise.
* iconvdata/ibm939.c (REINIT_PARAMS): Likewise.
* iconvdata/iso-2022-cn.c (REINIT_PARAMS): Likewise.
* iconvdata/iso-2022-cn-ext.c (REINIT_PARAMS): Likewise.
* iconvdata/iso-2022-jp-3.c (REINIT_PARAMS): Likewise.
* iconvdata/iso-2022-kr.c (REINIT_PARAMS): Likewise.
* iconvdata/Makefile: Add rules to build and run tst-iconv7.c.
* iconvdata/tst-iconv7.c: New test.
2008-01-09 20:03:58 +00:00
Ulrich Drepper
148e12ed12
* sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext): Avoid
...
clobbering memory at or above uc_stack.ss_sp + uc_stack.ss_size.
* stdlib/Makefile: Add rules to build and run tst-makecontext2.
* stdlib/tst-makecontext2.c: New test.
2008-01-09 19:35:21 +00:00
Ulrich Drepper
71edcafa97
* libio/stdio.h (vscanf): Fix definition for loser compilers.
2008-01-08 01:19:15 +00:00
Jakub Jelinek
0fbfe2f7d8
[BZ #5112 ]
...
* nscd/connections.c (restart): Fix condition.
2008-01-05 Jakub Jelinek <jakub@redhat.com>
[BZ #5112 ]
* nscd/connections.c (restart): Fix condition.
2008-01-05 09:08:03 +00:00
Ulrich Drepper
8726a12e05
* ctype/ctype.h (__ctype_b_loc, __ctype_tolower_loc,
...
__ctype_toupper_loc): Add __THROW.
2008-01-03 19:51:01 +00:00
Ulrich Drepper
ad586879b1
* sysdeps/unix/sysv/linux/check_pf.c (make_request): Fix
...
recognition of interface family.
2008-01-03 00:25:03 +00:00
Ulrich Drepper
f4a1363eb3
* posix/getconf.c: Update copyright year.
...
* nss/getent.c: Likewise.
* iconv/iconvconfig.c: Likewise.
* iconv/iconv_prog.c: Likewise.
* elf/ldconfig.c: Likewise.
* catgets/gencat.c: Likewise.
* csu/version.c: Likewise.
* elf/ldd.bash.in: Likewise.
* elf/sprof.c (print_version): Likewise.
* locale/programs/locale.c: Likewise.
* locale/programs/localedef.c: Likewise.
* nscd/nscd.c (print_version): Likewise.
* debug/xtrace.sh: Likewise.
* malloc/memusage.sh: Likewise.
* malloc/mtrace.pl: Likewise.
* debug/catchsegv.sh: Likewise.
2008-01-02 19:26:03 +00:00
Ulrich Drepper
0dc6c5e4d6
* nss/nsswitch.c (__nss_lookup): Actually use alternative name in
...
second lookup.
2007-12-26 23:54:44 +00:00
Ulrich Drepper
80af8b826c
* sysdeps/x86_64/cacheinfo.c (intel_02_known): New entry 0x3f.
...
* sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
2007-12-23 19:32:44 +00:00
Roland McGrath
4bcecfb753
* inet/ether_line.c (ether_line): Remove unused variable.
...
2007-12-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
* login/forkpty.c (forkpty): Add const qualifier to parameters termp
and winp.
* login/openpty.c (openpty): Likewise.
* login/pty.h (openpty, forkpty): Likewise.
* manual/terminal.texi (openpty, forkpty): Likewise.
2007-12-17 21:22:17 +00:00
Ulrich Drepper
4cd4c5d6a2
* malloc/malloc.c (public_cALLOc): For arena other than
...
main_arena, count all bytes inside the mprotect_size range of the
heap as uninitialized.
2007-12-17 18:44:04 +00:00
Ulrich Drepper
d9961b6a4f
* elf/tst-execstack.c (do_test): Don't fail if SELinux forbids
...
executable stacks.
2007-12-17 00:00:57 +00:00
Ulrich Drepper
be8c1500c7
* malloc/tst-trim1.c: New file.
...
* malloc/Makefile (tests): Add tst-trim1.
2007-12-16 22:57:57 +00:00
Ulrich Drepper
68631c8eb9
* malloc/malloc.c (public_mTRIm): Iterate over all arenas and call
...
mTRIm for all of them.
(mTRIm): Additionally iterate over all free blocks and use madvise
to free memory for all those blocks which contain at least one
memory page.
* malloc/malloc.c (do_check_malloc_state): Minimal cleanups.
2007-12-16 22:53:08 +00:00
Ulrich Drepper
52386be756
* sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_gettimeofday):
...
Return long.
(__vdso_clock_gettime): Likewise.
2007-12-15 01:12:13 +00:00
Ulrich Drepper
78b767a0a6
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
...
First cast argument to long
* sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Functions
return long.
2007-12-14 23:38:23 +00:00
Ulrich Drepper
bc3e1c1273
* locale/nl_langinfo.c (nl_langinfo): Just call __nl_langinfo_l.
...
* locale/nl_langinfo_l.c: Real implementation, copied from
nl_langinfo.c.
* include/langinfo.h: Add libc_hidden_proto for __nl_langinfo_l.
2007-12-14 03:54:07 +00:00
Ulrich Drepper
77751669d7
* posix/regcomp.c (optimize_utf8): Fix a typo, s/idx/ctx_type/,
...
that would inhibit utf8-optimization of a regexp containing line-
or buffer-anchors, e.g., `^', `$'.
2007-12-12 18:28:58 +00:00
Ulrich Drepper
f63e506341
* time/bug-getdate1.c (do_test): Don't use century values which
...
aren't valid on 32-bit systems.
2007-12-12 18:23:00 +00:00
Ulrich Drepper
a78814a99a
[BZ #5477 ]
...
2007-12-12 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/i486/bits/string.h (memmove): Define as macro.
(memmove): Rename to __memmove_g, with __asm__ ("memmove").
* sysdeps/s390/bits/string.h (__strlen_g, __strcpy_g, __strncpy_g,
__strcat_g, __strncat_g): Add __asm__.
2007-12-12 Ulrich Drepper <drepper@redhat.com>
[BZ #5477 ]
* io/fchmodat.c: Fix typo in stub_warning use.
Patch by Petr Salinger.
2007-12-12 18:03:27 +00:00
Ulrich Drepper
58d1179512
[BZ #5463 , BZ #5464 ]
...
* iconvdata/hp-thai8.c: New file.
* iconvdata/Makefile: Add rules for hp-thai8.c.
* iconvdata/tst-tables.sh: Add entry for HP-THAI8.
* iconvdata/gconv-modules: Likewise.
[BZ #5464 ]
* iconvdata/hp-greek8.c: New file.
* iconvdata/Makefile: Add rules for hp-greek8.c.
* iconvdata/tst-tables.sh: Add entry for HP-GREEK8.
* iconvdata/gconv-modules: Likewise.
[BZ #5463 ]
* iconvdata/hp-turkish8.c: New file.
* iconvdata/Makefile: Add rules for hp-turkish8.c.
* iconvdata/tst-tables.sh: Add entry for HP-TURKISH8.
* iconvdata/gconv-modules: Likewise.
2007-12-12 08:07:33 +00:00
Ulrich Drepper
cbf5760e62
* malloc/arena.c (grow_heap): Split out code to shrink heap into...
...
(shrink_heap): ... this new function.
(heap_trim): Call shrink_heap instead of grow_heap.
2007-12-12 00:11:49 +00:00