2004-08-11 Roland McGrath <roland@redhat.com>
[glibc.git] / ChangeLog
blob643c04ac65a2a31cb7106cc964c1dbd654b37b0a
1 2004-08-11  Ulrich Drepper  <drepper@redhat.com>
3         * sysdeps/unix/sysv/linux/bits/shm.h: Add __BEGIN_DECLS for
4         __getpagesize declaration.
6 2004-08-11  Roland McGrath  <roland@redhat.com>
8         * posix/tst-waitid.c (do_test): Ignore SIGCHLD before cleanup SIGKILL.
10 2004-08-11  Ulrich Drepper  <drepper@redhat.com>
12         * time/tzset.c (tzset_internal): Add new parameter which is
13         nonzero if called through tzset.  Use TZDEFAULT name including
14         name comparison if the new parameter is zero.  This means implicit
15         tzset calls will not cause files to be opened and read by tzfile.c
16         all the time.
18 2004-08-11  Jakub Jelinek  <jakub@redhat.com>
20         * rt/tst-timer2.c (do_test): If timer_create fails, just continue.
21         * rt/tst-timer4.c (do_test): If one of the timer_create calls fails,
22         return 1 immediately.
24         * time/tzfile.c (__tzfile_read): Free transitions only if it will
25         not be reused.
27         * sysdeps/ieee754/dbl-64/mpa.c: Include <sys/param.h>.
28         * sysdeps/ieee754/dbl-64/mpa.h (MAX, MIN): Macros removed.
30         * stdio-common/tst-popen.c: Include <string.h>.
32         * resolv/res_send.c (__libc_res_nsend): Only define TMPBUF #if DEBUG.
34         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Remove noreturn
35         attribute.  Return NULL instead of calling pthread_exit at the end.
37 2004-08-11  Roland McGrath  <roland@redhat.com>
39         * iconvdata/testdata/ISO-2022-JP-3: Regenerated.
41 2004-08-10  Alfred M. Szmidt  <ams@kemisten.nu>
43         * sysdeps/generic/bits/in.h (struct ip_mreq): Remove definition.
45 2004-08-10  Jakub Jelinek  <jakub@redhat.com>
47         * libio/bits/stdio.h (fread_unlocked): Cast 0 to (size_t).
48         (fwrite_unlocked): When checking if size * n is <= 8, cast each
49         argument to size_t individually.  Cast n to (void) instead of
50         (size_t), surround with (), return (size_t) 0 if one of n or size
51         is 0.  [BZ #316]
52         * stdio-common/Makefile (tests): Add tst-unlockedio.
53         * stdio-common/tst-unlockedio.c: New test.
55 2004-08-09  Roland McGrath  <roland@frob.com>
57         * manual/install.texi (Supported Configurations): Replace bug-glibc
58         mention with web URL.
59         * INSTALL: Regenerated.
60         * locale/iso-3166.def: Likewise, in comment.
61         * locale/iso-4217.def: Likewise.
62         * locale/iso-639.def: Likewise.
63         * posix/cpio.h: Remove bug reporting comment.
65 2004-08-09  Ulrich Drepper  <drepper@redhat.com>
67         * libio/bits/stdio.h (fread_unlocked): Add a couple of (size_t)
68         casts to handle funny calls with floating point argument values
69         and signed values correctly and without warning.
70         (fwrite_unlocked): Likewise.  [BZ #309]
72         * malloc/memusage.c (me): Use creat64, not creat.
73         * malloc/memusagestat.c: Fix handling of very large sizes.  [BZ #285]
74         Patch by Guy Maor <guymaor@yahoo.com>.
76         * elf/ldconfig.c (options): Mark parameter option names as
77         translatable.  [BZ #253]  Patch by Jakub Bogusz <qboosh@pld-linux.org>.
79         * iconv/gconv_charset.h (strip): Also allow comma which is what is
80         used to separate options.  [BZ #194]
82 2004-08-09  Roland McGrath  <roland@redhat.com>
84         * FAQ.in: Refer to web pages instead of bug-glibc.
85         * FAQ: Regenerated.
87         * time/strptime_l.c: #include <stdbool.h>, `bool' used in last change.
89 2004-08-09  Ulrich Drepper  <drepper@redhat.com>
91         * time/tzset.c (tzset_internal): If TZ is not set do not compare
92         old and new tz value since it might be /etc/localtime in both
93         cases although the file changed.  [BZ #154]
94         Patch by Christian Franke <franke@computer.org>.
96         * time/tzfile.c (__tzfile_read): Determine dev/ino of file.
97         Compare with values of previously opened file.  Don't do anything
98         is they match.
100 2004-08-08  Ulrich Drepper  <drepper@redhat.com>
102         * elf/dl-load.c (_dl_map_object): If __RTLD_CALLMAP flag is set,
103         reset loader before the actual loading.
104         * elf/dl-open.c (dl_open_worker): If file name contains no path
105         element determine map of caller.  Pass caller map in this case to
106         _dl_map_object.  Set __RTLD_CALLMAP in mode.
107         * include/dlfcn.h (__RTLD_CALLMAP): Define.  [BZ #116]
108         Patch by Greg Wolodkin <greg@mathworks.com>.
110         * misc/syslog.c (openlog_internal): Always try both UDP and TCP.
111         [BZ #108]  Patch mainly by Bjorn Andersson <bjorn@iki.fi>.
113         * configure.in: Also recognize i786. [BZ #106]
114         Patch by <pluto@pld-linux.org>.
116         * resolv/res_query.c (__libc_res_nsearch): Correctly test whether
117         name contains any dots. [BZ #95]
119         * resolv/res_send.c: Compiling with DEBUG defined works again.
120         * resolv/gethnamaddr.c (dprintf): Renamed to Dprintf.  Adjust all
121         callers.
123         * resolv/tst-leaks.c (TIMEOUT): Define so that if no server is
124         available the process is not killed. [BZ #41]
126         * intl/tst-gettext.c (main): Improve some messages. [BZ #33]
128         * time/strptime_l.c (__strptime_internal): Fix handling of %Ey.
129         [BZ #28]
131         * po/sv.po: Update from translation team.
133 2004-08-07  Ulrich Drepper  <drepper@redhat.com>
135         * inet/netinet/in.h: Add more const to the setipv4soucefilter,
136         getsourcefilter, and setsourcefilter parameter list.
137         * sysdeps/generic/setipv4sourcefilter.c: Likewise.
138         * sysdeps/generic/getsourcefilter.c: Likewise.
139         * sysdeps/generic/setsourcefilter.c: Likewise.
140         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
141         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
142         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
144         * po/tr.po: Update from translation team.
146 2004-08-06  Ulrich Drepper  <drepper@redhat.com>
148         * iconvdata/jisx0213.h (jisx0213_added_in_2004_p): Fix typo.
149         Reported by Paolo Bonzini.
151 2004-08-06  Jakub Jelinek  <jakub@redhat.com>
153         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add
154         always_inline.
155         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_runtime_setup,
156         elf_machine_fixup_plt, elf_machine_plt_conflict): Likewise.
158         * sysdeps/unix/sysv/linux/netatalk/at.h: Include bits/sockaddr.h
159         before including linux/atalk.h.
161         * resolv/res_libc.c: Include atomic.h.
163         * intl/finddomain.c (free_mem): Rename to...
164         (_nl_finddomain_subfreeres): ... this.  Add
165         __libc_freeres_fn_section.
166         * intl/loadmsgcat.c (_nl_unload_domain): Add
167         __libc_freeres_fn_section.
168         * intl/gettextP.h (_nl_unload_domain): Move into #ifdef _LIBC.
169         Add attribute_hidden.
170         (_nl_findomain_subfreeres): New prototype.
171         * iconv/gconv_db.c (free_mem): Call _nl_findomain_subfreeres.
173 2004-07-30  Guido Guenther  <agx@sigxcpu.org>
175         * nss/getent.c (passwd_keys): Use strtoul instead of isdigit to
176         test if the key is numeric or not.
177         (group_keys): Likewise.
179 2004-08-05  Ulrich Drepper  <drepper@redhat.com>
181         * inet/netinet/in.h: Define struct ip_msfilter, IP_MSFILTER_SIZE,
182         struct group_filter, and GROUP_FILTER_SIZE.
183         * include/sys/socket.h: Declare __getsockopt.
184         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: New file.
185         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: New file.
186         * sysdeps/unix/sysv/linux/setsourcefilter.c: New file.
187         * sysdeps/unix/sysv/linux/getsourcefilter.c: New file. [BZ #211]
189         * po/ko.po: Update from translation team.
191 2004-08-04  Jakub Jelinek  <jakub@redhat.com>
193         * hesiod/hesiod.c (__hesiod_res_get): Use calloc instead of malloc +
194         memset.
195         (__hesiod_res_set): Free nsaddrs.
197         * include/resolv.h (__res_maybe_init): Add prototype.
198         * resolv/resolv.h (struct __res_state): Add _u._ext.initstamp field.
199         * resolv/Versions (libc): Add __res_maybe_init@@GLIBC_PRIVATE.
200         * resolv/res_libc.c (__res_initstamp, lock): New variables.
201         (res_init): Increase __res_initstamp.
202         (__res_maybe_init): New function.
203         * resolv/res_init.c (__res_vinit): Initialize _u._ext.initstamp.
204         * hesiod/hesiod.c (__hesiod_res_get): Use __res_maybe_init instead
205         of RES_INIT check and {res_ninit,__res_ninit,res_init} call.
206         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
207         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r,
208         _nss_dns_gethostbyaddr_r): Likewise.
209         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r,
210         _nss_dns_getnetbyaddr_r): Likewise.
211         * resolv/gethnamaddr.c (gethostbyname, gethostbyname2,
212         gethostbyaddr): Likewise.
213         * resolv/res_data.c (fp_nquery, res_mkquery, res_mkupdate,
214         res_isourserver, res_sendsigned, res_update, res_search,
215         res_querydomain): Likewise.
216         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Likewise.
217         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
218         * nss/getnssent_r.c (__nss_setent, __nss_endent, __nss_getent_r):
219         Likewise.
221 2004-08-05  Ulrich Drepper  <drepper@redhat.com>
223         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set ai_family for
224         V4-mapped IPv6 addresses and req->ai_family==AF_INET.
225         Reported by A. Guru <a.guru@sympatico.ca>.
227         * po/sv.po: Update from translation team.
228         * po/sk.po: Likewise.
229         * po/pl.po: Likewise.
231 2004-08-04  Jakub Jelinek  <jakub@redhat.com>
232             Ulrich Drepper  <drepper@redhat.com>
234         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Don't read more input
235         characters than necessary.
237 2004-08-05  Ulrich Drepper  <drepper@redhat.com>
239         * wcsmbs/Makefile (tests): Add tst-mbsrtowcs.
240         * wcsmbs/tst-mbsrtowcs.c: New file.
242         * po/fr.po: Update from translation team.
244 2004-08-04  Jakub Jelinek  <jakub@redhat.com>
246         * resolv/inet_pton.c (inet_pton4): Disallow octal numbers.  Reported
247         by A. Guru <a.guru@sympatico.ca>.  [BZ #295]
249 2004-08-05  Ulrich Drepper  <drepper@redhat.com>
251         * po/nl.po: Update from translation team.
253         * sysdeps/posix/getaddrinfo.c (gaih_inet): Recognize all the IPv4
254         numeric address formats inet_addr knows.
255         (getaddrinfo): Allow AI_NUMERICSERV flag.
256         If neither IPv4 nor IPv6 interface is present we cannot make any
257         decision for AI_ADDRCONFIG.  Fail if AI_NUMERICSERV is set and the
258         string is not just a number.  Remove useless freeaddrinfo call.
259         * resolv/netdb.h (AI_NUMERICSERV): Define.
260         Based on a patch by a.guru@sympatico.ca.
262 2004-08-04  Jakub Jelinek  <jakub@redhat.com>
264         * stdlib/strfmon_l.c (__vstrfmon_l): Memset whole info structure
265         instead of trying to initialize some, but not all, fields one by
266         one.
267         * stdio-common/printf_size.c (printf_size): Initialize fb_info
268         structure with *info instead of trying to initialize some, but not
269         all, fields from it.
271         * nscd/connections.c (handle_request): Check if req->type is in
272         LASTDBREQ .. LASTREQ range instead of req.
274         * locale/programs/linereader.c (lr_create): Initialize
275         lr->return_widestr to 0.
277         * elf/dl-close.c (free_slotinfo): Add __libc_freeres_fn_section.
278         (free_mem): Call free_slotinfo just once.
280         * stdio-common/tst-fmemopen.c (main): Check for MAP_FAILED instead
281         of NULL.
283         * locale/localeinfo.h (_nl_locale_subfreeres): New prototype.
284         * locale/setlocale.c (free_category): Add __libc_freeres_fn_section.
285         (free_mem): Rename to _nl_locale_subfreeres.
286         * iconv/gconv_db.c: Include locale/localeinfo.h.
287         (free_derivation, free_modules_db): Add __libc_freeres_fn_section.
288         (free_mem): Call _nl_locale_subfreeres.
289         * iconv/gconv_dl.c (do_release_all): Add __libc_freeres_fn_section.
291 2004-08-04  Roland McGrath  <roland@frob.com>
293         * Makeconfig ($(common-objpfx)config.status):
294         Fix typo: $(add_ons) -> $(add-ons).
295         (Makeconfig-add-on): New variable.  When doing $(sysdep-makeconfigs)
296         include, use black magic to get it set to an add-on's name during the
297         include of the add-on's Makeconfig.
299         * configure.in: Use variable name `libc_add_on' when sourcing add-on
300         configure fragments, so they can refer to this.
301         * configure: Regenerated.
303 2004-08-04  Roland McGrath  <roland@redhat.com>
305         * posix/tst-waitid.c (test_child): Sleep a second before stopping.
306         (do_test): Bump sleep to three seconds.
307         (sigchld, check_sigchld): New functions.
308         (do_test): Handle SIGCHLD and check for getting the right details.
310         * posix/tst-waitid.c (do_test): Kill the child process when bailing
311         out early on some failure.
312         [WCONTINUED]: Test WCONTINUED functionality.
314 2004-08-03  Ulrich Drepper  <drepper@redhat.com>
316         * nscd/connections.c (handle_request): Print more descriptive
317         message for invalid request types.
319 2004-08-02  Jakub Jelinek  <jakub@redhat.com>
321         * iconvdata/ibm932.c (BODY): Avoid binary search for ch >= 0xffff.
322         Always treat high as highest number in range + 1.
323         * iconvdata/ibm943.c (BODY): Likewise.
325 2004-07-31  Bruno Haible  <bruno@clisp.org>
327         * iconvdata/JISX0213.TXT: Updated to JISX0213 plane 1 version 2004.
328         * iconvdata/jisx0213.c (__jisx0213_to_ucs_main,
329         __jisx0213_to_ucs_pagestart, __jisx0213_from_ucs_level1,
330         __jisx0213_from_ucs_level2): Regenerated.
331         * iconvdata/jisx0213.h (jisx0213_added_in_2004_p): New function.
332         * iconvdata/iso-2022-jp-3.c (JISX0213_1_2000_set): Renamed from
333         JISX0213_1_set.
334         (JISX0213_1_2004_set): New enum value.
335         (BODY for FROM_LOOP): Treat ESC $ ( Q like ESC $ ( O.
336         (BODY for TO_LOOP): For JISX 0213 plane 1 characters, emit ESC $ ( O
337         when possible, ESC $ ( Q when needed.
338         * iconvdata/testdata/EUC-JISX0213: Add the 10 new characters.
339         * iconvdata/testdata/EUC-JISX0213..UTF8: Update.
340         * iconvdata/testdata/SHIFT_JISX0213: Add the 10 new characters.
341         * iconvdata/testdata/SHIFT_JISX0213..UTF8: Update.
342         * iconvdata/testdata/ISO-2022-JP-3: Add the 10 new JISX0213 characters.
343         * iconvdata/testdata/ISO-2022-JP-3..UTF8: Update.
345 2004-07-22  Bruno Haible  <bruno@clisp.org>
347         * iconvdata/gconv-modules (ISO-8859-7): Add alias ISO_8859-7:2003.
349 2004-07-29  David S. Miller  <davem@redhat.com>
351         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (memcpy): Optimize
352         better for smaller than 256 byte copies.  Also, use only one
353         unrolled loop instead of two for the large copy case.
355 2004-07-30  Richard Henderson  <rth@redhat.com>
357         * sysdeps/alpha/divq.S: Save t3 before it gets clobbered.
358         * sysdeps/alpha/remq.S: Likewise.
359         * sysdeps/alpha/div.S, sysdeps/alpha/ldiv.S: Rewrite with the
360         new division algorithms in divl.S and divq.S respectively.
362 2004-07-28  GOTO Masanori  <gotom@debian.or.jp>
364         * timezone/asia: Update from tzdata2004b.
365         * timezone/backward: Likewise.
366         * timezone/europe: Likewise.
367         * timezone/iso3166.tab: Likewise.
368         * timezone/leapseconds: Likewise.
369         * timezone/northamerica: Likewise.
370         * timezone/southamerica: Likewise.
371         * timezone/zone.tab: Likewise.
373         * timezone/private.h: Update from tzcode2004b.
374         * timezone/zic.c: Likewise.
376 2004-07-27  Ulrich Drepper  <drepper@redhat.com>
378         * nscd/grpcache.c (cache_addgr): If necessary, add entry also
379         under the name the user provided.
380         * nscd/pwdcache.c (cache_addpw): Likewise.
382 2004-07-26  Roland McGrath  <roland@redhat.com>
384         * sysdeps/posix/waitid.c [WEXITED]: Clear WEXITED bit in OPTIONS for
385         call to __waitpid.
387 2004-07-26  Ulrich Drepper  <drepper@redhat.com>
389         * nscd/hstcache.c (cache_addhst): Fix two scenarios which lead to
390         memory leaks.
392         * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Assign pointer for
393         new buffer at the right time.
394         Reported by Jakub Bogusz <qboosh@pld-linux.org>.
396 2004-07-25  Ulrich Drepper  <drepper@redhat.com>
398         * inet/Versions [libc, GLIBC_2.3.4]: Add getipv4sourcefilter,
399         getsourcefilter, setipv4sourcefilter, and setsourcefilter.
400         * inet/Makefile (routines): Likewise.
401         * inet/netinet/in.h: Add prototypes for getipv4sourcefilter,
402         getsourcefilter, setipv4sourcefilter, and setsourcefilter.
403         * sysdeps/generic/getipv4sourcefilter.c: New file.
404         * sysdeps/generic/setipv4sourcefilter.c: New file.
405         * sysdeps/generic/getsourcefilter.c: New file.
406         * sysdeps/generic/setsourcefilter.c: New file.
408 2004-07-17  Steven Munroe  <sjmunroe@us.ibm.com>
410         * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling
411         for POWER4 machines.
413 2004-07-21  Jakub Jelinek  <jakub@redhat.com>
415         [BZ #274]
416         * stdlib/strtod_l.c (INTERNAL (__STRTOF)): Fix used >=
417         BITS_PER_MP_LIMB shifting up.
418         * stdlib/tst-strtod.c (main): Add new tests.
420 2004-07-23  Jakub Jelinek  <jakub@redhat.com>
422         [BZ #282]
423         * libio/iopopen.c (_IO_new_popen): Use _IO_init instead of
424         _IO_no_init.  Remove wd from struct locked_FILE.
425         (_IO_wproc_jumps): Remove.
426         Reported by Andrew Josey <a.josey@opengroup.org>.
427         * stdio-common/Makefile (tests): Add tst-popen.
428         * stdio-common/tst-popen.c: New test.
430 2004-07-23  Ulrich Drepper  <drepper@redhat.com>
432         * posix/bits/posix1_lim.h: Fix values for _POSIX_CHILD_MAX and
433         _POSIX_OPEN_MAX.  Add _POSIX_HOST_NAME_MAX, _POSIX_SYMLINK_MAX,
434         _POSIX_SYMLOOP_MAX, and _POSIX_RE_DUP_MAX.
435         Reported by Andrew Josey.
437         * include/features.h: Document _POSIX_C_SOURCE == 200112L.
439         * grp/grp.h: Define gid_t if __USE_XOPEN2K is defined.
440         * pwd/pwd.h: Define uid_t and gid_t if __USE_XOPEN2K is defined.
441         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t,
442         off_t, time_t, and uid_t if __USE_XOPEN2K is defined.
443         * signal/signal.h: Define pid_t if __USE_XOPEN2K is defined.
444         * posix/unistd.h: Define gid_t, off_t, pid_t, uid_t, and
445         useconds_t if __USE_XOPEN2K is defined.
446         * io/utime.h: Define time_t if __USE_XOPEN2K is defined.
447         * libio/stdio.h: Declare fseeko and ftello if __USE_XOPEN2K is defined.
449 2004-07-19  Thorsten Kukuk  <kukuk@suse.de>
451         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss): Don't
452         allocate memory for large temporary variables with alloca.
454 2004-07-22  Ulrich Drepper  <drepper@redhat.com>
456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Compatibility
457         code must have version GLIBC_2.0.  Patch by Dwayne McConnell.
459         * nscd/nscd_getgr_r.c (nscd_getgr_r): Avoid read call with NULL
460         pointer and zero length.
462 2004-07-21  Ulrich Drepper  <drepper@redhat.com>
464         * nscd/cache.c (prune_cache): Print correct list when debugging.
466 2004-07-21  Jakub Jelinek  <jakub@redhat.com>
468         * resolv/res_libc.c (res_init): If RES_INIT is set and
469         _res.nscount > 0, call __res_nclose and free nsaddrs.
470         * resolv/Makefile: Add rules to build and run tst-leaks2.
471         * resolv/tst-leaks2.c: New test.
473 2004-07-21  Ulrich Drepper  <drepper@redhat.com>
475         * intl/libintl.h: Don't define macros for C++.
476         Patch by Goto Masanori.
478 2004-07-22  GOTO Masanori  <gotom@debian.or.jp>
480         [BZ #276]
481         * include/arpa/inet.h: Change inet_aton type from in_addr_t to int.
482         * inet/arpa/inet.h: Likewise.
483         * resolv/inet_addr.c: Likewise.
485 2004-07-21  Alexandre Oliva  <aoliva@redhat.com>
487         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Add semtimedop.
489 2004-07-20  Roland McGrath  <roland@redhat.com>
491         * configure.in (add_ons): Substitute this.  Move $add_ons handling
492         after AC_CANONICAL_HOST and default setting of $machine et al.
493         Don't set $subdirs from $add_ons.
494         Instead, source add-on/configure fragments early on.
495         (base_machine): If it's already set, don't set it based on $machine.
496         (libc_config_ok): New variable, set to no.  If an add-on fragment sets
497         it to yes, skip the  tuple sanity check as if --enable-hacker-mode.
498         (sysnames): Try appending add-on names after machine as well.
499         * config.make.in (add-ons): Set from @add_ons@ instead of @subdirs@.
500         * Makeconfig ($(common-objpfx)config.status): Also depend on configure
501         files in $(add_ons) dirs.
503         * sysdeps/unix/sysv/linux/bits/in.h (struct ip_mreq): Remove
504         definition, now in netinet/in.h proper.
506 2004-07-20  Alexandre Oliva  <aoliva@redhat.com>
508         * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h):
509         Sort by syscalls.  Make sure we get headers such as sgidefs.h from
510         the build tree before just-installed ones.
512         * sysdeps/mips/atomicity.h: Use standard names for ABI macros,
513         include sgidefs.h where appropriate.
514         * sysdeps/mips/dl-machine.h: Likewise.
515         * sysdeps/mips/machine-gmon.h: Likewise.
516         * sysdeps/mips/bits/setjmp.h: Likewise.
517         * sysdeps/mips/fpu/bits/mathdef.h: Likewise.
518         * sysdeps/mips/mips64/__longjmp.c: Likewise.
519         * sysdeps/mips/mips64/setjmp_aux.c: Likewise.
520         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
521         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
522         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
523         * sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise.
524         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
525         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
526         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
527         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
528         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
529         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Likewise.
530         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
531         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
532         * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Likewise.
533         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
534         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
535         * sysdeps/unix/sysv/linux/mips/sys/user.h: Likewise.
536         * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h):
537         Likewise.
538         * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h):
539         Likewise.
541         * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Update to use
542         _dl_lookup_symbol_x.
543         (elf_machine_runtime_link_map): Don't INTUSE _dl_signal_error.
545 2004-07-20  Ulrich Drepper  <drepper@redhat.com>
547         * inet/netinet/in.h: Define struct ip_mreq and struct
548         ip_mreq_source.
549         Define struct group_req and struct group_source_req.
550         * sysdeps/unix/sysv/linux/bits/in.h: Define IP_UNBLOCK_SOURCE,
551         IP_BLOCK_SOURCE, IP_ADD_SOURCE_MEMBERSHIP,
552         IP_DROP_SOURCE_MEMBERSHIP, IP_MSFILTER, MCAST_JOIN_GROUP,
553         MCAST_BLOCK_SOURCE, MCAST_UNBLOCK_SOURCE, MCAST_LEAVE_GROUP,
554         MCAST_JOIN_SOURCE_GROUP, MCAST_LEAVE_SOURCE_GROUP, and
555         MCAST_MSFILTER.
556         Define MCAST_INCLUDE and MCAST_EXCLUDE.
558         * iconvdata/gconv-modules: Add alias for IBM874 [BZ #244].
560 2004-07-19  Jakub Jelinek  <jakub@redhat.com>
562         [BZ #258]
563         * math/libm-test.inc (max_value, min_value): New variables.
564         (initialize): Initialize them.
565         (pow_test): Add a couple of new tests.
566         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Don't generate invalid
567         exception if |y| >= 1U<<31.
568         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Don't generate invalid
569         exception if |y| >= 1L<<63.
570         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
571         If y*log2(x) overflows to +-inf, return still +inf/+0 instead of NaN.
572         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
574 2004-07-18  Ulrich Drepper  <drepper@redhat.com>
576         * nscd/pwdcache.c (cache_addpw): Optimize case of unsuccessful
577         lookup a bit.
578         * nscd/grpcache.c (cache_addgr): Likewise.
579         * nscd/hstcache.c (cache_addhst): Likewise.
581 2004-07-10  GOTO Masanori  <gotom@debian.or.jp>
583         * sysdeps/s390/s390-32/elf/start.S: Remove symbol _fp_hw.
584         * sysdeps/s390/s390-64/elf/start.S: Likewise.
586 2004-04-16  Andreas Schwab  <schwab@suse.de>
588         * sysdeps/ia64/bits/atomic.h: Cast first argument of
589         __sync_bool_compare_and_swap_si correct to void*.
591 2004-07-17  Ulrich Drepper  <drepper@redhat.com>
593         * iconv/iconv_prog.c (print_known_names): Make machine-readable
594         output even less cluttered.
596 2004-07-16  Steven Munroe  <sjmunroe@us.ibm.com>
598         [BZ #269]
599         * setjmp/Makefile (tests): Add  bug269-setjmp.
600         * setjmp/bug269-setjmp.c: New file.
601         * sysdeps/powerpc/powerpc64/__longjmp-common.S [SHARED && !IS_IN_rtld]:
602         Store R2 from jmpbuf in callers TOC save area.
603         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S [SHARED && !IS_IN_rtld]:
604         Store R2 in TOC save area.
605         * sysdeps/powerpc/powerpc64/setjmp-common.S [SHARED && !IS_IN_rtld]:
606         Copy TOC save area from previous frame as R2 (TOC) in jmpbuf.
608 2004-07-16  Jakub Jelinek  <jakub@redhat.com>
610         * locale/newlocale.c: Include bits/libc-lock.h.
611         (__libc_setlocale_lock): Extern decl.
612         (__newlocale): Use it.
613         Reported by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.
615 2004-07-15  Jakub Jelinek  <jakub@redhat.com>
617         * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Remove
618         static inline __attribute ((always_inline)).  Don't define if
619         NO_CANCELLATION.
620         (__libc_fcntl): Use INLINE_SYSCALL directly instead of
621         __fcntl_nocancel.
622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__fcntl_nocancel):
623         Remove static inline __attribute ((always_inline)).  Don't define
624         if NO_CANCELLATION.
625         (__libc_fcntl): Use INLINE_SYSCALL directly instead of
626         __fcntl_nocancel.
627         * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Define to
628         __libc_fcntl if NO_CANCELLATION and __ASSUME_FCNTL64 == 0.
629         Don't define at all if NO_CANCELLATION and __ASSUME_FCNTL64 > 0.
630         (__libc_fcntl): Don't define if __fcntl_nocancel is a macro.
632         [BZ #262]
633         * sysdeps/i386/elf/start.S (_start): Use @GOT instead of @GOTOFF
634         for main.
635         * elf/Makefile: Add rules to build and run tst-pie1.
636         * elf/tst-pie1.c: New test.
637         * elf/tst-piemod1.c: New file.
639 2004-07-14  Jakub Jelinek  <jakub@redhat.com>
641         [BZ #266]
642         * manual/string.texi (l64a): Note that the static buffer is 7 bytes
643         long.  Rewrite example code so that it takes into account l64a output
644         shorter than 6 characters.
645         Reported by Julian Graham <julian.graham@aya.yale.edu>.
647 2004-07-14  Kaz  Kojima  <kkojima@rr.iij4u.or.jp>
649         * sysdeps/sh/dl-machine.h: Don't reset _dl_starting_up here.
650         (elf_machine_rela_relative): Remove unused valiable.
652 2004-07-12  Paul Eggert  <eggert@cs.ucla.edu>
654         [BZ #263]
655         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Don't store
656         outside the buffer if the read returns 0.  __strtod_l can't set
657         endp to NULL, so remove a test for that case.
659 2004-07-12  Roland McGrath  <roland@redhat.com>
661         * manual/signal.texi (Interrupted Primitives): Make clear that
662         TEMP_FAILURE_RETRY evaluates its expression as long int and compares
663         it to -1 to define "failure".
665 2004-07-10  Ulrich Drepper  <drepper@redhat.com>
667         * elf/ldconfig.c: Define PROCINFO_CLASS as static before including
668         ldsodefs.h.
669         * sysdeps/generic/ldsodefs.h: Only define PROCINFO_CLASS if it is not
670         already defined.
671         * sysdeps/i386/dl-procinfo.c: Define PROCINFO_CALLS only if not
672         already defined.
674         * elf/rtld.c (print_statistics): Mark with noinline attribute.
675         * sysdeps/i386/dl-machine.h (elf_machine_rel): Mark with always_inline
676         attribute.
677         (elf_machine_rel_relative): Likewise.
679         * include/string.h: Add libc_hidden_proto for __strtok_r and
680         __strsep_g.
681         * sysdeps/generic/strsep.c: Add libc_hidden_def.
682         * sysdeps/generic/strtok_r.c: Likewise.
683         * sysdeps/i386/strtok_r.S: Add alias for internal symbol.
684         * sysdeps/i386/i686/strtok_r.S: Likewise.
685         * sysdeps/x86_64/strtok_r.S: Likewise.
687 2004-07-09  Alexandre Oliva  <aoliva@redhat.com>
689         * inet/getnetgrent_r.c (internal_setnetgrent): Make it hidden
690         instead of internal-linkage, such that we can alias to it.
691         (internal_endnetgrent, internal_getnetgrent_r): Likewise.
693 2004-07-09  Ulrich Drepper  <drepper@redhat.com>
695         * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Move attribute
696         to the front for gcc 3.5+.
697         * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.
699         * include/fcntl.h: Don't declare __fcntl_nocancel here if
700         NO_CANCELLATION is defined.
702 2004-07-07  Jakub Jelinek  <jakub@redhat.com>
704         * elf/dl-fini.c (_dl_fini): Add nloaded variable, load
705         GL(dl_nloaded) into it while still in critical section.
707 2004-07-06  Thorsten Kukuk  <kukuk@suse.de>
709         * nss/getent.c (print_group, print_passwd): Use %lu format for
710         `unsigned long int' values.
712         * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Fix syntax
713         error typos in goto statements.
715 2004-07-07  Roland McGrath  <roland@frob.com>
717         * Makefile (dist-separate): New variable.
718         (glibc-%.tar rule): Make separate tar files for add-ons listed there.
719         Depend on their configure files.
720         (dist-do-separate-dirs): New canned sequence to do that.
721         (dist-separate-libidn, dist-separate-linuxthreads): New variables.
722         (dist): Depend on add-on tar files based on $(dist-separate).
723         (dist-version): New variable, default to $(version).
724         (tag-for-dist, dist): Use that in place of $(version) in deps.
726 2004-07-07  Ulrich Drepper  <drepper@redhat.com>
728         * elf/dl-fini.c (_dl_fini): Move the unlock of the ld.so lock
729         before the loop running the destructors.
731 2004-05-18  Andreas Schwab  <schwab@suse.de>
733         * elf/dl-load.c (_dl_map_object_from_fd): Use the end address of
734         the first segment for mprotect, not l_text_end.
736 2004-07-05  Ulrich Drepper  <drepper@redhat.com>
738         * elf/dl-profile.c (_dl_start_profile): Compact error handling.
739         Remove hashfraction variable.  Make kcount and kcountsize local
740         variables.
742         * elf/dl-init.c: Don't define and use _dl_starting_up if
743         HAVE_INLINED_SYSCALLS is defined and the variable is not used.
744         * elf/dl-support.c: Likewise.
745         * elf/rtld.c: Likewise.
746         * elf/dl-misc.c (_dl_debug_vdprintf): Use writev syscall directly
747         if HAVE_INLINED_SYSCALLS is defined.
748         * sysdeps/powerpc/powerpc64/dl-machine.h: Don't reset _dl_starting_up
749         here.
750         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
751         * sysdeps/unix/sysv/linux/configure.in: Define HAVE_INLINED_SYSCALLS.
752         * config.h.in: Add entry for HAVE_INLINED_SYSCALLS.
754         * sysdeps/posix/profil.c: If compiled for ld.so, omit code which
755         is needed to stop profiling.
756         * elf/dl-open.c (dl_open_worker): If a newly opened object is to be
757         profile make sure it cannot be unloaded.
759         * sysdeps/unix/sysv/linux/dl-origin.c: Inline readlink syscall.
761         * sysdeps/unix/sysv/linux/fcntl.c: If compiled without cancellation
762         support, make sure the helper function is inlined.
763         * sysdeps/unix/sysv/linux/pread.c: Likewise.
764         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
765         * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.
768 2004-07-05  Jakub Jelinek  <jakub@redhat.com>
770         * include/string.h (ffs): Add libc_hidden_builtin_proto.
771         * sysdeps/rs6000/ffs.c (ffs): Add libc_hidden_builtin_def.
772         * sysdeps/alpha/alphaev67/ffs.S (ffs): Likewise.
773         * sysdeps/alpha/ffs.S (ffs): Likewise.
774         * sysdeps/s390/ffs.c (ffs): Likewise.
775         * sysdeps/powerpc/ffs.c (ffs): Likewise.
776         * sysdeps/i386/ffs.c (ffs): Likewise.
777         * sysdeps/i386/i686/ffs.c (ffs): Likewise.
778         * sysdeps/m68k/ffs.c (ffs): Likewise.
779         * sysdeps/generic/ffs.c (ffs): Likewise.
780         * sysdeps/m88k/ffs.c (ffs): Likewise.
781         * sysdeps/am29k/ffs.c (ffs): Likewise.
782         * sysdeps/i960/ffs.c (ffs): Likewise.
783         * sysdeps/x86_64/ffs.c (ffs): Likewise.
785         * Makerules (check-abi): Use diff -p -U 0 instead of diff -pu0.
787         * sysdeps/powerpc/novmx-longjmp.c (__libc_longjmp,
788         __libc_siglongjmp): Remove symbol_version.
789         * sysdeps/powerpc/longjmp.c (__libc_longjmp, __libc_siglongjmp):
790         Export @@GLIBC_PRIVATE, not @@GLIBC_2.3.4.
791         * sysdeps/powerpc/sigjmp.c (__sigjmp_save): Use strong_alias
792         unconditionally.
793         * sysdeps/powerpc/novmx-sigjmp.c (__sigjmp_save): Remove.
794         * sysdeps/powerpc/powerpc32/__longjmp.S (__longjmp): Use
795         strong_alias instead of default_symbol_version, remove
796         symbol_version.
797         * sysdeps/powerpc/powerpc64/__longjmp.S (__longjmp): Likewise.
798         * sysdeps/powerpc/powerpc32/bsd-setjmp.S (__novmx__setjmp): Change
799         into strong_alias to __novmxsetjmp.
800         (__vmx__setjmp): Similarly with __vmxsetjmp.
801         (__setjmp): Make it strong_alias to __vmx__setjmp, remove
802         default_symbol_version and symbol_version.
803         * sysdeps/powerpc/powerpc64/bsd-setjmp.S (__novmx__setjmp): Change
804         into strong_alias to __novmxsetjmp.
805         (__vmx__setjmp): Similarly with __vmxsetjmp.
806         (__setjmp): Make it strong_alias to __vmx__setjmp, remove
807         default_symbol_version and symbol_version.
809         * nscd/nscd_getgr_r.c: Include stdio-common/_itoa.h.
811 2004-07-05  Ulrich Drepper  <drepper@redhat.com>
813         * elf/rtld.c (dl_main): Mark dyn_temp with attribute_relro.
815 2004-07-04  Matthew Reppert  <arashi@kai.vm.bytemark.co.uk>
817         * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Use libc_hidden_ver
818         instead of libc_hidden_def.
820 2004-07-01  Roland McGrath  <roland@redhat.com>
822         * aclocal.m4: Add provide for AC_CONFIG_AUX_DIR_DEFAULT.
824         * Makeconfig ($(common-objpfx)shlib-versions.v.i): Move top-level
825         $(..)shlib-versions file to last in deps list.  This lets add-ons give
826         more-specific matches that override defaults in the top-level file.
828         * sysdeps/unix/sysv/linux/configure.in: If arch_minimum_kernel was
829         already set, don't set it or libc_cv_gcc_unwind_find_fde.
830         * sysdeps/unix/sysv/linux/configure: Regenerated.
832 2004-07-01  Martin Schwidefsky  <schwidefsky@de.ibm.com>
834         * sysdeps/s390/fpu/bits/mathinline.h [__LIBC_INTERNAL_MATH_INLINES]
835         (__ieee754_sqrt): Define as __MATH_INLINE using sqdbr instruction.
836         (__ieee754_sqrtf): Define as __MATH_INLINE using sqebr instruction.
837         * sysdeps/s390/fpu/e_sqrt.c: New file.
838         * sysdeps/s390/fpu/e_sqrtf.c: New file.
839         * sysdeps/s390/Implies: New file.
840         * sysdeps/s390/s390-32/Implies: Remove ieee754, move
841         ieee754/dbl-64 and ieee754/flt-32 to s390/Implies.
842         * sysdeps/s390/s390-64/Implies: Likewise.
844 2004-06-30  Jakub Jelinek  <jakub@redhat.com>
846         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Include tls.h.
847         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
849         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (thread_start):
850         DO_CALL (exit, 1) instead of branching to _exit.
851         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (thread_start):
852         Likewise.
854         * sysdeps/s390/fpu/bits/mathinline.h: New file.
856         * include/glob.h (glob64): Add libc_hidden_proto.
857         * sysdeps/generic/glob64.c (glob64): Add libc_hidden_def.
858         * sysdeps/gnu/glob64.c (glob64): Likewise.
859         * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Likewise.
861 2004-06-11  Jakub Jelinek  <jakub@redhat.com>
863         * sysdeps/i386/fpu/libm-test-ulps: Update for GCC 3.4.
864         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
866 2004-06-11  Dwayne Grant McConnell  <dgm69@us.ibm.com>
868         * sysdeps/powerpc/fpu/s_lround.c: Removed.
869         * sysdeps/powerpc/fpu/s_lroundf.c: Removed.
870         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: New file.
871         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: New file.
872         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: New file.
873         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: New file.
874         * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: Removed.
875         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: New file.
876         * sysdeps/powerpc/powerpc32/fpu/s_lroundf.S: New file.
877         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: New file.
878         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: New file.
879         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: New file.
880         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: New file.
881         * sysdeps/powerpc/powerpc32/fpu/s_round.S: New file.
882         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: New file.
883         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: New file.
885 2004-06-30  Ulrich Drepper  <drepper@redhat.com>
887         * include/net/if.h: Handle if_nameindex and if_freenameindex with
888         libc_proto_hidden.
889         * sysdeps/unix/sysv/linux/netlinkaccess.h: New file.
890         * sysdeps/unix/sysv/linux/ifaddrs.c: Export netlink handling functions.
891         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Implement using
892         netlink if possible.  Fall back on ioctl method if necessary.
893         * sysdeps/unix/sysv/linux/Dist: Add netlinkaccess.h.
895         * include/unistd.h: Declare __truncate.
896         * sysdeps/generic/truncate.c: Also define __truncate.
897         * sysdeps/mach/hurd/truncate.c: Likewise.
898         * sysdeps/unix/common/syscalls.list: Likewise.
899         * sysdeps/unix/sysv/linux/truncate64.c: Use __truncate, not truncate.
901 2004-06-29  Ulrich Drepper  <drepper@redhat.com>
903         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
904         info.extra.  Patch by Marcus Meissner.
906 2004-06-29  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
908         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
909         Fix branch offset for a PLT entry.
911 2004-06-20  Jim Meyering  <jim@meyering.net>
913         * malloc/obstack.h (obstack_base): Cast to `void *', to align with
914         documentation.
916 2004-06-28  Ulrich Drepper  <drepper@redhat.com>
918         * inet/bug-if1.c (do_test): Simply use 0 as invalid index.
919         Workaround for [BZ #232].
921         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Use extend_alloca.
923 2004-06-28  GOTO Masanori  <gotom@debian.or.jp>
925         * iconv/gconv_simple.c: Use get16/put16 for user given buffer
926         in ucs2/ucs2reverse when unaligned memory access is attempted.
927         * iconv/tst-iconv5.c: New file.
928         * iconv/Makefile (tests): Add tst-iconv5.
930 2004-06-28  Jakub Jelinek  <jakub@redhat.com>
932         * inet/bug-if1.c: Include <string.h>.
934 2004-06-19  Roland McGrath  <roland@redhat.com>
936         * sysdeps/posix/waitid.c (do_waitid) [DO_WAITID]: Define function
937         under this macro name instead.
938         [NO_DO_WAITID]: Don't define it at all.
939         (do_waitid) [WNOWAIT, WEXITED]: If these POSIX.1 waitid flag bits are
940         defined, then return ENOTSUP for combinations of selection bits other
941         than WEXITED and WEXITED|WSTOPPED, which this version cannot support.
943         * posix/tst-waitid.c: New file.
944         * posix/Makefile (tests): Add it.
946 2004-06-28  Jakub Jelinek  <jakub@redhat.com>
948         * sysdeps/unix/alpha/sysdep.h (inline_syscall6): Fix a typo.
950         [BZ #231]
951         * sysdeps/unix/alpha/sysdep.S (__syscall_error): Avoid !samegp
952         relocation in librt.so.
954         [BZ #230]
955         * sysdeps/alpha/dl-machine.h (_dl_start_user): Use ldah/ldl to load
956         _dl_skip_args.  Patch by Jakub Bogusz <qboosh@pld-linux.org>.
958 2004-06-27  Ulrich Drepper  <drepper@redhat.com>
960         * elf/ldconfig.c (add_dir): Take chroot into account.
961         Based on changes by HJ Lu and Hideki Iwamoto.
963         * nscd/connections.c (invalidate_cache): If the host cache has to
964         be invalidated, re-read resolv.conf.
966         * resolv/resolv.h (RES_NOIP6DOTINT): Define.
967         * resolv/res_init.c (res_setoptions): Handle no-ip6-dotint option.
968         * resolv/gethnamaddr.c (gethostbyaddr): Don't lookup with .ip6.int
969         if RES_NOIP6DOTINT flag is set.
970         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
972 2004-06-25  Jakub Jelinek  <jakub@redhat.com>
974         * sysdeps/unix/sysv/linux/powerpc/fcntl.c: Move to...
975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: ... here.
976         * sysdeps/unix/sysv/linux/powerpc/lockf64.c: Move to...
977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: ... here.
978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: New file.
980         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_GETLK, F_SETLK,
981         F_SETLKW): Fix values for -m32 -D_FILE_OFFSET_BITS=64.
983 2004-06-21  Jakub Jelinek  <jakub@redhat.com>
985         [BZ #231]
986         * sysdeps/unix/alpha/Makefile: New file.
987         * sysdeps/unix/alpha/rt-sysdep.S: New file.
988         Reported by Jakub Bogusz <qboosh@pld-linux.org>.
990 2004-06-18  Ulrich Drepper  <drepper@redhat.com>
992         * sysdeps/posix/getaddrinfo.c (gaih_inet): For AI_CANONNAME,
993         determine the canonical name only for the first returned entry.
995         * inet/bug-if1.c: New file.
996         * inet/Makefile (tests): Add bug-if1.
998 2004-06-18  Roland McGrath  <roland@frob.com>
1000         * Makerules (compile-mkdep-flags): Add -MT $@.
1002         * Makefile (dist, tag-for-dist): New targets.
1003         (files-for-dist, tag-of-stem): New variables.
1004         (glibc-%.tar glibc-linuxthreads-%.tar): New pattern rule.
1005         Make tar files using cvs export.
1006         (%.bz2, %.gz, tag-%): New pattern rules.
1007         (distribute): Variable removed.
1008         (+subdir_targets): Remove distinfo targets.
1009         (echo_subdirs, echo-distinfo, parent_echo-distinfo): Targets removed.
1010         (rpm/%): Pattern rule removed.
1011         * rpm/Makefile, rpm/rpmrc, rpm/template: Ancient cruft files removed.
1012         * Rules (subdir_echo-headers, subdir_echo-distinfo, subdir_dist):
1013         Targets removed.
1014         * Makerules (dist, subdir_distinfo): Targets removed.
1015         ($(objpfx)distinfo): Depend on $(distribute).
1016         * Make-dist: File removed.
1018         * NEWS: Fix a typo.  Update bug-reporting instructions.
1020 2004-06-17  Thorsten Kukuk  <kukuk@suse.de>
1022         * sysdeps/unix/sysv/linux/sched_setaffinity.c
1023         (__sched_setaffinity_new): Set errno to EINVAL and return -1 if
1024         cpuset is wrongly set.
1026 2004-06-15  Steven Munroe  <sjmunroe@us.ibm.com>
1028         * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling
1029         for POWER4 machines.
1031 2004-06-14  Jakub Jelinek  <jakub@redhat.com>
1033         [BZ #218]
1034         * sunrpc/pmap_prot2.c (xdr_pmaplist): When freeing, remember pml_next
1035         in a local variable, point rp to that local variable afterwards.
1037 2004-06-11  Jakub Jelinek  <jakub@redhat.com>
1039         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Handle special
1040         cases properly.
1042 2004-06-17  Ulrich Drepper  <drepper@redhat.com>
1044         * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct
1045         error value for unknown interface. [BZ #198]
1047 2004-06-13  Jakub Jelinek  <jakub@redhat.com>
1049         * sysdeps/i386/bits/string.h (memcpy): Add () around arguments.
1050         (memchr, __memrchr, strlen, strcmp, strncmp, __strchr_g, __strchr_c,
1051         __strchrnul_g, __strchrnul_c, strspn, strcspn, strpbrk): Add memory
1052         the asm uses as its input, either of size __n where __n is known or
1053         0xfffffff.
1054         (strstr): Add "memory" clobber.
1056 2004-06-14  Jakub Jelinek  <jakub@redhat.com>
1058         [BZ #219]
1059         * nss/nsswitch.c (free_mem): Don't try to close a library handle
1060         if the handle is invalid.  Patch by David Kimdon <kimdon@esrf.fr>.
1062 2004-06-11  Dmitry V. Levin  <ldv@altlinux.org>
1064         [BZ #217]
1065         * debug/xtrace.sh: Fix typo in error diagnostics.
1067 2004-06-14  Andreas Schwab  <schwab@suse.de>
1069         * stdio-common/psignal.c (psignal): Don't use BUF when asprintf
1070         failed.
1072 2004-06-15  Steven Munroe  <sjmunroe@us.ibm.com>
1074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix pasto
1075         that clobbers r19.  Fix pasto that overflowed sigcontext.v_reserve.
1076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Fix pasto
1077         that clobbers r19.
1078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Fix pasto
1079         that clobbers r19.  Fix pasto that overflowed sigcontext.v_reserve.
1080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S:
1081         Fix setting of sigcontext.v_regs.  Fix pasto that clobbers r19.
1082         Fix pasto that overflowed sigcontext.v_reserve.
1083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S:
1084         Fix pasto that clobbers r19.
1085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Fix setting
1086         of sigcontext.v_regs.  Fix pasto that clobbers r19.  Fix pasto that
1087         overflowed sigcontext.v_reserve.
1089 2004-05-04  H.J. Lu  <hongjiu.lu@intel.com>
1091         [BZ #150]
1092         * sysdeps/generic/strtol_l.c (DEF): Use ".gnu.linkonce.r."
1093         instead of ".gnu.linkonce.ro." as the prefix for linkonce
1094         read-only section name.
1096 2004-06-14  Richard Henderson  <rth@redhat.com>
1098         * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp".
1099         (_ITOFT, _FTOIT, _ITOFT2): Likewise.
1101 2004-06-08  Jakub Jelinek  <jakub@redhat.com>
1103         * sysdeps/s390/s390-32/backtrace.c (init): Guard with #ifdef SHARED.
1104         (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
1105         (__backtrace): Don't call init #ifndef SHARED.
1106         * sysdeps/s390/s390-64/backtrace.c (init): Guard with #ifdef SHARED.
1107         (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
1108         (__backtrace): Don't call init #ifndef SHARED.
1109         * sysdeps/ia64/backtrace.c (init): Guard with #ifdef SHARED.
1110         (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
1111         (__backtrace): Don't call init #ifndef SHARED.
1113 2004-06-11  Roland McGrath  <roland@redhat.com>
1115         * sysdeps/arm/strlen.S [__ARMEB__]: Compute correctly for big-endian.
1116         From Krzysztof Halasa <khc@pm.waw.pl>.
1118 2004-06-10  Jakub Jelinek  <jakub@redhat.com>
1120         * elf/tls-macros.h [__s390x__] (TLS_LD, TLS_GD): Clobber also r14.
1122 2004-06-08  Jakub Jelinek  <jakub@redhat.com>
1124         [BZ #199]
1125         * crypt/md5-crypt.c (__md5_crypt): Only update buflen if realloc
1126         succeeds.  Reported by Miles Ohlrich <miles@cray.com>.
1128         * elf/chroot_canon.c (chroot_canon): Avoid segfault if first malloc
1129         fails.  Avoid memory leak if realloc fails.
1131 2004-06-09  Jakub Jelinek  <jakub@redhat.com>
1133         * sysdeps/generic/setenv.c (setenv): Return -1/EINVAL if name is
1134         NULL, "" or contains '=' character in it.  Reported by
1135         Michael T Kerrisk <mtk-lists@gmx.net>.
1136         * stdlib/tst-environ.c: Include errno.h.
1137         (main): Add tests for these arguments to setenv/unsetenv.
1139 2004-06-07  Roland McGrath  <roland@frob.com>
1141         * NEWS: Update bug reporting instructions.  Fix some typos.
1143 2004-06-05  Ulrich Drepper  <drepper@redhat.com>
1145         * stdio-common/_itoa.h: Don't expand _itoa inline for libc.
1146         * stdio-common/_itoa.c: Add _itoa implementation.
1148         * nscd/nscd_gethst_r.c (__nscd_open_socket): Change implementation
1149         to also send request.  Add parameter to allow this.
1150         Change callers.
1151         * nscd/nscd_getgr_r.c: Change __nscd_open_socket caller.
1152         * nscd/nscd_getpw_r.c: Likewise.
1153         * nscd/nscd-client.h: Change __nscd_open_socket prototype.
1155 2004-06-05  Andreas Jaeger  <aj@suse.de>
1157         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1158         Handle more than 6 args correctly.  Based on a patch by Masahide
1159         Washizawa <washi@jp.ibm.com>.
1161 2004-06-04  Ulrich Drepper  <drepper@redhat.com>
1163         * nscd/nscd_gethst_r.c (nscd_gethst_r): Use __nss_not_use_nscd_hosts
1164         in all places, not __nss_not_use_nscd_group.
1165         Reported by Philippe Gregoire.
1167 2004-06-03  Ulrich Drepper  <drepper@redhat.com>
1169         * sysdeps/i386/i486/bits/atomic.h: Optimize a bit.
1171 2004-05-07  Dmitry V. Levin  <ldv@altlinux.org>
1173         * argp/argp-help.c (__argp_error, __argp_failure): Check result
1174         of __asprintf call and don't use string if it failed.
1175         * stdio-common/psignal.c (psignal): Likewise.
1176         * locale/programs/localedef.c (more_help): Likewise.
1177         * resolv/res_hconf.c (arg_service_list, arg_trimdomain_list,
1178         arg_bool, parse_line): Check result of __asprintf calls and
1179         don't use string if they failed.
1180         * sunrpc/svc_simple.c (registerrpc, universal): Likewise.
1181         * elf/ldconfig.c (parse_conf_include): Check result of __asprintf
1182         call and exit if it failed.
1184 2004-05-10  Jakub Jelinek  <jakub@redhat.com>
1186         * sysdeps/posix/sysconf.c (__sysconf) <cases _SC_REALTIME_SIGNALS,
1187         _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
1188         _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES,
1189         _SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION,
1190         _SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS,
1191         _SC_THREADS, _SC_THREAD_SAFE_FUNCTIONS, _SC_THREAD_ATTR_STACKADDR,
1192         _SC_THREAD_ATTR_STACKSIZE, _SC_THREAD_PRIORITY_SCHEDULING,
1193         _SC_THREAD_PRIO_INHERIT, _SC_THREAD_PRIO_PROTECT,
1194         _SC_THREAD_PROCESS_SHARED>: Return _POSIX_* value instead of 1.
1195         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1196         <case _SC_MONOTONIC_CLOCK>: Return _POSIX_VERSION instead of 1.
1198 2004-05-07  Jeroen Dekkers  <jeroen@dekkers.cx>
1200         * sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Add
1201         -momit-leaf-frame-pointer.
1203         * inet/test-ifaddrs.c (addr_string): Surround AF_PACKET case with
1204         #ifdef AF_PACKET.
1206         * sysdeps/mach/hurd/getcwd.c
1207         (_hurd_canonicalize_directory_name_intern): Only realloc when
1208         size is <= 0.
1210         * sysdeps/mach/hurd/mmap.c (__mmap): Fail when addr or offset
1211         isn't page aligned.
1213         * sysdeps/mach/hurd/spawni.c (EXPAND_DTABLE): Set dtablesize to
1214         new size.
1216         * sysdeps/mach/hurd/Versions (GLIBC_PRIVATE): Add __libc_read,
1217         __libc_write and __libc_lseek64.
1219 2004-05-29  Roland McGrath  <roland@redhat.com>
1221         * elf/Makefile (shared-only-routines): Add dl-caller.
1223 2004-05-28  Ulrich Drepper  <drepper@redhat.com>
1225         * sysdeps/powerpc/configure.in: New file.
1227 2004-05-28  Steven Munroe  <sjmunroe@us.ibm.com>
1229         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add .machine
1230         "altivec" to enable VMX instructions.
1231         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1232         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1233         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1241 2004-05-27  Jakub Jelinek  <jakub@redhat.com>
1243         * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Define using
1244         __builtin_expm1l for GCC 3.5+.
1245         (__expl): Define using __builtin_expl for GCC 3.4+.
1246         (exp, expf, expl): Don't define for GCC 3.4+.
1247         (tan, tanf, tanl): Don't define for GCC 3.5+.
1248         (__atan2l): Define using __builtin_atan2l for GCC 3.4+.
1249         (atan2, atan2f, atan2l): Don't define for GCC 3.4+ or !__FAST_MATH__.
1250         (fmod, fmodf, fmodl): Don't define for GCC 3.5+ or !__FAST_MATH__.
1251         (fabsf, fabsl): Only provide if __USE_MISC or __USE_ISOC99.
1252         (sin, sinf, sinl, cos, cosf, cosl, log, logf, logl): Don't define
1253         for GCC 3.4+.
1254         (log10, log10f, log10l, asin, asinf, asinl, acos, acosf, acosl):
1255         Don't define for GCC 3.5+.
1256         (atan, atanf, atanl): Don't define for GCC 3.4+ or !__FAST_MATH__.
1257         (log1p, log1pf, log1pl, logb, logbf, logbl, log2, log2f, log2l): Don't
1258         define for GCC 3.5+.
1259         (drem, dremf, dreml): Don't define for GCC 3.5+ or !__FAST_MATH__.
1260         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, sqrtf, sqrtl): Don't
1261         define for GCC 3.2+.
1263 2004-05-27  Jakub Jelinek  <jakub@redhat.com>
1265         * string/bits/string2.h (__bzero): Define even for GCC 3.0+.
1266         * sysdeps/alpha/stpcpy.S (stpcpy): Add libc_hidden_builtin_def.
1267         * sysdeps/alpha/alphaev67/stpcpy.S (stpcpy): Likewise.
1268         * sysdeps/powerpc/powerpc32/stpcpy.S (stpcpy): Likewise.
1269         * sysdeps/powerpc/powerpc64/stpcpy.S (stpcpy): Likewise.
1270         * sysdeps/sparc/sparc32/stpcpy.S (stpcpy): Likewise.
1271         * sysdeps/sparc/sparc64/stpcpy.S (stpcpy): Likewise.
1272         * sysdeps/i386/stpcpy.S (stpcpy): Likewise.
1273         * sysdeps/i386/i586/stpcpy.S (stpcpy): Likewise.
1274         * sysdeps/generic/stpcpy.c (stpcpy): Likewise.
1275         * sysdeps/x86_64/stpcpy.S (stpcpy): Likewise.
1276         * sysdeps/i386/i586/memcpy.S (memcpy): Remove
1277         libc_hidden_builtin_def if MEMPCPY_P.
1278         * sysdeps/x86_64/memcpy.S (memcpy): Likewise.
1279         * sysdeps/i386/i686/mempcpy.S (mempcpy): Add libc_hidden_builtin_def.
1280         * sysdeps/i386/i586/mempcpy.S (mempcpy): Likewise.
1281         * sysdeps/generic/mempcpy.c (mempcpy): Likewise.
1282         * sysdeps/x86_64/mempcpy.S (mempcpy): Likewise.
1284 2004-05-26  Roland McGrath  <roland@frob.com>
1286         * sysdeps/generic/bits/in.h
1287         (IMPLINK_IP, IMPLINK_LOWEXPER, IMPLINK_HIGHEXPER): Macros removed.
1288         These are long obsolete in BSD systems where they originated.
1289         * conform/data/netinet/in.h-data: Remove `allow IMPLINK_*'
1291 2004-05-26  Jakub Jelinek  <jakub@redhat.com>
1293         * include/string.h (mempcpy, stpcpy): Add libc_hidden_builtin_proto.
1294         * string/bits/string2.h (memset): Disable macro for GCC 3.0+.
1295         (__mempcpy): Use __builtin_mempcpy for GCC 3.4+.
1296         (strchr): For GCC 3.2+, only use __rawmemchr if second argument is
1297         constant '\0' and first argument is not constant.
1298         (__stpcpy): Use __builtin_stpcpy for GCC 3.4+.
1299         (strncpy): Remove #ifdef _USE_STRING_ARCH_mempcpy variant.
1300         For GCC 3.2+ use __builtin_strncpy.
1301         (strncat): For GCC 3.2+ use __builtin_strncat.
1302         (strcmp): For GCC 3.2+ use __builtin_strcmp if both arguments are
1303         constant.
1304         (strcspn, strspn, strpbrk): For GCC 3.2+, use builtin function
1305         if both arguments are constant.
1307 2004-05-26  Ulrich Drepper  <drepper@redhat.com>
1309         * nss/nss_files/files-hosts.c: Fix condition for looking up IPv4
1310         mapped addresses in gethostbyaddr.
1312 2004-05-25  Ulrich Drepper  <drepper@redhat.com>
1314         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove typep and
1315         flags parameter, convert afp to simple int parameter.  Adjust code.
1316         typep was never != NULL and flags therefore also unused.  *afp is
1317         never modified.
1318         * nss/nsswitch.h: Adjust __nss_hostname_digits_dots prototype.
1319         * nss/getXXbyYY.c: Remove HAVE_TYPE handling.  Adjust af parameter
1320         handling for __nss_hostname_digits_dots calls.
1321         * nss/getXXbyYY_r.c: Likewise.
1323         * elf/dl-load.c (_dl_map_object_from_fd): Map DSOs with MAP_DENYWRITE.
1325 2004-05-25  Steven Munroe  <sjmunroe@us.ibm.com>
1327         * sysdeps/powerpc/fpu/Makefile: Make ld.so a dependency of libm.so.
1328         * sysdeps/powerpc/fpu/bits/mathinline.h [__LIBC_INERNAL_MATH_INLINES]
1329         (__ieee754_sqrt): Define as __MATH_INLINE using fsqrt instruction.
1330         (__ieee754_sqrtf): Define as __MATH_INLINE using fsqrts instruction.
1331         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Moved
1332         implementation from w_sqrt.c.
1333         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Moved
1334         implementation from w_sqrtf.c.
1335         * sysdeps/powerpc/fpu/w_sqrt.c (__sqrt): Wrapper implementation
1336         using inline __ieee754_sqrt().
1337         * sysdeps/powerpc/fpu/w_sqrtf.c (__sqrtf): Wrapper implementation
1338         using inline __ieee754_sqrtf().
1339         * sysdeps/powerpc/powerpc32/sysdep.h [__ASSEMBLER__]: Include
1340         <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
1341         * sysdeps/powerpc/sysdep.h [__ASSEMBLER__] (PPC_FEATURE_*): Define
1342         PPC_FEATURE_*  independent of __ASSEMBLER__.
1344 2004-05-25  Jakub Jelinek  <jakub@redhat.com>
1346         * sysdeps/pthread/aio_notify.c: Use <> instead of "" for aio_misc.h
1347         include.
1348         (aio_start_notify_thread): Define if not defined.
1349         (notify_func_wrapper): Use it.
1350         * sysdeps/pthread/aio_misc.c: Use <> instead of "" for aio_misc.h
1351         include.
1352         (aio_create_helper_thread): Define if not defined.
1353         (__aio_create_helper_thread): New function.
1354         (__aio_enqueue_request): Use aio_create_helper_thread.
1356         * nis/ypclnt.c (ypall_data, ypall_foreach): Remove.
1357         (struct ypresp_all_data): New type.
1358         (__xdr_ypresp_all): Change second argument to
1359         struct ypresp_all_data *.  Replace ypall_foreach and
1360         ypall_data with objp->foreach and objp->data.
1361         (yp_all): Remove status variable, add data.  Replace
1362         all uses of status with data.status.  Initialize data.foreach
1363         and data.data instead of ypall_foreach and ypall_data.
1365 2004-05-24  Jakub Jelinek  <jakub@redhat.com>
1367         * elf/dl-lookup.c (add_dependency): Set DF_1_NODELETE bit
1368         in l_flags_1, not in l_flags.
1370 2004-04-10  Robert Millan  <robertmh@gnu.org>
1372         * sysdeps/unix/sysv/linux/bits/in.h: Cosmetic fixes to get in sync
1373         with sysdeps/generic/bits/in.h.
1375 2004-05-25  Roland McGrath  <roland@frob.com>
1377         * sysdeps/generic/unwind-dw2-fde-glibc.c: Change copyright terms from
1378         GCC GPL to standard glibc LGPL.
1380 2004-05-24  Ulrich Drepper  <drepper@redhat.com>
1382         * manual/string.texi (Copying and Concatenation): Fixed second
1383         concat example.
1384         Reported by Fabian Pietsch <fabian@zzznowman.dyndns.org>.
1386 2004-05-23  Ulrich Drepper  <drepper@redhat.com>
1388         * malloc/obstack.c: Don't allow linking with _obstack.
1390 2004-05-23  Andreas Schwab  <schwab@suse.de>
1392         * sysdeps/m68k/m68020/bits/atomic.h: Use "+m" constraint instead
1393         of separate "m" constraints.
1395 2004-05-15  Chris Demetriou  <cgd@broadcom.com>
1397         * sysdeps/mips/dl-machine.h (ELF_DL_FRAME_SIZE)
1398         (ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS): For the N32
1399         and 64 ABIs, save and restore regs $10 and $11 (a6 and a7).
1401 2004-05-20  Paul Eggert  <eggert@cs.ucla.edu>
1403         * malloc/obstack.c (_obstack) [!defined _LIBC]: Remove; not used.
1404         Add comment explaining why libc still defines it.
1406 2004-05-19  Paul Eggert  <eggert@cs.ucla.edu>
1408         * malloc/obstack.h (_obstack_free, obstack_1grow, obstack_1grow_fast,
1409         obstack_alignment_mask, obstack_alloc, obstack_base,
1410         obstack_blank, obstack_blank_fast, obstack_chunk_size,
1411         obstack_copy, obstack_copy0, obstack_finish, obstack_grow,
1412         obstack_grow0, obstack_init, obstack_int_grow,
1413         obstack_int_grow_fast, obstack_make_room, obstack_memory_used,
1414         obstack_next_free, obstack_object_size, obstack_ptr_grow,
1415         obstack_ptr_grow_fast, obstack_room): Remove declarations of
1416         nonexistent functions.
1418 2004-05-18  Steven Munroe  <sjmunroe@us.ibm.com>
1420         * sysdeps/powerpc/powerpc64/sysdep.h [__ASSEMBLER__]: Include
1421         <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
1422         [PIC]: Redundent for powerpc64, removed.
1423         (ENTRY): Generate size and alignment for opd entry.
1424         (EALIGN): Generate size and alignment for opd entry.
1425         (END): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
1426         (END_GEN_TB): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
1428 2004-05-19  Ulrich Drepper  <drepper@redhat.com>
1430         * misc/regexp.h: Say the functions have been withdrawn.
1432         * wcsmbs/tst-wcpncpy.c: Add more tests.
1434 2004-05-18  Roland McGrath  <roland@frob.com>
1436         * sysdeps/generic/unwind.h: Change copyright terms from GCC GPL to
1437         standard glibc LGPL.
1438         * sysdeps/generic/unwind-dw2.c: Likewise.
1439         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
1440         * sysdeps/generic/unwind-dw2-fde.h: Likewise.
1441         * sysdeps/generic/unwind-pe.h: Likewise.
1443 2004-05-15  Petter Reinholdtsen  <pere@hungry.com>
1445         * locale/iso-3166.def: Remove YUGOSLAVIA and insert "SERBIA AND
1446         MONTENEGRO" which have taken over the code 819.  Patch from
1447         Danilo Segan. [BZ #40]
1449 2004-05-15  Jakub Jelinek  <jakub@redhat.com>
1451         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
1452         (SYSCALL_ERROR_HANDLER): Rename __sparc.get_pic.l7 to
1453         __sparc_get_pic_l7.
1455 2004-05-15  Joseph S. Myers  <jsm@polyomino.org.uk>
1457         * catgets/gencat.c: Update bug reporting instructions.
1458         * csu/version.c: Likewise.
1459         * debug/catchsegv.sh: Likewise.
1460         * debug/pcprofiledump.c: Likewise.
1461         * debug/xtrace.sh: Likewise.
1462         * elf/ldd.bash.in: Likewise.
1463         * iconv/iconv_prog.c: Likewise.
1464         * iconv/iconvconfig.c: Likewise.
1465         * locale/programs/locale.c: Likewise.
1466         * locale/programs/localedef.c: Likewise.
1467         * login/programs/pt_chown.c: Likewise.
1468         * malloc/memusage.sh: Likewise.
1469         * malloc/memusagestat.c: Likewise.
1470         * malloc/mtrace.pl: Likewise.
1471         * manual/crypt.texi: Likewise.
1472         * manual/install.texi: Likewise.
1473         * nss/makedb.c: Likewise.
1475 2004-05-14  Jakub Jelinek  <jakub@redhat.com>
1477         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Only
1478         CHECK_STATIC_TLS if sym != NULL.
1479         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1480         * sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise.
1482 2004-05-12  Andreas Schwab  <schwab@suse.de>
1484         * posix/regex_internal.c (build_wcs_buffer): Also set pstr->mbs
1485         when translating.
1487 2004-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1489         * Rules (xtests): Depend on tests.
1491 2004-05-13  Jakub Jelinek  <jakub@redhat.com>
1493         * libio/genops.c (_IO_default_xsputn): Avoid one overflow per char if
1494         count is negative, yet write_ptr < write_end.
1495         (_IO_default_xsgetn): Avoid one underflow per char if count is
1496         negative, yet read_ptr < read_end.
1498 2004-05-12  Steven Munroe  <sjmunroe@us.ibm.com>
1500         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XTABS): Define XTABS
1501         equal to TAB3.
1503 2004-05-12  Ulrich Drepper  <drepper@redhat.com>
1505         * elf/dl-lookup.c (_dl_lookup_symbol_x): Correct _dl_signal_cerror
1506         call.
1508 2004-05-10  Roland McGrath  <roland@frob.com>
1510         * hurd/hurdlookup.c (__hurd_file_name_split): Return ENOENT for "".
1511         (__hurd_directory_name_split): Likewise.
1513 2004-05-10  Ulrich Drepper  <drepper@redhat.com>
1515         * po/fr.po: Update from translation team.
1517 2004-05-10  Andreas Jaeger  <aj@suse.de>
1519         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1520         Correctly compute alignment.
1521         Patch by Michael Matz <matz@suse.de>.
1523 2004-05-09  Ulrich Drepper  <drepper@redhat.com>
1525         * sysdeps/generic/sigpause.c: Prevent sigpause prototype.
1526         * sysdeps/posix/sigpause.c: Likewise.
1527         * signal/signal.h: Don't define sigpause macro unless needed.
1529 2004-05-08  Jakub Jelinek  <jakub@redhat.com>
1531         * configure.in (libc_cv_libgcc_s_suffix): New check.
1532         (libc_cv_as_needed): Use -lgcc_s$libc_cv_libgcc_s_suffix.
1533         * config.make.in (libgcc_s_suffix): Set.
1534         * Makeconfig (libgcc_eh): Use -lgcc_s$(libgcc_s_suffix).
1536 2004-05-08  Ulrich Drepper  <drepper@redhat.com>
1538         * signal/signal.h: Use BSD sigpause only if BSD behavior is preferred.
1540 2004-04-29  Steven Munroe  <sjmunroe@us.ibm.com>
1542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_1,
1543         LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
1544         Load argument values into temporary variables.
1545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_1,
1546         LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
1547         Likewise.
1549 2004-05-07  Ulrich Drepper  <drepper@redhat.com>
1551         * sysdeps/unix/sysv/linux/Makefile: mq_send.c and mq_receive.c
1552         need to be compiled with exceptions.
1554 2004-05-06  Ulrich Drepper  <drepper@redhat.com>
1556         * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Fix memory handling.
1557         * sysdeps/generic/ifreq.c (__ifreq): Fix memory handling.
1559         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Make clear that
1560         realloc cannot fail.
1562         * nss/nss_files/files-netgrp.c (EXPAND): Free buffer which cannot
1563         be expanded.
1565         * nis/nis_table.c: Clean up memory handling.
1566         * nis/nis_subr.c (nis_getnames): Clean up memory handling.
1567         * nis/nis_removemember.c (nis_removemember): Add comment
1568         explaining use of realloc.
1570         * math/tgmath.h (fabs): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL.
1571         (carg): Likewise.
1572         Patch by Lev S Bishop <lev.bishop@yale.edu>.
1574         * math/bug-tgmath1.c (main): Test fabs and carg as well.
1576 2004-05-06  Richard Henderson  <rth@redhat.com>
1578         * elf/elf.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE,
1579         AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New.
1580         * sysdeps/unix/sysv/linux/alpha/Versions: Export
1581         __libc_alpha_cache_shape as a private symbol.
1582         * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: New file.
1583         * sysdeps/unix/sysv/linux/alpha/sysconf.c: New file.
1585 2004-05-06  Richard Henderson  <rth@redhat.com>
1587         * sysdeps/alpha/div_libc.h (_ITOFS, _ITOFT, _FTOIT, _ITOFT2): New.
1588         * sysdeps/alpha/divl.S: Use them.
1589         * sysdeps/alpha/divq.S: Likewise.
1590         * sysdeps/alpha/divqu.S: Likewise.
1591         * sysdeps/alpha/reml.S: Likewise.
1592         * sysdeps/alpha/remq.S: Likewise.
1593         * sysdeps/alpha/remqu.S: Likewise.
1595 2004-05-06  Ulrich Drepper  <drepper@redhat.com>
1597         * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG_RET_REAL):Define.
1598         (cimag): Use it.
1599         (creal): Likewise.
1600         * math/Makefile (tests): Add bug-tgmath1.
1601         * math/bug-tgmath1.c: New file.
1603 2004-05-05  Jakub Jelinek  <jakub@redhat.com>
1605         * sysdeps/alpha/atomicity.h: Remove.
1606         * sysdeps/generic/atomicity.h: Remove.
1608 2004-05-05  H.J. Lu  <hongjiu.lu@intel.com>
1610         * sysdeps/i386/i486/bits/string.h (strpbrk): Cast return to
1611         char *.
1613 2004-04-22  David Mosberger  <davidm@hpl.hp.com>
1615         * sysdeps/unix/sysv/linux/ia64/Makefile (librt-routines): Mention
1616           rt-sysdep.
1617         * sysdeps/unix/sysv/linux/ia64/rt-sysdep.S: New file.
1619         * sysdeps/ia64/strcat.c: New file.
1620         * sysdeps/ia64/strcat.S: Delete.
1622 2004-05-04  Jakub Jelinek  <jakub@redhat.com>
1624         * sysdeps/unix/sysv/linux/ia64/sysdep.S (USE___THREAD): Remove
1625         defined.
1627 2004-04-23  Jakub Jelinek  <jakub@redhat.com>
1629         * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Add
1630         libc_hidden_proto.  Define to __GI___libm_error_support for
1631         assembly going into libc.so.
1632         * sysdeps/ia64/fpu/libc_libm_error.c (__libm_error_support): Add
1633         libc_hidden_def.
1635         * include/libc-symbols.h (HIDDEN_BUILTIN_JUMPTARGET): Define.
1636         * sysdeps/ia64/bcopy.S (bcopy): Use it for jump to memmove.
1638         * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Access
1639         gprel errno if RTLD_PRIVATE_ERRNO or __thread __libc_errno/errno
1640         if USE___THREAD.
1642 2004-05-03  Jakub Jelinek  <jakub@redhat.com>
1644         * sysdeps/unix/bsd/bits/fcntl.h (F_SETOWN, F_GETOWN): Define if
1645         __USE_BSD or __USE_UNIX98.
1646         * sysdeps/unix/bsd/ultrix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1647         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1648         * sysdeps/unix/bsd/sun/sunos4/bits/fcntl.h (F_SETOWN, F_GETOWN):
1649         Likewise.
1650         * sysdeps/unix/common/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1651         * sysdeps/unix/sysv/aix/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1652         * sysdeps/unix/sysv/irix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1653         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_SETOWN, F_GETOWN):
1654         Likewise.
1655         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_SETOWN, F_GETOWN):
1656         Likewise.
1657         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h (F_SETOWN, F_GETOWN):
1658         Likewise.
1659         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETOWN, F_GETOWN):
1660         Likewise.
1661         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_SETOWN, F_GETOWN):
1662         Likewise.
1663         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN, F_GETOWN):
1664         Likewise.
1665         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (F_SETOWN, F_GETOWN):
1666         Likewise.
1667         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (F_SETOWN, F_GETOWN):
1668         Likewise.
1669         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN, F_GETOWN):
1670         Likewise.
1671         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (F_SETOWN, F_GETOWN):
1672         Likewise.
1673         * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (F_SETOWN, F_GETOWN):
1674         Likewise.
1675         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_SETOWN, F_GETOWN):
1676         Likewise.
1677         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_SETOWN, F_GETOWN):
1678         Likewise.
1679         * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1680         * sysdeps/mach/hurd/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1681         * io/sys/stat.h (S_ISSOCK, S_IFSOCK): Likewise.
1683 2004-05-01  Jakub Jelinek  <jakub@redhat.com>
1685         * posix/Versions (libc): Remove __libc_wait, __libc_waitpid,
1686         __libc_pause, __libc_nanosleep, __libc_pread, __libc_pread64,
1687         __libc_pwrite64, __waitid and __pselect @@GLIBC_PRIVATE.
1688         * stdlib/Versions (libc): Remove __on_exit@@GLIBC_PRIVATE.
1689         * sysdeps/unix/sysv/linux/Versions (libc): Remove
1690         __libc_sigaction@@GLIBC_PRIVATE.
1691         * sysdeps/unix/sysv/linux/x86_64/Versions (libc): Remove
1692         __modify_ldt@@GLIBC_PRIVATE.
1693         * socket/Versions (libc): Remove __libc_accept, __libc_send,
1694         __libc_recvfrom, __libc_recvmsg, __libc_sendmsg, __libc_recv,
1695         __libc_sendto and __libc_connect @@GLIBC_PRIVATE.
1696         * stdio-common/Versions (libc): Remove
1697         _itoa_upper_digits@@GLIBC_PRIVATE.
1698         * resolv/Versions (libresolv): Remove __ns_samename@@GLIBC_PRIVATE.
1699         * misc/Versions (libc): Remove __libc_fsync, __libc_msync,
1700         __libc_readv and __libc_writev @@GLIBC_PRIVATE.
1701         * termios/Versions (libc): Remove __libc_tcdrain@@GLIBC_PRIVATE.
1702         * io/Versions (libc): Remove __libc_open, __libc_close, __libc_read,
1703         __libc_write, __libc_lseek, __libc_fcntl, __libc_open64 and
1704         __libc_lseek64 @@GLIBC_PRIVATE.
1706 2004-04-30  Jakub Jelinek  <jakub@redhat.com>
1708         * elf/dl-load.c (open_verify): Move e_phentsize check after e_type
1709         check.
1711 2004-04-29  Steven Munroe  <sjmunroe@us.ibm.com>
1713         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: New file.
1714         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: New file.
1715         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: New file.
1716         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: New file.
1717         * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: Removed.
1718         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: New file.
1719         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Removed.
1720         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: New file.
1721         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: New file.
1722         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: New file.
1723         * sysdeps/powerpc/powerpc64/fpu/s_lround.S: New file.
1724         * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: New file.
1725         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: New file.
1726         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: New file.
1727         * sysdeps/powerpc/powerpc64/fpu/s_round.S: New file.
1728         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: New file.
1729         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: New file.
1730         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: New file.
1732         * math/test-misc.c [LDBL_MANT_DIG == 106](main): Correct LDBL_MAX
1733         mantissa for AIX long double format.
1734         * misc/qefgcvt.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Define for AIX
1735         long double format.
1736         * misc/qefgcvt_r.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Likewise.
1737         * stdlib/fpioconst.c [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
1738         (_fpioconst_pow10): AIX long double format has same exponent range as
1739         double.
1740         * stdlib/fpioconst.h [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
1741         (LDBL_MAX_10_EXP_LOG): AIX long double format has same exponent range
1742         as double.
1744 2004-04-23  Art Haas  <ahaas@airmail.net>
1746         * sysdeps/unix/sysv/linux/kernel-features.h: Add 'defined'.
1748 2004-04-28  Carlos O'Donell  <carlos@baldric.uwo.ca>
1750         * sysdeps/unix/sysv/linux/mq_getattr.c: Include <stddef.h>.
1751         * sysdeps/unix/sysv/linux/mq_notify.c: Likewise.
1752         * sysdeps/unix/sysv/linux/mq_open.c: Likewise.
1753         * sysdeps/unix/sysv/linux/mq_receive.c: Likewise.
1754         * sysdeps/unix/sysv/linux/mq_send.c: Likewise.
1756 2004-04-29  Philip Blundell  <pb@nexus.co.uk>
1758         * sysdeps/arm/dl-machine.h (RTLD_START): Avoid unnecessary GOT
1759         entries.
1761 2004-04-29  Jakub Jelinek  <jakub@redhat.com>
1763         * manual/resource.texi (sched_setaffinity, sched_getaffinity): Fix
1764         prototypes and description [BZ #131].
1766         * string/bits/string2.h (strpbrk): Cast NULL to char * [BZ #130].
1767         Patch by Ed Catmur <ed@catmur.co.uk>.
1768         * string/tst-inlcall.c (main): Add test for strpbrk.
1770         [BZ #140]
1771         * sysdeps/unix/sysv/linux/sys/sysctl.h: Remove linux/compiler.h
1772         include.
1773         (_LINUX_KERNEL_H, _LINUX_TYPES_H, _LINUX_LIST_H): Only define if not
1774         yet defined, #undef back after including linux/sysctl.h if defined
1775         here.
1776         (__LINUX_COMPILER_H, __user): Define if not yet defined, #undef
1777         back after including linux/sysctl.h if defined here.
1779         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c (_Qp_qtoi): Use %f31
1780         for single precision register, add it to __asm clobbers [BZ #139].
1781         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c (_Qp_qtoui): Use %f31
1782         for single precision register, add it to __asm clobbers.
1783         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c (_Qp_qtoux): Use fqtox
1784         instead of fqtoi in QP_HANDLE_EXCEPTIONS.
1785         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c (_Qp_qtox): Likewise.
1786         Reported by M. H. VanLeeuwen <vanl@megsinet.net>.
1788 2004-04-23  Andreas Schwab  <schwab@suse.de>
1790         * sysdeps/unix/sysv/linux/m68k/register-dump.h: Use
1791         __attribute_used__.
1793 2004-04-22  Philip Blundell  <philb@gnu.org>
1795         * sysdeps/arm/dl-machine.h (elf_machine_rela): Don't use INTUSE
1796         when calling _dl_signal_error.
1797         (elf_machine_rel): Likewise.
1799 2004-04-21  Ulrich Drepper  <drepper@redhat.com>
1801         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Define _GI___sigsetjmp
1802         and use it internally instead of __sigsetjmp.
1803         * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Use _GI___libm_frexp_4f.
1804         * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Use _GI___libm_frexp_4l.
1805         * sysdeps/ia64/fpu/libm_frexp4.S: Define _GI___libm_frexp_4.
1806         * sysdeps/ia64/fpu/libm_frexp4f.S: Define _GI___libm_frexp_4f.
1807         * sysdeps/ia64/fpu/libm_frexp4l.S: Define _GI___libm_frexp_4l.
1808         * sysdeps/ia64/fpu/s_frexp.c (frexp): Use _GI___libm_frexp_4.
1809         * sysdeps/ia64/fpu/libm_support.h: Declare _GI___libm_frexp_4,
1810         _GI___libm_frexp_4f, _GI___libm_frexp_4l.
1811         * sysdeps/ia64/fpu/bits/mathinline.h: New file.
1812         * sysdeps/unix/sysv/linux/ia64/__start_context.S: Use
1813         HIDDEN_JUMPTARGET for exit call.
1814         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use HIDDEN_JUMPTARGET for
1815         _exit call.
1816         * sysdeps/ia64/bcopy.S: Use HIDDEN_JUMPTARGET for memmove call.
1817         * sysdeps/ia64/strcat.S: Use HIDDEN_JUMPTARGET for strlen and
1818         strcpy calls.
1820 2004-04-21  Jakub Jelinek  <jakub@redhat.com>
1822         * posix/tst-chmod.c (do_test): Fix a typo.
1824         * elf/lateglobal.c (main): Fix error checks.
1825         Patch by Stephen Clarke <stephen.clarke@st.com>.
1827         * manual/ctype.texi (isblank, iswblank): Mark as ISO functions,
1828         mention they have been added in ISO C99.
1829         Reported by Ben Pfaff <blp@cs.stanford.edu>.
1831 2004-03-31  H.J. Lu  <hongjiu.lu@intel.com>
1833         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Fix typo.
1835 2004-04-20  Jakub Jelinek  <jakub@redhat.com>
1837         * sysdeps/unix/sysv/linux/shm_open.c (shm_unlink): Change EPERM into
1838         EACCES.
1840 2004-04-20  Jakub Jelinek  <jakub@redhat.com>
1842         * stdio-common/vfscanf.c (_IO_vfscanf): Revert last %% whitespace
1843         handling change.
1844         * stdio-common/tst-sscanf.c (int_tests): Adjust.
1846         * nis/nss-nis.c: Include stdlib.h.
1848         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Shut up a
1849         warning.
1850         * sysdeps/sparc/sparc64/memcmp.S (memcmp): Remove BP_SYM () from
1851         libc_hidden_builtin_def.
1853 2004-04-20  Jim Meyering  <jim@meyering.net>
1855         * misc/error.c (error_tail): Don't leak upon realloc failure.
1857 2004-04-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1859         * sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable):
1860         Use RETURN_ADDRESS instead of __builtin_return_address.
1862 2004-04-19  Ulrich Drepper  <drepper@redhat.com>
1864         * sysdeps/unix/sysv/linux/mq_unlink.c: Rewrite to produce more
1865         compact code.
1867 2004-04-20  Jakub Jelinek  <jakub@redhat.com>
1869         * stdio-common/vfscanf.c (_IO_vfscanf): When skipping whitespace,
1870         do input_error () instead of conv_error () and don't look at errno.
1871         Don't eat any whitespace before %% if skip_space == 0.
1872         * stdio-common/tst-sscanf.c (int_tests): New array.
1873         (main): Run int_tests.
1876 See ChangeLog.14 for earlier changes.