Commit Graph

16198 Commits

Author SHA1 Message Date
Ulrich Drepper 231e783524 (__malloc_check_init): Remove printf. 2008-07-15 17:16:07 +00:00
Roland McGrath 6d4c073b46 * sysdeps/mach/hurd/bits/fcntl.h: Include <sys/types.h>. 2008-07-14 01:16:45 +00:00
Roland McGrath 9844ff30b2 2008-07-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
* sysdeps/mach/hurd/bits/fcntl.h: Include <sys/types.h>.
2008-07-14 01:16:41 +00:00
Ulrich Drepper b743241674 * nscd/connections.c (main_loop_poll): Fix handling of read errors
from inotify.
	(main_loop_epoll): Likewise.
2008-07-12 17:40:49 +00:00
Ulrich Drepper 46026b5589 * locales/iso14651_t1_common: Add Kannada collation support.
Patch by Pravin Satpute <psatpute@redhat.com>.
2008-07-11 17:05:42 +00:00
Ulrich Drepper 835113c60e * resolv/res_send.c: Remove unnecessary res_pquery prototype. 2008-07-09 22:41:56 +00:00
Ulrich Drepper fdc769f68b * resolv/res_query.c (__libc_res_nquery): Issue debug message only
if DEBUG is defined.
2008-07-09 20:48:04 +00:00
Ulrich Drepper 44abc397e6 * resolv/res_query.c (__libc_res_nquery): Align buffer for T_AAAA
query.  Adjust buffer size computation for padding.
2008-07-09 17:59:15 +00:00
Ulrich Drepper 75684bd7a8 * stdio-common/Makefile: Add rules to build and run tst-setvbuf1.
* stdio-common/tst-setvbuf1.c: New file.
	* stdio-common/tst-setvbuf1.expect: New file.
2008-07-08 16:32:55 +00:00
Ulrich Drepper 38dc8fad64 [BZ #6719]
2008-07-08  Ulrich Drepper  <drepper@redhat.com>
	[BZ #6719]
	* libio/iosetvbuf.c (_IO_setvbuf): Correctly clear buffering flags
	when selecting fully-buffered stream.
	Patch by Wang Xin <wxinee@gmail.com>.
2008-07-08 16:21:11 +00:00
Ulrich Drepper 80d4197644 [BZ #6713]
2008-07-08  Ulrich Drepper  <drepper@redhat.com>
	[BZ #6713]
	* charmaps/UTF-8: Fix U1DBA entry representation.
	Patch by Colin Watson.
2008-07-08 12:43:50 +00:00
Ulrich Drepper a7b37d398d Fix U1DBA entry representation. 2008-07-08 12:43:04 +00:00
Roland McGrath 107f4ac2e5 * sysdeps/mach/hurd/open.c: Include <stdio.h>.
(__open_2): New function.
	(__open64_2): New alias to __open_2.
	* sysdeps/mach/hurd/openat.c: Include <stdio.h>.
	(__openat_2): New function.
	(__openat64_2): New alias to __openat_2.
2008-07-07 00:41:09 +00:00
Roland McGrath f20ac01059 2008-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
* sysdeps/mach/hurd/open.c: Include <stdio.h>.
	(__open_2): New function.
	(__open64_2): New alias to __open_2.
	* sysdeps/mach/hurd/openat.c: Include <stdio.h>.
	(__openat_2): New function.
	(__openat64_2): New alias to __openat_2.
2008-07-07 00:41:05 +00:00
Ulrich Drepper 45ec3e79a8 [BZ #6723]
..
2008-07-06  Ulrich Drepper  <drepper@redhat.com>

	[BZ #6723]
	* time/mktime.c (__mktime_internal): Normalize tp->tm_isdst value.
2008-07-06 21:19:37 +00:00
Ulrich Drepper d35a163b3d (__mktime_internal): Normalize tp->tm_isdst value. 2008-07-06 21:17:58 +00:00
Roland McGrath d5a0160b58 * sysdeps/mach/hurd/recv.c (__recv): Initialize NPORTS.
* sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
	* sysdeps/mach/hurd/recvmsg.c (__recvmsg): Likewise.
	* hurd/fd-read.c (_hurd_fd_read): Initialize NREAD.
	* hurd/get-host.c (_hurd_get_host_config): Likewise.
	* sysdeps/mach/hurd/dl-sysdep.c (__libc_read): Likewise.
2008-07-02 19:35:02 +00:00
Roland McGrath 0a583b5419 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Define MSG_NOSIGNAL.
* hurd/hurd/fd.h (__hurd_sockfail): Add extern inline function.
	* sysdeps/mach/hurd/recv.c (__recv): Use __hurd_sockfail instead of
	__hurd_dfail.
	* sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
	* sysdeps/mach/hurd/recvmsg.c (__recvmsg): Likewise.
	* sysdeps/mach/hurd/send.c (__send): Likewise.
	* sysdeps/mach/hurd/sendto.c (__sendfrom): Likewise.
	* sysdeps/mach/hurd/sendmsg.c (__sendmsg): Likewise.
2008-07-02 09:54:02 +00:00
Roland McGrath e66ecb226e 2008-07-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
* sysdeps/unix/bsd/bsd4.4/bits/socket.h: Define MSG_NOSIGNAL.
	* hurd/hurd/fd.h (__hurd_sockfail): Add extern inline function.
	* sysdeps/mach/hurd/recv.c (__recv): Use __hurd_sockfail instead of
	__hurd_dfail.
	* sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise
	* sysdeps/mach/hurd/recvmsg.c (__recvmsg): Likewise
	* sysdeps/mach/hurd/send.c (__send): Likewise
	* sysdeps/mach/hurd/sendfrom.c (__sendfrom): Likewise
	* sysdeps/mach/hurd/sendmsg.c (__sendmsg): Likewise
2008-07-02 09:53:29 +00:00
Ulrich Drepper cc9f65ce82 Remove use of __P. 2008-06-27 21:36:13 +00:00
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