Ulrich Drepper
5ee0f5e2d9
* resolv/res_debug.c (__p_type_syms): Add ns_t_dname entry.
2008-06-27 18:27:27 +00:00
Ulrich Drepper
80922a99e3
[BZ #6657 ]
...
2008-06-27 Ulrich Drepper <drepper@redhat.com>
[BZ #6657 ]
* time/strptime_l.c: Don't clear s.era_cnt after successful match
of %EY.
Patch by Petr Baudis.
2008-06-27 17:27:39 +00:00
Ulrich Drepper
34ca2ff7da
* resolv/res_debig.c (__p_type_syms): Add ns_t_dname entry.
...
Patch by Peter Jones <pjones@redhat.com>.
2008-06-27 04:45:06 +00:00
Ulrich Drepper
104426b654
[BZ #6654 ]
...
2008-06-25 Ulrich Drepper <drepper@redhat.com>
[BZ #6654 ]
* stdlib/canonicalize.c (__realpath): readlink can write too much
into the buffer on platforms without PATH_MAX.
2008-06-26 00:42:12 +00:00
Ulrich Drepper
4cb8e687af
[BZ #6653 ]
2008-06-25 23:27:16 +00:00
Ulrich Drepper
7166d23fb4
* posix/tst-regex.c (main): Rename to...
...
(do_test): ... this. Remove cmdline option processing.
(TIMEOUT): Define.
(TEST_FUNCTION): Define.
(CMDLINE_OPTIONS): Define.
2008-06-25 23:26:07 +00:00
Ulrich Drepper
974069d864
[BZ #5210 ]
...
2008-06-25 Ulrich Drepper <drepper@redhat.com>
[BZ #5210 ]
* configure.in: Add -Werror to -fstack-protector test to catch
unsupported architectures.
Patch by Gilles Esponasse <g.esp@free.fr>.
2008-06-25 19:37:46 +00:00
Ulrich Drepper
a40fbc8dca
[BZ #5814 ]
...
2008-06-25 Ulrich Drepper <drepper@redhat.com>
[BZ #5814 ]
* locales/fi_FI: Fix separator for hours, minutes, and seconds.
2008-06-25 19:33:49 +00:00
Ulrich Drepper
cefa2dd3fe
* stdlib/tst-setcontext.c: Set back_in_main before exit if
...
getcontext returns ENOSYS.
2008-06-25 17:59:16 +00:00
Ulrich Drepper
99ae13c825
* locales/iso14651_t1_common: Add support for Gurumukhi script.
...
Patch by Pravin Satpute <psatpute@redhat.com>.
2008-06-24 16:59:47 +00:00
Ulrich Drepper
c00d112835
* nscd/connections.c (main_loop_poll): Fix test for read error.
...
(main_loop_epoll): Likewise.
2008-06-18 22:28:58 +00:00
Ulrich Drepper
d0a1ae9464
* sysdeps/posix/getaddrinfo.c: Move _res_hconf_init call to a
...
better place so it is not called when nscd is used.
2008-06-13 23:35:47 +00:00
Ulrich Drepper
a0edbb484a
* nscd/connections.c: Also recognize and handle changes to the
...
resolver configuration file.
2008-06-13 16:31:07 +00:00
Ulrich Drepper
5bcc6c0f96
[BZ #6612 ]
...
* time/strftime.c: Pass reference to tzset_called around to handle
recursive calls.
[BZ #6612 ]
* time/strftime.c (__strftime_internal): Call tzset() only
when printing timezone-dependent values.
Based on a patch by Petr Baudis <pasky@suse.cz>.
2008-06-13 06:08:54 +00:00
Ulrich Drepper
f854efd722
* resolv/nss_dns/dns-host.c (gaih_getanswer): Don't
...
unconditionally use second gaih_getanswer_slice result.
2008-06-13 04:36:35 +00:00
Ulrich Drepper
46f70b3ce8
* sysdeps/posix/getaddrinfo.c (gai_inet): Remove unnecessary test.
...
(getaddrinfo): RES must always be non-NULL.
2008-06-13 02:12:05 +00:00
Ulrich Drepper
9ea8bfec35
* sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Avoid using
...
cr[34] registers.
* sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf): Likewise.
* sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Avoid using cr3
register.
2008-06-13 01:18:22 +00:00
Ulrich Drepper
5228ba2fe8
* nscd/nscd.h (struct database_dyn): Add inotify_descr and clear_cache
...
fields.
* nscd/connections.c (inotify_fd): New variable.
(nscd_init): Try to open an inotify descriptor.
If successful, watch files for databases using inotify instead of
having prune threads stat the files.
(nscd_run_prune): Recognize clear_cache flag being set and call
prune_cache appropriately.
(main_loop_poll): Add inotify descriptor to wait set and handle the
reported changes.
(main_loop_epoll): Likewise.
* nscd/cache.c (prune_cache): Don't stat files for databases if
inotify is used.
* sysdeps/unix/sysv/linux/Makefile [subdir=nscd]
(CFLAGS-connections.c): Add -DHAVE_INOTIFY.
2008-06-12 22:40:27 +00:00
Ulrich Drepper
5a337776da
* nscd/grpcache.c (cache_addgr): Correctly compute size of
...
fixed-size portion of the record.
* nscd/servicescache.c (cache_addserv): Likewise.
* nscd/pwdcache.c (cache_addpw): Likewise.
* nscd/initgrcache.c (addinitgroupsX): Likewise.
2008-06-12 16:16:38 +00:00
Ulrich Drepper
9ad58cc3ba
* nscd/mem.c (gc): Initialize obstack earlier so that if we jump
...
out we don't use uninitialized memory.
* nscd/hstcache.c (cache_addhst): Send correct number of bytes to
the client.
2008-06-12 04:52:39 +00:00
Ulrich Drepper
c128355211
* resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Also log and
...
ignore T_DNAME messages.
* resolv/arpa/nameser_compat.h (T_DNAME): Define.
2008-06-10 22:36:45 +00:00
Ulrich Drepper
c536b04dbc
(T_DNAME): Define.
2008-06-10 22:35:01 +00:00
Jakub Jelinek
eef8a803a6
* misc/regexp.h (compile): Use __REPB_PREFIX macro.
...
Avoid segfault if first GETC returns eof/'\0'/'\n'.
2008-06-05 Jakub Jelinek <jakub@redhat.com>
* misc/regexp.h (compile): Use __REPB_PREFIX macro.
Avoid segfault if first GETC returns eof/'\0'/'\n'.
2008-06-06 19:23:39 +00:00
Jakub Jelinek
ee78670e26
* nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Pass cp
...
instead of portstr to nscd_getserv_r. Patch by
Roman Kagan <rkagan@mail.ru>.
2008-06-03 Jakub Jelinek <jakub@redhat.com>
* nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Pass cp
instead of portstr to nscd_getserv_r. Patch by
Roman Kagan <rkagan@mail.ru>.
2008-06-03 10:22:52 +00:00
Ulrich Drepper
10bb97c793
(tests): Add tst-rwlock2a.
2008-05-31 08:56:14 +00:00
Ulrich Drepper
e4d6e7f5c0
* sysdeps/pthread/pthread.h: Fix typo in comment.
2008-05-29 14:53:01 +00:00
Ulrich Drepper
d6296e885d
* sysdeps/pthread/createthread.c (do_clone): Pass accurate length
...
of CPU set to the kernel.
2008-05-29 05:53:30 +00:00
Ulrich Drepper
7c0ad1645f
(do_clone): Pass accurate length of CPU set to the kernel.
2008-05-29 05:53:18 +00:00
Roland McGrath
109666405b
typo
...
Remove more useless "if" tests before "free".
2008-05-28 00:18:33 +00:00
Ulrich Drepper
62605cbfcb
Remove useless more "if" tests before "free".
...
* include/inline-hashtab.h (htab_delete): Likewise.
* libio/freopen.c (freopen): Likewise.
* libio/freopen64.c (freopen64): Likewise.
* locale/programs/ld-collate.c (collate_read): Likewise.
* misc/fstab.c (libc_freeres_fn): Likewise.
* posix/glob.c (globfree): Likewise.
2008-05-27 06:04:07 +00:00
Ulrich Drepper
4b2c85c0b9
* tst-typesizes.c: Explicitly check __SIZEOF_PTHREAD_* constants.
...
David S. Miller <davem@davemloft.net>
2008-05-26 17:02:55 +00:00
Ulrich Drepper
f63abf584c
* string/Makefile (strop-tests): Add memmem.
...
* string/test-memmem.c: New file.
* string/test-string.h (BUF1PAGES): Define to 1 if undefined.
(test_init): Size buf1 according to BUF1PAGES.
* stdio-common/scanf16.c: New file.
* stdio-common/scanf17.c: New file.
* scripts/data/localplt-sparc64-linux-gnu.data: New file.
2008-05-25 00:17:34 +00:00
Ulrich Drepper
b5ba2c790c
answers and the server reports SERVFAIL, NOTIMP, or REFUSED, then
2008-05-24 19:17:41 +00:00
Jakub Jelinek
ad8a551196
* libio/stdio.h (vscanf): Fix -std=c99 redirect.
...
* stdio-common/Makefile (tests): Add scanf16 and scanf17.
(CFLAGS-scanf17.c): New.
* stdio-common/scanf14.c (main): Add fscanf and scanf tests.
* stdio-common/scanf15.c (main): Likewise.
* stdio-common/scanf16.c: New test.
* stdio-common/scanf17.c: New test.
2008-05-24 Jakub Jelinek <jakub@redhat.com>
* libio/stdio.h (vscanf): Fix -std=c99 redirect.
* stdio-common/Makefile (tests): Add scanf16 and scanf17.
(CFLAGS-scanf17.c): New.
* stdio-common/scanf14.c (main): Add fscanf and scanf tests.
* stdio-common/scanf15.c (main): Likewise.
* stdio-common/scanf16.c: New test.
* stdio-common/scanf17.c: New test.
2008-05-24 18:14:36 +00:00
Ulrich Drepper
e200388380
* resolv/res_send.c (send_dg): If we already have one of two
...
answers and the server reports SERVFAI, NOTIMP, or REFUSED, then
use the one answer insted of failing.
2008-05-24 17:51:45 +00:00
Ulrich Drepper
acbb987309
* math/libm-test.inc (exp_test): Exclude expl(1000.0L) from
...
being executed on PowerPC as the expected result exceeds IBM
long double 128 __LDBL_MAX__.
2008-05-22 20:00:18 +00:00
Ulrich Drepper
8fb0af98d8
Work around braindead IBM128 long double format.
2008-05-22 19:59:10 +00:00
Roland McGrath
e85f1d6af4
* shlib-versions (sparc.*-.*-.*, sparc64.*-.*-.*): Add ABI lines.
...
* Makefile (check-data): Use $(abi-name) before other guesses.
Look in $(add-ons) dirs before scripts/data/.
* elf/Makefile (check-data): Likewise.
* scripts/soversions.awk: Grok ABI line.
* Makeconfig ($(common-objpfx)soversions.mk): Likewise.
Emit definition for abi-name variable.
if [__USE_BSD].
2008-05-22 00:04:21 +00:00
Roland McGrath
6fa165975f
2008-05-21 Roland McGrath <roland@redhat.com>
...
* scripts/soversions.awk: Grok ABI line.
* Makeconfig ($(common-objpfx)soversions.mk): Likewise.
Emit definition for abi-name variable.
2008-05-22 00:03:36 +00:00
Ulrich Drepper
e92799fc45
* string/endian.h: Define new fixed-size hto* and *toh macros only
...
is __USE_BSD.
2008-05-21 23:39:35 +00:00
Ulrich Drepper
d8e763c60e
* iconvdata/Depend: Add localedata.
2008-05-21 22:45:53 +00:00
Ulrich Drepper
da4265818a
Add localedata.
2008-05-21 22:45:28 +00:00
Roland McGrath
009ef3331a
* bits/termios.h (ONLCR): Define under [__USE_XOPEN] too.
2008-05-21 19:37:15 +00:00
Roland McGrath
844625b5cd
2008-05-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
...
* bits/termios.h (ONLCR): Define under [__USE_XOPEN] too.
2008-05-21 19:37:10 +00:00
Ulrich Drepper
e564d29d8e
Remove U0C0D entry added for Telugu.
2008-05-21 15:13:02 +00:00
Ulrich Drepper
7adbb39dd8
* locales/iso14651_t1_common: Remove U0C0D entry added for Telugu.
...
Reported by Pravin Satpute.
2008-05-21 15:12:48 +00:00
Jakub Jelinek
86746abb84
* sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S: Use
...
HIDDEN_JUMPTARGET.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
(__SYSCALL_CLOBBERS): Remove %g* registers.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
(__SYSCALL_CLOBBERS): Likewise.
* scripts/data/localplt-sparc-linux-gnu.data: New file.
* scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2008-05-08 David S. Miller <davem@davemloft.net>
* sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S: Use
HIDDEN_JUMPTARGET.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
(__SYSCALL_CLOBBERS): Remove %g* registers.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
(__SYSCALL_CLOBBERS): Likewise.
* scripts/data/localplt-sparc-linux-gnu.data: New file.
* scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2008-05-21 09:29:07 +00:00
Jakub Jelinek
5e6f34c2a0
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
...
(CALL_ERRNO_LOCATION): Define.
(__SYSCALL_STRING, __CLONE_SYSCALL_STRING): Use it.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
(CALL_ERRNO_LOCATION): Define.
(__SYSCALL_STRING, __CLONE_SYSCALL_STRING): Use it.
* sysdeps/unix/sysv/linux/sparc/sparc64/brk.S (__brk): Use
HIDDEN_JUMPTARGET for __errno_location call in libc.so.
2008-05-21 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
(CALL_ERRNO_LOCATION): Define.
(__SYSCALL_STRING, __CLONE_SYSCALL_STRING): Use it.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
(CALL_ERRNO_LOCATION): Define.
(__SYSCALL_STRING, __CLONE_SYSCALL_STRING): Use it.
* sysdeps/unix/sysv/linux/sparc/sparc64/brk.S (__brk): Use
HIDDEN_JUMPTARGET for __errno_location call in libc.so.
2008-05-21 08:48:21 +00:00
Jakub Jelinek
b72f5692e8
2008-05-20 Jakub Jelinek <jakub@redhat.com>
...
David S. Miller <davem@davemloft.net>
* sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: New file.
2008-05-21 06:47:47 +00:00
Ulrich Drepper
4beb4532eb
* include/inline-hashtab.h (higher_prime_number): Fix type of mid
...
variable.
2008-05-20 22:57:05 +00:00