Update.
[glibc.git] / ChangeLog
blob1c6bf3eb6469670f860962ee79a4be34ccff637d
1 1999-05-03  Ulrich Drepper  <drepper@cygnus.com>
3         * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
4         * sysdeps/generic/strtok.c: Likewise.
6         * string/tester.c: Add test of rawmemchr.
8         * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
9         specification.  It's not necessary.
11         * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
12         * elf/gen-trusted-dirs.awk: New file.
13         * elf/dl-load.c (systems_dirs): Moved into file scope.  Initialize
14         from SYSTEM_DIRS macro.
15         (system_dirs_len): New variable.  Contains lengths of system_dirs
16         strings.
17         (fillin_rpath): Rewrite for systems_dirs being a simple string.
18         Improve string comparisons.  Change parameter trusted to be a flag.
19         Change all callers.
20         (_dt_init_paths): Improve using new format for system_dirs.
22         * elf/dl-load.c (expand_dynamic_string_token): Don't expand
23         $ORIGIN for SUID binaries.
25         * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
27 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
29         * sunrpc/Makefile: Generate dependencies for all flavors of
30         librpcsvc objects.
31         (rpcgen-cmd): Pass -Y flag here and remove it from the macro
32         invocations.
34 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
36         * elf/dlopenold.c: Move #if down after includes to get
37         dependencies right.
39 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
41         * sysdeps/generic/bzero.c: Undefine __bzero.
43 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
45         * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
46         * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
47         * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
48         Patch by Craig Small <csmall@scooter.eye-net.com.au>.
50         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
51         parameter to struct gaih_servtuple *.  Adapt appropriately.
52         (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
53         This fixes a memory leak.
54         Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
56         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
57         and fpregset_t definition.  They are defined in ucontext.h.
59 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
61         * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
62         and struct ether_header must be packed on the ARM.  The default
63         alignment constraints add padding to the end of the structures.
65 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
67         * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM.  The
68         default alignment constraints add padding to the end of the
69         structure and between members.
71 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
73         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
74         _dl_cache_libcmp instead of strcmp.
76         * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
77         fails on a file.
78         Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
80 1998-03-30  Joel Klecker  <espy@debian.org>
82         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
83         (sysdep-others,install-bin): Add lddlibc4.
85 1999-05-02  H.J. Lu  <hjl@gnu.org>
87         * timezone/zic.c (dolink): Remove the symlink destination first.
89         * catgets/open_catalog.c (__open_catalog): Set catalog->status
90         to "nonexisting" if failed to open the file.
92 1999-05-01  Ulrich Drepper  <drepper@cygnus.com>
94         * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
95         gcc3.
97         * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
98         Prevent warnings from multiplication with 0x01010101 by another cast.
100 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
102         * string/bits/string2.h (memset): Revert to previous version if
103         unaligned writes are not available.
105 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
107         * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
108         better code in presence of the asm.
110 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
112         * stdlib/fmtmsg.c (keywords): Increase array size for faster
113         indexing.
115         * locale/localeinfo.h (_nl_category_names): Increase array element
116         size for faster indexing.
117         * locale/setlocale.c (_nl_category_names): Adjusted.
119 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
121         * iconv/gconv_conf.c (add_alias): Remove wrong cast.
123 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
125         * sysdeps/m68k/stackinfo.h: New file.
127 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
129         * string/tester.c (test_strchrnul): New function.
130         (test_memset): Test one more special case.
132         * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
133         25% of all cases.
135         * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
136         base types.
138         * string/bits/string2.h: Fix bugs I introduced in last change.
140         * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
141         register stall.
142         Extend memset optimization.
143         Correct i686 version of memchr.
145 1999-04-30  Roland McGrath  <roland@baalperazim.frob.com>
147         * sysdeps/i386/bzero.c: Add #undef __bzero.
149         * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
150         EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
151         exec server simulated a SIGTRAP before we even started up, so gdb is
152         already happy.
154 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
156         * nss/digits_dots.c: Always initialize not_ok.
158 1999-04-30 09:02 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
160         * string/bits/string2.h (memset): Avoid arithmetic overflow at
161         compile time, which produces obnoxious warnings.  If GCCv2 is
162         in use, map __bzero to __builtin_memset to enable that
163         optimization.
165 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
167         * string/bits/string2.h: Add more memset optimizations.
169         * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
171         * resolv/inet_pton.c (inet_pton4): Little optimizations.
172         (inet_pton6): Likewise.
174         * nss/getXXbyYY_r.c: Include assert.h.
175         * nss/getXXbyYY.c: Likewise.
177 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
179         * termios/tcgetsid.c (tcgetsid): Rename variable to
180         tiocgsid_does_not_work.
182 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
184         * inet/getnameinfo.c (nrl_domainname): Fix last patch.
186 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
188         * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
189         This allows e.g. gethostbyname to accept "10.1234".
190         Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
192         * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
193         non quad IPv4 numbers.
195 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
197         * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
199 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
201         * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
202         * argp/argp-parse.c (_argp_hang): Likewise.
203         * argp/argp-pv.c (argp_program_version): Likewise.
204         * argp/argp-pvh.c (argp_program_version_hook): Likewise.
205         * inet/ether_hton.c (ether_hton, startp): Likewise.
206         * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
207         * inet/getnetgrent_r.c (setup, startp): Likewise.
208         * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
209         * intl/localealias.c (string_space, string_space_act, string_space_max,
210         nmap, maxmap): Likewise.
211         * libio/iopopen.c (proc_file_chain): Likewise.
212         * libio/oldiopopen.c (old_proc_file_chain): Likewise.
213         * locale/lc-collate.c (__collate_table, __collate_extra,
214         __collate_element_hash, __collate_element_strings,
215         __collate_element_values): Likewise.
216         * malloc/mcheck.c (mcheck_used): Likewise.
217         * malloc/mtrace.c (added_atexit_handler): Likewise.
218         * malloc/set-freeres.c (already_called): Likewise.
219         * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
220         * misc/syslog.c (LogStat, LogTag): Likewise.
221         * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
222         * nss/getXXbyYY_r.c (startp): Likewise.
223         * posix/getopt.c (optarg, __getopt_initialized): Likewise.
224         * posix/regex.c (init_syntax_once) [done]: Likewise.
225         (debug): Likewise.
226         * string/strfry.c (init): Likewise.
227         * sunrpc/svc_run.c (svc_top): Likewise.
228         * posix/euidaccess.c (have_ids): Likewise.
229         * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
230         * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
231         * time/getdate.c (getdate_err): Likewise.
232         * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
233         Likewise.
234         * time/tzset.c (old_tz, is_initialized): Likewise.
236         * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
237         of static data with zero.
238         * signal/allocrtsig.c (init): Likewise.
240         * string/Makefile (routines): Add strchrnul.
241         * string/Versions [GLIBC_2.1.1]: Add strchrnul.
242         * string/string.c: Add strchrnul prototype.
243         * include/string.h: Add __strchrnul prototype.
244         * sysdeps/generic/strchrnul.c: New file.
245         * sysdeps/i386/strchrnul.S: New file.
246         * sysdeps/i386/bits/string.c: Add strchrnul optimization.
247         * sysdeps/i386/i486/bits/string.c: Likewise.
248         * argp/argp-help.c (argp_args_usage): Use __strchrnul.
249         * inet/ether_line.c (ether_line): Likewise.
250         * nscd/nscd_conf.c (nscd_parse_file): Likewise.
251         * nss/nsswitch.c (nss_parse_file): Likewise.
252         * posix/execvp.c (execvp): Likewise.
253         * posix/fnmatch.c (internal_fnmatch): Likewise.
254         * resolv/res_hconf.c (_res_hconv_init): Likewise.
255         * resolv/res_init.c (res_init): Likewise.
256         * stdlib/fmtmsg.c (init): Likewise.
257         * stdlib/getsubopt.c (getsubopt): Likewise.
259         * catgets/catgets.c (catopen): Only allocate one memory block.
260         (catclose): Only one free call necessary.
262         * catgets/open_catalog.c (__open_catalog): Simplify handling of
263         file descriptor.
265         * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
266         of real functions.  Simplify _tolower and _toupper.
268         * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
269         variable.
271         * iconv/gconv.h (struct gconv_info): Change data element from pointer
272         to array of size 0.
273         * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
274         * iconv/gconv_close.c (__gconv_close): Don't free data.
276         * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
277         insert new alias.
279         * iconv/gconv_db.c (add_derivation): More efficient copying.  Check
280         for error while inserting in tree.
282         * include/time.h: Pretty print.
284         * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
285         in table and lots of relocations.
286         * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
287         string pointers in table and lots of relocations.
289         * intl/finddomain.c: Remove definition of strchr macro.
291         * io/ftw.c (nftw_arr, ftw_arr): Make const.
293         * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
295         * locale/localeinfo.h (_nl_category_names): Change into an array with
296         fixed width char string elements.
297         * locale/setlocale.c (_nl_category_names): Likewise.
298         (_nl_current): Make global.
299         * locale/nl_langinfo.c (nldata): Removed.  Use _nl_current now.
301         * malloc/Makefile (distribute): Add stackinfo.h.
302         * sysdeps/generic/stackinfo.h: New file.
303         * sysdeps/i386/stackinfo.h: New file.
304         * posix/execl.c: Use stackinfo.h in optimizing alloca use.
305         * posix/execle.c: Likewise.
306         * posix/execlp.c: Likewise.
308         * nis/nis_table.c (__create_ib_request): Always use realloc.
310         * posix/execvp.c (execute): Rename to script_execute and keep only
311         code to execute using shell.
312         (execvp): Call execv directly and only fall back on script_execute.
314         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
315         and always use xdigits instead.
317         * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
318         where appropriate.
320         * stdlib/fpioconst.h (__tens): New declaration.
321         (struct mp_power): Remove array, add arrayoff element.
322         * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
323         __tens array and add in _fpioconst_pow10 offsets into __tens.
324         * stdio-common/printf_fp.c: Rewrite to use new __tens array.
325         * stdlib/strtod.c: Likewise.
327         * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
329         * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
330         of the list.
331         * stdlib/atexit.c (__exit_funcs): Don't initialize.
333         * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
335         * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
336         a single and an array with offsets.
338         * sunrpc/des_soft.c (partab): Make it const.
340         * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
341         (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
342         (__key_decryptsession_pk_LOCAL): Likewise.
343         (__key_gendes_LOCAL): Likewise.
344         (MESSENGER): Mark const.
345         (key_call_private_main): Don't initialize with 0.
346         (use_keyenvoy): Don't initialize with 0.
347         (key_call): Rewrite to reverse logic of use_doors variable.
349         * sunrpc/netname.c (OPSYS): Define as array, not pointer.
350         (startp): Don't initialize with zero.
352         * sunrpc/openchild.c (_openchild): Make first argument const.
354         * sunrpc/pmap_rmt.c (timeout): Mark const.
355         * sunrpc/xcrypt.c (hex): Likewise.
357         * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
358         initialization of global variables.
359         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
360         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
361         * termios/tcgetsid.c: Likewise.
363         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
364         fxsr to osfxsr.
366         * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
367         block.  Add function to free memory if wanted.
368         * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
370         * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
372         * wcsmbs/wmemset.c: Little code optimization.
374 1999-04-23  Paul Eggert  <eggert@twinsun.com>
376         * stdlib/strtoull.c: Surround strong_alias and weak_alias with
377         ifdef _LIBC.
379 1999-04-28  Roland McGrath  <roland@baalperazim.frob.com>
381         * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
382         implementation and just always fail with ENOSYS.  This entry point is
383         obsolete.  Add link warning to that effect.
385 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
387         * hurd/get-host.c: Include <hurd/lookup.h>.
389 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
391         * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
392         is != NULL.
394 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
396         * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
397         ISO C9x and Unix98.
399 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
401         * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
402         Patch by Peter Miller <millerp@canb.auug.org.au>.
404 1999-04-27  Thorsten Kukuk  <kukuk@suse.de>
406         * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
407         prefers loopback device.
409 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
411         * posix/fnmatch.c (internal_fnmatch): Finish incomplete
412         no_leading_period change.
414         * posix/testfnm.c: More test cases.
416 1999-04-27  Ulrich Drepper  <drepper@cygnus.com>
418         * include/dirent.h: Remove __getdirentries declaration, add __getdents
419         and __getdents64.
420         * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
421         * sysdeps/unix/readdir_r.c: Likewise.
422         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
423         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
424         * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
425         __getdirentries.  Remove fourth argument.
426         * sysdeps/unix/sysv/linux/getdirentries.c: New file.
427         * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
428         * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
429         Add getdirentries and getdirentries64.
430         * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
432         * posix/fnmatch.c (internal_fnmatch): Correctly reset string
433         pointer in case of an invalid [[: expression.
435         * posix/testfnm.c: Add more test cases.
437 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
439         * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
440         set, pass EXEC_SIGTRAP flag in exec RPC.
442 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
444         * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch.  Take
445         extra parameter.  Fix several more bugs involving wildcard and
446         ranges.
447         (fnmatch): New function.  Call internal_fnmatch.
449         * posix/testfnm.c: More test cases.
451 1999-04-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
453         * manual/install.texi (Configuring and compiling): Explain that
454         files are changed in the source directory.
455         Closes PR libc/981.
456         (Configuring and compiling): Explain situation with PARALLELMFLAGS
457         in the source directory.
459 1999-04-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
461         * locale/programs/ld-ctype.c: Spelling fixes.
462         (ctype_finish): Fix argument of error message format.
463         * locale/programs/ld-messages.c: Spelling fixes.
464         * locale/programs/ld-monetary.c: Spelling fixes.
465         * locale/programs/ld-time.c (time_finish): Make sure that name and
466         format of era_entries are adjacent.
467         (time_output): Reduce the size of the io vector.
469 1999-04-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
471         * manual/filesys.texi (Attribute Meanings): Move a misplaced
472         paragraph.
474 1999-04-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
476         * locale/programs/ld-collate.c (collate_output): Convert
477         undefined_offset to an array index.  Fix computation of other
478         endian extra table.
480 1999-04-26  Roland McGrath  <roland@baalperazim.frob.com>
482         * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
483         return success with empty value.
485 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
487         * posix/fnmatch.c: Include string.h also for glibc.
488         (fnmatch, case '?'): Optimize if cascades a bit.
489         (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
491         * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
493 1999-04-24  Ulrich Drepper  <drepper@cygnus.com>
495         * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
496         * iconv/gconv_int.h: Declare UTF16 functions.
497         * iconv/gconv_simple.c: Add UTF16 conversion functions.
499 1999-04-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
501         * posix/wordexp.c (parse_param): Fix type of offset to allow it to
502         be used correctly as parameter for parse_dollars/parse_tilde.
504 1999-04-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
506         * manual/conf.texi (Utility Limits): Remove duplicate description
507         of BC_DIM_MAX.
509 1999-04-19  Ulrich Drepper  <drepper@cygnus.com>
511         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
512         outbufend for dst==NULL.
514 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
516         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
517         for dst==NULL.
518         Fixes PR libc/1084.
520         * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
521         Fixes PR libc/1083.
523 1999-04-18  Thorsten Kukuk  <kukuk@suse.de>
525         * sunrpc/Makefile: Remove special handling of bootparam.x,
526         add rpcsvc/bootparam.h to headers.
527         * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
528         * sunrpc/rpcsvc/bootparam.x: Renamed to...
529         * sunrpc/rpcsvc/bootparam_prot.x: ...this.
531 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
533         * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
534         detect and handle invalid descriptors.
536 1999-04-17  Thorsten Kukuk  <kukuk@suse.de>
538         * timezone/zic.c (dolink): Append complete path not only filename
539         to ../ list.
541 1999-04-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
543         * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
545 1999-04-17  Ulrich Drepper  <drepper@cygnus.com>
547         * iconvdata/gconv-modules: Rename CP874 to IBM874.
548         * iconvdata/Makefile: Likewise.
549         * iconvdata/cp874.h: Removed.
550         * iconvdata/cp874.c: Renamed to...
551         * iconvdata/ibm874.c: ...this.
553 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
555         * sysdeps/unix/sysv/linux/bits/types.h: Correct
556         signed/unsigned-ness of blkcnt and fsblkcnt.
557         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
558         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
560         * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
561         SOL_AAL, and SOL_IRDA.
563 1999-04-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
565         * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero.  Don't
566         include "linux_fsinfo.h".
567         Based on a patch by H.J. Lu <hjl@gnu.org>.
569 1999-04-16  Thorsten Kukuk  <kukuk@suse.de>
571         * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
573 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
575         * nscd/cache.c (prune_cache): Only disable file checking for
576         future if the file does not exist.
577         Update file_mtime if cache was flushed.
579 1999-04-15  David S. Miller  <davem@redhat.com>
581         * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
582         * sysdeps/sparc/sparc32/strcpy.S: Likewise.
584 1999-04-15  Scott Bambrough  <scottb@netwinder.org>
586         * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
587         compilation of file.
589 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
591         * Versions.def: Add GLIBC_2.1.1 to libpthread.
593         * iconvdata/Makefile (modules): Add KOI8-U.
594         (distribute): Add koi8-u.c.
595         (gen-8bit-gap-modules): Add koi8-u.
596         * iconvdata/gconv-modules: Add KOI8-U entries.
597         * iconvdata/koi8-u.c: New file.
599 1999-04-13  Thorsten Kukuk  <kukuk@suse.de>
601         * sunrpc/auth_des.c: 64bit fixes, security fixes.
602         * sunrpc/auth_none.c: Pretty print.
603         * sunrpc/auth_unix.c: Likewise.
604         * sunrpc/authdes_prot.c: Likewise.
605         * sunrpc/authuxprot.c: Likewise.
606         * sunrpc/bindrsvprt.c: Likewise.
607         * sunrpc/clnt_gen.c: Likewise.
608         * sunrpc/rpc/xdr.h: Likewise.
609         * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
610         * sunrpc/rpc_cmsg.c: Don't use *long pointers.
611         * sunrpc/rtime.c: Use new rpc_timeval.
612         * sunrpc/svc_authux.c: Don't use *long pointers.
613         * sunrpc/svcauth_des.c: Likewise + security fixes.
614         * sunrpc/xdr_mem.c: Don't use *long pointers.
615         * sunrpc/xdr_rec.c: Likewise.
616         * sunrpc/xdr_sizeof.c: Likewise.
617         * sunrpc/xdr_stdio.c: Likewise.
619 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
621         * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
622         so that it is redone for each sending.
624 1999-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
626         * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
628 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
630         * iconv/gconv_db.c (__gconv_find_transform): If conversion is
631         known to not exist don't try to load shared objects.
632         Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
634         * nscd/cache.c (prune_cache): The table might not be unused.  In
635         this case do nothing.
637         * catgets/gencat.c (read_input_file): Don't drop white spaces
638         between number/identifier and string.
639         Patch by Dima Barsky <dima@pwd.hp.com>.
640         If no white space at all follows number/identifier remove existing
641         message with the number/identifier.
643 1999-04-14  H.J. Lu  <hjl@gnu.org>
645         * sunrpc/clnt_udp.c (is_network_up): New function.
646         (clntudp_call): Call is_network_up () to check if any network
647         interface is up in case of timeout.
649 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
651         * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
652         * wctype/Makefile (tests): Add test_wcfuncs.
654 1999-04-14  Jakub Jelinek  <jj@ultra.linux.cz>
656         * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
657         architectures.
658         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
659         instead of CFLAGS.
660         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
661         instead of CFLAGS. For gnulib and string directories use
662         -Wa,-Av9a gcc ASFLAGS.
663         * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
664         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
665         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
666         * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
667         the same way as sparc-*.
669 1999-04-14  Ulrich Drepper  <drepper@cygnus.com>
671         * locale/programs/locfile.c (locfile_read): Fix typo.
672         Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
674 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
676         * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
677         restarted after being interrupted by a signal.  The parameters on
678         the stack were corrupted by the signal handler.
680         * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
681         restarted after being interrupted by a signal.  The parameters on
682         the stack were corrupted by the signal handler.
684 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
686         * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
687         Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
689 1999-04-12  Tim Waugh  <tim@cyberelk.demon.co.uk>
691         * posix/wordexp-test.c: In field-splitting test cases where
692         subshells were involved, unset IFS first: some shells (ash) use
693         IFS even when no expansion is performed.
695 1999-04-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
697         * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
698         the real end of the chunk, not some random point inbetween.
699         (_IO_obstack_xsputn): Likewise.  Actually copy the data into the
700         obstack when growing.  Use fast version of obstack_blank when
701         shrinking.
702         (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
703         allocating the vtable pointer.
704         (_IO_obstack_vprintf): Adjust for above change and avoid
705         unnecessary casts.  Use fast version of obstack_blank when
706         shrinking.
707         Fixes PR libc/1075.
709 1999-04-12  Ulrich Drepper  <drepper@cygnus.com>
711         * iconvdata/gconv-modules: Fix typo.  Add UJIS alias.
712         Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
714 1999-04-11  Tim Waugh  <tim@cyberelk.demon.co.uk>
716         * posix/wordexp.c (wordexp): Fix a leak when an invalid character
717         is seen, as well as fixing semantics.  Don't reset the word count
718         to zero when an invalid character is seen, but leave it as it was
719         (this makes a difference with WRDE_APPEND).
721         * posix/wordexp-test.c: More test cases.
723         * posix/wordexp.c (parse_param): In words like ${var#pattern},
724         always expand pattern when it is needed.  Also, handle quoting in
725         pattern properly.
727 1999-04-12  Philip Blundell  <philb@gnu.org>
729         * elf/elf.h: Update ARM definitions to match current gas2.
731         * sysdeps/arm/bits/endian.h: Support big endian operation.
733         * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
734         Don't bother range checking the port number.
736         * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
738         * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
739         the syscall name in assembler output for ease of debugging.
741         * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
742         compiler behaviour.
743         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
744         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
745         (sysdep_routines): Add sigrestorer.
747         * string/tester.c (test_strcpy): Add new tests for unaligned
748         arguments.
749         * sysdeps/arm/bits/string.h: Delete inline implementations of
750         strcpy and stpcpy.
752 1999-04-11  Ulrich Drepper  <drepper@cygnus.com>
754         * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
756 1999-04-10  Mark Kettenis  <kettenis@gnu.org>
758         * sysdeps/mach/hurd/Dist: Add clk_tck.c.
760 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
762         * iconvdata/Makefile (modules): Add TIS-620.
763         (distribute): Add tis-620.c.
764         (gen-8bit-gap-modules): tis-620.
765         * iconvdata/tis-620.c: New file.
766         * iconvdata/gconv-modules: Add TIS-620 entries.
768         * iconvdata/asmo_449.c: Correct comment.
770 1999-04-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
772         * manual/install.texi (Configuring and compiling): Comment out
773         description of --disable-static since this doesn't work currently
774         (see change by Ulrich Drepper on 1998-12-07 for configure.in).
776 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
778         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
779         use binary search.
780         Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
782 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
784         * scripts/test-installation.pl (installation_problem): Skip
785         libnss1_* libraries from glibc-compat add-on.
787 1999-04-07  H.J. Lu  <hjl@gnu.org>
789         * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
790         libstdc++ 2.7.2.
791         * posix/Versions (__waitpid): Likewise.
793 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
795         * manual/install.texi (Reporting Bugs): Add section about reported
796         bugs and correct email address of glibcbug script.
798 1999-04-01  Thorsten Kukuk  <kukuk@suse.de>
800         * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
801         * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
802         xdr_u_longlong_t. Based on patch from Dan Shechter
803         <damageboy@isdn.net.il>.
804         * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
805         * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
807         * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
809 1999-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
811         * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
812         directly if getdents returns with error set.
814 1999-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
816         * locale/langinfo.h (THOUSEP): Rename second occurence of
817         THOUSANDS_SEP to THOUSEP.
818         Reported by Roman Belenov <roman@nstl.nnov.ru>.
820 1999-04-05  Roland McGrath  <roland@baalperazim.frob.com>
822         * hurd/STATUS: File removed.  Moved items that are still relevant into
823         TODO list in hurd source.
825 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
827         * sysdeps/mach/hurd/bits/time.h: New file.
828         * sysdeps/mach/hurd/getrusage.c: New file.
829         * sysdeps/mach/hurd/clk_tck.c: New file.
830         * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
831         * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
832         (sysdep_routines): Add clk_tck.
833         * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
834         implemented.
836 1999-04-02  Ulrich Drepper  <drepper@cygnus.com>
838         * misc/syslog.c (closelog_internal): Do not reset LogTag here.
839         (closelog): But instead here.
840         Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
842 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
844         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
845         the source directory.  Fixes PR libc/1059.
847 1999-04-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
849         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
850         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
852 1999-04-01  Ulrich Drepper  <drepper@cygnus.com>
854         * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
855         * iconvdata/testdata/ISO-8859-14: New file.
856         * iconvdata/testdata/ISO-8859-14..UTF8: New file.
857         * iconvdata/testdata/ISO-8859-15: New file.
858         * iconvdata/testdata/ISO-8859-15..UTF8: New file.
860 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
862         * iconvdata/testdata/CP1258: New file.
863         * iconvdata/testdata/CP1258..UTF8: New file.
864         * iconvdata/TESTS: Add CP1258 entry.
866         * iconvdata/cp874.h (to_ucs4): Add Euro sign.
868         * timezone/africa: Update from tzdata1999d.
869         * timezone/europe: Likewise.
870         * timezone/northamerica: Likewise.
872 1999-03-31  Mark Kettenis  <kettenis@gnu.org>
874         * login/programs/pt_chown.c (main): Save effective user ID before
875         dropping priviliges and use this to check if the program is
876         properly installed.
878 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
880         * iconvdata/testdata/CP1254: Update for charmap changes.
881         * iconvdata/testdata/CP1254..UTF8: Likewise.
882         * iconvdata/testdata/CP1255: Likewise.
883         * iconvdata/testdata/CP1255..UTF8: Likewise.
884         * iconvdata/testdata/CP1256: Likewise.
885         * iconvdata/testdata/CP1256..UTF8: Likewise.
886         * iconvdata/testdata/CP1257: Likewise.
887         * iconvdata/testdata/CP1257..UTF8: Likewise.
889         * iconvdata/Makefile (distribute): Remove cp1258.h.
890         (gen-8bit-gap-modules): Add cp1258.
891         * iconvdata/cp1258.h: Removed.
893 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
895         * timezone/tst-timezone.c (tests): Add more cases.
896         (check_tzvars): Mark errors clearer.
897         (main): Likewise.
899 1999-03-30 20:59 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
901         * login/programs/pt_chown.c: Drop privileges if invoked with
902         arguments.  Don't close the master pty.
904 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
906         * time/tzfile.c (__tzfile_read): Process transitions from the rear.
907         Minor optimization.
909 1999-03-29  Ulrich Drepper  <drepper@cygnus.com>
911         * elf/rtld.c (process_envvars): Do not automatically prevent lazy
912         relocation for SUID binaries.
914 1999-03-29  Paul Eggert  <eggert@twinsun.com>
916         * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
917         while in child process.
919 1999-03-29  Jakub Jelinek  <jj@ultra.linux.cz>
921         * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
922         * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
923         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
924         * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
925         * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
927         * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
928         * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
929         * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
930         * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
931         * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
932         * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
933         * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
934         * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
935         * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
936         * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
937         * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
938         * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
939         * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
940         * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
941         * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
942         * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
943         * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
944         * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
945         * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
946         * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
947         * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
948         * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
949         * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
950         * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
951         * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
952         * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
954         * sysdeps/sparc/sparc32/bcopy.c: New file.
955         * sysdeps/sparc/sparc32/bzero.c: New file.
956         * sysdeps/sparc/sparc32/memchr.S: New file.
957         * sysdeps/sparc/sparc32/memcpy.S: New file.
958         * sysdeps/sparc/sparc32/memmove.c: New file.
959         * sysdeps/sparc/sparc32/memset.S: New file.
960         * sysdeps/sparc/sparc32/stpcpy.S: New file.
961         * sysdeps/sparc/sparc32/strchr.S: New file.
962         * sysdeps/sparc/sparc32/strrchr.c: New file.
963         * sysdeps/sparc/sparc32/strcpy.S: New file.
964         * sysdeps/sparc/sparc32/strlen.S: New file.
965         * sysdeps/sparc/sparc32/strcat.S: New file.
966         * sysdeps/sparc/sparc32/strcmp.S: New file.
968         * sysdeps/sparc/sparc64/bcopy.c: New file.
969         * sysdeps/sparc/sparc64/bzero.c: New file.
970         * sysdeps/sparc/sparc64/memchr.S: New file.
971         * sysdeps/sparc/sparc64/memcmp.S: New file.
972         * sysdeps/sparc/sparc64/memcpy.S: New file.
973         * sysdeps/sparc/sparc64/memset.S: New file.
974         * sysdeps/sparc/sparc64/stpcpy.S: New file.
975         * sysdeps/sparc/sparc64/strcat.S: New file.
976         * sysdeps/sparc/sparc64/strchr.S: New file.
977         * sysdeps/sparc/sparc64/strcmp.S: New file.
978         * sysdeps/sparc/sparc64/strcpy.S: New file.
979         * sysdeps/sparc/sparc64/strcspn.S: New file.
980         * sysdeps/sparc/sparc64/strlen.S: New file.
981         * sysdeps/sparc/sparc64/strncpy.S: New file.
982         * sysdeps/sparc/sparc64/strpbrk.S: New file.
983         * sysdeps/sparc/sparc64/strrchr.c: New file.
984         * sysdeps/sparc/sparc64/strspn.S: New file.
985         * sysdeps/sparc/sparc64/stpncpy.S: New file.
986         * sysdeps/sparc/sparc64/strncmp.S: New file.
988         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
989         Append -fPIC, don't replace.
991         * configure.in: Recognize sparcv8plus / sparcv9.
993 1999-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
995         * malloc/obstack.h (obstack_free): Explicitly convert __obj to
996         char * to avoid C++ warning.
997         Patch by yasushi@cs.washington.edu [PR libc/1035].
999 1999-03-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1001         * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
1002         declared in stdlib.h, correct return value of mkstemp.
1003         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
1005         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
1006         from Linux 2.2.5.
1008 1999-03-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1010         * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
1011         C++ warning.
1013         * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
1014         inline functions.  Closes PR libc/1049.
1016 1999-03-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1018         * timezone/README: Update from tzdata1999c and tzcode1999c.
1020         * timezone/africa: Update from tzdata1999c.
1021         * timezone/antarctica: Likewise.
1022         * timezone/asia: Likewise.
1023         * timezone/australasia: Likewise.
1024         * timezone/europe: Likewise.
1025         * timezone/northamerica: Likewise.
1026         * timezone/southamerica: Likewise.
1027         * timezone/zone.tab: Likewise.
1029         * timezone/zic.c: Update from tzcode1999c.
1031 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1033         * Makerules: Add $(common-objpfx)Versions.all to common-generated
1034         outside of ifndef avoid-generated.
1036         * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
1037         in iofdopen.c.
1038         * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
1039         iofopen.c.
1040         * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
1041         in iofclose.c.
1042         * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
1043         _IO_old_file_seekoff): Bring over recent changes in fileops.c.
1045 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
1047         * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
1048         if we build the profiled library.
1050 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1052         * math/Makefile (gmp-objs): Add inlines.  Reported by Andreas
1053         Jaeger <aj@arthur.rhein-neckar.de>
1055 1999-03-25  Roland McGrath  <roland@yaumatei.ai.mit.edu>
1057         * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
1058         (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
1059         This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
1061 1999-03-24  Roland McGrath  <roland@baalperazim.frob.com>
1063         * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
1064         works properly in subdirs.
1066 1999-03-23  Roland McGrath  <roland@baalperazim.frob.com>
1068         * sysdeps/mach/hurd/Makefile: Undo last change.
1069         [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
1070         [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
1072         * mach/Machrules (+preinit, +postinit, +interp,
1073         LDFLAGS-$(interface.so)): Variables removed.  Interface libraries get
1074         linked just like other shared libraries.
1075         (interface.so): Fix typo in defn, so it works.
1076         ($(objpfx)$(interface.so)): Make it depend on libc.so.
1078 1999-03-21  Roland McGrath  <roland@baalperazim.frob.com>
1080         * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
1081         $(link-rpcuserlibs).
1083 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1085         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
1086         $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
1087         targets if not building shared libraries.
1089 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1091         * configure.in: Also look in $PATH when searching for
1092         install-info.  Remove autoconf bug workaround and require autoconf
1093         2.13.
1095 1999-03-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1097         * db/Makefile: Don't try to install shared library link if not
1098         building with shared libs.
1100 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1102         * rt/Makefile: Link against static library if no shared lib is
1103         available.
1105         * localedata/Makefile: The shells scripts implementing the test
1106         require the dynamic linker which is not available with
1107         --disable-shared.  Skip the test if --disable-shared is given.
1109         * linuxthreads/Makefile: Link test against static libpthread if no
1110         shared lib is available.
1112         * iconvdata/Makefile (tests): Run iconv-test only if we're
1113         building shared libraries.
1114         * elf/Makefile (tests): Likewise for elf tests.
1116         * posix/Makefile: The test frameworks globtest and wordexp-test
1117         require the dynamic linker which is not available with
1118         --disable-shared.  Skip the test if --disable-shared is given.
1120         * grp/Makefile (otherlibs): For static nss build link against
1121         necessary libs.
1123 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1125         * debug/Makefile (install-bin): Install and build catchsegv only
1126         if build-shared == yes.  Reported by jussi@jlaako.pp.fi [PR
1127         libc/965].
1129 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1131         * time/tzfile.c (__tzfile_read): Handle the case where there are
1132         transitions but no DST.
1134 1999-03-20  Roland McGrath  <roland@baalperazim.frob.com>
1136         * mach/Machrules (extra-libs-others): Add $(interface-library) here
1137         too, so it gets built in the others pass rather than the lib pass.
1138         This is necessary since the RPC libraries need to be linked against
1139         libc.
1141 1999-03-19  Roland McGrath  <roland@baalperazim.frob.com>
1143         * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
1144         _itoa_word decl.
1146         * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
1147         ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
1148         ($(link-rpcuserlibs)): New static pattern rule; link intermediate
1149         versions of lib{mach,hurd}user.so without reference to libc.so,
1150         then link libc.so against that to get deps and symbol versions, then
1151         finally link real lib*user.so against libc.so.
1153         * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
1154         Support whole-file locking (only) by using the file_lock RPC.  This
1155         has very wrong semantics, but is better than nothing for the time
1156         being.  (Correct POSIX.1 locking will require new RPCs in the Hurd
1157         protocols that will be somewhat hairy to specify.)
1159 1999-03-17  Mark Kettenis  <kettenis@gnu.org>
1161         * sysdeps/mach/hurd/ptsname.c: New file.
1163 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1165         * timezone/asia: Fix rule in Asia/Nicosia entry.
1167 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1169         * manual/getopt.texi (Using Getopt): Explain "::" in option
1170         string.  Reported by Yuri Niyazov <yuricake@geocities.com>.
1172 1999-03-18  Thorsten Kukuk  <kukuk@suse.de>
1174         * sunrpc/clnt_unix.c: Fix creation of parameters for
1175         sendmsg/recvmsg on non intel platforms.
1176         * sunrpc/svc_unix.c: Likewise.
1178 1999-03-18  Philip Blundell  <philb@gnu.org>
1180         * sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386
1181         implementation.
1183 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1185         * timezone/africa: Update from tzdata1999b.
1186         * timezone/asia: Likewise.
1187         * timezone/australasia: Likewise.
1188         * timezone/europe: Likewise.
1189         * timezone/northamerica: Likewise.
1190         * timezone/southamerica: Likewise.
1191         * timezone/zone.tab: Likewise.
1193         * timezone/README: Mention tzdata1999b.
1195 1999-03-17  Ulrich Drepper  <drepper@cygnus.com>
1197         * sysdeps/generic/segfault.c (write_strsignal): New function.
1198         (catch_segfault): Use it instead of calling strsignal.
1200 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1202         * iconv/gconv.c (__gconv): Change type of last_start to unsigned
1203         char to avoid warning.
1205 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
1207         * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
1209         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
1210         outbuf to unsigned char to avoid warning.
1212 1999-03-11  David S. Miller  <davem@redhat.com>
1214         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
1215         masks.
1216         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
1218 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
1220         * iconv/gconv.h (gconv_fct): Change parameter from `char' to
1221         `unsigned char'.
1222         (gconv_step_data): Likewise.
1223         * iconv/gconv_int.h (__gconv): Likewise.
1224         (__BUILINT_TRANS): Likewise.
1225         * iconv/gconv.c (__gconv): Likewise.
1226         * iconv/iconv.c (iconv): Add casts for call of __gconv.
1227         * iconv/skeleton.c: Change local parameters and variable from `char' to
1228         `unsigned char'.  Remove casts from calls into modules.
1229         * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
1230         `char' to `unsigned char'.
1231         * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
1232         * wcsmbs/mbrtowc.c: Likewise.
1233         * wcsmbs/mbsnrtowcs.c: Likewise.
1234         * wcsmbs/mbsrtowcs.c: Likewise.
1235         * wcsmbs/wcrtomb.c: Likewise.
1236         * wcsmbs/wcsnrtombs.c: Likewise.
1237         * wcsmbs/wcsrtombs.c: Likewise.
1238         * wcsmbs/wctob.c: Likewise.
1240 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
1242         * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
1243         __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
1244         __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
1245         __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
1246         __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
1247         __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
1249 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
1251         * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
1252         _hurd_select if TIMEMOUT is -1.
1254 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
1256         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
1258 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
1260         * elf/dl-load.c: Compute rtld_search_dir array size correctly.
1261         Reported by Yasushi Saito <yasushi@cs.washington.edu>.
1263 1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1265         * manual/libc.texinfo: Undo last change for now.
1267 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
1269         * intl/locale.alias: Add entries for Croatian.
1270         Patch by Tomislav Vujec <tvujec@CARNet.hr>.
1272 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
1274         * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
1275         if the opened master pty really is a pty.  `isatty' checks for
1276         tty-ness and a pty is not a tty.  Return ENOENT instead of ENFILE
1277         if we are out of pty's.
1279 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
1281         * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
1282         opened file is closed on exec.
1283         * login/utmp_daemon.c (setutent_daemon): Likewise for the just
1284         opened socket.
1286 1999-03-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1288         * manual/llio.texi (File Position Primitive): Reformat @end
1289         command.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
1291 1999-03-14  Ulrich Drepper  <drepper@cygnus.com>
1293         * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
1294         entry is found.
1295         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1296         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
1298         * locale/programs/localedef.c (main): Initialize `cat' to please
1299         the compiler.
1301 1999-03-14  Roland McGrath  <roland@baalperazim.frob.com>
1303         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
1304         check for root-owned symlinks and reject them too.
1306 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1308         * stdio-common/printf_fphex.c: Move to ...
1309         * sysdeps/generic/printf_fphex.c: ... here.  Fix exponent of
1310         extended precision number.
1311         * sysdeps/m68k/printf_fphex.c: New file.
1313 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1315         * manual/stdio.texi: Fix typos.
1317 1999-03-09  Ulrich Drepper  <drepper@cygnus.com>
1319         * version.h (VERSION): Bump to 2.1.1.
1321 1999-03-09  Thorsten Kukuk  <kukuk@suse.de>
1323         * nis/ypclnt.c: Try only twice to connect to NIS server.
1325 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
1327         * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
1329 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1331         * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
1332         (DENORM_EXP): New define.  Use it as the exponent for a denormal.
1333         * stdlib/strtold.c: Moved to ...
1334         * sysdeps/generic/strtold.c: ... here.
1335         * sysdeps/m68k/strtold.c: New file.
1337 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1339         * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
1340         point if the precision is zero, even if the mantissa is non-zero.
1342 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
1344         * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
1345         arguments into the request message buffer inside `send_rpc'
1346         subfunction.  We must repeat the marshalling when retrying the RPC
1347         after a SIGTTOU delivery.
1349         * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
1350         path when there is no ctty port.
1351         * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1352         Move sigstate check inside loop so we recheck after handling a signal.
1354 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1356         * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
1357         O_EXLOCK are BSD extensions.
1358         Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
1360 1999-03-08  Ulrich Drepper  <drepper@cygnus.com>
1362         * manual/signal.texi (Termination in Handler): Correct example.
1363         Install default handler before reraising the signal.
1364         Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
1366 1999-03-08  Roland McGrath  <roland@baalperazim.frob.com>
1368         * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
1369         null, in which case send an empty string.
1371 1999-03-02  Mark Kettenis  <kettenis@gnu.org>
1373         * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
1374         backward compatibility EH functions to be linked when using
1375         gcc-2.8.1.  Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1377 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1379         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
1380         /dev/pts status may change during runtime.
1382 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1384         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
1385         change.  /dev/pts status can change during runtime.
1387 1999-03-07  Thorsten Kukuk  <kukuk@suse.de>
1389         * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
1390         poll reports error.
1391         * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
1392         add some more sanity checks.
1393         * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
1394         parser prototype.
1396 1999-03-05  Thorsten Kukuk  <kukuk@suse.de>
1398         * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
1399         change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
1400         * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
1401         * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
1402         * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
1403         for x_getint32.
1404         * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
1405         * nis/nis_print.c: Fix ctime argument for platforms where
1406         sizeof (time_t) != sizeof (int).
1408 1999-03-07  Mark Kettenis  <kettenis@gnu.org>
1410         * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
1411         CLOCKS_PER_SEC instead of CLK_TCK.
1413 1999-03-05  Ulrich Drepper  <drepper@cygnus.com>
1415         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
1416         whether /dev/pts is available.
1417         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
1418         dev_pts_available.
1420         * posix/globtest.sh: Make common_objpfx path absolute and and db2
1421         and hesiod directory to library path [PR libc/1007].
1423 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1425         * resolv/inet_addr.c (inet_aton): Don't allow componets >
1426         255.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
1428 1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>
1430         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
1431         DT_PLTGOT has already been relocated.
1432         (__elf_machine_fixup_plt): Likewise.
1433         Minor cleanups.
1435 1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>
1437         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
1439 1999-03-03  Ulrich Drepper  <drepper@cygnus.com>
1441         * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
1442         and fold string to uppercase [PR libc/1005].
1444 1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1446         * elf/dl-load.c (lose): Fix return type.
1448 1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>
1450         * sysdeps/mach/hurd/bits/fcntl.h
1451         [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
1452         * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
1453         set O_NOTRANS as well.
1454         (__hurd_file_name_lookup_retry): At successful end of lookup,
1455         if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
1456         it is a translated node not owned by root.
1457         (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
1458         on the file name passed to LOOKUP.
1460 1999-03-02  Ulrich Drepper  <drepper@cygnus.com>
1462         * manual/time.texi (High Resolution Timer): Correct computation in
1463         example.  Reported by jjf@devel.cemsys.com.
1465 1999-03-02  Philip Blundell  <pb@nexus.co.uk>
1467         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
1468         entry is already relocated.
1470 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1472         * resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
1473         by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
1475 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1477         * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
1478         uc_link which is the right name according to Unix98.
1479         Reported by Craig Metz [PR libc/1001].
1480         * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
1481         * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
1482         * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
1483         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
1484         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
1485         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
1487 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1489         * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
1490         @ifinfo.
1492 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1494         * iconvdata/Makefile: Always include iconv-rules, but disable rule
1495         to regenerate it if avoid-generated.
1497         * Makeconfig: Always include sys-dirs, but disable rule to
1498         regenerate it when avoid-generated.
1500         * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
1501         rule to generate sysd-syscalls.
1503         * elf/Makefile (generated): Remove $(objpfx) from names.
1505 1999-02-28  Mark Kettenis  <kettenis@gnu.org>
1507         * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
1508         actual length if the adress length is smaller than the input
1509         value.  Change type of *LEN paramater to socklen_t.
1510         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
1511         * sysdeps/mach/hurd/accept.c (accept): Likewise.
1512         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1513         * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
1514         paramater to socklen_t.
1516 1999-02-28  Roland McGrath  <roland@baalperazim.frob.com>
1518         * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
1519         msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
1520         with the RPC.
1522 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
1524         * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
1525         __get_phys_pages): Cast &HBI to silence warning.
1527         * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
1528         * hurd/hurdchdir.c: New file.
1529         * hurd/hurdfchdir.c: New file.
1530         * sysdeps/mach/hurd/chroot.c: Call
1531         _hurd_change_directory_port_from_name to do the work.
1532         * sysdeps/mach/hurd/chdir.c: Likewise.
1533         * sysdeps/mach/hurd/fchdir.c: Call
1534         _hurd_change_directory_port_from_fd to do the work.
1535         * hurd/fchroot.c: Likewise.
1536         * hurd/hurd.h: Declare them.
1538 1999-02-27  Ulrich Drepper  <drepper@cygnus.com>
1540         * elf/dl-load.c (lose): Add more comments to explain the `why'.
1541         (_dl_map_object): Remove redundant test.
1543 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
1545         * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
1546         try to _hurd_port_free a lower-numbered descriptor that was not in any
1547         fd_set.
1549 1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1551         * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
1552         declaration for ____wcstod_l_internal.
1554         * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
1555         __strtod_internal prototype.
1556         * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
1557         (____strtold_l_internal): Add prototype declaration.
1558         (__strtold_l): Call correct function.
1560 1999-02-24  Ulrich Drepper  <drepper@cygnus.com>
1562         * elf/elf.h: Add 32bit HPPA definitions.
1564 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1566         * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
1567         non-checked heap is restored when malloc checking was requested by
1568         the user.
1569         (struct malloc_state): Add using_malloc_checking.
1570         (MALLOC_STATE_VERSION): Increment minor.
1571         (using_malloc_checking, disallow_malloc_check): New variables.
1572         (__malloc_check_init): Use them.
1573         (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
1574         that it can the chunk is properly instrumented when malloc
1575         checking is enabled.  Set the new using_malloc_checking field.
1576         (malloc_hook_ini): Correct signature when _LIBC is not defined.
1578 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1580         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
1581         (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
1582         time.
1584         * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
1585         Don't call elf_get_dynamic_info and _dl_setup_hash a second time
1586         if ld.so is the main program.
1588 1999-02-23  Ulrich Drepper  <drepper@cygnus.com>
1590         * stdio-common/vfprintf.c (vfprintf): If precision or width is too
1591         large for work_buffer, allocate new buffer.
1592         (printf_unknown): Likewise.  [PR libc/988]
1594 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
1596         * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
1597         instead of stat and fstat.
1598         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1600 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1602         * elf/dl-error.c (_dl_signal_cerror): New function.
1603         (_dl_signal_error): Don't call receiver function.
1604         * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
1605         instead of _dl_signal_error when reporting references to undefined
1606         symbols or versions.
1607         (_dl_lookup_versioned_symbol): Likewise.
1608         (_dl_lookup_versioned_symbol_skip): Likewise.
1609         * elf/dl-version.c (match_symbol): Likewise.
1611         * elf/ldsodefs.h: Declare _dl_signal_cerror.
1613 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
1615         * misc/getttyent.c (getttyent): Release lock on stream later to
1616         also protect global variable zapchar.
1618         * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
1619         __times [PR libc/990].
1621 1999-02-21  David S. Miller  <davem@redhat.com>
1623         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
1624         parentheses in Feb 2 changes.
1625         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1627 1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1629         * sysdeps/generic/glob.c (glob): Save previous errno.
1631 1999-02-21  Ulrich Drepper  <drepper@cygnus.com>
1633         * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
1634         lookup functions if it is too small.
1636 1999-02-20  Ulrich Drepper  <drepper@cygnus.com>
1638         * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
1639         for tracing to the scope lists.
1640         * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
1641         DT_SYMTAB is always available according to ELF spec.
1643         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
1644         call test whether there is any scope left.
1645         (_dl_lookup_versioned_symbol_skip): Likewise.
1647         * elf/Makefile (distribute): Add do-lookup.h.
1648         * elf/do-lookup.h: New file.  Split out from dl-lookup.c.
1649         * elf/dl-lookup.c: Move do_lookup function in separate file and
1650         include the file twice, for handling versioning and without it.
1652         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
1653         entry is already relocated.
1654         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
1655         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
1656         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
1657         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
1658         Likewise.
1659         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
1660         Likewise.
1661         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
1662         Likewise.
1664         * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
1665         load address.  Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
1666         DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
1667         (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
1668         rel and rela relocations can both happen and skip one test if this
1669         is not possible.
1670         (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
1671         appropriately.
1672         * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
1673         already relocated.
1674         * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
1675         relocated.
1676         * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
1677         (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
1678         (_dl_map_object): DT_STRTAB entry is already relocated.
1679         * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
1680         already relocated.
1681         * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
1682         relocated.
1683         * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
1684         DT_VERSYM entries are already relocated.
1685         (profile_fixup): Likewise.
1686         * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX.  Replace
1687         all users.
1688         (match_symbol): DT_STRTAB entry is already relocated.
1689         (_dl_check_map_versions): Likewise.  Also fo DT_VERSYM.
1690         * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
1691         relocated already.  DT_SYMTAB and DT_VERSYM entries are also relocated.
1692         * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
1693         (find_needed): DT_STRTAB entry is already relocated.
1694         (dl_main): Pass extra argument to elf_get_dynamic_info.
1695         DT_STRTAB entry is already relocated.
1696         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
1697         DT_PLTGOT entries are already relocated.
1698         (elf_machine_rela): Likewise for DT_SYMTAB.
1699         * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
1700         relocated.
1701         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1702         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
1703         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
1704         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1705         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
1706         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
1707         (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
1708         * sysdeps/mips/mips64/dl-machine.h: Likewise.
1710         * grp/initgroups.c (initgroups): If function in current module was
1711         successful don't stop but continue to process to get all the groups.
1713         * elf/dl-load.c (_dl_map_object_from_fd): Use global
1714         _dl_pf_to_proot array to convert p_flags value.
1715         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1717         * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
1718         loop to clear `info'.
1720         * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
1721         do the work and don't use inline assembler.
1723 1999-02-19  Ulrich Drepper  <drepper@cygnus.com>
1725         * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
1726         * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
1727         noreturn, and prevent it from being inlined.
1728         Define LOSE appropriately.
1729         (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
1730         Optimize decoding of p_flags for certain platforms.
1732 1999-02-19  Philip Blundell  <pb@nexus.co.uk>
1734         * Makeconfig (link-libc): When doing a static link, make sure that
1735         libgcc.a is included both before and after libc.a.
1737 1999-02-18  Thorsten Kukuk  <kukuk@suse.de>
1739         * nis/nss_compat/compat-spwd.c: Fix handling of default values for
1740         sp_warn, sp_inact, sp_expire and sp_flag.
1742 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
1744         * elf/link.h (link_map): Add l_dev and l_ino.
1745         * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
1746         loaded shared object with all loaded objects.  Initialize l_ino
1747         and l_dev in case it's new.
1748         * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
1749         object.
1750         * elf/Makefile: Compile and run new test.
1751         * elf/multiload.c: New file.
1753         * nss/nsswitch.h (service_user): Change name field from const char *
1754         to char[0].
1755         (name_database_entry): Likewise.
1756         * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
1757         for change of `service_user'.
1758         (nss_getline): Adjust memory allocation for change of
1759         `name_database_entry'.
1761         * catgets/catgets.c: Correctly handle NLSPATH from environment
1762         [PR libc/980].
1764         * io/Makefile (routines): Add lock64.
1765         * io/Versions: Add lockf64 for GLIBC_2.1.1.
1766         * sysdeps/generic/lockf64.c: New file.
1768 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
1770         * string/bits/string2.h: Only use strncmp optimization if count
1771         argument is constant.
1773 1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>
1775         * sysdeps/mach/hurd/revoke.c: New file.
1777 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
1779         * wctype/wctype.h (_ISwbit): Cast result of shift operations to
1780         int to avoid warning about `ISO C restricts enumerator values to
1781         range of `int''.
1783 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1785         * elf/dlfcn.h: Fix typo.
1786         * sysdeps/generic/bits/dlfcn.h: Likewise.
1787         * sysdeps/mips/bits/dlfcn.h: Likewise.
1789 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
1791         * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
1792         for the case N == 0.
1794         * db2/Makefile (distribute): Add LICENSE.
1796 1999-02-03  Jeff Bailey  <jbailey@nisa.net>
1798         * sysdeps/unix/make_errlist.c: Add i18n and copyright to
1799         generated files.
1801         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
1803 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
1805         * time/mktime.c: Use ISO C form for function definitions and
1806         remove unnecessary prototypes.
1808         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
1810         * time/time.h: Avoid unneccesary #ifdef.
1812 1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
1814         * stdio-common/_itoa.c (_itoa): Correct parameters to
1815         udiv_qrnnd_preinv.
1817 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1819         * misc/sys/cdefs.h: Undefine __PMT since it might be defined
1820         before (e.g. in glob.h).
1821         Closes PR libc/959.
1823 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1825         * sysdeps/mips/fpu_control.h: Fix typo.
1826         Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
1827         Remove __setfpucw.
1829 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
1831         * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
1832         the "unused" ends of the sockets.  Let pipes be bidirectional.
1834 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
1836         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
1837         invalid ai_flags.
1839 1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1841         * manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
1842         Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
1844         * manual/setjmp.texi (Non-Local Exits and Signals): Fix
1845         typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
1847 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
1849         * string/Versions: Add __strverscmp to GLIBC_2.1.1.
1851 1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1853         * misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
1854         check for priority mask.
1856 1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
1858         * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
1859         Reported by Craig Metz <cmetz@inner.net> .
1861 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1863         * stdio-common/Makefile (tests): tllformat added.
1865         * stdio-common/tllformat.c: New program, based on tiformat.c with
1866         examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1868 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1870         * posix/test-vfork.c: Fix exit status test.
1872 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1874         * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
1875         missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
1877 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1879         * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
1880         of separare explicit comparisons.
1882 1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1884         * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
1885         defined.
1887         * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
1888         defined.
1890 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
1892         * po/el.po: Update from translation team.
1894 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1896         * intl/locale.alias: Fix slovenian entry [PR libc/948].
1898 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1900         * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
1901         * inet/ruserpass.c: Likewise.
1902         * locale/programs/stringtrans.c: Likewise.
1903         * locale/programs/localedef.c: Likewise.
1904         * nscd/grpcache.c: Likewise.
1905         * nss/nss_files/files-XXX.c: Likewise.
1906         * stdlib/canonicalize.c: Likewise.
1907         * sysdeps/posix/sigwait.c: Likewise.
1909 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1911         * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
1912         even on 64 bit platforms.
1914         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
1915         Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
1917 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
1919         * intl/dcgettext.c: Include locale.h is available.
1921 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
1923         * po/nl.po: Update from translation team.
1925         * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
1927         * Makefile: Allow calling goals for po subdir.
1929         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
1930         signal definitions.
1932         * po/el.po: New file.
1934 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1936         * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
1937         when processing DT_SYMBOLIC objects.
1939 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1941         * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
1942         program headers without PT_PHDR only require that they are
1943         contained within one of the loaded segments.  Don't use assert,
1944         since that would be a bug in the object, not the dynamic linker.
1946 1999-02-08  Richard Henderson  <rth@cygnus.com>
1948         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
1949         restore all call-clobbered fp regs.
1951 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
1953         * po/cs.po: New file.
1955         * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
1956         SUID binaries.
1958 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
1960         * signal/signal.h: Don't declare __libc_allocate_rtsig.
1961         * include/signal.h: Declare __libc_allocate_rtsig here.
1963         * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
1964         point functions, not do_lookup since the later can be called more
1965         than once.
1967 1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>
1969         * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
1970         macro, so that architectures which need to add some special
1971         offset to stack pointer can share this file.
1973         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
1974         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
1975         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
1976         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
1978         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
1979         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
1980         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
1981         between sparc32 and sparc64.
1983         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
1984         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
1985         * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
1986         between sparc32 and sparc64.
1988         * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
1989         * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
1990         * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
1991         between sparc32 and sparc64.
1993         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
1994         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
1995         * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
1996         between sparc32 and sparc64.
1998 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
2000         * Versions.def: New version GLIBC_2.1.1 for libc.
2001         * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
2002         * stdlib/labs.c: Moved to...
2003         * sysdeps/generic/labs.c: ...here.
2004         * stdlib/llabs.c: Moved to...
2005         * sysdeps/generic/llabs.c: ...here.
2006         * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
2007         header.  Declare _Exit.
2008         * sysdeps/generic/_exit.c: Add alias _Exit.
2009         * sysdeps/mach/hurd/_exit.c: Likewise.
2010         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
2011         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
2012         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
2013         * sysdeps/unix/_exit.c: Likewise.
2014         * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
2015         imaxdiv and imaxabs.  Declare lldiv_t if necessary.
2016         * sysdeps/wordsize-64/inttypes.h: Likewise.
2017         * sysdeps/wordsize-32/llabs.c: New file.
2018         * sysdeps/wordsize-32/lldiv.c: New file.
2019         * sysdeps/wordsize-64/labs.c: New file.
2020         * sysdeps/wordsize-64/ldiv.c: New file.
2021         * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
2022         * manual/startup.texi: Document _Exit.
2024 1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2026         * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
2028 1999-02-06  Ulrich Drepper  <drepper@cygnus.com>
2030         * Versions.def: Add versions for ld.so.
2031         * csu/Versions: Remove __libc_stack_end here.
2032         * elf/Versions: Split libc definitions in libc and ld.so definitions.
2033         * elf/Makefile (ld-map): Change to ld.so.map.
2034         * scripts/versions.awk: Recognize dot in library names.
2036         * ctype/ctype.h: Remove definitions of __tolower and __toupper.
2037         Don't use __tolower and __toupper in inline functions.
2038         Add optimizing macros for tolower and toupper.
2039         * ctype/ctype-extn.c (_tolower): Don't use __tolower.
2040         (_toupper): Don't use __toupper.
2041         * ctype/ctype.c (tolower): Don't use __tolower.
2042         (toupper): Don't use toupper.
2044         * nscd/cache.c (prune_cache): Correct printing of debugging messages.
2046         * resolv/Versions (libresolv): Export __ns_name_unpack and
2047         __ns_name_ntop.
2048         * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
2049         make it global.  Change all users.  Similar for ns_name_ntop.
2050         * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
2051         user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
2052         directly to detect too small buffer.
2053         * resolv/nss_dns/dns-network.c: Likewise.
2055         * stdio-common/Makefile (tests): Add scanf12.
2056         * stdio-common/scanf12.c: New file.
2057         * stdio-common/scanf12.input: New file.
2058         * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
2059         floating-point correctly if the number is invalid.
2061         * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
2062         functions.
2063         * stdio-common/printf_fp.c: Likewise.
2064         * stdio-common/printf_fphex.c: Likewise.
2065         * stdio-common/vfprintf.c: Likewise.
2068 See ChangeLog.9 for earlier changes.