Update.
[glibc.git] / ChangeLog
blobc393bb74ad5e9e90ac97284e050ad745b832d8b9
1 1999-05-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3         * glibcbug.in (BUGGLIBC): Change address to
4         libc-alpha@sourceware.cygnus.com.
6 1999-05-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8         * resolv/arpa/nameser.h: Add C++ protectors.
10 1999-05-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12         * iconvdata/gconv-modules: Fix alias for CP1255.  Reported by
13         Elad Tsur <eladts@post.tau.ac.il>.
15 1999-05-11  Ulrich Drepper  <drepper@cygnus.com>
17         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
18         * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
19         lazily if LD_BIND_NOW is not set.
20         * elf/dl-support.c (_dl_lazy): New variable.
21         (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
22         * elf/rtld.c (_dl_lazy): new global variable.
23         ( dl_main): Remove lazy, replace it by _dl_lazy.
25 1999-05-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
27         * locale/setlocale.c (new_composite_name): Check also whether the
28         first category name differs.
30 1999-05-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
32         * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
33         the generic one.
35 1999-05-11  Philip Blundell  <pb@nexus.co.uk>
37         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
38         structure; storage suitable for any socket address.
39         * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
40         Likewise.
41         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
42         sockaddr_storage): Likewise.
44         * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
45         platform.
47 1999-05-10  Ulrich Drepper  <drepper@cygnus.com>
49         * hesiod/Versions: Change _nss_hesiod_getpwuid and
50         _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
51         _nss_hesiod_getgrgid_r respectively.  Fixes pr libc/1115.
53 1999-05-09  Mark Kettenis  <kettenis@gnu.org>
55         * hurd/get-host.c (_hurd_get_host_config): Return an empty value
56         if the file is empty.
58 1999-05-07  Ulrich Drepper  <drepper@cygnus.com>
60         * elf/do-lookup.h: Fix typo in comment.
62         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
63         f_bsize to help some broken programs.
65         * stdio-common/tst-printf.c: Add test case for last _itoa problem.
67         * stdio-common/vfprintf.c: Fix typo.
69 1999-05-06  Ulrich Drepper  <drepper@cygnus.com>
71         * elf/link.h (struct link_map): New field l_phdr_allocated.
72         * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
73         the program header being part of any loaded segment.  If it is not
74         allocate memory and set l_phdr_allocated flag.
75         * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
77         * nss/digits_dots.c: Correct return value interpretation of
78         inet_ntoa.  Fix PR libc/1109.
80 1999-05-06  Zack Weinberg  <zack@rabi.columbia.edu>
82         * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
84 1999-05-06  Thorsten Kukuk  <kukuk@suse.de>
86         * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
87         * stdlib/fpioconst.c: Move #endif before end of struct.
89 1999-05-05  Ulrich Drepper  <drepper@cygnus.com>
91         * Versions.def (ld.so): Add GLIBC_2.1.1.
92         * elf/Makefile (routines): Add dl-origin.
93         (tests): Add origtest.  Add dependencies for the program.
94         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
95         _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
96         * elf/dl-deps.c (expand_dst): New macro.  Expand DSTs in filename.
97         (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
98         DT_AUXILIARY, and DT_FILTER filenames.
99         * elf/dl-load.c (expand_dynamic_string_token): Explode into
100         two functions and three macros.
101         (_dl_dst_count, _dl_dst_substitute): New functions.
102         * elf/dl-dst.h: New file.
103         * elf/dl-open.c (_dl_open): Take extra parameter with address of
104         caller.  Pass address in args structure.
105         (dl_open_worker): Recognize and expand DSTs in filename.
106         * elf/ldsodefs.h (_dl_open): Adapt prototype.
107         * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
108         (__dlopen_check): Pass caller address to dlopen_doit in args.
109         * elf/dlopendoit.c: Likewise.
110         * iconv/gconv_dl.c: Adapt call of _dl_open.
111         * nss/nsswitch.c: Likewise.
112         * elf/origtest.c: New file.
113         * sysdeps/generic/dl-origin.h: Moved to...
114         * sysdeps/generic/dl-origin.c: ...here.
115         * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
116         * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
118         * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
119         with specific bases and only few bits set in second word.
121         * timezone/Makefile (install-others): Create target directory
122         before creating tzfiles.
124 1999-05-05  Thorsten Kukuk  <kukuk@suse.de>
126         * nis/nis_file.c (readColdStartFile): Allocate memory only after
127         the file is opened successfully.
129         * nis/nis_table.c: Fix some memory leaks.
131 1999-05-04  Ulrich Drepper  <drepper@cygnus.com>
133         * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
134         variable.
136         * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
137         around DST.  Correctly ignore ORIGIN IN SUID binaries.
139 1999-05-03  Ulrich Drepper  <drepper@cygnus.com>
141         * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
142         * sysdeps/generic/strtok.c: Likewise.
144         * string/tester.c: Add test of rawmemchr.
146         * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
147         specification.  It's not necessary.
149         * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
150         * elf/gen-trusted-dirs.awk: New file.
151         * elf/dl-load.c (systems_dirs): Moved into file scope.  Initialize
152         from SYSTEM_DIRS macro.
153         (system_dirs_len): New variable.  Contains lengths of system_dirs
154         strings.
155         (fillin_rpath): Rewrite for systems_dirs being a simple string.
156         Improve string comparisons.  Change parameter trusted to be a flag.
157         Change all callers.
158         (_dt_init_paths): Improve using new format for system_dirs.
160         * elf/dl-load.c (expand_dynamic_string_token): Don't expand
161         $ORIGIN for SUID binaries.
163         * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
165 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
167         * sunrpc/Makefile: Generate dependencies for all flavors of
168         librpcsvc objects.
169         (rpcgen-cmd): Pass -Y flag here and remove it from the macro
170         invocations.
172 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
174         * elf/dlopenold.c: Move #if down after includes to get
175         dependencies right.
177 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
179         * sysdeps/generic/bzero.c: Undefine __bzero.
181 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
183         * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
184         * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
185         * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
186         Patch by Craig Small <csmall@scooter.eye-net.com.au>.
188         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
189         parameter to struct gaih_servtuple *.  Adapt appropriately.
190         (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
191         This fixes a memory leak.
192         Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
194         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
195         and fpregset_t definition.  They are defined in ucontext.h.
197 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
199         * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
200         and struct ether_header must be packed on the ARM.  The default
201         alignment constraints add padding to the end of the structures.
203 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
205         * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM.  The
206         default alignment constraints add padding to the end of the
207         structure and between members.
209 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
211         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
212         _dl_cache_libcmp instead of strcmp.
214         * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
215         fails on a file.
216         Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
218 1998-03-30  Joel Klecker  <espy@debian.org>
220         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
221         (sysdep-others,install-bin): Add lddlibc4.
223 1999-05-02  H.J. Lu  <hjl@gnu.org>
225         * timezone/zic.c (dolink): Remove the symlink destination first.
227         * catgets/open_catalog.c (__open_catalog): Set catalog->status
228         to "nonexisting" if failed to open the file.
230 1999-05-01  Ulrich Drepper  <drepper@cygnus.com>
232         * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
233         gcc3.
235         * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
236         Prevent warnings from multiplication with 0x01010101 by another cast.
238 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
240         * string/bits/string2.h (memset): Revert to previous version if
241         unaligned writes are not available.
243 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
245         * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
246         better code in presence of the asm.
248 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
250         * stdlib/fmtmsg.c (keywords): Increase array size for faster
251         indexing.
253         * locale/localeinfo.h (_nl_category_names): Increase array element
254         size for faster indexing.
255         * locale/setlocale.c (_nl_category_names): Adjusted.
257 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
259         * iconv/gconv_conf.c (add_alias): Remove wrong cast.
261 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
263         * sysdeps/m68k/stackinfo.h: New file.
265 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
267         * string/tester.c (test_strchrnul): New function.
268         (test_memset): Test one more special case.
270         * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
271         25% of all cases.
273         * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
274         base types.
276         * string/bits/string2.h: Fix bugs I introduced in last change.
278         * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
279         register stall.
280         Extend memset optimization.
281         Correct i686 version of memchr.
283 1999-04-30  Roland McGrath  <roland@baalperazim.frob.com>
285         * sysdeps/i386/bzero.c: Add #undef __bzero.
287         * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
288         EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
289         exec server simulated a SIGTRAP before we even started up, so gdb is
290         already happy.
292 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
294         * nss/digits_dots.c: Always initialize not_ok.
296 1999-04-30 09:02 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
298         * string/bits/string2.h (memset): Avoid arithmetic overflow at
299         compile time, which produces obnoxious warnings.  If GCCv2 is
300         in use, map __bzero to __builtin_memset to enable that
301         optimization.
303 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
305         * string/bits/string2.h: Add more memset optimizations.
307         * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
309         * resolv/inet_pton.c (inet_pton4): Little optimizations.
310         (inet_pton6): Likewise.
312         * nss/getXXbyYY_r.c: Include assert.h.
313         * nss/getXXbyYY.c: Likewise.
315 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
317         * termios/tcgetsid.c (tcgetsid): Rename variable to
318         tiocgsid_does_not_work.
320 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
322         * inet/getnameinfo.c (nrl_domainname): Fix last patch.
324 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
326         * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
327         This allows e.g. gethostbyname to accept "10.1234".
328         Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
330         * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
331         non quad IPv4 numbers.
333 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
335         * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
337 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
339         * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
340         * argp/argp-parse.c (_argp_hang): Likewise.
341         * argp/argp-pv.c (argp_program_version): Likewise.
342         * argp/argp-pvh.c (argp_program_version_hook): Likewise.
343         * inet/ether_hton.c (ether_hton, startp): Likewise.
344         * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
345         * inet/getnetgrent_r.c (setup, startp): Likewise.
346         * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
347         * intl/localealias.c (string_space, string_space_act, string_space_max,
348         nmap, maxmap): Likewise.
349         * libio/iopopen.c (proc_file_chain): Likewise.
350         * libio/oldiopopen.c (old_proc_file_chain): Likewise.
351         * locale/lc-collate.c (__collate_table, __collate_extra,
352         __collate_element_hash, __collate_element_strings,
353         __collate_element_values): Likewise.
354         * malloc/mcheck.c (mcheck_used): Likewise.
355         * malloc/mtrace.c (added_atexit_handler): Likewise.
356         * malloc/set-freeres.c (already_called): Likewise.
357         * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
358         * misc/syslog.c (LogStat, LogTag): Likewise.
359         * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
360         * nss/getXXbyYY_r.c (startp): Likewise.
361         * posix/getopt.c (optarg, __getopt_initialized): Likewise.
362         * posix/regex.c (init_syntax_once) [done]: Likewise.
363         (debug): Likewise.
364         * string/strfry.c (init): Likewise.
365         * sunrpc/svc_run.c (svc_top): Likewise.
366         * posix/euidaccess.c (have_ids): Likewise.
367         * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
368         * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
369         * time/getdate.c (getdate_err): Likewise.
370         * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
371         Likewise.
372         * time/tzset.c (old_tz, is_initialized): Likewise.
374         * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
375         of static data with zero.
376         * signal/allocrtsig.c (init): Likewise.
378         * string/Makefile (routines): Add strchrnul.
379         * string/Versions [GLIBC_2.1.1]: Add strchrnul.
380         * string/string.c: Add strchrnul prototype.
381         * include/string.h: Add __strchrnul prototype.
382         * sysdeps/generic/strchrnul.c: New file.
383         * sysdeps/i386/strchrnul.S: New file.
384         * sysdeps/i386/bits/string.c: Add strchrnul optimization.
385         * sysdeps/i386/i486/bits/string.c: Likewise.
386         * argp/argp-help.c (argp_args_usage): Use __strchrnul.
387         * inet/ether_line.c (ether_line): Likewise.
388         * nscd/nscd_conf.c (nscd_parse_file): Likewise.
389         * nss/nsswitch.c (nss_parse_file): Likewise.
390         * posix/execvp.c (execvp): Likewise.
391         * posix/fnmatch.c (internal_fnmatch): Likewise.
392         * resolv/res_hconf.c (_res_hconv_init): Likewise.
393         * resolv/res_init.c (res_init): Likewise.
394         * stdlib/fmtmsg.c (init): Likewise.
395         * stdlib/getsubopt.c (getsubopt): Likewise.
397         * catgets/catgets.c (catopen): Only allocate one memory block.
398         (catclose): Only one free call necessary.
400         * catgets/open_catalog.c (__open_catalog): Simplify handling of
401         file descriptor.
403         * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
404         of real functions.  Simplify _tolower and _toupper.
406         * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
407         variable.
409         * iconv/gconv.h (struct gconv_info): Change data element from pointer
410         to array of size 0.
411         * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
412         * iconv/gconv_close.c (__gconv_close): Don't free data.
414         * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
415         insert new alias.
417         * iconv/gconv_db.c (add_derivation): More efficient copying.  Check
418         for error while inserting in tree.
420         * include/time.h: Pretty print.
422         * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
423         in table and lots of relocations.
424         * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
425         string pointers in table and lots of relocations.
427         * intl/finddomain.c: Remove definition of strchr macro.
429         * io/ftw.c (nftw_arr, ftw_arr): Make const.
431         * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
433         * locale/localeinfo.h (_nl_category_names): Change into an array with
434         fixed width char string elements.
435         * locale/setlocale.c (_nl_category_names): Likewise.
436         (_nl_current): Make global.
437         * locale/nl_langinfo.c (nldata): Removed.  Use _nl_current now.
439         * malloc/Makefile (distribute): Add stackinfo.h.
440         * sysdeps/generic/stackinfo.h: New file.
441         * sysdeps/i386/stackinfo.h: New file.
442         * posix/execl.c: Use stackinfo.h in optimizing alloca use.
443         * posix/execle.c: Likewise.
444         * posix/execlp.c: Likewise.
446         * nis/nis_table.c (__create_ib_request): Always use realloc.
448         * posix/execvp.c (execute): Rename to script_execute and keep only
449         code to execute using shell.
450         (execvp): Call execv directly and only fall back on script_execute.
452         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
453         and always use xdigits instead.
455         * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
456         where appropriate.
458         * stdlib/fpioconst.h (__tens): New declaration.
459         (struct mp_power): Remove array, add arrayoff element.
460         * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
461         __tens array and add in _fpioconst_pow10 offsets into __tens.
462         * stdio-common/printf_fp.c: Rewrite to use new __tens array.
463         * stdlib/strtod.c: Likewise.
465         * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
467         * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
468         of the list.
469         * stdlib/atexit.c (__exit_funcs): Don't initialize.
471         * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
473         * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
474         a single and an array with offsets.
476         * sunrpc/des_soft.c (partab): Make it const.
478         * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
479         (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
480         (__key_decryptsession_pk_LOCAL): Likewise.
481         (__key_gendes_LOCAL): Likewise.
482         (MESSENGER): Mark const.
483         (key_call_private_main): Don't initialize with 0.
484         (use_keyenvoy): Don't initialize with 0.
485         (key_call): Rewrite to reverse logic of use_doors variable.
487         * sunrpc/netname.c (OPSYS): Define as array, not pointer.
488         (startp): Don't initialize with zero.
490         * sunrpc/openchild.c (_openchild): Make first argument const.
492         * sunrpc/pmap_rmt.c (timeout): Mark const.
493         * sunrpc/xcrypt.c (hex): Likewise.
495         * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
496         initialization of global variables.
497         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
498         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
499         * termios/tcgetsid.c: Likewise.
501         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
502         fxsr to osfxsr.
504         * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
505         block.  Add function to free memory if wanted.
506         * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
508         * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
510         * wcsmbs/wmemset.c: Little code optimization.
512 1999-04-23  Paul Eggert  <eggert@twinsun.com>
514         * stdlib/strtoull.c: Surround strong_alias and weak_alias with
515         ifdef _LIBC.
517 1999-04-28  Roland McGrath  <roland@baalperazim.frob.com>
519         * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
520         implementation and just always fail with ENOSYS.  This entry point is
521         obsolete.  Add link warning to that effect.
523 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
525         * hurd/get-host.c: Include <hurd/lookup.h>.
527 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
529         * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
530         is != NULL.
532 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
534         * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
535         ISO C9x and Unix98.
537 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
539         * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
540         Patch by Peter Miller <millerp@canb.auug.org.au>.
542 1999-04-27  Thorsten Kukuk  <kukuk@suse.de>
544         * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
545         prefers loopback device.
547 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
549         * posix/fnmatch.c (internal_fnmatch): Finish incomplete
550         no_leading_period change.
552         * posix/testfnm.c: More test cases.
554 1999-04-27  Ulrich Drepper  <drepper@cygnus.com>
556         * include/dirent.h: Remove __getdirentries declaration, add __getdents
557         and __getdents64.
558         * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
559         * sysdeps/unix/readdir_r.c: Likewise.
560         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
561         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
562         * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
563         __getdirentries.  Remove fourth argument.
564         * sysdeps/unix/sysv/linux/getdirentries.c: New file.
565         * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
566         * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
567         Add getdirentries and getdirentries64.
568         * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
570         * posix/fnmatch.c (internal_fnmatch): Correctly reset string
571         pointer in case of an invalid [[: expression.
573         * posix/testfnm.c: Add more test cases.
575 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
577         * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
578         set, pass EXEC_SIGTRAP flag in exec RPC.
580 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
582         * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch.  Take
583         extra parameter.  Fix several more bugs involving wildcard and
584         ranges.
585         (fnmatch): New function.  Call internal_fnmatch.
587         * posix/testfnm.c: More test cases.
589 1999-04-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
591         * manual/install.texi (Configuring and compiling): Explain that
592         files are changed in the source directory.
593         Closes PR libc/981.
594         (Configuring and compiling): Explain situation with PARALLELMFLAGS
595         in the source directory.
597 1999-04-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
599         * locale/programs/ld-ctype.c: Spelling fixes.
600         (ctype_finish): Fix argument of error message format.
601         * locale/programs/ld-messages.c: Spelling fixes.
602         * locale/programs/ld-monetary.c: Spelling fixes.
603         * locale/programs/ld-time.c (time_finish): Make sure that name and
604         format of era_entries are adjacent.
605         (time_output): Reduce the size of the io vector.
607 1999-04-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
609         * manual/filesys.texi (Attribute Meanings): Move a misplaced
610         paragraph.
612 1999-04-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
614         * locale/programs/ld-collate.c (collate_output): Convert
615         undefined_offset to an array index.  Fix computation of other
616         endian extra table.
618 1999-04-26  Roland McGrath  <roland@baalperazim.frob.com>
620         * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
621         return success with empty value.
623 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
625         * posix/fnmatch.c: Include string.h also for glibc.
626         (fnmatch, case '?'): Optimize if cascades a bit.
627         (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
629         * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
631 1999-04-24  Ulrich Drepper  <drepper@cygnus.com>
633         * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
634         * iconv/gconv_int.h: Declare UTF16 functions.
635         * iconv/gconv_simple.c: Add UTF16 conversion functions.
637 1999-04-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
639         * posix/wordexp.c (parse_param): Fix type of offset to allow it to
640         be used correctly as parameter for parse_dollars/parse_tilde.
642 1999-04-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
644         * manual/conf.texi (Utility Limits): Remove duplicate description
645         of BC_DIM_MAX.
647 1999-04-19  Ulrich Drepper  <drepper@cygnus.com>
649         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
650         outbufend for dst==NULL.
652 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
654         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
655         for dst==NULL.
656         Fixes PR libc/1084.
658         * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
659         Fixes PR libc/1083.
661 1999-04-18  Thorsten Kukuk  <kukuk@suse.de>
663         * sunrpc/Makefile: Remove special handling of bootparam.x,
664         add rpcsvc/bootparam.h to headers.
665         * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
666         * sunrpc/rpcsvc/bootparam.x: Renamed to...
667         * sunrpc/rpcsvc/bootparam_prot.x: ...this.
669 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
671         * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
672         detect and handle invalid descriptors.
674 1999-04-17  Thorsten Kukuk  <kukuk@suse.de>
676         * timezone/zic.c (dolink): Append complete path not only filename
677         to ../ list.
679 1999-04-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
681         * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
683 1999-04-17  Ulrich Drepper  <drepper@cygnus.com>
685         * iconvdata/gconv-modules: Rename CP874 to IBM874.
686         * iconvdata/Makefile: Likewise.
687         * iconvdata/cp874.h: Removed.
688         * iconvdata/cp874.c: Renamed to...
689         * iconvdata/ibm874.c: ...this.
691 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
693         * sysdeps/unix/sysv/linux/bits/types.h: Correct
694         signed/unsigned-ness of blkcnt and fsblkcnt.
695         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
696         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
698         * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
699         SOL_AAL, and SOL_IRDA.
701 1999-04-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
703         * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero.  Don't
704         include "linux_fsinfo.h".
705         Based on a patch by H.J. Lu <hjl@gnu.org>.
707 1999-04-16  Thorsten Kukuk  <kukuk@suse.de>
709         * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
711 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
713         * nscd/cache.c (prune_cache): Only disable file checking for
714         future if the file does not exist.
715         Update file_mtime if cache was flushed.
717 1999-04-15  David S. Miller  <davem@redhat.com>
719         * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
720         * sysdeps/sparc/sparc32/strcpy.S: Likewise.
722 1999-04-15  Scott Bambrough  <scottb@netwinder.org>
724         * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
725         compilation of file.
727 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
729         * Versions.def: Add GLIBC_2.1.1 to libpthread.
731         * iconvdata/Makefile (modules): Add KOI8-U.
732         (distribute): Add koi8-u.c.
733         (gen-8bit-gap-modules): Add koi8-u.
734         * iconvdata/gconv-modules: Add KOI8-U entries.
735         * iconvdata/koi8-u.c: New file.
737 1999-04-13  Thorsten Kukuk  <kukuk@suse.de>
739         * sunrpc/auth_des.c: 64bit fixes, security fixes.
740         * sunrpc/auth_none.c: Pretty print.
741         * sunrpc/auth_unix.c: Likewise.
742         * sunrpc/authdes_prot.c: Likewise.
743         * sunrpc/authuxprot.c: Likewise.
744         * sunrpc/bindrsvprt.c: Likewise.
745         * sunrpc/clnt_gen.c: Likewise.
746         * sunrpc/rpc/xdr.h: Likewise.
747         * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
748         * sunrpc/rpc_cmsg.c: Don't use *long pointers.
749         * sunrpc/rtime.c: Use new rpc_timeval.
750         * sunrpc/svc_authux.c: Don't use *long pointers.
751         * sunrpc/svcauth_des.c: Likewise + security fixes.
752         * sunrpc/xdr_mem.c: Don't use *long pointers.
753         * sunrpc/xdr_rec.c: Likewise.
754         * sunrpc/xdr_sizeof.c: Likewise.
755         * sunrpc/xdr_stdio.c: Likewise.
757 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
759         * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
760         so that it is redone for each sending.
762 1999-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
764         * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
766 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
768         * iconv/gconv_db.c (__gconv_find_transform): If conversion is
769         known to not exist don't try to load shared objects.
770         Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
772         * nscd/cache.c (prune_cache): The table might not be unused.  In
773         this case do nothing.
775         * catgets/gencat.c (read_input_file): Don't drop white spaces
776         between number/identifier and string.
777         Patch by Dima Barsky <dima@pwd.hp.com>.
778         If no white space at all follows number/identifier remove existing
779         message with the number/identifier.
781 1999-04-14  H.J. Lu  <hjl@gnu.org>
783         * sunrpc/clnt_udp.c (is_network_up): New function.
784         (clntudp_call): Call is_network_up () to check if any network
785         interface is up in case of timeout.
787 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
789         * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
790         * wctype/Makefile (tests): Add test_wcfuncs.
792 1999-04-14  Jakub Jelinek  <jj@ultra.linux.cz>
794         * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
795         architectures.
796         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
797         instead of CFLAGS.
798         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
799         instead of CFLAGS. For gnulib and string directories use
800         -Wa,-Av9a gcc ASFLAGS.
801         * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
802         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
803         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
804         * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
805         the same way as sparc-*.
807 1999-04-14  Ulrich Drepper  <drepper@cygnus.com>
809         * locale/programs/locfile.c (locfile_read): Fix typo.
810         Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
812 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
814         * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
815         restarted after being interrupted by a signal.  The parameters on
816         the stack were corrupted by the signal handler.
818         * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
819         restarted after being interrupted by a signal.  The parameters on
820         the stack were corrupted by the signal handler.
822 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
824         * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
825         Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
827 1999-04-12  Tim Waugh  <tim@cyberelk.demon.co.uk>
829         * posix/wordexp-test.c: In field-splitting test cases where
830         subshells were involved, unset IFS first: some shells (ash) use
831         IFS even when no expansion is performed.
833 1999-04-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
835         * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
836         the real end of the chunk, not some random point inbetween.
837         (_IO_obstack_xsputn): Likewise.  Actually copy the data into the
838         obstack when growing.  Use fast version of obstack_blank when
839         shrinking.
840         (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
841         allocating the vtable pointer.
842         (_IO_obstack_vprintf): Adjust for above change and avoid
843         unnecessary casts.  Use fast version of obstack_blank when
844         shrinking.
845         Fixes PR libc/1075.
847 1999-04-12  Ulrich Drepper  <drepper@cygnus.com>
849         * iconvdata/gconv-modules: Fix typo.  Add UJIS alias.
850         Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
852 1999-04-11  Tim Waugh  <tim@cyberelk.demon.co.uk>
854         * posix/wordexp.c (wordexp): Fix a leak when an invalid character
855         is seen, as well as fixing semantics.  Don't reset the word count
856         to zero when an invalid character is seen, but leave it as it was
857         (this makes a difference with WRDE_APPEND).
859         * posix/wordexp-test.c: More test cases.
861         * posix/wordexp.c (parse_param): In words like ${var#pattern},
862         always expand pattern when it is needed.  Also, handle quoting in
863         pattern properly.
865 1999-04-12  Philip Blundell  <philb@gnu.org>
867         * elf/elf.h: Update ARM definitions to match current gas2.
869         * sysdeps/arm/bits/endian.h: Support big endian operation.
871         * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
872         Don't bother range checking the port number.
874         * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
876         * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
877         the syscall name in assembler output for ease of debugging.
879         * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
880         compiler behaviour.
881         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
882         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
883         (sysdep_routines): Add sigrestorer.
885         * string/tester.c (test_strcpy): Add new tests for unaligned
886         arguments.
887         * sysdeps/arm/bits/string.h: Delete inline implementations of
888         strcpy and stpcpy.
890 1999-04-11  Ulrich Drepper  <drepper@cygnus.com>
892         * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
894 1999-04-10  Mark Kettenis  <kettenis@gnu.org>
896         * sysdeps/mach/hurd/Dist: Add clk_tck.c.
898 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
900         * iconvdata/Makefile (modules): Add TIS-620.
901         (distribute): Add tis-620.c.
902         (gen-8bit-gap-modules): tis-620.
903         * iconvdata/tis-620.c: New file.
904         * iconvdata/gconv-modules: Add TIS-620 entries.
906         * iconvdata/asmo_449.c: Correct comment.
908 1999-04-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
910         * manual/install.texi (Configuring and compiling): Comment out
911         description of --disable-static since this doesn't work currently
912         (see change by Ulrich Drepper on 1998-12-07 for configure.in).
914 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
916         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
917         use binary search.
918         Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
920 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
922         * scripts/test-installation.pl (installation_problem): Skip
923         libnss1_* libraries from glibc-compat add-on.
925 1999-04-07  H.J. Lu  <hjl@gnu.org>
927         * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
928         libstdc++ 2.7.2.
929         * posix/Versions (__waitpid): Likewise.
931 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
933         * manual/install.texi (Reporting Bugs): Add section about reported
934         bugs and correct email address of glibcbug script.
936 1999-04-01  Thorsten Kukuk  <kukuk@suse.de>
938         * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
939         * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
940         xdr_u_longlong_t. Based on patch from Dan Shechter
941         <damageboy@isdn.net.il>.
942         * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
943         * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
945         * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
947 1999-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
949         * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
950         directly if getdents returns with error set.
952 1999-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
954         * locale/langinfo.h (THOUSEP): Rename second occurence of
955         THOUSANDS_SEP to THOUSEP.
956         Reported by Roman Belenov <roman@nstl.nnov.ru>.
958 1999-04-05  Roland McGrath  <roland@baalperazim.frob.com>
960         * hurd/STATUS: File removed.  Moved items that are still relevant into
961         TODO list in hurd source.
963 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
965         * sysdeps/mach/hurd/bits/time.h: New file.
966         * sysdeps/mach/hurd/getrusage.c: New file.
967         * sysdeps/mach/hurd/clk_tck.c: New file.
968         * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
969         * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
970         (sysdep_routines): Add clk_tck.
971         * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
972         implemented.
974 1999-04-02  Ulrich Drepper  <drepper@cygnus.com>
976         * misc/syslog.c (closelog_internal): Do not reset LogTag here.
977         (closelog): But instead here.
978         Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
980 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
982         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
983         the source directory.  Fixes PR libc/1059.
985 1999-04-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
987         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
988         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
990 1999-04-01  Ulrich Drepper  <drepper@cygnus.com>
992         * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
993         * iconvdata/testdata/ISO-8859-14: New file.
994         * iconvdata/testdata/ISO-8859-14..UTF8: New file.
995         * iconvdata/testdata/ISO-8859-15: New file.
996         * iconvdata/testdata/ISO-8859-15..UTF8: New file.
998 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
1000         * iconvdata/testdata/CP1258: New file.
1001         * iconvdata/testdata/CP1258..UTF8: New file.
1002         * iconvdata/TESTS: Add CP1258 entry.
1004         * iconvdata/cp874.h (to_ucs4): Add Euro sign.
1006         * timezone/africa: Update from tzdata1999d.
1007         * timezone/europe: Likewise.
1008         * timezone/northamerica: Likewise.
1010 1999-03-31  Mark Kettenis  <kettenis@gnu.org>
1012         * login/programs/pt_chown.c (main): Save effective user ID before
1013         dropping priviliges and use this to check if the program is
1014         properly installed.
1016 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
1018         * iconvdata/testdata/CP1254: Update for charmap changes.
1019         * iconvdata/testdata/CP1254..UTF8: Likewise.
1020         * iconvdata/testdata/CP1255: Likewise.
1021         * iconvdata/testdata/CP1255..UTF8: Likewise.
1022         * iconvdata/testdata/CP1256: Likewise.
1023         * iconvdata/testdata/CP1256..UTF8: Likewise.
1024         * iconvdata/testdata/CP1257: Likewise.
1025         * iconvdata/testdata/CP1257..UTF8: Likewise.
1027         * iconvdata/Makefile (distribute): Remove cp1258.h.
1028         (gen-8bit-gap-modules): Add cp1258.
1029         * iconvdata/cp1258.h: Removed.
1031 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
1033         * timezone/tst-timezone.c (tests): Add more cases.
1034         (check_tzvars): Mark errors clearer.
1035         (main): Likewise.
1037 1999-03-30 20:59 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1039         * login/programs/pt_chown.c: Drop privileges if invoked with
1040         arguments.  Don't close the master pty.
1042 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
1044         * time/tzfile.c (__tzfile_read): Process transitions from the rear.
1045         Minor optimization.
1047 1999-03-29  Ulrich Drepper  <drepper@cygnus.com>
1049         * elf/rtld.c (process_envvars): Do not automatically prevent lazy
1050         relocation for SUID binaries.
1052 1999-03-29  Paul Eggert  <eggert@twinsun.com>
1054         * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
1055         while in child process.
1057 1999-03-29  Jakub Jelinek  <jj@ultra.linux.cz>
1059         * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
1060         * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
1061         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
1062         * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
1063         * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
1065         * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
1066         * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
1067         * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
1068         * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
1069         * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
1070         * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
1071         * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
1072         * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
1073         * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
1074         * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
1075         * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
1076         * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
1077         * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
1078         * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
1079         * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
1080         * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
1081         * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
1082         * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
1083         * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
1084         * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
1085         * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
1086         * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
1087         * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
1088         * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
1089         * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
1090         * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
1092         * sysdeps/sparc/sparc32/bcopy.c: New file.
1093         * sysdeps/sparc/sparc32/bzero.c: New file.
1094         * sysdeps/sparc/sparc32/memchr.S: New file.
1095         * sysdeps/sparc/sparc32/memcpy.S: New file.
1096         * sysdeps/sparc/sparc32/memmove.c: New file.
1097         * sysdeps/sparc/sparc32/memset.S: New file.
1098         * sysdeps/sparc/sparc32/stpcpy.S: New file.
1099         * sysdeps/sparc/sparc32/strchr.S: New file.
1100         * sysdeps/sparc/sparc32/strrchr.c: New file.
1101         * sysdeps/sparc/sparc32/strcpy.S: New file.
1102         * sysdeps/sparc/sparc32/strlen.S: New file.
1103         * sysdeps/sparc/sparc32/strcat.S: New file.
1104         * sysdeps/sparc/sparc32/strcmp.S: New file.
1106         * sysdeps/sparc/sparc64/bcopy.c: New file.
1107         * sysdeps/sparc/sparc64/bzero.c: New file.
1108         * sysdeps/sparc/sparc64/memchr.S: New file.
1109         * sysdeps/sparc/sparc64/memcmp.S: New file.
1110         * sysdeps/sparc/sparc64/memcpy.S: New file.
1111         * sysdeps/sparc/sparc64/memset.S: New file.
1112         * sysdeps/sparc/sparc64/stpcpy.S: New file.
1113         * sysdeps/sparc/sparc64/strcat.S: New file.
1114         * sysdeps/sparc/sparc64/strchr.S: New file.
1115         * sysdeps/sparc/sparc64/strcmp.S: New file.
1116         * sysdeps/sparc/sparc64/strcpy.S: New file.
1117         * sysdeps/sparc/sparc64/strcspn.S: New file.
1118         * sysdeps/sparc/sparc64/strlen.S: New file.
1119         * sysdeps/sparc/sparc64/strncpy.S: New file.
1120         * sysdeps/sparc/sparc64/strpbrk.S: New file.
1121         * sysdeps/sparc/sparc64/strrchr.c: New file.
1122         * sysdeps/sparc/sparc64/strspn.S: New file.
1123         * sysdeps/sparc/sparc64/stpncpy.S: New file.
1124         * sysdeps/sparc/sparc64/strncmp.S: New file.
1126         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
1127         Append -fPIC, don't replace.
1129         * configure.in: Recognize sparcv8plus / sparcv9.
1131 1999-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1133         * malloc/obstack.h (obstack_free): Explicitly convert __obj to
1134         char * to avoid C++ warning.
1135         Patch by yasushi@cs.washington.edu [PR libc/1035].
1137 1999-03-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1139         * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
1140         declared in stdlib.h, correct return value of mkstemp.
1141         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
1143         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
1144         from Linux 2.2.5.
1146 1999-03-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1148         * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
1149         C++ warning.
1151         * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
1152         inline functions.  Closes PR libc/1049.
1154 1999-03-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1156         * timezone/README: Update from tzdata1999c and tzcode1999c.
1158         * timezone/africa: Update from tzdata1999c.
1159         * timezone/antarctica: Likewise.
1160         * timezone/asia: Likewise.
1161         * timezone/australasia: Likewise.
1162         * timezone/europe: Likewise.
1163         * timezone/northamerica: Likewise.
1164         * timezone/southamerica: Likewise.
1165         * timezone/zone.tab: Likewise.
1167         * timezone/zic.c: Update from tzcode1999c.
1169 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1171         * Makerules: Add $(common-objpfx)Versions.all to common-generated
1172         outside of ifndef avoid-generated.
1174         * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
1175         in iofdopen.c.
1176         * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
1177         iofopen.c.
1178         * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
1179         in iofclose.c.
1180         * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
1181         _IO_old_file_seekoff): Bring over recent changes in fileops.c.
1183 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
1185         * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
1186         if we build the profiled library.
1188 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1190         * math/Makefile (gmp-objs): Add inlines.  Reported by Andreas
1191         Jaeger <aj@arthur.rhein-neckar.de>
1193 1999-03-25  Roland McGrath  <roland@yaumatei.ai.mit.edu>
1195         * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
1196         (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
1197         This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
1199 1999-03-24  Roland McGrath  <roland@baalperazim.frob.com>
1201         * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
1202         works properly in subdirs.
1204 1999-03-23  Roland McGrath  <roland@baalperazim.frob.com>
1206         * sysdeps/mach/hurd/Makefile: Undo last change.
1207         [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
1208         [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
1210         * mach/Machrules (+preinit, +postinit, +interp,
1211         LDFLAGS-$(interface.so)): Variables removed.  Interface libraries get
1212         linked just like other shared libraries.
1213         (interface.so): Fix typo in defn, so it works.
1214         ($(objpfx)$(interface.so)): Make it depend on libc.so.
1216 1999-03-21  Roland McGrath  <roland@baalperazim.frob.com>
1218         * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
1219         $(link-rpcuserlibs).
1221 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1223         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
1224         $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
1225         targets if not building shared libraries.
1227 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1229         * configure.in: Also look in $PATH when searching for
1230         install-info.  Remove autoconf bug workaround and require autoconf
1231         2.13.
1233 1999-03-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1235         * db/Makefile: Don't try to install shared library link if not
1236         building with shared libs.
1238 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1240         * rt/Makefile: Link against static library if no shared lib is
1241         available.
1243         * localedata/Makefile: The shells scripts implementing the test
1244         require the dynamic linker which is not available with
1245         --disable-shared.  Skip the test if --disable-shared is given.
1247         * linuxthreads/Makefile: Link test against static libpthread if no
1248         shared lib is available.
1250         * iconvdata/Makefile (tests): Run iconv-test only if we're
1251         building shared libraries.
1252         * elf/Makefile (tests): Likewise for elf tests.
1254         * posix/Makefile: The test frameworks globtest and wordexp-test
1255         require the dynamic linker which is not available with
1256         --disable-shared.  Skip the test if --disable-shared is given.
1258         * grp/Makefile (otherlibs): For static nss build link against
1259         necessary libs.
1261 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1263         * debug/Makefile (install-bin): Install and build catchsegv only
1264         if build-shared == yes.  Reported by jussi@jlaako.pp.fi [PR
1265         libc/965].
1267 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1269         * time/tzfile.c (__tzfile_read): Handle the case where there are
1270         transitions but no DST.
1272 1999-03-20  Roland McGrath  <roland@baalperazim.frob.com>
1274         * mach/Machrules (extra-libs-others): Add $(interface-library) here
1275         too, so it gets built in the others pass rather than the lib pass.
1276         This is necessary since the RPC libraries need to be linked against
1277         libc.
1279 1999-03-19  Roland McGrath  <roland@baalperazim.frob.com>
1281         * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
1282         _itoa_word decl.
1284         * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
1285         ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
1286         ($(link-rpcuserlibs)): New static pattern rule; link intermediate
1287         versions of lib{mach,hurd}user.so without reference to libc.so,
1288         then link libc.so against that to get deps and symbol versions, then
1289         finally link real lib*user.so against libc.so.
1291         * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
1292         Support whole-file locking (only) by using the file_lock RPC.  This
1293         has very wrong semantics, but is better than nothing for the time
1294         being.  (Correct POSIX.1 locking will require new RPCs in the Hurd
1295         protocols that will be somewhat hairy to specify.)
1297 1999-03-17  Mark Kettenis  <kettenis@gnu.org>
1299         * sysdeps/mach/hurd/ptsname.c: New file.
1301 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1303         * timezone/asia: Fix rule in Asia/Nicosia entry.
1305 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1307         * manual/getopt.texi (Using Getopt): Explain "::" in option
1308         string.  Reported by Yuri Niyazov <yuricake@geocities.com>.
1310 1999-03-18  Thorsten Kukuk  <kukuk@suse.de>
1312         * sunrpc/clnt_unix.c: Fix creation of parameters for
1313         sendmsg/recvmsg on non intel platforms.
1314         * sunrpc/svc_unix.c: Likewise.
1316 1999-03-18  Philip Blundell  <philb@gnu.org>
1318         * sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386
1319         implementation.
1321 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1323         * timezone/africa: Update from tzdata1999b.
1324         * timezone/asia: Likewise.
1325         * timezone/australasia: Likewise.
1326         * timezone/europe: Likewise.
1327         * timezone/northamerica: Likewise.
1328         * timezone/southamerica: Likewise.
1329         * timezone/zone.tab: Likewise.
1331         * timezone/README: Mention tzdata1999b.
1333 1999-03-17  Ulrich Drepper  <drepper@cygnus.com>
1335         * sysdeps/generic/segfault.c (write_strsignal): New function.
1336         (catch_segfault): Use it instead of calling strsignal.
1338 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1340         * iconv/gconv.c (__gconv): Change type of last_start to unsigned
1341         char to avoid warning.
1343 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
1345         * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
1347         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
1348         outbuf to unsigned char to avoid warning.
1350 1999-03-11  David S. Miller  <davem@redhat.com>
1352         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
1353         masks.
1354         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
1356 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
1358         * iconv/gconv.h (gconv_fct): Change parameter from `char' to
1359         `unsigned char'.
1360         (gconv_step_data): Likewise.
1361         * iconv/gconv_int.h (__gconv): Likewise.
1362         (__BUILINT_TRANS): Likewise.
1363         * iconv/gconv.c (__gconv): Likewise.
1364         * iconv/iconv.c (iconv): Add casts for call of __gconv.
1365         * iconv/skeleton.c: Change local parameters and variable from `char' to
1366         `unsigned char'.  Remove casts from calls into modules.
1367         * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
1368         `char' to `unsigned char'.
1369         * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
1370         * wcsmbs/mbrtowc.c: Likewise.
1371         * wcsmbs/mbsnrtowcs.c: Likewise.
1372         * wcsmbs/mbsrtowcs.c: Likewise.
1373         * wcsmbs/wcrtomb.c: Likewise.
1374         * wcsmbs/wcsnrtombs.c: Likewise.
1375         * wcsmbs/wcsrtombs.c: Likewise.
1376         * wcsmbs/wctob.c: Likewise.
1378 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
1380         * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
1381         __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
1382         __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
1383         __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
1384         __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
1385         __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
1387 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
1389         * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
1390         _hurd_select if TIMEMOUT is -1.
1392 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
1394         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
1396 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
1398         * elf/dl-load.c: Compute rtld_search_dir array size correctly.
1399         Reported by Yasushi Saito <yasushi@cs.washington.edu>.
1401 1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1403         * manual/libc.texinfo: Undo last change for now.
1405 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
1407         * intl/locale.alias: Add entries for Croatian.
1408         Patch by Tomislav Vujec <tvujec@CARNet.hr>.
1410 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
1412         * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
1413         if the opened master pty really is a pty.  `isatty' checks for
1414         tty-ness and a pty is not a tty.  Return ENOENT instead of ENFILE
1415         if we are out of pty's.
1417 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
1419         * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
1420         opened file is closed on exec.
1421         * login/utmp_daemon.c (setutent_daemon): Likewise for the just
1422         opened socket.
1424 1999-03-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1426         * manual/llio.texi (File Position Primitive): Reformat @end
1427         command.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
1429 1999-03-14  Ulrich Drepper  <drepper@cygnus.com>
1431         * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
1432         entry is found.
1433         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1434         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
1436         * locale/programs/localedef.c (main): Initialize `cat' to please
1437         the compiler.
1439 1999-03-14  Roland McGrath  <roland@baalperazim.frob.com>
1441         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
1442         check for root-owned symlinks and reject them too.
1444 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1446         * stdio-common/printf_fphex.c: Move to ...
1447         * sysdeps/generic/printf_fphex.c: ... here.  Fix exponent of
1448         extended precision number.
1449         * sysdeps/m68k/printf_fphex.c: New file.
1451 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1453         * manual/stdio.texi: Fix typos.
1455 1999-03-09  Ulrich Drepper  <drepper@cygnus.com>
1457         * version.h (VERSION): Bump to 2.1.1.
1459 1999-03-09  Thorsten Kukuk  <kukuk@suse.de>
1461         * nis/ypclnt.c: Try only twice to connect to NIS server.
1463 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
1465         * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
1467 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1469         * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
1470         (DENORM_EXP): New define.  Use it as the exponent for a denormal.
1471         * stdlib/strtold.c: Moved to ...
1472         * sysdeps/generic/strtold.c: ... here.
1473         * sysdeps/m68k/strtold.c: New file.
1475 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1477         * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
1478         point if the precision is zero, even if the mantissa is non-zero.
1480 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
1482         * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
1483         arguments into the request message buffer inside `send_rpc'
1484         subfunction.  We must repeat the marshalling when retrying the RPC
1485         after a SIGTTOU delivery.
1487         * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
1488         path when there is no ctty port.
1489         * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1490         Move sigstate check inside loop so we recheck after handling a signal.
1492 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1494         * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
1495         O_EXLOCK are BSD extensions.
1496         Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
1498 1999-03-08  Ulrich Drepper  <drepper@cygnus.com>
1500         * manual/signal.texi (Termination in Handler): Correct example.
1501         Install default handler before reraising the signal.
1502         Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
1504 1999-03-08  Roland McGrath  <roland@baalperazim.frob.com>
1506         * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
1507         null, in which case send an empty string.
1509 1999-03-02  Mark Kettenis  <kettenis@gnu.org>
1511         * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
1512         backward compatibility EH functions to be linked when using
1513         gcc-2.8.1.  Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1515 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1517         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
1518         /dev/pts status may change during runtime.
1520 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1522         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
1523         change.  /dev/pts status can change during runtime.
1525 1999-03-07  Thorsten Kukuk  <kukuk@suse.de>
1527         * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
1528         poll reports error.
1529         * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
1530         add some more sanity checks.
1531         * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
1532         parser prototype.
1534 1999-03-05  Thorsten Kukuk  <kukuk@suse.de>
1536         * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
1537         change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
1538         * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
1539         * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
1540         * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
1541         for x_getint32.
1542         * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
1543         * nis/nis_print.c: Fix ctime argument for platforms where
1544         sizeof (time_t) != sizeof (int).
1546 1999-03-07  Mark Kettenis  <kettenis@gnu.org>
1548         * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
1549         CLOCKS_PER_SEC instead of CLK_TCK.
1551 1999-03-05  Ulrich Drepper  <drepper@cygnus.com>
1553         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
1554         whether /dev/pts is available.
1555         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
1556         dev_pts_available.
1558         * posix/globtest.sh: Make common_objpfx path absolute and and db2
1559         and hesiod directory to library path [PR libc/1007].
1561 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1563         * resolv/inet_addr.c (inet_aton): Don't allow componets >
1564         255.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
1566 1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>
1568         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
1569         DT_PLTGOT has already been relocated.
1570         (__elf_machine_fixup_plt): Likewise.
1571         Minor cleanups.
1573 1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>
1575         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
1577 1999-03-03  Ulrich Drepper  <drepper@cygnus.com>
1579         * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
1580         and fold string to uppercase [PR libc/1005].
1582 1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1584         * elf/dl-load.c (lose): Fix return type.
1586 1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>
1588         * sysdeps/mach/hurd/bits/fcntl.h
1589         [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
1590         * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
1591         set O_NOTRANS as well.
1592         (__hurd_file_name_lookup_retry): At successful end of lookup,
1593         if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
1594         it is a translated node not owned by root.
1595         (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
1596         on the file name passed to LOOKUP.
1598 1999-03-02  Ulrich Drepper  <drepper@cygnus.com>
1600         * manual/time.texi (High Resolution Timer): Correct computation in
1601         example.  Reported by jjf@devel.cemsys.com.
1603 1999-03-02  Philip Blundell  <pb@nexus.co.uk>
1605         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
1606         entry is already relocated.
1608 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1610         * resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
1611         by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
1613 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1615         * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
1616         uc_link which is the right name according to Unix98.
1617         Reported by Craig Metz [PR libc/1001].
1618         * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
1619         * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
1620         * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
1621         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
1622         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
1623         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
1625 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1627         * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
1628         @ifinfo.
1630 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1632         * iconvdata/Makefile: Always include iconv-rules, but disable rule
1633         to regenerate it if avoid-generated.
1635         * Makeconfig: Always include sys-dirs, but disable rule to
1636         regenerate it when avoid-generated.
1638         * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
1639         rule to generate sysd-syscalls.
1641         * elf/Makefile (generated): Remove $(objpfx) from names.
1643 1999-02-28  Mark Kettenis  <kettenis@gnu.org>
1645         * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
1646         actual length if the adress length is smaller than the input
1647         value.  Change type of *LEN paramater to socklen_t.
1648         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
1649         * sysdeps/mach/hurd/accept.c (accept): Likewise.
1650         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1651         * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
1652         paramater to socklen_t.
1654 1999-02-28  Roland McGrath  <roland@baalperazim.frob.com>
1656         * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
1657         msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
1658         with the RPC.
1660 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
1662         * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
1663         __get_phys_pages): Cast &HBI to silence warning.
1665         * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
1666         * hurd/hurdchdir.c: New file.
1667         * hurd/hurdfchdir.c: New file.
1668         * sysdeps/mach/hurd/chroot.c: Call
1669         _hurd_change_directory_port_from_name to do the work.
1670         * sysdeps/mach/hurd/chdir.c: Likewise.
1671         * sysdeps/mach/hurd/fchdir.c: Call
1672         _hurd_change_directory_port_from_fd to do the work.
1673         * hurd/fchroot.c: Likewise.
1674         * hurd/hurd.h: Declare them.
1676 1999-02-27  Ulrich Drepper  <drepper@cygnus.com>
1678         * elf/dl-load.c (lose): Add more comments to explain the `why'.
1679         (_dl_map_object): Remove redundant test.
1681 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
1683         * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
1684         try to _hurd_port_free a lower-numbered descriptor that was not in any
1685         fd_set.
1687 1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1689         * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
1690         declaration for ____wcstod_l_internal.
1692         * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
1693         __strtod_internal prototype.
1694         * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
1695         (____strtold_l_internal): Add prototype declaration.
1696         (__strtold_l): Call correct function.
1698 1999-02-24  Ulrich Drepper  <drepper@cygnus.com>
1700         * elf/elf.h: Add 32bit HPPA definitions.
1702 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1704         * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
1705         non-checked heap is restored when malloc checking was requested by
1706         the user.
1707         (struct malloc_state): Add using_malloc_checking.
1708         (MALLOC_STATE_VERSION): Increment minor.
1709         (using_malloc_checking, disallow_malloc_check): New variables.
1710         (__malloc_check_init): Use them.
1711         (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
1712         that it can the chunk is properly instrumented when malloc
1713         checking is enabled.  Set the new using_malloc_checking field.
1714         (malloc_hook_ini): Correct signature when _LIBC is not defined.
1716 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1718         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
1719         (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
1720         time.
1722         * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
1723         Don't call elf_get_dynamic_info and _dl_setup_hash a second time
1724         if ld.so is the main program.
1726 1999-02-23  Ulrich Drepper  <drepper@cygnus.com>
1728         * stdio-common/vfprintf.c (vfprintf): If precision or width is too
1729         large for work_buffer, allocate new buffer.
1730         (printf_unknown): Likewise.  [PR libc/988]
1732 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
1734         * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
1735         instead of stat and fstat.
1736         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1738 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1740         * elf/dl-error.c (_dl_signal_cerror): New function.
1741         (_dl_signal_error): Don't call receiver function.
1742         * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
1743         instead of _dl_signal_error when reporting references to undefined
1744         symbols or versions.
1745         (_dl_lookup_versioned_symbol): Likewise.
1746         (_dl_lookup_versioned_symbol_skip): Likewise.
1747         * elf/dl-version.c (match_symbol): Likewise.
1749         * elf/ldsodefs.h: Declare _dl_signal_cerror.
1751 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
1753         * misc/getttyent.c (getttyent): Release lock on stream later to
1754         also protect global variable zapchar.
1756         * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
1757         __times [PR libc/990].
1759 1999-02-21  David S. Miller  <davem@redhat.com>
1761         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
1762         parentheses in Feb 2 changes.
1763         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1765 1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1767         * sysdeps/generic/glob.c (glob): Save previous errno.
1769 1999-02-21  Ulrich Drepper  <drepper@cygnus.com>
1771         * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
1772         lookup functions if it is too small.
1774 1999-02-20  Ulrich Drepper  <drepper@cygnus.com>
1776         * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
1777         for tracing to the scope lists.
1778         * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
1779         DT_SYMTAB is always available according to ELF spec.
1781         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
1782         call test whether there is any scope left.
1783         (_dl_lookup_versioned_symbol_skip): Likewise.
1785         * elf/Makefile (distribute): Add do-lookup.h.
1786         * elf/do-lookup.h: New file.  Split out from dl-lookup.c.
1787         * elf/dl-lookup.c: Move do_lookup function in separate file and
1788         include the file twice, for handling versioning and without it.
1790         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
1791         entry is already relocated.
1792         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
1793         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
1794         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
1795         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
1796         Likewise.
1797         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
1798         Likewise.
1799         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
1800         Likewise.
1802         * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
1803         load address.  Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
1804         DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
1805         (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
1806         rel and rela relocations can both happen and skip one test if this
1807         is not possible.
1808         (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
1809         appropriately.
1810         * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
1811         already relocated.
1812         * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
1813         relocated.
1814         * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
1815         (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
1816         (_dl_map_object): DT_STRTAB entry is already relocated.
1817         * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
1818         already relocated.
1819         * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
1820         relocated.
1821         * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
1822         DT_VERSYM entries are already relocated.
1823         (profile_fixup): Likewise.
1824         * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX.  Replace
1825         all users.
1826         (match_symbol): DT_STRTAB entry is already relocated.
1827         (_dl_check_map_versions): Likewise.  Also fo DT_VERSYM.
1828         * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
1829         relocated already.  DT_SYMTAB and DT_VERSYM entries are also relocated.
1830         * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
1831         (find_needed): DT_STRTAB entry is already relocated.
1832         (dl_main): Pass extra argument to elf_get_dynamic_info.
1833         DT_STRTAB entry is already relocated.
1834         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
1835         DT_PLTGOT entries are already relocated.
1836         (elf_machine_rela): Likewise for DT_SYMTAB.
1837         * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
1838         relocated.
1839         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1840         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
1841         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
1842         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1843         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
1844         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
1845         (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
1846         * sysdeps/mips/mips64/dl-machine.h: Likewise.
1848         * grp/initgroups.c (initgroups): If function in current module was
1849         successful don't stop but continue to process to get all the groups.
1851         * elf/dl-load.c (_dl_map_object_from_fd): Use global
1852         _dl_pf_to_proot array to convert p_flags value.
1853         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1855         * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
1856         loop to clear `info'.
1858         * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
1859         do the work and don't use inline assembler.
1861 1999-02-19  Ulrich Drepper  <drepper@cygnus.com>
1863         * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
1864         * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
1865         noreturn, and prevent it from being inlined.
1866         Define LOSE appropriately.
1867         (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
1868         Optimize decoding of p_flags for certain platforms.
1870 1999-02-19  Philip Blundell  <pb@nexus.co.uk>
1872         * Makeconfig (link-libc): When doing a static link, make sure that
1873         libgcc.a is included both before and after libc.a.
1875 1999-02-18  Thorsten Kukuk  <kukuk@suse.de>
1877         * nis/nss_compat/compat-spwd.c: Fix handling of default values for
1878         sp_warn, sp_inact, sp_expire and sp_flag.
1880 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
1882         * elf/link.h (link_map): Add l_dev and l_ino.
1883         * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
1884         loaded shared object with all loaded objects.  Initialize l_ino
1885         and l_dev in case it's new.
1886         * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
1887         object.
1888         * elf/Makefile: Compile and run new test.
1889         * elf/multiload.c: New file.
1891         * nss/nsswitch.h (service_user): Change name field from const char *
1892         to char[0].
1893         (name_database_entry): Likewise.
1894         * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
1895         for change of `service_user'.
1896         (nss_getline): Adjust memory allocation for change of
1897         `name_database_entry'.
1899         * catgets/catgets.c: Correctly handle NLSPATH from environment
1900         [PR libc/980].
1902         * io/Makefile (routines): Add lock64.
1903         * io/Versions: Add lockf64 for GLIBC_2.1.1.
1904         * sysdeps/generic/lockf64.c: New file.
1906 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
1908         * string/bits/string2.h: Only use strncmp optimization if count
1909         argument is constant.
1911 1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>
1913         * sysdeps/mach/hurd/revoke.c: New file.
1915 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
1917         * wctype/wctype.h (_ISwbit): Cast result of shift operations to
1918         int to avoid warning about `ISO C restricts enumerator values to
1919         range of `int''.
1921 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1923         * elf/dlfcn.h: Fix typo.
1924         * sysdeps/generic/bits/dlfcn.h: Likewise.
1925         * sysdeps/mips/bits/dlfcn.h: Likewise.
1927 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
1929         * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
1930         for the case N == 0.
1932         * db2/Makefile (distribute): Add LICENSE.
1934 1999-02-03  Jeff Bailey  <jbailey@nisa.net>
1936         * sysdeps/unix/make_errlist.c: Add i18n and copyright to
1937         generated files.
1939         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
1941 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
1943         * time/mktime.c: Use ISO C form for function definitions and
1944         remove unnecessary prototypes.
1946         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
1948         * time/time.h: Avoid unneccesary #ifdef.
1950 1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
1952         * stdio-common/_itoa.c (_itoa): Correct parameters to
1953         udiv_qrnnd_preinv.
1955 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1957         * misc/sys/cdefs.h: Undefine __PMT since it might be defined
1958         before (e.g. in glob.h).
1959         Closes PR libc/959.
1961 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1963         * sysdeps/mips/fpu_control.h: Fix typo.
1964         Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
1965         Remove __setfpucw.
1967 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
1969         * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
1970         the "unused" ends of the sockets.  Let pipes be bidirectional.
1972 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
1974         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
1975         invalid ai_flags.
1977 1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1979         * manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
1980         Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
1982         * manual/setjmp.texi (Non-Local Exits and Signals): Fix
1983         typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
1985 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
1987         * string/Versions: Add __strverscmp to GLIBC_2.1.1.
1989 1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1991         * misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
1992         check for priority mask.
1994 1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
1996         * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
1997         Reported by Craig Metz <cmetz@inner.net> .
1999 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2001         * stdio-common/Makefile (tests): tllformat added.
2003         * stdio-common/tllformat.c: New program, based on tiformat.c with
2004         examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2006 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2008         * posix/test-vfork.c: Fix exit status test.
2010 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2012         * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
2013         missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
2015 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2017         * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
2018         of separare explicit comparisons.
2020 1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2022         * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
2023         defined.
2025         * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
2026         defined.
2028 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
2030         * po/el.po: Update from translation team.
2032 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2034         * intl/locale.alias: Fix slovenian entry [PR libc/948].
2036 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2038         * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
2039         * inet/ruserpass.c: Likewise.
2040         * locale/programs/stringtrans.c: Likewise.
2041         * locale/programs/localedef.c: Likewise.
2042         * nscd/grpcache.c: Likewise.
2043         * nss/nss_files/files-XXX.c: Likewise.
2044         * stdlib/canonicalize.c: Likewise.
2045         * sysdeps/posix/sigwait.c: Likewise.
2047 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2049         * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
2050         even on 64 bit platforms.
2052         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
2053         Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
2055 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
2057         * intl/dcgettext.c: Include locale.h is available.
2059 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
2061         * po/nl.po: Update from translation team.
2063         * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
2065         * Makefile: Allow calling goals for po subdir.
2067         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
2068         signal definitions.
2070         * po/el.po: New file.
2072 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2074         * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
2075         when processing DT_SYMBOLIC objects.
2077 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2079         * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
2080         program headers without PT_PHDR only require that they are
2081         contained within one of the loaded segments.  Don't use assert,
2082         since that would be a bug in the object, not the dynamic linker.
2084 1999-02-08  Richard Henderson  <rth@cygnus.com>
2086         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
2087         restore all call-clobbered fp regs.
2089 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
2091         * po/cs.po: New file.
2093         * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
2094         SUID binaries.
2096 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
2098         * signal/signal.h: Don't declare __libc_allocate_rtsig.
2099         * include/signal.h: Declare __libc_allocate_rtsig here.
2101         * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
2102         point functions, not do_lookup since the later can be called more
2103         than once.
2105 1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>
2107         * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
2108         macro, so that architectures which need to add some special
2109         offset to stack pointer can share this file.
2111         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
2112         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
2113         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
2114         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
2116         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
2117         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
2118         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
2119         between sparc32 and sparc64.
2121         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
2122         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
2123         * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
2124         between sparc32 and sparc64.
2126         * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
2127         * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
2128         * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
2129         between sparc32 and sparc64.
2131         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
2132         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
2133         * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
2134         between sparc32 and sparc64.
2136 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
2138         * Versions.def: New version GLIBC_2.1.1 for libc.
2139         * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
2140         * stdlib/labs.c: Moved to...
2141         * sysdeps/generic/labs.c: ...here.
2142         * stdlib/llabs.c: Moved to...
2143         * sysdeps/generic/llabs.c: ...here.
2144         * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
2145         header.  Declare _Exit.
2146         * sysdeps/generic/_exit.c: Add alias _Exit.
2147         * sysdeps/mach/hurd/_exit.c: Likewise.
2148         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
2149         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
2150         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
2151         * sysdeps/unix/_exit.c: Likewise.
2152         * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
2153         imaxdiv and imaxabs.  Declare lldiv_t if necessary.
2154         * sysdeps/wordsize-64/inttypes.h: Likewise.
2155         * sysdeps/wordsize-32/llabs.c: New file.
2156         * sysdeps/wordsize-32/lldiv.c: New file.
2157         * sysdeps/wordsize-64/labs.c: New file.
2158         * sysdeps/wordsize-64/ldiv.c: New file.
2159         * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
2160         * manual/startup.texi: Document _Exit.
2162 1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2164         * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
2166 1999-02-06  Ulrich Drepper  <drepper@cygnus.com>
2168         * Versions.def: Add versions for ld.so.
2169         * csu/Versions: Remove __libc_stack_end here.
2170         * elf/Versions: Split libc definitions in libc and ld.so definitions.
2171         * elf/Makefile (ld-map): Change to ld.so.map.
2172         * scripts/versions.awk: Recognize dot in library names.
2174         * ctype/ctype.h: Remove definitions of __tolower and __toupper.
2175         Don't use __tolower and __toupper in inline functions.
2176         Add optimizing macros for tolower and toupper.
2177         * ctype/ctype-extn.c (_tolower): Don't use __tolower.
2178         (_toupper): Don't use __toupper.
2179         * ctype/ctype.c (tolower): Don't use __tolower.
2180         (toupper): Don't use toupper.
2182         * nscd/cache.c (prune_cache): Correct printing of debugging messages.
2184         * resolv/Versions (libresolv): Export __ns_name_unpack and
2185         __ns_name_ntop.
2186         * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
2187         make it global.  Change all users.  Similar for ns_name_ntop.
2188         * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
2189         user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
2190         directly to detect too small buffer.
2191         * resolv/nss_dns/dns-network.c: Likewise.
2193         * stdio-common/Makefile (tests): Add scanf12.
2194         * stdio-common/scanf12.c: New file.
2195         * stdio-common/scanf12.input: New file.
2196         * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
2197         floating-point correctly if the number is invalid.
2199         * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
2200         functions.
2201         * stdio-common/printf_fp.c: Likewise.
2202         * stdio-common/printf_fphex.c: Likewise.
2203         * stdio-common/vfprintf.c: Likewise.
2206 See ChangeLog.9 for earlier changes.