platform/upstream/glibc.git
19 years ago* rt/tst-timer2.c (do_test): If timer_create fails, just continue.
Roland McGrath [Wed, 11 Aug 2004 23:32:56 +0000 (23:32 +0000)]
* rt/tst-timer2.c (do_test): If timer_create fails, just continue.

* rt/tst-timer4.c (do_test): If one of the timer_create calls fails,
return 1 immediately.

19 years ago* posix/tst-waitid.c (do_test): Ignore SIGCHLD before cleanup SIGKILL.
Roland McGrath [Wed, 11 Aug 2004 19:29:42 +0000 (19:29 +0000)]
* posix/tst-waitid.c (do_test): Ignore SIGCHLD before cleanup SIGKILL.

19 years ago2004-08-11 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 11 Aug 2004 19:29:35 +0000 (19:29 +0000)]
2004-08-11  Roland McGrath  <roland@redhat.com>

* posix/tst-waitid.c (do_test): Ignore SIGCHLD before cleanup SIGKILL.

19 years agoUpdate.
Ulrich Drepper [Wed, 11 Aug 2004 19:26:20 +0000 (19:26 +0000)]
Update.

2004-08-11  Ulrich Drepper  <drepper@redhat.com>

* time/tzset.c (tzset_internal): Add new parameter which is
nonzero if called through tzset.  Use TZDEFAULT name including
name comparison if the new parameter is zero.  This means implicit
tzset calls will not cause files to be opened and read by tzfile.c
all the time.

2004-08-11  Jakub Jelinek  <jakub@redhat.com>

* time/tzfile.c (__tzfile_read): Free transitions only if it will
not be reused.

19 years ago(tzset_internal): Add new parameter which is nonzero if called through tzset. Use...
Ulrich Drepper [Wed, 11 Aug 2004 19:24:24 +0000 (19:24 +0000)]
(tzset_internal): Add new parameter which is nonzero if called through tzset.  Use TZDEFAULT name including name comparison if the new parameter is zero.  This means implicit tzset calls will not cause files to be opened and read by tzfile.c all the time.

19 years ago* sysdeps/ieee754/dbl-64/mpa.c: Include <sys/param.h>.
Roland McGrath [Wed, 11 Aug 2004 18:54:46 +0000 (18:54 +0000)]
* sysdeps/ieee754/dbl-64/mpa.c: Include <sys/param.h>.

* sysdeps/ieee754/dbl-64/mpa.h (MAX, MIN): Macros removed.

* stdio-common/tst-popen.c: Include <string.h>.

* resolv/res_send.c (__libc_res_nsend): Only define TMPBUF #if DEBUG.

19 years ago* sysdeps/pthread/aio_misc.c (handle_fildes_io): Remove noreturn
Roland McGrath [Wed, 11 Aug 2004 18:51:13 +0000 (18:51 +0000)]
* sysdeps/pthread/aio_misc.c (handle_fildes_io): Remove noreturn

attribute.  Return NULL instead of calling pthread_exit at the end.

19 years ago* iconvdata/testdata/ISO-2022-JP-3: Regenerated.
Roland McGrath [Wed, 11 Aug 2004 18:47:15 +0000 (18:47 +0000)]
* iconvdata/testdata/ISO-2022-JP-3: Regenerated.

19 years ago* sysdeps/generic/bits/in.h (struct ip_mreq): Remove definition.
Roland McGrath [Tue, 10 Aug 2004 22:05:32 +0000 (22:05 +0000)]
* sysdeps/generic/bits/in.h (struct ip_mreq): Remove definition.

19 years ago[BZ #316]
Roland McGrath [Tue, 10 Aug 2004 18:01:40 +0000 (18:01 +0000)]
[BZ #316]

2004-08-10  Jakub Jelinek  <jakub@redhat.com>
* libio/bits/stdio.h (fread_unlocked): Cast 0 to (size_t).
(fwrite_unlocked): When checking if size * n is <= 8, cast each
argument to size_t individually.  Cast n to (void) instead of
(size_t), surround with (), return (size_t) 0 if one of n or size
is 0.  [BZ #316]
* stdio-common/Makefile (tests): Add tst-unlockedio.
* stdio-common/tst-unlockedio.c: New test.

19 years ago* FAQ: Regenerated.
Roland McGrath [Tue, 10 Aug 2004 05:12:42 +0000 (05:12 +0000)]
* FAQ: Regenerated.

19 years ago* manual/install.texi (Supported Configurations): Replace bug-glibc
Roland McGrath [Tue, 10 Aug 2004 05:11:19 +0000 (05:11 +0000)]
* manual/install.texi (Supported Configurations): Replace bug-glibc

mention with web URL.
* INSTALL: Regenerated.
* locale/iso-3166.def: Likewise, in comment.
* locale/iso-4217.def: Likewise.
* locale/iso-639.def: Likewise.
* posix/cpio.h: Remove bug reporting comment.

19 years ago2004-08-09 Roland McGrath <roland@frob.com>
Roland McGrath [Tue, 10 Aug 2004 05:10:38 +0000 (05:10 +0000)]
2004-08-09  Roland McGrath  <roland@frob.com>

* manual/install.texi (Supported Configurations): Replace bug-glibc
mention with web URL.
* INSTALL: Regenerated.
* locale/iso-3166.def: Likewise, in comment.
* locale/iso-4217.def: Likewise.
* locale/iso-639.def: Likewise.
* posix/cpio.h: Remove bug reporting comment.

19 years ago[BZ #309]
Ulrich Drepper [Tue, 10 Aug 2004 04:38:50 +0000 (04:38 +0000)]
[BZ #309]

Update.
* libio/bits/stdio.h (fread_unlocked): Add a couple of (size_t)
casts to handle funny calls with floating point argument values
and signed values correctly and without warning.
(fwrite_unlocked): Likewise.  [BZ #309]

19 years ago[BZ #285]
Ulrich Drepper [Tue, 10 Aug 2004 04:18:14 +0000 (04:18 +0000)]
[BZ #285]

Update.
* malloc/memusage.c (me): Use creat64, not creat.
* malloc/memusagestat.c: Fix handling of very large sizes.  [BZ #285]
Patch by Guy Maor <guymaor@yahoo.com>.

19 years ago[BZ #253]
Ulrich Drepper [Tue, 10 Aug 2004 04:09:50 +0000 (04:09 +0000)]
[BZ #253]

Update.
* elf/ldconfig.c (options): Mark parameter option names as
translatable.  [BZ #253]  Patch by Jakub Bogusz <qboosh@pld-linux.org>.

19 years ago(options): Mark parameter option names as translatable.
Ulrich Drepper [Tue, 10 Aug 2004 04:04:32 +0000 (04:04 +0000)]
(options): Mark parameter option names as translatable.

19 years ago* FAQ.in: Refer to web pages instead of bug-glibc.
Roland McGrath [Tue, 10 Aug 2004 03:01:13 +0000 (03:01 +0000)]
* FAQ.in: Refer to web pages instead of bug-glibc.

19 years agoRefer to web pages instead of bug-glibc.
Roland McGrath [Tue, 10 Aug 2004 03:00:24 +0000 (03:00 +0000)]
Refer to web pages instead of bug-glibc.

19 years ago[BZ #194]
Ulrich Drepper [Tue, 10 Aug 2004 02:01:08 +0000 (02:01 +0000)]
[BZ #194]

Update.
2004-08-09  Ulrich Drepper  <drepper@redhat.com>

* iconv/gconv_charset.h (strip): Also allow comma which is what is
used to separate options.  [BZ #194]

19 years ago(strip): Also allow comma which is what is used to separate options.
Ulrich Drepper [Tue, 10 Aug 2004 01:10:44 +0000 (01:10 +0000)]
(strip): Also allow comma which is what is used to separate options.

19 years ago* time/strptime_l.c: #include <stdbool.h>, `bool' used in last change.
Roland McGrath [Mon, 9 Aug 2004 19:47:49 +0000 (19:47 +0000)]
* time/strptime_l.c: #include <stdbool.h>, `bool' used in last change.

19 years ago2004-08-09 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 9 Aug 2004 19:47:44 +0000 (19:47 +0000)]
2004-08-09  Roland McGrath  <roland@redhat.com>

* time/strptime_l.c: #include <stdbool.h>, `bool' used in last change.

19 years ago[BZ #154]
Ulrich Drepper [Mon, 9 Aug 2004 07:24:19 +0000 (07:24 +0000)]
[BZ #154]

Update.
2004-08-09  Ulrich Drepper  <drepper@redhat.com>

* time/tzset.c (tzset_internal): If TZ is not set do not compare
old and new tz value since it might be /etc/localtime in both
cases although the file changed.  [BZ #154]
Patch by Christian Franke <franke@computer.org>.

* time/tzfile.c (__tzfile_read): Determine dev/ino of file.
Compare with values of previously opened file.  Don't do anything
is they match.

19 years ago[BZ #116]
Ulrich Drepper [Mon, 9 Aug 2004 06:41:04 +0000 (06:41 +0000)]
[BZ #116]

Update.
* elf/dl-load.c (_dl_map_object): If __RTLD_CALLMAP flag is set,
reset loader before the actual loading.
* elf/dl-open.c (dl_open_worker): If file name contains no path
element determine map of caller.  Pass caller map in this case to
_dl_map_object.  Set __RTLD_CALLMAP in mode.
* include/dlfcn.h (__RTLD_CALLMAP): Define.  [BZ #116]
Patch by Greg Wolodkin <greg@mathworks.com>.

19 years ago[BZ #108]
Ulrich Drepper [Mon, 9 Aug 2004 02:50:47 +0000 (02:50 +0000)]
[BZ #108]

Update.
* misc/syslog.c (openlog_internal): Always try both UDP and TCP.
[BZ #108]  Patch mainly by Bjorn Andersson <bjorn@iki.fi>.

19 years ago[BZ #106]
Ulrich Drepper [Mon, 9 Aug 2004 01:01:10 +0000 (01:01 +0000)]
[BZ #106]

Update.
* configure.in: Also recognize i786. [BZ #106]
Patch by <pluto@pld-linux.org>.

19 years ago[BZ #95]
Ulrich Drepper [Mon, 9 Aug 2004 00:51:39 +0000 (00:51 +0000)]
[BZ #95]

Update.
* resolv/res_query.c (__libc_res_nsearch): Correctly test whether
name contains any dots. [BZ #95]

19 years agoUpdate.
Ulrich Drepper [Mon, 9 Aug 2004 00:25:37 +0000 (00:25 +0000)]
Update.

* resolv/res_send.c: Compiling with DEBUG defined works again.
* resolv/gethnamaddr.c (dprintf): Renamed to Dprintf.  Adjust all
callers.

19 years ago[BZ #41]
Ulrich Drepper [Sun, 8 Aug 2004 22:51:05 +0000 (22:51 +0000)]
[BZ #41]

Update.
* resolv/tst-leaks.c (TIMEOUT): Define so that if no server is
available the process is not killed. [BZ #41]

19 years ago[BZ #33]
Ulrich Drepper [Sun, 8 Aug 2004 22:39:46 +0000 (22:39 +0000)]
[BZ #33]

Update.
* intl/tst-gettext.c (main): Improve some messages. [BZ #33]

19 years ago[BZ #28]
Ulrich Drepper [Sun, 8 Aug 2004 22:20:57 +0000 (22:20 +0000)]
[BZ #28]

Update.
* time/strptime_l.c (__strptime_internal): Fix handling of %Ey.
[BZ #28]

19 years agoUpdate.
Ulrich Drepper [Sun, 8 Aug 2004 15:31:22 +0000 (15:31 +0000)]
Update.

2004-08-08  Ulrich Drepper  <drepper@redhat.com>

* po/sv.po: Update from translation team.

19 years ago[BZ #19]
Ulrich Drepper [Sat, 7 Aug 2004 23:38:40 +0000 (23:38 +0000)]
[BZ #19]

Update.
2004-08-07  Petter Reinholdtsen  <pere@hungry.com>

* Makefile (test-input): Add tr_TR.UTF-8 sorting test.  Test case
for BZ #19.
* tr_TR.in: New file.

19 years agoUpdate.
Ulrich Drepper [Sat, 7 Aug 2004 18:22:26 +0000 (18:22 +0000)]
Update.

* inet/netinet/in.h: Add more const to the setipv4soucefilter,
getsourcefilter, and setsourcefilter parameter list.
* sysdeps/generic/setipv4sourcefilter.c: Likewise.
* sysdeps/generic/getsourcefilter.c: Likewise.
* sysdeps/generic/setsourcefilter.c: Likewise.
* sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
* sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
* sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.

19 years agoUpdate.
Ulrich Drepper [Sat, 7 Aug 2004 17:01:59 +0000 (17:01 +0000)]
Update.

2004-08-07  Ulrich Drepper  <drepper@redhat.com>

* po/tr.po: Update from translation team.

19 years agoUpdate.
Ulrich Drepper [Sat, 7 Aug 2004 09:40:42 +0000 (09:40 +0000)]
Update.

2004-08-07  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
Remove unnecessary exception handling data.

19 years agoUpdate.
Ulrich Drepper [Fri, 6 Aug 2004 18:32:16 +0000 (18:32 +0000)]
Update.

2004-08-06  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/jisx0213.h (jisx0213_added_in_2004_p): Fix typo.
Reported by Paolo Bonzini.

2004-08-06  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add
always_inline.
* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_runtime_setup,
elf_machine_fixup_plt, elf_machine_plt_conflict): Likewise.

* sysdeps/unix/sysv/linux/netatalk/at.h: Include bits/sockaddr.h
before including linux/atalk.h.

* resolv/res_libc.c: Include atomic.h.

* intl/finddomain.c (free_mem): Rename to...
(_nl_finddomain_subfreeres): ... this.  Add
__libc_freeres_fn_section.
* intl/loadmsgcat.c (_nl_unload_domain): Add
__libc_freeres_fn_section.
* intl/gettextP.h (_nl_unload_domain): Move into #ifdef _LIBC.
Add attribute_hidden.
(_nl_findomain_subfreeres): New prototype.
* iconv/gconv_db.c (free_mem): Call _nl_findomain_subfreeres.

19 years agoUpdate.
Ulrich Drepper [Fri, 6 Aug 2004 09:25:59 +0000 (09:25 +0000)]
Update.

2004-07-30  Guido Guenther  <agx@sigxcpu.org>

* nss/getent.c (passwd_keys): Use strtoul instead of isdigit to
test if the key is numeric or not.
(group_keys): Likewise.

19 years ago[BZ #211]
Ulrich Drepper [Fri, 6 Aug 2004 05:04:49 +0000 (05:04 +0000)]
[BZ #211]

Update.
* sysdeps/unix/sysv/linux/getsourcefilter.c: New file. [BZ #211]

19 years agoUpdate.
Ulrich Drepper [Fri, 6 Aug 2004 04:56:04 +0000 (04:56 +0000)]
Update.

* inet/netinet/in.h: Define struct ip_msfilter, IP_MSFILTER_SIZE,
struct group_filter, and GROUP_FILTER_SIZE.
* include/sys/socket.h: Declare __getsockopt.
* sysdeps/unix/sysv/linux/setipv4sourcefilter.c: New file.
* sysdeps/unix/sysv/linux/getipv4sourcefilter.c: New file.
* sysdeps/unix/sysv/linux/setsourcefilter.c: New file.
* sysdeps/unix/sysv/linux/getsourcefilter.c: New file.

19 years agoUpdate.
Ulrich Drepper [Fri, 6 Aug 2004 00:51:08 +0000 (00:51 +0000)]
Update.

2004-08-05  Ulrich Drepper  <drepper@redhat.com>

* po/ko.po: Update from translation team.

19 years agoUpdate.
Ulrich Drepper [Thu, 5 Aug 2004 23:32:24 +0000 (23:32 +0000)]
Update.

2004-08-04  Jakub Jelinek  <jakub@redhat.com>

* hesiod/hesiod.c (__hesiod_res_get): Use calloc instead of malloc +
memset.
(__hesiod_res_set): Free nsaddrs.

* include/resolv.h (__res_maybe_init): Add prototype.
* resolv/resolv.h (struct __res_state): Add _u._ext.initstamp field.
* resolv/Versions (libc): Add __res_maybe_init@@GLIBC_PRIVATE.
* resolv/res_libc.c (__res_initstamp, lock): New variables.
(res_init): Increase __res_initstamp.
(__res_maybe_init): New function.
* resolv/res_init.c (__res_vinit): Initialize _u._ext.initstamp.
* hesiod/hesiod.c (__hesiod_res_get): Use __res_maybe_init instead
of RES_INIT check and {res_ninit,__res_ninit,res_init} call.
* sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r,
_nss_dns_gethostbyaddr_r): Likewise.
* resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r,
_nss_dns_getnetbyaddr_r): Likewise.
* resolv/gethnamaddr.c (gethostbyname, gethostbyname2,
gethostbyaddr): Likewise.
* resolv/res_data.c (fp_nquery, res_mkquery, res_mkupdate,
res_isourserver, res_sendsigned, res_update, res_search,
res_querydomain): Likewise.
* nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Likewise.
* nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
* nss/getnssent_r.c (__nss_setent, __nss_endent, __nss_getent_r):
Likewise.

* sysdeps/posix/getaddrinfo.c (gaih_inet): Set ai_family for
V4-mapped IPv6 addresses and req->ai_family==AF_INET.
Reported by A. Guru <a.guru@sympatico.ca>.

* po/pl.po: Likewise.
characters than necessary.

19 years agoUpdate.
Ulrich Drepper [Thu, 5 Aug 2004 20:41:03 +0000 (20:41 +0000)]
Update.

* po/sk.po: Likewise.

19 years agoUpdate.
Ulrich Drepper [Thu, 5 Aug 2004 19:58:29 +0000 (19:58 +0000)]
Update.

2004-08-05  Ulrich Drepper  <drepper@redhat.com>

* po/sv.po: Update from translation team.

19 years agoUpdate.
Ulrich Drepper [Thu, 5 Aug 2004 18:55:24 +0000 (18:55 +0000)]
Update.

    Ulrich Drepper  <drepper@redhat.com>

* wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Don't read more input
character than necessary.

2004-08-05  Ulrich Drepper  <drepper@redhat.com>

* wcsmbs/Makefile (tests): Add tst-mbsrtowcs.
* wcsmbs/tst-mbsrtowcs.c: New file.

* po/fr.po: Update from translation team.

2004-08-04  Jakub Jelinek  <jakub@redhat.com>
If neither IPv4 nor IPv6 interface is present we cannot make any

19 years ago[BZ #295]
Ulrich Drepper [Thu, 5 Aug 2004 16:27:58 +0000 (16:27 +0000)]
[BZ #295]

Update.
2004-08-04  Jakub Jelinek  <jakub@redhat.com>

* resolv/inet_pton.c (inet_pton4): Disallow octal numbers.  Reported
by A. Guru <a.guru@sympatico.ca>.  [BZ #295]

19 years agoUpdate.
Ulrich Drepper [Thu, 5 Aug 2004 15:46:06 +0000 (15:46 +0000)]
Update.

* po/nl.po: Update from translation team.

19 years agoUpdate.
Ulrich Drepper [Thu, 5 Aug 2004 09:45:35 +0000 (09:45 +0000)]
Update.

2004-08-05  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/getaddrinfo.c (gaih_inet): Recognize all the IPv4
numeric address formats inet_addr knows.
(getaddrinfo): Allow AI_NUMERICSERV flag.
If neither IPv4 nor IPv6 inerface is present we cannot make any
decision for AI_ADDRCONFIG.  Fail if AI_NUMERICSERV is set and the
string is not just a number.  Remove useless freeaddrinfo call.
* resolv/netdb.h (AI_NUMERICSERV): Define.
Based on a patch by a.guru@sympatico.ca.

2004-08-04  Jakub Jelinek  <jakub@redhat.com>

* stdlib/strfmon_l.c (__vstrfmon_l): Memset whole info structure
instead of trying to initialize some, but not all, fields one by
one.
* stdio-common/printf_size.c (printf_size): Initialize fb_info
structure with *info instead of trying to initialize some, but not
all, fields from it.

* nscd/connections.c (handle_request): Check if req->type is in
LASTDBREQ .. LASTREQ range instead of req.

* locale/programs/linereader.c (lr_create): Initialize
lr->return_widestr to 0.

* elf/dl-close.c (free_slotinfo): Add __libc_freeres_fn_section.
(free_mem): Call free_slotinfo just once.

* stdio-common/tst-fmemopen.c (main): Check for MAP_FAILED instead
of NULL.

* locale/localeinfo.h (_nl_locale_subfreeres): New prototype.
* locale/setlocale.c (free_category): Add __libc_freeres_fn_section.
(free_mem): Rename to _nl_locale_subfreeres.
* iconv/gconv_db.c: Include locale/localeinfo.h.
(free_derivation, free_modules_db): Add __libc_freeres_fn_section.
(free_mem): Call _nl_locale_subfreeres.
* iconv/gconv_dl.c (do_release_all): Add __libc_freeres_fn_section.

19 years ago(AI_NUMERICSERV): Define.
Ulrich Drepper [Thu, 5 Aug 2004 09:38:15 +0000 (09:38 +0000)]
(AI_NUMERICSERV): Define.

19 years ago* Makeconfig ($(common-objpfx)config.status):
Roland McGrath [Thu, 5 Aug 2004 03:34:45 +0000 (03:34 +0000)]
* Makeconfig ($(common-objpfx)config.status):

Fix typo: $(add_ons) -> $(add-ons).
(Makeconfig-add-on): New variable.  When doing $(sysdep-makeconfigs)
include, use black magic to get it set to an add-on's name during the
include of the add-on's Makeconfig.

* configure.in: Use variable name `libc_add_on' when sourcing add-on
configure fragments, so they can refer to this.
* configure: Regenerated.

19 years ago* posix/tst-waitid.c (test_child): Sleep a second before stopping.
Roland McGrath [Thu, 5 Aug 2004 01:11:02 +0000 (01:11 +0000)]
* posix/tst-waitid.c (test_child): Sleep a second before stopping.

(do_test): Bump sleep to three seconds.
(sigchld, check_sigchld): New functions.
(do_test): Handle SIGCHLD and check for getting the right details.

19 years ago2004-08-04 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 5 Aug 2004 01:10:42 +0000 (01:10 +0000)]
2004-08-04  Roland McGrath  <roland@redhat.com>

* posix/tst-waitid.c (test_child): Sleep a second before stopping.
(do_test): Bump sleep to three seconds.
(sigchld, check_sigchld): New functions.
(do_test): Handle SIGCHLD and check for getting the right details.

19 years ago(do_release_all): Add __libc_freeres_fn_section.
Ulrich Drepper [Wed, 4 Aug 2004 21:58:10 +0000 (21:58 +0000)]
(do_release_all): Add __libc_freeres_fn_section.

19 years ago(__vstrfmon_l): Memset whole info structure instead of trying to initialize some...
Ulrich Drepper [Wed, 4 Aug 2004 21:40:51 +0000 (21:40 +0000)]
(__vstrfmon_l): Memset whole info structure instead of trying to initialize some, but not all, fields one by one.

19 years ago[WCONTINUED]: Test WCONTINUED functionality.
Roland McGrath [Wed, 4 Aug 2004 21:40:06 +0000 (21:40 +0000)]
[WCONTINUED]: Test WCONTINUED functionality.

19 years ago* posix/tst-waitid.c (do_test): Kill the child process when bailing
Roland McGrath [Wed, 4 Aug 2004 21:38:45 +0000 (21:38 +0000)]
* posix/tst-waitid.c (do_test): Kill the child process when bailing

out early on some failure.

19 years ago2004-08-04 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 4 Aug 2004 21:38:39 +0000 (21:38 +0000)]
2004-08-04  Roland McGrath  <roland@redhat.com>

* posix/tst-waitid.c (do_test): Kill the child process when bailing
out early on some failure.

19 years ago(handle_request): Missing _() in last patch.
Ulrich Drepper [Wed, 4 Aug 2004 06:40:00 +0000 (06:40 +0000)]
(handle_request): Missing _() in last patch.

19 years agoUpdate.
Ulrich Drepper [Wed, 4 Aug 2004 06:25:42 +0000 (06:25 +0000)]
Update.

2004-08-03  Ulrich Drepper  <drepper@redhat.com>

* nscd/connections.c (handle_request): Print more descriptive
message for invalid request types.

19 years agoUpdate.
Ulrich Drepper [Mon, 2 Aug 2004 22:33:57 +0000 (22:33 +0000)]
Update.

2004-08-02  Jakub Jelinek  <jakub@redhat.com>

* iconvdata/ibm932.c (BODY): Avoid binary search for ch >= 0xffff.
Always treat high as highest number in range + 1.
* iconvdata/ibm943.c (BODY): Likewise.

2004-07-31  Bruno Haible  <bruno@clisp.org>

* iconvdata/JISX0213.TXT: Updated to JISX0213 plane 1 version 2004.
* iconvdata/jisx0213.c (__jisx0213_to_ucs_main,
__jisx0213_to_ucs_pagestart, __jisx0213_from_ucs_level1,
__jisx0213_from_ucs_level2): Regenerated.
* iconvdata/jisx0213.h (jisx0213_added_in_2004_p): New function.
* iconvdata/iso-2022-jp-3.c (JISX0213_1_2000_set): Renamed from
JISX0213_1_set.
(JISX0213_1_2004_set): New enum value.
(BODY for FROM_LOOP): Treat ESC $ ( Q like ESC $ ( O.
(BODY for TO_LOOP): For JISX 0213 plane 1 characters, emit ESC $ ( O
when possible, ESC $ ( Q when needed.
* iconvdata/testdata/EUC-JISX0213: Add the 10 new characters.
* iconvdata/testdata/EUC-JISX0213..UTF8: Update.
* iconvdata/testdata/SHIFT_JISX0213: Add the 10 new characters.
* iconvdata/testdata/SHIFT_JISX0213..UTF8: Update.
* iconvdata/testdata/ISO-2022-JP-3: Add the 10 new JISX0213 characters.
* iconvdata/testdata/ISO-2022-JP-3..UTF8: Update.

2004-07-22  Bruno Haible  <bruno@clisp.org>

* iconvdata/gconv-modules (ISO-8859-7): Add alias ISO_8859-7:2003.

19 years agoUpdate.
Ulrich Drepper [Mon, 2 Aug 2004 16:22:43 +0000 (16:22 +0000)]
Update.

2004-08-02  Ulrich Drepper  <drepper@redhat.com>

* linuxthreads.texi (Cleanup Handlers): Fix typo.
Reported by Bjoern Engelmann <bjengelmann@gmx.de>.

19 years agoUpdate.
Ulrich Drepper [Sat, 31 Jul 2004 17:17:13 +0000 (17:17 +0000)]
Update.

2004-07-29  David S. Miller  <davem@redhat.com>

* sysdeps/sparc/sparc64/sparcv9b/memcpy.S (memcpy): Optimize
better for smaller than 256 byte copies.  Also, use only one
unrolled loop instead of two for the large copy case.

19 years ago(memcpy): Optimize better for smaller than 256 byte copies. Also, use only one unrol...
Ulrich Drepper [Sat, 31 Jul 2004 17:14:51 +0000 (17:14 +0000)]
(memcpy): Optimize better for smaller than 256 byte copies.  Also, use only one unrolled loop instead of two for the large copy case.

19 years ago * sysdeps/alpha/divq.S: Save t3 before it gets clobbered. * sysdeps...
Richard Henderson [Fri, 30 Jul 2004 18:15:57 +0000 (18:15 +0000)]
    * sysdeps/alpha/divq.S: Save t3 before it gets clobbered.         * sysdeps/alpha/remq.S: Likewise.         * sysdeps/alpha/div.S, sysdeps/alpha/ldiv.S: Rewrite with the         new division algorithms in divl.S and divq.S respectively.

2004-07-30  Richard Henderson  <rth@redhat.com>

* sysdeps/alpha/divq.S: Save t3 before it gets clobbered.
* sysdeps/alpha/remq.S: Likewise.
* sysdeps/alpha/div.S, sysdeps/alpha/ldiv.S: Rewrite with the
new division algorithms in divl.S and divq.S respectively.

19 years agoUpdate.
Ulrich Drepper [Thu, 29 Jul 2004 21:49:38 +0000 (21:49 +0000)]
Update.

2004-07-28  GOTO Masanori  <gotom@debian.or.jp>

* timezone/asia: Update from tzdata2004b.
* timezone/backward: Likewise.
* timezone/europe: Likewise.
* timezone/iso3166.tab: Likewise.
* timezone/leapseconds: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/zone.tab: Likewise.

* timezone/private.h: Update from tzcode2004b.
* timezone/zic.c: Likewise.

19 years agoUpdate.
Ulrich Drepper [Tue, 27 Jul 2004 22:52:49 +0000 (22:52 +0000)]
Update.

2004-07-27  Ulrich Drepper  <drepper@redhat.com>

* nscd/grpcache.c (cache_addgr): If necessary, add entry also
under the name the user provided.
* nscd/pwdcache.c (cache_addpw): Likewise.

19 years ago(cache_addpw): If necessary, add entry also under the name the user provided.
Ulrich Drepper [Tue, 27 Jul 2004 22:51:04 +0000 (22:51 +0000)]
(cache_addpw): If necessary, add entry also under the name the user provided.

19 years ago* sysdeps/posix/waitid.c [WEXITED]: Clear WEXITED bit in OPTIONS for
Roland McGrath [Tue, 27 Jul 2004 01:20:48 +0000 (01:20 +0000)]
* sysdeps/posix/waitid.c [WEXITED]: Clear WEXITED bit in OPTIONS for

call to __waitpid.

19 years ago2004-07-26 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 27 Jul 2004 01:20:15 +0000 (01:20 +0000)]
2004-07-26  Roland McGrath  <roland@redhat.com>

* sysdeps/posix/waitid.c [WEXITED]: Clear WEXITED bit in OPTIONS for
call to __waitpid.

19 years agoUpdate.
Ulrich Drepper [Tue, 27 Jul 2004 01:14:37 +0000 (01:14 +0000)]
Update.

* nscd/hstcache.c (cache_addhst): Fix two scenarios which lead to
memory leaks.

19 years agoUpdate.
Ulrich Drepper [Mon, 26 Jul 2004 15:22:56 +0000 (15:22 +0000)]
Update.

2004-07-26  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Assign pointer for
new buffer at the right time.
Reported by Jakub Bogusz <qboosh@pld-linux.org>.

19 years agoUpdate.
Ulrich Drepper [Mon, 26 Jul 2004 04:29:07 +0000 (04:29 +0000)]
Update.

2004-07-25  Ulrich Drepper  <drepper@redhat.com>

* inet/Versions [libc, GLIBC_2.3.4]: Add getipv4sourcefilter,
getsourcefilter, setipv4sourcefilter, and setsourcefilter.
* inet/Makefile (routines): Likewise.
* inet/netinet/in.h: Add prototypes for getipv4sourcefilter,
getsourcefilter, setipv4sourcefilter, and setsourcefilter.
* sysdeps/generic/getipv4sourcefilter.c: New file.
* sysdeps/generic/setipv4sourcefilter.c: New file.
* sysdeps/generic/getsourcefilter.c: New file.
* sysdeps/generic/setsourcefilter.c: New file.

19 years agoUpdate.
Ulrich Drepper [Sun, 25 Jul 2004 04:27:09 +0000 (04:27 +0000)]
Update.

2004-07-17  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling
for POWER4 machines.

19 years ago[BZ #274]
Ulrich Drepper [Sun, 25 Jul 2004 03:31:54 +0000 (03:31 +0000)]
[BZ #274]

Update.
2004-07-21  Jakub Jelinek  <jakub@redhat.com>

[BZ #274]
* stdlib/strtod_l.c (INTERNAL (__STRTOF)): Fix used >=
BITS_PER_MP_LIMB shifting up.
* stdlib/tst-strtod.c (main): Add new tests.

19 years ago[BZ #284]
Ulrich Drepper [Sat, 24 Jul 2004 20:18:57 +0000 (20:18 +0000)]
[BZ #284]

Update.
2004-07-23  Jakub Jelinek  <jakub@redhat.com>

[BZ #284]
* sysdeps/pthread/pthread.h (pthread_getcpuclockid): Use __clockid_t
instead of clockid_t.

19 years ago[BZ #282]
Ulrich Drepper [Fri, 23 Jul 2004 18:53:26 +0000 (18:53 +0000)]
[BZ #282]

Update.
2004-07-23  Jakub Jelinek  <jakub@redhat.com>

[BZ #282]
* libio/iopopen.c (_IO_new_popen): Use _IO_init instead of
_IO_no_init.  Remove wd from struct locked_FILE.
(_IO_wproc_jumps): Remove.
Reported by Andrew Josey <a.josey@opengroup.org>.
* stdio-common/Makefile (tests): Add tst-popen.
* stdio-common/tst-popen.c: New test.

20 years agoUpdate.
Ulrich Drepper [Fri, 23 Jul 2004 07:08:19 +0000 (07:08 +0000)]
Update.

2004-07-23  Ulrich Drepper  <drepper@redhat.com>

* posix/bits/posix1_lim.h: Fix values for _POSIX_CHILD_MAX and
_POSIX_OPEN_MAX.  Add _POSIX_HOST_NAME_MAX, _POSIX_SYMLINK_MAX,
_POSIX_SYMLOOP_MAX, and _POSIX_RE_DUP_MAX.
Reported by Andrew Josey.

* include/features.h: Document _POSIX_C_SOURCE == 200112L.

* grp/grp.h: Define gid_t if __USE_XOPEN2K is defined.
* pwd/pwd.h: Define uid_t and gid_t if __USE_XOPEN2K is defined.
* io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t,
off_t, time_t, and uid_t if __USE_XOPEN2K is defined.
* signal/signal.h: Define pid_t if __USE_XOPEN2K is defined.
* posix/unistd.h: Define gid_t, off_t, pid_t, uid_t, and
useconds_t if __USE_XOPEN2K is defined.
* io/utime.h: Define time_t if __USE_XOPEN2K is defined.
* libio/stdio.h: Declare fseeko and ftello if __USE_XOPEN2K is defined.

20 years agoUpdate.
Ulrich Drepper [Fri, 23 Jul 2004 06:27:05 +0000 (06:27 +0000)]
Update.

2004-07-19  Thorsten Kukuk  <kukuk@suse.de>

* nis/nss_compat/compat-initgroups.c (getgrent_next_nss): Don't
allocate memory for large temporary variables with alloca.

* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Compatibility
code must have version GLIBC_2.0.  Patch by Dwayne McConnell.

20 years agoUpdate.
Ulrich Drepper [Fri, 23 Jul 2004 06:09:22 +0000 (06:09 +0000)]
Update.

2004-07-22  Ulrich Drepper  <drepper@redhat.com>

* nscd/nscd_getgr_r.c (nscd_getgr_r): Avoid read call with NULL
pointer and zero length.

20 years agoUpdate.
Ulrich Drepper [Thu, 22 Jul 2004 01:48:25 +0000 (01:48 +0000)]
Update.

2004-07-21  Ulrich Drepper  <drepper@redhat.com>

* nscd/cache.c (prune_cache): Print correct list when debugging.

20 years ago(prune_cache): Print correct list when debugging.
Ulrich Drepper [Thu, 22 Jul 2004 01:47:28 +0000 (01:47 +0000)]
(prune_cache): Print correct list when debugging.

20 years ago* Makefile ($(objpfx)multidir.mk): Use $(make-target-directory).
Roland McGrath [Wed, 21 Jul 2004 23:14:58 +0000 (23:14 +0000)]
* Makefile ($(objpfx)multidir.mk): Use $(make-target-directory).

20 years ago2004-07-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 21 Jul 2004 23:14:37 +0000 (23:14 +0000)]
2004-07-21  Roland McGrath  <roland@redhat.com>

* Makefile ($(objpfx)multidir.mk): Use $(make-target-directory).

20 years agoUpdate.
Ulrich Drepper [Wed, 21 Jul 2004 18:30:11 +0000 (18:30 +0000)]
Update.

2004-07-21  Jakub Jelinek  <jakub@redhat.com>

* resolv/res_libc.c (res_init): If RES_INIT is set and
_res.nscount > 0, call __res_nclose and free nsaddrs.
* resolv/Makefile: Add rules to build and run tst-leaks2.
* resolv/tst-leaks2.c: New test.

20 years ago[BZ #276]
Ulrich Drepper [Wed, 21 Jul 2004 16:35:30 +0000 (16:35 +0000)]
[BZ #276]

Update.
2004-07-21  Ulrich Drepper  <drepper@redhat.com>

* intl/libintl.h: Don't define macros for C++.
Patch by Goto Masanori.

2004-07-22  GOTO Masanori  <gotom@debian.or.jp>

[BZ #276]
* include/arpa/inet.h: Change inet_aton type from in_addr_t to int.
* inet/arpa/inet.h: Likewise.
* resolv/inet_addr.c: Likewise.

* sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Add semtimedop.

20 years agoChange inet_aton type from in_addr_t to int.
Ulrich Drepper [Wed, 21 Jul 2004 16:28:40 +0000 (16:28 +0000)]
Change inet_aton type from in_addr_t to int.

20 years ago* sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Add
Andreas Jaeger [Wed, 21 Jul 2004 06:13:26 +0000 (06:13 +0000)]
* sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Add

semtimedop.

20 years agoAdd semtimedop.
Andreas Jaeger [Wed, 21 Jul 2004 06:13:15 +0000 (06:13 +0000)]
Add semtimedop.

20 years ago* configure.in (add_ons): Substitute this. Move $add_ons handling
Roland McGrath [Tue, 20 Jul 2004 22:14:59 +0000 (22:14 +0000)]
* configure.in (add_ons): Substitute this.  Move $add_ons handling

after AC_CANONICAL_HOST and default setting of $machine et al.
Don't set $subdirs from $add_ons.
Instead, source add-on/configure fragments early on.
(base_machine): If it's already set, don't set it based on $machine.
(libc_config_ok): New variable, set to no.  If an add-on fragment sets
it to yes, skip the  tuple sanity check as if --enable-hacker-mode.
(sysnames): Try appending add-on names after machine as well.
* configure: Regenerated.
* config.make.in (add-ons): Set from @add_ons@ instead of @subdirs@.
* Makeconfig ($(common-objpfx)config.status): Also depend on configure
files in $(add_ons) dirs.

* sysdeps/unix/sysv/linux/bits/in.h (struct ip_mreq): Remove
definition, now in netinet/in.h proper.

long.  Rewrite example code so that it takes into account l64a output

20 years ago2004-07-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 20 Jul 2004 22:12:56 +0000 (22:12 +0000)]
2004-07-02  Roland McGrath  <roland@redhat.com>

* configure: Don't exit.

20 years ago* sysdeps/unix/sysv/linux/mips/sys/user.h: Likewise.
Ulrich Drepper [Tue, 20 Jul 2004 19:04:26 +0000 (19:04 +0000)]
* sysdeps/unix/sysv/linux/mips/sys/user.h: Likewise.

20 years agoFix entries.
Andreas Jaeger [Tue, 20 Jul 2004 18:43:31 +0000 (18:43 +0000)]
Fix entries.

* sysdeps/mips/atomicity.h: Use standard names for ABI macros,
include sgidefs.h where appropriate.
* sysdeps/mips/dl-machine.h: Likewise.
* sysdeps/mips/machine-gmon.h: Likewise.
* sysdeps/mips/bits/setjmp.h: Likewise.
* sysdeps/mips/fpu/bits/mathdef.h: Likewise.
* sysdeps/mips/mips64/__longjmp.c: Likewise.
* sysdeps/mips/mips64/setjmp_aux.c: Likewise.
* sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/user.h:
* sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h):
* sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h):
* sysdeps/unix/sysv/linux/mips/configure: Rebuilt.

20 years agoUPdate.
Andreas Jaeger [Tue, 20 Jul 2004 16:39:51 +0000 (16:39 +0000)]
UPdate.

* sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h):
Sort by syscalls.  Make sure we get headers such as sgidefs.h from
the build tree before just-installed ones.

* sysdeps/mips/atomicity.h, sysdeps/mips/dl-machine.h,
sysdeps/mips/machine-gmon.h, sysdeps/mips/bits/setjmp.h,
sysdeps/mips/fpu/bits/mathdef.h,
sysdeps/mips/mips64/__longjmp.c,
sysdeps/mips/mips64/setjmp_aux.c,
sysdeps/unix/sysv/linux/mips/kernel_stat.h,
sysdeps/unix/sysv/linux/mips/pread.c,
sysdeps/unix/sysv/linux/mips/pread64.c,
sysdeps/unix/sysv/linux/mips/ptrace.c,
sysdeps/unix/sysv/linux/mips/pwrite.c,
sysdeps/unix/sysv/linux/mips/pwrite64.c,
sysdeps/unix/sysv/linux/mips/sigaction.c,
sysdeps/unix/sysv/linux/mips/sigcontextinfo.h,
sysdeps/unix/sysv/linux/mips/bits/fcntl.h,
sysdeps/unix/sysv/linux/mips/bits/sigcontext.h,
sysdeps/unix/sysv/linux/mips/bits/stat.h,
sysdeps/unix/sysv/linux/mips/sys/procfs.h,
sysdeps/unix/sysv/linux/mips/sys/ptrace.h,
sysdeps/unix/sysv/linux/mips/sys/tas.h,
sysdeps/unix/sysv/linux/mips/sys/ucontext.h,
sysdeps/unix/sysv/linux/mips/sys/user.h: Use standard names
for ABI macros, include sgidefs.h where appropriate.
sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h):
Likewise.
sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h):
Likewise.
sysdeps/unix/sysv/linux/mips/configure: Rebuilt.

20 years agoUpdate.
Andreas Jaeger [Tue, 20 Jul 2004 16:26:45 +0000 (16:26 +0000)]
Update.

2004-07-20  Alexandre Oliva  <aoliva@redhat.com>

* sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Update to use
_dl_lookup_symbol_x.
(elf_machine_runtime_link_map): Don't INTUSE _dl_signal_error.

20 years ago(__dl_runtime_resolve): Update to use _dl_lookup_symbol_x. (elf_machine_runtime_link_...
Andreas Jaeger [Tue, 20 Jul 2004 09:24:49 +0000 (09:24 +0000)]
(__dl_runtime_resolve): Update to use _dl_lookup_symbol_x. (elf_machine_runtime_link_map): Don't INTUSE _dl_signal_error.

20 years agoUpdate.
Ulrich Drepper [Tue, 20 Jul 2004 07:53:39 +0000 (07:53 +0000)]
Update.

Define struct group_req and struct group_source_req.

20 years agoUpdate.
Ulrich Drepper [Tue, 20 Jul 2004 07:41:51 +0000 (07:41 +0000)]
Update.

Define MCAST_INCLUDE and MCAST_EXCLUDE.

20 years agoUpdate.
Ulrich Drepper [Tue, 20 Jul 2004 07:39:10 +0000 (07:39 +0000)]
Update.

* inet/netinet/in.h: Define struct ip_mreq and struct
ip_mreq_source.
* sysdeps/unix/sysv/linux/bits/in.h: Define IP_UNBLOCK_SOURCE,
IP_BLOCK_SOURCE, IP_ADD_SOURCE_MEMBERSHIP,
IP_DROP_SOURCE_MEMBERSHIP, IP_MSFILTER, MCAST_JOIN_GROUP,
MCAST_BLOCK_SOURCE, MCAST_UNBLOCK_SOURCE, MCAST_LEAVE_GROUP,
MCAST_JOIN_SOURCE_GROUP, MCAST_LEAVE_SOURCE_GROUP, and
MCAST_MSFILTER.

20 years ago[BZ #244]
Ulrich Drepper [Tue, 20 Jul 2004 07:15:48 +0000 (07:15 +0000)]
[BZ #244]

Update.
2004-07-20  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/gconv-modules: Add alias for IBM874 [BZ #244].