Update.
[glibc.git] / ChangeLog
blob59400bffeb49b9f253994d1631ed37dfa7e0c536
1 1999-05-06  Ulrich Drepper  <drepper@cygnus.com>
3         * nss/digits_dots.c: Correct return value interpretation of
4         inet_ntoa.  Fix PR libc/1109.
6 1999-05-06  Zack Weinberg  <zack@rabi.columbia.edu>
8         * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
10 1999-05-06  Thorsten Kukuk  <kukuk@suse.de>
12         * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
13         * stdlib/fpioconst.c: Move #endif before end of struct.
15 1999-05-05  Ulrich Drepper  <drepper@cygnus.com>
17         * Versions.def (ld.so): Add GLIBC_2.1.1.
18         * elf/Makefile (routines): Add dl-origin.
19         (tests): Add origtest.  Add dependencies for the program.
20         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
21         _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
22         * elf/dl-deps.c (expand_dst): New macro.  Expand DSTs in filename.
23         (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
24         DT_AUXILIARY, and DT_FILTER filenames.
25         * elf/dl-load.c (expand_dynamic_string_token): Explode into
26         two functions and three macros.
27         (_dl_dst_count, _dl_dst_substitute): New functions.
28         * elf/dl-dst.h: New file.
29         * elf/dl-open.c (_dl_open): Take extra parameter with address of
30         caller.  Pass address in args structure.
31         (dl_open_worker): Recognize and expand DSTs in filename.
32         * elf/ldsodefs.h (_dl_open): Adapt prototype.
33         * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
34         (__dlopen_check): Pass caller address to dlopen_doit in args.
35         * elf/dlopendoit.c: Likewise.
36         * iconv/gconv_dl.c: Adapt call of _dl_open.
37         * nss/nsswitch.c: Likewise.
38         * elf/origtest.c: New file.
39         * sysdeps/generic/dl-origin.h: Moved to...
40         * sysdeps/generic/dl-origin.c: ...here.
41         * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
42         * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
44         * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
45         with specific bases and only few bits set in second word.
47         * timezone/Makefile (install-others): Create target directory
48         before creating tzfiles.
50 1999-05-05  Thorsten Kukuk  <kukuk@suse.de>
52         * nis/nis_file.c (readColdStartFile): Allocate memory only after
53         the file is opened successfully.
55         * nis/nis_table.c: Fix some memory leaks.
57 1999-05-04  Ulrich Drepper  <drepper@cygnus.com>
59         * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
60         variable.
62         * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
63         around DST.  Correctly ignore ORIGIN IN SUID binaries.
65 1999-05-03  Ulrich Drepper  <drepper@cygnus.com>
67         * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
68         * sysdeps/generic/strtok.c: Likewise.
70         * string/tester.c: Add test of rawmemchr.
72         * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
73         specification.  It's not necessary.
75         * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
76         * elf/gen-trusted-dirs.awk: New file.
77         * elf/dl-load.c (systems_dirs): Moved into file scope.  Initialize
78         from SYSTEM_DIRS macro.
79         (system_dirs_len): New variable.  Contains lengths of system_dirs
80         strings.
81         (fillin_rpath): Rewrite for systems_dirs being a simple string.
82         Improve string comparisons.  Change parameter trusted to be a flag.
83         Change all callers.
84         (_dt_init_paths): Improve using new format for system_dirs.
86         * elf/dl-load.c (expand_dynamic_string_token): Don't expand
87         $ORIGIN for SUID binaries.
89         * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
91 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
93         * sunrpc/Makefile: Generate dependencies for all flavors of
94         librpcsvc objects.
95         (rpcgen-cmd): Pass -Y flag here and remove it from the macro
96         invocations.
98 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
100         * elf/dlopenold.c: Move #if down after includes to get
101         dependencies right.
103 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
105         * sysdeps/generic/bzero.c: Undefine __bzero.
107 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
109         * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
110         * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
111         * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
112         Patch by Craig Small <csmall@scooter.eye-net.com.au>.
114         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
115         parameter to struct gaih_servtuple *.  Adapt appropriately.
116         (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
117         This fixes a memory leak.
118         Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
120         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
121         and fpregset_t definition.  They are defined in ucontext.h.
123 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
125         * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
126         and struct ether_header must be packed on the ARM.  The default
127         alignment constraints add padding to the end of the structures.
129 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
131         * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM.  The
132         default alignment constraints add padding to the end of the
133         structure and between members.
135 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
137         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
138         _dl_cache_libcmp instead of strcmp.
140         * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
141         fails on a file.
142         Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
144 1998-03-30  Joel Klecker  <espy@debian.org>
146         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
147         (sysdep-others,install-bin): Add lddlibc4.
149 1999-05-02  H.J. Lu  <hjl@gnu.org>
151         * timezone/zic.c (dolink): Remove the symlink destination first.
153         * catgets/open_catalog.c (__open_catalog): Set catalog->status
154         to "nonexisting" if failed to open the file.
156 1999-05-01  Ulrich Drepper  <drepper@cygnus.com>
158         * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
159         gcc3.
161         * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
162         Prevent warnings from multiplication with 0x01010101 by another cast.
164 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
166         * string/bits/string2.h (memset): Revert to previous version if
167         unaligned writes are not available.
169 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
171         * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
172         better code in presence of the asm.
174 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
176         * stdlib/fmtmsg.c (keywords): Increase array size for faster
177         indexing.
179         * locale/localeinfo.h (_nl_category_names): Increase array element
180         size for faster indexing.
181         * locale/setlocale.c (_nl_category_names): Adjusted.
183 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
185         * iconv/gconv_conf.c (add_alias): Remove wrong cast.
187 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
189         * sysdeps/m68k/stackinfo.h: New file.
191 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
193         * string/tester.c (test_strchrnul): New function.
194         (test_memset): Test one more special case.
196         * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
197         25% of all cases.
199         * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
200         base types.
202         * string/bits/string2.h: Fix bugs I introduced in last change.
204         * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
205         register stall.
206         Extend memset optimization.
207         Correct i686 version of memchr.
209 1999-04-30  Roland McGrath  <roland@baalperazim.frob.com>
211         * sysdeps/i386/bzero.c: Add #undef __bzero.
213         * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
214         EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
215         exec server simulated a SIGTRAP before we even started up, so gdb is
216         already happy.
218 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
220         * nss/digits_dots.c: Always initialize not_ok.
222 1999-04-30 09:02 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
224         * string/bits/string2.h (memset): Avoid arithmetic overflow at
225         compile time, which produces obnoxious warnings.  If GCCv2 is
226         in use, map __bzero to __builtin_memset to enable that
227         optimization.
229 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
231         * string/bits/string2.h: Add more memset optimizations.
233         * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
235         * resolv/inet_pton.c (inet_pton4): Little optimizations.
236         (inet_pton6): Likewise.
238         * nss/getXXbyYY_r.c: Include assert.h.
239         * nss/getXXbyYY.c: Likewise.
241 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
243         * termios/tcgetsid.c (tcgetsid): Rename variable to
244         tiocgsid_does_not_work.
246 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
248         * inet/getnameinfo.c (nrl_domainname): Fix last patch.
250 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
252         * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
253         This allows e.g. gethostbyname to accept "10.1234".
254         Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
256         * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
257         non quad IPv4 numbers.
259 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
261         * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
263 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
265         * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
266         * argp/argp-parse.c (_argp_hang): Likewise.
267         * argp/argp-pv.c (argp_program_version): Likewise.
268         * argp/argp-pvh.c (argp_program_version_hook): Likewise.
269         * inet/ether_hton.c (ether_hton, startp): Likewise.
270         * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
271         * inet/getnetgrent_r.c (setup, startp): Likewise.
272         * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
273         * intl/localealias.c (string_space, string_space_act, string_space_max,
274         nmap, maxmap): Likewise.
275         * libio/iopopen.c (proc_file_chain): Likewise.
276         * libio/oldiopopen.c (old_proc_file_chain): Likewise.
277         * locale/lc-collate.c (__collate_table, __collate_extra,
278         __collate_element_hash, __collate_element_strings,
279         __collate_element_values): Likewise.
280         * malloc/mcheck.c (mcheck_used): Likewise.
281         * malloc/mtrace.c (added_atexit_handler): Likewise.
282         * malloc/set-freeres.c (already_called): Likewise.
283         * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
284         * misc/syslog.c (LogStat, LogTag): Likewise.
285         * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
286         * nss/getXXbyYY_r.c (startp): Likewise.
287         * posix/getopt.c (optarg, __getopt_initialized): Likewise.
288         * posix/regex.c (init_syntax_once) [done]: Likewise.
289         (debug): Likewise.
290         * string/strfry.c (init): Likewise.
291         * sunrpc/svc_run.c (svc_top): Likewise.
292         * posix/euidaccess.c (have_ids): Likewise.
293         * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
294         * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
295         * time/getdate.c (getdate_err): Likewise.
296         * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
297         Likewise.
298         * time/tzset.c (old_tz, is_initialized): Likewise.
300         * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
301         of static data with zero.
302         * signal/allocrtsig.c (init): Likewise.
304         * string/Makefile (routines): Add strchrnul.
305         * string/Versions [GLIBC_2.1.1]: Add strchrnul.
306         * string/string.c: Add strchrnul prototype.
307         * include/string.h: Add __strchrnul prototype.
308         * sysdeps/generic/strchrnul.c: New file.
309         * sysdeps/i386/strchrnul.S: New file.
310         * sysdeps/i386/bits/string.c: Add strchrnul optimization.
311         * sysdeps/i386/i486/bits/string.c: Likewise.
312         * argp/argp-help.c (argp_args_usage): Use __strchrnul.
313         * inet/ether_line.c (ether_line): Likewise.
314         * nscd/nscd_conf.c (nscd_parse_file): Likewise.
315         * nss/nsswitch.c (nss_parse_file): Likewise.
316         * posix/execvp.c (execvp): Likewise.
317         * posix/fnmatch.c (internal_fnmatch): Likewise.
318         * resolv/res_hconf.c (_res_hconv_init): Likewise.
319         * resolv/res_init.c (res_init): Likewise.
320         * stdlib/fmtmsg.c (init): Likewise.
321         * stdlib/getsubopt.c (getsubopt): Likewise.
323         * catgets/catgets.c (catopen): Only allocate one memory block.
324         (catclose): Only one free call necessary.
326         * catgets/open_catalog.c (__open_catalog): Simplify handling of
327         file descriptor.
329         * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
330         of real functions.  Simplify _tolower and _toupper.
332         * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
333         variable.
335         * iconv/gconv.h (struct gconv_info): Change data element from pointer
336         to array of size 0.
337         * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
338         * iconv/gconv_close.c (__gconv_close): Don't free data.
340         * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
341         insert new alias.
343         * iconv/gconv_db.c (add_derivation): More efficient copying.  Check
344         for error while inserting in tree.
346         * include/time.h: Pretty print.
348         * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
349         in table and lots of relocations.
350         * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
351         string pointers in table and lots of relocations.
353         * intl/finddomain.c: Remove definition of strchr macro.
355         * io/ftw.c (nftw_arr, ftw_arr): Make const.
357         * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
359         * locale/localeinfo.h (_nl_category_names): Change into an array with
360         fixed width char string elements.
361         * locale/setlocale.c (_nl_category_names): Likewise.
362         (_nl_current): Make global.
363         * locale/nl_langinfo.c (nldata): Removed.  Use _nl_current now.
365         * malloc/Makefile (distribute): Add stackinfo.h.
366         * sysdeps/generic/stackinfo.h: New file.
367         * sysdeps/i386/stackinfo.h: New file.
368         * posix/execl.c: Use stackinfo.h in optimizing alloca use.
369         * posix/execle.c: Likewise.
370         * posix/execlp.c: Likewise.
372         * nis/nis_table.c (__create_ib_request): Always use realloc.
374         * posix/execvp.c (execute): Rename to script_execute and keep only
375         code to execute using shell.
376         (execvp): Call execv directly and only fall back on script_execute.
378         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
379         and always use xdigits instead.
381         * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
382         where appropriate.
384         * stdlib/fpioconst.h (__tens): New declaration.
385         (struct mp_power): Remove array, add arrayoff element.
386         * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
387         __tens array and add in _fpioconst_pow10 offsets into __tens.
388         * stdio-common/printf_fp.c: Rewrite to use new __tens array.
389         * stdlib/strtod.c: Likewise.
391         * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
393         * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
394         of the list.
395         * stdlib/atexit.c (__exit_funcs): Don't initialize.
397         * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
399         * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
400         a single and an array with offsets.
402         * sunrpc/des_soft.c (partab): Make it const.
404         * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
405         (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
406         (__key_decryptsession_pk_LOCAL): Likewise.
407         (__key_gendes_LOCAL): Likewise.
408         (MESSENGER): Mark const.
409         (key_call_private_main): Don't initialize with 0.
410         (use_keyenvoy): Don't initialize with 0.
411         (key_call): Rewrite to reverse logic of use_doors variable.
413         * sunrpc/netname.c (OPSYS): Define as array, not pointer.
414         (startp): Don't initialize with zero.
416         * sunrpc/openchild.c (_openchild): Make first argument const.
418         * sunrpc/pmap_rmt.c (timeout): Mark const.
419         * sunrpc/xcrypt.c (hex): Likewise.
421         * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
422         initialization of global variables.
423         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
424         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
425         * termios/tcgetsid.c: Likewise.
427         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
428         fxsr to osfxsr.
430         * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
431         block.  Add function to free memory if wanted.
432         * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
434         * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
436         * wcsmbs/wmemset.c: Little code optimization.
438 1999-04-23  Paul Eggert  <eggert@twinsun.com>
440         * stdlib/strtoull.c: Surround strong_alias and weak_alias with
441         ifdef _LIBC.
443 1999-04-28  Roland McGrath  <roland@baalperazim.frob.com>
445         * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
446         implementation and just always fail with ENOSYS.  This entry point is
447         obsolete.  Add link warning to that effect.
449 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
451         * hurd/get-host.c: Include <hurd/lookup.h>.
453 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
455         * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
456         is != NULL.
458 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
460         * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
461         ISO C9x and Unix98.
463 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
465         * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
466         Patch by Peter Miller <millerp@canb.auug.org.au>.
468 1999-04-27  Thorsten Kukuk  <kukuk@suse.de>
470         * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
471         prefers loopback device.
473 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
475         * posix/fnmatch.c (internal_fnmatch): Finish incomplete
476         no_leading_period change.
478         * posix/testfnm.c: More test cases.
480 1999-04-27  Ulrich Drepper  <drepper@cygnus.com>
482         * include/dirent.h: Remove __getdirentries declaration, add __getdents
483         and __getdents64.
484         * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
485         * sysdeps/unix/readdir_r.c: Likewise.
486         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
487         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
488         * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
489         __getdirentries.  Remove fourth argument.
490         * sysdeps/unix/sysv/linux/getdirentries.c: New file.
491         * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
492         * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
493         Add getdirentries and getdirentries64.
494         * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
496         * posix/fnmatch.c (internal_fnmatch): Correctly reset string
497         pointer in case of an invalid [[: expression.
499         * posix/testfnm.c: Add more test cases.
501 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
503         * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
504         set, pass EXEC_SIGTRAP flag in exec RPC.
506 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
508         * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch.  Take
509         extra parameter.  Fix several more bugs involving wildcard and
510         ranges.
511         (fnmatch): New function.  Call internal_fnmatch.
513         * posix/testfnm.c: More test cases.
515 1999-04-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
517         * manual/install.texi (Configuring and compiling): Explain that
518         files are changed in the source directory.
519         Closes PR libc/981.
520         (Configuring and compiling): Explain situation with PARALLELMFLAGS
521         in the source directory.
523 1999-04-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
525         * locale/programs/ld-ctype.c: Spelling fixes.
526         (ctype_finish): Fix argument of error message format.
527         * locale/programs/ld-messages.c: Spelling fixes.
528         * locale/programs/ld-monetary.c: Spelling fixes.
529         * locale/programs/ld-time.c (time_finish): Make sure that name and
530         format of era_entries are adjacent.
531         (time_output): Reduce the size of the io vector.
533 1999-04-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
535         * manual/filesys.texi (Attribute Meanings): Move a misplaced
536         paragraph.
538 1999-04-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
540         * locale/programs/ld-collate.c (collate_output): Convert
541         undefined_offset to an array index.  Fix computation of other
542         endian extra table.
544 1999-04-26  Roland McGrath  <roland@baalperazim.frob.com>
546         * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
547         return success with empty value.
549 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
551         * posix/fnmatch.c: Include string.h also for glibc.
552         (fnmatch, case '?'): Optimize if cascades a bit.
553         (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
555         * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
557 1999-04-24  Ulrich Drepper  <drepper@cygnus.com>
559         * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
560         * iconv/gconv_int.h: Declare UTF16 functions.
561         * iconv/gconv_simple.c: Add UTF16 conversion functions.
563 1999-04-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
565         * posix/wordexp.c (parse_param): Fix type of offset to allow it to
566         be used correctly as parameter for parse_dollars/parse_tilde.
568 1999-04-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
570         * manual/conf.texi (Utility Limits): Remove duplicate description
571         of BC_DIM_MAX.
573 1999-04-19  Ulrich Drepper  <drepper@cygnus.com>
575         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
576         outbufend for dst==NULL.
578 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
580         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
581         for dst==NULL.
582         Fixes PR libc/1084.
584         * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
585         Fixes PR libc/1083.
587 1999-04-18  Thorsten Kukuk  <kukuk@suse.de>
589         * sunrpc/Makefile: Remove special handling of bootparam.x,
590         add rpcsvc/bootparam.h to headers.
591         * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
592         * sunrpc/rpcsvc/bootparam.x: Renamed to...
593         * sunrpc/rpcsvc/bootparam_prot.x: ...this.
595 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
597         * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
598         detect and handle invalid descriptors.
600 1999-04-17  Thorsten Kukuk  <kukuk@suse.de>
602         * timezone/zic.c (dolink): Append complete path not only filename
603         to ../ list.
605 1999-04-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
607         * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
609 1999-04-17  Ulrich Drepper  <drepper@cygnus.com>
611         * iconvdata/gconv-modules: Rename CP874 to IBM874.
612         * iconvdata/Makefile: Likewise.
613         * iconvdata/cp874.h: Removed.
614         * iconvdata/cp874.c: Renamed to...
615         * iconvdata/ibm874.c: ...this.
617 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
619         * sysdeps/unix/sysv/linux/bits/types.h: Correct
620         signed/unsigned-ness of blkcnt and fsblkcnt.
621         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
622         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
624         * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
625         SOL_AAL, and SOL_IRDA.
627 1999-04-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
629         * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero.  Don't
630         include "linux_fsinfo.h".
631         Based on a patch by H.J. Lu <hjl@gnu.org>.
633 1999-04-16  Thorsten Kukuk  <kukuk@suse.de>
635         * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
637 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
639         * nscd/cache.c (prune_cache): Only disable file checking for
640         future if the file does not exist.
641         Update file_mtime if cache was flushed.
643 1999-04-15  David S. Miller  <davem@redhat.com>
645         * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
646         * sysdeps/sparc/sparc32/strcpy.S: Likewise.
648 1999-04-15  Scott Bambrough  <scottb@netwinder.org>
650         * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
651         compilation of file.
653 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
655         * Versions.def: Add GLIBC_2.1.1 to libpthread.
657         * iconvdata/Makefile (modules): Add KOI8-U.
658         (distribute): Add koi8-u.c.
659         (gen-8bit-gap-modules): Add koi8-u.
660         * iconvdata/gconv-modules: Add KOI8-U entries.
661         * iconvdata/koi8-u.c: New file.
663 1999-04-13  Thorsten Kukuk  <kukuk@suse.de>
665         * sunrpc/auth_des.c: 64bit fixes, security fixes.
666         * sunrpc/auth_none.c: Pretty print.
667         * sunrpc/auth_unix.c: Likewise.
668         * sunrpc/authdes_prot.c: Likewise.
669         * sunrpc/authuxprot.c: Likewise.
670         * sunrpc/bindrsvprt.c: Likewise.
671         * sunrpc/clnt_gen.c: Likewise.
672         * sunrpc/rpc/xdr.h: Likewise.
673         * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
674         * sunrpc/rpc_cmsg.c: Don't use *long pointers.
675         * sunrpc/rtime.c: Use new rpc_timeval.
676         * sunrpc/svc_authux.c: Don't use *long pointers.
677         * sunrpc/svcauth_des.c: Likewise + security fixes.
678         * sunrpc/xdr_mem.c: Don't use *long pointers.
679         * sunrpc/xdr_rec.c: Likewise.
680         * sunrpc/xdr_sizeof.c: Likewise.
681         * sunrpc/xdr_stdio.c: Likewise.
683 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
685         * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
686         so that it is redone for each sending.
688 1999-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
690         * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
692 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
694         * iconv/gconv_db.c (__gconv_find_transform): If conversion is
695         known to not exist don't try to load shared objects.
696         Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
698         * nscd/cache.c (prune_cache): The table might not be unused.  In
699         this case do nothing.
701         * catgets/gencat.c (read_input_file): Don't drop white spaces
702         between number/identifier and string.
703         Patch by Dima Barsky <dima@pwd.hp.com>.
704         If no white space at all follows number/identifier remove existing
705         message with the number/identifier.
707 1999-04-14  H.J. Lu  <hjl@gnu.org>
709         * sunrpc/clnt_udp.c (is_network_up): New function.
710         (clntudp_call): Call is_network_up () to check if any network
711         interface is up in case of timeout.
713 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
715         * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
716         * wctype/Makefile (tests): Add test_wcfuncs.
718 1999-04-14  Jakub Jelinek  <jj@ultra.linux.cz>
720         * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
721         architectures.
722         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
723         instead of CFLAGS.
724         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
725         instead of CFLAGS. For gnulib and string directories use
726         -Wa,-Av9a gcc ASFLAGS.
727         * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
728         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
729         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
730         * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
731         the same way as sparc-*.
733 1999-04-14  Ulrich Drepper  <drepper@cygnus.com>
735         * locale/programs/locfile.c (locfile_read): Fix typo.
736         Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
738 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
740         * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
741         restarted after being interrupted by a signal.  The parameters on
742         the stack were corrupted by the signal handler.
744         * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
745         restarted after being interrupted by a signal.  The parameters on
746         the stack were corrupted by the signal handler.
748 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
750         * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
751         Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
753 1999-04-12  Tim Waugh  <tim@cyberelk.demon.co.uk>
755         * posix/wordexp-test.c: In field-splitting test cases where
756         subshells were involved, unset IFS first: some shells (ash) use
757         IFS even when no expansion is performed.
759 1999-04-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
761         * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
762         the real end of the chunk, not some random point inbetween.
763         (_IO_obstack_xsputn): Likewise.  Actually copy the data into the
764         obstack when growing.  Use fast version of obstack_blank when
765         shrinking.
766         (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
767         allocating the vtable pointer.
768         (_IO_obstack_vprintf): Adjust for above change and avoid
769         unnecessary casts.  Use fast version of obstack_blank when
770         shrinking.
771         Fixes PR libc/1075.
773 1999-04-12  Ulrich Drepper  <drepper@cygnus.com>
775         * iconvdata/gconv-modules: Fix typo.  Add UJIS alias.
776         Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
778 1999-04-11  Tim Waugh  <tim@cyberelk.demon.co.uk>
780         * posix/wordexp.c (wordexp): Fix a leak when an invalid character
781         is seen, as well as fixing semantics.  Don't reset the word count
782         to zero when an invalid character is seen, but leave it as it was
783         (this makes a difference with WRDE_APPEND).
785         * posix/wordexp-test.c: More test cases.
787         * posix/wordexp.c (parse_param): In words like ${var#pattern},
788         always expand pattern when it is needed.  Also, handle quoting in
789         pattern properly.
791 1999-04-12  Philip Blundell  <philb@gnu.org>
793         * elf/elf.h: Update ARM definitions to match current gas2.
795         * sysdeps/arm/bits/endian.h: Support big endian operation.
797         * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
798         Don't bother range checking the port number.
800         * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
802         * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
803         the syscall name in assembler output for ease of debugging.
805         * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
806         compiler behaviour.
807         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
808         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
809         (sysdep_routines): Add sigrestorer.
811         * string/tester.c (test_strcpy): Add new tests for unaligned
812         arguments.
813         * sysdeps/arm/bits/string.h: Delete inline implementations of
814         strcpy and stpcpy.
816 1999-04-11  Ulrich Drepper  <drepper@cygnus.com>
818         * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
820 1999-04-10  Mark Kettenis  <kettenis@gnu.org>
822         * sysdeps/mach/hurd/Dist: Add clk_tck.c.
824 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
826         * iconvdata/Makefile (modules): Add TIS-620.
827         (distribute): Add tis-620.c.
828         (gen-8bit-gap-modules): tis-620.
829         * iconvdata/tis-620.c: New file.
830         * iconvdata/gconv-modules: Add TIS-620 entries.
832         * iconvdata/asmo_449.c: Correct comment.
834 1999-04-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
836         * manual/install.texi (Configuring and compiling): Comment out
837         description of --disable-static since this doesn't work currently
838         (see change by Ulrich Drepper on 1998-12-07 for configure.in).
840 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
842         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
843         use binary search.
844         Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
846 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
848         * scripts/test-installation.pl (installation_problem): Skip
849         libnss1_* libraries from glibc-compat add-on.
851 1999-04-07  H.J. Lu  <hjl@gnu.org>
853         * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
854         libstdc++ 2.7.2.
855         * posix/Versions (__waitpid): Likewise.
857 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
859         * manual/install.texi (Reporting Bugs): Add section about reported
860         bugs and correct email address of glibcbug script.
862 1999-04-01  Thorsten Kukuk  <kukuk@suse.de>
864         * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
865         * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
866         xdr_u_longlong_t. Based on patch from Dan Shechter
867         <damageboy@isdn.net.il>.
868         * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
869         * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
871         * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
873 1999-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
875         * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
876         directly if getdents returns with error set.
878 1999-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
880         * locale/langinfo.h (THOUSEP): Rename second occurence of
881         THOUSANDS_SEP to THOUSEP.
882         Reported by Roman Belenov <roman@nstl.nnov.ru>.
884 1999-04-05  Roland McGrath  <roland@baalperazim.frob.com>
886         * hurd/STATUS: File removed.  Moved items that are still relevant into
887         TODO list in hurd source.
889 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
891         * sysdeps/mach/hurd/bits/time.h: New file.
892         * sysdeps/mach/hurd/getrusage.c: New file.
893         * sysdeps/mach/hurd/clk_tck.c: New file.
894         * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
895         * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
896         (sysdep_routines): Add clk_tck.
897         * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
898         implemented.
900 1999-04-02  Ulrich Drepper  <drepper@cygnus.com>
902         * misc/syslog.c (closelog_internal): Do not reset LogTag here.
903         (closelog): But instead here.
904         Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
906 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
908         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
909         the source directory.  Fixes PR libc/1059.
911 1999-04-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
913         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
914         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
916 1999-04-01  Ulrich Drepper  <drepper@cygnus.com>
918         * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
919         * iconvdata/testdata/ISO-8859-14: New file.
920         * iconvdata/testdata/ISO-8859-14..UTF8: New file.
921         * iconvdata/testdata/ISO-8859-15: New file.
922         * iconvdata/testdata/ISO-8859-15..UTF8: New file.
924 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
926         * iconvdata/testdata/CP1258: New file.
927         * iconvdata/testdata/CP1258..UTF8: New file.
928         * iconvdata/TESTS: Add CP1258 entry.
930         * iconvdata/cp874.h (to_ucs4): Add Euro sign.
932         * timezone/africa: Update from tzdata1999d.
933         * timezone/europe: Likewise.
934         * timezone/northamerica: Likewise.
936 1999-03-31  Mark Kettenis  <kettenis@gnu.org>
938         * login/programs/pt_chown.c (main): Save effective user ID before
939         dropping priviliges and use this to check if the program is
940         properly installed.
942 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
944         * iconvdata/testdata/CP1254: Update for charmap changes.
945         * iconvdata/testdata/CP1254..UTF8: Likewise.
946         * iconvdata/testdata/CP1255: Likewise.
947         * iconvdata/testdata/CP1255..UTF8: Likewise.
948         * iconvdata/testdata/CP1256: Likewise.
949         * iconvdata/testdata/CP1256..UTF8: Likewise.
950         * iconvdata/testdata/CP1257: Likewise.
951         * iconvdata/testdata/CP1257..UTF8: Likewise.
953         * iconvdata/Makefile (distribute): Remove cp1258.h.
954         (gen-8bit-gap-modules): Add cp1258.
955         * iconvdata/cp1258.h: Removed.
957 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
959         * timezone/tst-timezone.c (tests): Add more cases.
960         (check_tzvars): Mark errors clearer.
961         (main): Likewise.
963 1999-03-30 20:59 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
965         * login/programs/pt_chown.c: Drop privileges if invoked with
966         arguments.  Don't close the master pty.
968 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
970         * time/tzfile.c (__tzfile_read): Process transitions from the rear.
971         Minor optimization.
973 1999-03-29  Ulrich Drepper  <drepper@cygnus.com>
975         * elf/rtld.c (process_envvars): Do not automatically prevent lazy
976         relocation for SUID binaries.
978 1999-03-29  Paul Eggert  <eggert@twinsun.com>
980         * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
981         while in child process.
983 1999-03-29  Jakub Jelinek  <jj@ultra.linux.cz>
985         * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
986         * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
987         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
988         * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
989         * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
991         * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
992         * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
993         * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
994         * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
995         * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
996         * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
997         * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
998         * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
999         * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
1000         * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
1001         * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
1002         * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
1003         * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
1004         * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
1005         * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
1006         * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
1007         * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
1008         * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
1009         * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
1010         * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
1011         * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
1012         * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
1013         * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
1014         * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
1015         * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
1016         * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
1018         * sysdeps/sparc/sparc32/bcopy.c: New file.
1019         * sysdeps/sparc/sparc32/bzero.c: New file.
1020         * sysdeps/sparc/sparc32/memchr.S: New file.
1021         * sysdeps/sparc/sparc32/memcpy.S: New file.
1022         * sysdeps/sparc/sparc32/memmove.c: New file.
1023         * sysdeps/sparc/sparc32/memset.S: New file.
1024         * sysdeps/sparc/sparc32/stpcpy.S: New file.
1025         * sysdeps/sparc/sparc32/strchr.S: New file.
1026         * sysdeps/sparc/sparc32/strrchr.c: New file.
1027         * sysdeps/sparc/sparc32/strcpy.S: New file.
1028         * sysdeps/sparc/sparc32/strlen.S: New file.
1029         * sysdeps/sparc/sparc32/strcat.S: New file.
1030         * sysdeps/sparc/sparc32/strcmp.S: New file.
1032         * sysdeps/sparc/sparc64/bcopy.c: New file.
1033         * sysdeps/sparc/sparc64/bzero.c: New file.
1034         * sysdeps/sparc/sparc64/memchr.S: New file.
1035         * sysdeps/sparc/sparc64/memcmp.S: New file.
1036         * sysdeps/sparc/sparc64/memcpy.S: New file.
1037         * sysdeps/sparc/sparc64/memset.S: New file.
1038         * sysdeps/sparc/sparc64/stpcpy.S: New file.
1039         * sysdeps/sparc/sparc64/strcat.S: New file.
1040         * sysdeps/sparc/sparc64/strchr.S: New file.
1041         * sysdeps/sparc/sparc64/strcmp.S: New file.
1042         * sysdeps/sparc/sparc64/strcpy.S: New file.
1043         * sysdeps/sparc/sparc64/strcspn.S: New file.
1044         * sysdeps/sparc/sparc64/strlen.S: New file.
1045         * sysdeps/sparc/sparc64/strncpy.S: New file.
1046         * sysdeps/sparc/sparc64/strpbrk.S: New file.
1047         * sysdeps/sparc/sparc64/strrchr.c: New file.
1048         * sysdeps/sparc/sparc64/strspn.S: New file.
1049         * sysdeps/sparc/sparc64/stpncpy.S: New file.
1050         * sysdeps/sparc/sparc64/strncmp.S: New file.
1052         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
1053         Append -fPIC, don't replace.
1055         * configure.in: Recognize sparcv8plus / sparcv9.
1057 1999-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1059         * malloc/obstack.h (obstack_free): Explicitly convert __obj to
1060         char * to avoid C++ warning.
1061         Patch by yasushi@cs.washington.edu [PR libc/1035].
1063 1999-03-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1065         * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
1066         declared in stdlib.h, correct return value of mkstemp.
1067         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
1069         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
1070         from Linux 2.2.5.
1072 1999-03-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1074         * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
1075         C++ warning.
1077         * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
1078         inline functions.  Closes PR libc/1049.
1080 1999-03-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1082         * timezone/README: Update from tzdata1999c and tzcode1999c.
1084         * timezone/africa: Update from tzdata1999c.
1085         * timezone/antarctica: Likewise.
1086         * timezone/asia: Likewise.
1087         * timezone/australasia: Likewise.
1088         * timezone/europe: Likewise.
1089         * timezone/northamerica: Likewise.
1090         * timezone/southamerica: Likewise.
1091         * timezone/zone.tab: Likewise.
1093         * timezone/zic.c: Update from tzcode1999c.
1095 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1097         * Makerules: Add $(common-objpfx)Versions.all to common-generated
1098         outside of ifndef avoid-generated.
1100         * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
1101         in iofdopen.c.
1102         * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
1103         iofopen.c.
1104         * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
1105         in iofclose.c.
1106         * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
1107         _IO_old_file_seekoff): Bring over recent changes in fileops.c.
1109 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
1111         * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
1112         if we build the profiled library.
1114 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1116         * math/Makefile (gmp-objs): Add inlines.  Reported by Andreas
1117         Jaeger <aj@arthur.rhein-neckar.de>
1119 1999-03-25  Roland McGrath  <roland@yaumatei.ai.mit.edu>
1121         * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
1122         (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
1123         This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
1125 1999-03-24  Roland McGrath  <roland@baalperazim.frob.com>
1127         * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
1128         works properly in subdirs.
1130 1999-03-23  Roland McGrath  <roland@baalperazim.frob.com>
1132         * sysdeps/mach/hurd/Makefile: Undo last change.
1133         [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
1134         [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
1136         * mach/Machrules (+preinit, +postinit, +interp,
1137         LDFLAGS-$(interface.so)): Variables removed.  Interface libraries get
1138         linked just like other shared libraries.
1139         (interface.so): Fix typo in defn, so it works.
1140         ($(objpfx)$(interface.so)): Make it depend on libc.so.
1142 1999-03-21  Roland McGrath  <roland@baalperazim.frob.com>
1144         * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
1145         $(link-rpcuserlibs).
1147 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1149         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
1150         $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
1151         targets if not building shared libraries.
1153 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1155         * configure.in: Also look in $PATH when searching for
1156         install-info.  Remove autoconf bug workaround and require autoconf
1157         2.13.
1159 1999-03-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1161         * db/Makefile: Don't try to install shared library link if not
1162         building with shared libs.
1164 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1166         * rt/Makefile: Link against static library if no shared lib is
1167         available.
1169         * localedata/Makefile: The shells scripts implementing the test
1170         require the dynamic linker which is not available with
1171         --disable-shared.  Skip the test if --disable-shared is given.
1173         * linuxthreads/Makefile: Link test against static libpthread if no
1174         shared lib is available.
1176         * iconvdata/Makefile (tests): Run iconv-test only if we're
1177         building shared libraries.
1178         * elf/Makefile (tests): Likewise for elf tests.
1180         * posix/Makefile: The test frameworks globtest and wordexp-test
1181         require the dynamic linker which is not available with
1182         --disable-shared.  Skip the test if --disable-shared is given.
1184         * grp/Makefile (otherlibs): For static nss build link against
1185         necessary libs.
1187 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1189         * debug/Makefile (install-bin): Install and build catchsegv only
1190         if build-shared == yes.  Reported by jussi@jlaako.pp.fi [PR
1191         libc/965].
1193 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1195         * time/tzfile.c (__tzfile_read): Handle the case where there are
1196         transitions but no DST.
1198 1999-03-20  Roland McGrath  <roland@baalperazim.frob.com>
1200         * mach/Machrules (extra-libs-others): Add $(interface-library) here
1201         too, so it gets built in the others pass rather than the lib pass.
1202         This is necessary since the RPC libraries need to be linked against
1203         libc.
1205 1999-03-19  Roland McGrath  <roland@baalperazim.frob.com>
1207         * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
1208         _itoa_word decl.
1210         * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
1211         ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
1212         ($(link-rpcuserlibs)): New static pattern rule; link intermediate
1213         versions of lib{mach,hurd}user.so without reference to libc.so,
1214         then link libc.so against that to get deps and symbol versions, then
1215         finally link real lib*user.so against libc.so.
1217         * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
1218         Support whole-file locking (only) by using the file_lock RPC.  This
1219         has very wrong semantics, but is better than nothing for the time
1220         being.  (Correct POSIX.1 locking will require new RPCs in the Hurd
1221         protocols that will be somewhat hairy to specify.)
1223 1999-03-17  Mark Kettenis  <kettenis@gnu.org>
1225         * sysdeps/mach/hurd/ptsname.c: New file.
1227 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1229         * timezone/asia: Fix rule in Asia/Nicosia entry.
1231 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1233         * manual/getopt.texi (Using Getopt): Explain "::" in option
1234         string.  Reported by Yuri Niyazov <yuricake@geocities.com>.
1236 1999-03-18  Thorsten Kukuk  <kukuk@suse.de>
1238         * sunrpc/clnt_unix.c: Fix creation of parameters for
1239         sendmsg/recvmsg on non intel platforms.
1240         * sunrpc/svc_unix.c: Likewise.
1242 1999-03-18  Philip Blundell  <philb@gnu.org>
1244         * sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386
1245         implementation.
1247 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1249         * timezone/africa: Update from tzdata1999b.
1250         * timezone/asia: Likewise.
1251         * timezone/australasia: Likewise.
1252         * timezone/europe: Likewise.
1253         * timezone/northamerica: Likewise.
1254         * timezone/southamerica: Likewise.
1255         * timezone/zone.tab: Likewise.
1257         * timezone/README: Mention tzdata1999b.
1259 1999-03-17  Ulrich Drepper  <drepper@cygnus.com>
1261         * sysdeps/generic/segfault.c (write_strsignal): New function.
1262         (catch_segfault): Use it instead of calling strsignal.
1264 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1266         * iconv/gconv.c (__gconv): Change type of last_start to unsigned
1267         char to avoid warning.
1269 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
1271         * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
1273         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
1274         outbuf to unsigned char to avoid warning.
1276 1999-03-11  David S. Miller  <davem@redhat.com>
1278         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
1279         masks.
1280         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
1282 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
1284         * iconv/gconv.h (gconv_fct): Change parameter from `char' to
1285         `unsigned char'.
1286         (gconv_step_data): Likewise.
1287         * iconv/gconv_int.h (__gconv): Likewise.
1288         (__BUILINT_TRANS): Likewise.
1289         * iconv/gconv.c (__gconv): Likewise.
1290         * iconv/iconv.c (iconv): Add casts for call of __gconv.
1291         * iconv/skeleton.c: Change local parameters and variable from `char' to
1292         `unsigned char'.  Remove casts from calls into modules.
1293         * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
1294         `char' to `unsigned char'.
1295         * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
1296         * wcsmbs/mbrtowc.c: Likewise.
1297         * wcsmbs/mbsnrtowcs.c: Likewise.
1298         * wcsmbs/mbsrtowcs.c: Likewise.
1299         * wcsmbs/wcrtomb.c: Likewise.
1300         * wcsmbs/wcsnrtombs.c: Likewise.
1301         * wcsmbs/wcsrtombs.c: Likewise.
1302         * wcsmbs/wctob.c: Likewise.
1304 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
1306         * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
1307         __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
1308         __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
1309         __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
1310         __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
1311         __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
1313 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
1315         * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
1316         _hurd_select if TIMEMOUT is -1.
1318 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
1320         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
1322 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
1324         * elf/dl-load.c: Compute rtld_search_dir array size correctly.
1325         Reported by Yasushi Saito <yasushi@cs.washington.edu>.
1327 1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1329         * manual/libc.texinfo: Undo last change for now.
1331 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
1333         * intl/locale.alias: Add entries for Croatian.
1334         Patch by Tomislav Vujec <tvujec@CARNet.hr>.
1336 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
1338         * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
1339         if the opened master pty really is a pty.  `isatty' checks for
1340         tty-ness and a pty is not a tty.  Return ENOENT instead of ENFILE
1341         if we are out of pty's.
1343 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
1345         * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
1346         opened file is closed on exec.
1347         * login/utmp_daemon.c (setutent_daemon): Likewise for the just
1348         opened socket.
1350 1999-03-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1352         * manual/llio.texi (File Position Primitive): Reformat @end
1353         command.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
1355 1999-03-14  Ulrich Drepper  <drepper@cygnus.com>
1357         * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
1358         entry is found.
1359         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1360         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
1362         * locale/programs/localedef.c (main): Initialize `cat' to please
1363         the compiler.
1365 1999-03-14  Roland McGrath  <roland@baalperazim.frob.com>
1367         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
1368         check for root-owned symlinks and reject them too.
1370 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1372         * stdio-common/printf_fphex.c: Move to ...
1373         * sysdeps/generic/printf_fphex.c: ... here.  Fix exponent of
1374         extended precision number.
1375         * sysdeps/m68k/printf_fphex.c: New file.
1377 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1379         * manual/stdio.texi: Fix typos.
1381 1999-03-09  Ulrich Drepper  <drepper@cygnus.com>
1383         * version.h (VERSION): Bump to 2.1.1.
1385 1999-03-09  Thorsten Kukuk  <kukuk@suse.de>
1387         * nis/ypclnt.c: Try only twice to connect to NIS server.
1389 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
1391         * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
1393 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1395         * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
1396         (DENORM_EXP): New define.  Use it as the exponent for a denormal.
1397         * stdlib/strtold.c: Moved to ...
1398         * sysdeps/generic/strtold.c: ... here.
1399         * sysdeps/m68k/strtold.c: New file.
1401 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1403         * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
1404         point if the precision is zero, even if the mantissa is non-zero.
1406 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
1408         * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
1409         arguments into the request message buffer inside `send_rpc'
1410         subfunction.  We must repeat the marshalling when retrying the RPC
1411         after a SIGTTOU delivery.
1413         * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
1414         path when there is no ctty port.
1415         * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1416         Move sigstate check inside loop so we recheck after handling a signal.
1418 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1420         * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
1421         O_EXLOCK are BSD extensions.
1422         Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
1424 1999-03-08  Ulrich Drepper  <drepper@cygnus.com>
1426         * manual/signal.texi (Termination in Handler): Correct example.
1427         Install default handler before reraising the signal.
1428         Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
1430 1999-03-08  Roland McGrath  <roland@baalperazim.frob.com>
1432         * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
1433         null, in which case send an empty string.
1435 1999-03-02  Mark Kettenis  <kettenis@gnu.org>
1437         * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
1438         backward compatibility EH functions to be linked when using
1439         gcc-2.8.1.  Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1441 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1443         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
1444         /dev/pts status may change during runtime.
1446 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1448         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
1449         change.  /dev/pts status can change during runtime.
1451 1999-03-07  Thorsten Kukuk  <kukuk@suse.de>
1453         * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
1454         poll reports error.
1455         * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
1456         add some more sanity checks.
1457         * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
1458         parser prototype.
1460 1999-03-05  Thorsten Kukuk  <kukuk@suse.de>
1462         * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
1463         change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
1464         * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
1465         * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
1466         * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
1467         for x_getint32.
1468         * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
1469         * nis/nis_print.c: Fix ctime argument for platforms where
1470         sizeof (time_t) != sizeof (int).
1472 1999-03-07  Mark Kettenis  <kettenis@gnu.org>
1474         * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
1475         CLOCKS_PER_SEC instead of CLK_TCK.
1477 1999-03-05  Ulrich Drepper  <drepper@cygnus.com>
1479         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
1480         whether /dev/pts is available.
1481         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
1482         dev_pts_available.
1484         * posix/globtest.sh: Make common_objpfx path absolute and and db2
1485         and hesiod directory to library path [PR libc/1007].
1487 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1489         * resolv/inet_addr.c (inet_aton): Don't allow componets >
1490         255.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
1492 1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>
1494         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
1495         DT_PLTGOT has already been relocated.
1496         (__elf_machine_fixup_plt): Likewise.
1497         Minor cleanups.
1499 1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>
1501         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
1503 1999-03-03  Ulrich Drepper  <drepper@cygnus.com>
1505         * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
1506         and fold string to uppercase [PR libc/1005].
1508 1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1510         * elf/dl-load.c (lose): Fix return type.
1512 1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>
1514         * sysdeps/mach/hurd/bits/fcntl.h
1515         [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
1516         * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
1517         set O_NOTRANS as well.
1518         (__hurd_file_name_lookup_retry): At successful end of lookup,
1519         if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
1520         it is a translated node not owned by root.
1521         (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
1522         on the file name passed to LOOKUP.
1524 1999-03-02  Ulrich Drepper  <drepper@cygnus.com>
1526         * manual/time.texi (High Resolution Timer): Correct computation in
1527         example.  Reported by jjf@devel.cemsys.com.
1529 1999-03-02  Philip Blundell  <pb@nexus.co.uk>
1531         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
1532         entry is already relocated.
1534 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1536         * resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
1537         by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
1539 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1541         * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
1542         uc_link which is the right name according to Unix98.
1543         Reported by Craig Metz [PR libc/1001].
1544         * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
1545         * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
1546         * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
1547         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
1548         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
1549         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
1551 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1553         * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
1554         @ifinfo.
1556 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1558         * iconvdata/Makefile: Always include iconv-rules, but disable rule
1559         to regenerate it if avoid-generated.
1561         * Makeconfig: Always include sys-dirs, but disable rule to
1562         regenerate it when avoid-generated.
1564         * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
1565         rule to generate sysd-syscalls.
1567         * elf/Makefile (generated): Remove $(objpfx) from names.
1569 1999-02-28  Mark Kettenis  <kettenis@gnu.org>
1571         * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
1572         actual length if the adress length is smaller than the input
1573         value.  Change type of *LEN paramater to socklen_t.
1574         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
1575         * sysdeps/mach/hurd/accept.c (accept): Likewise.
1576         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1577         * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
1578         paramater to socklen_t.
1580 1999-02-28  Roland McGrath  <roland@baalperazim.frob.com>
1582         * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
1583         msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
1584         with the RPC.
1586 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
1588         * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
1589         __get_phys_pages): Cast &HBI to silence warning.
1591         * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
1592         * hurd/hurdchdir.c: New file.
1593         * hurd/hurdfchdir.c: New file.
1594         * sysdeps/mach/hurd/chroot.c: Call
1595         _hurd_change_directory_port_from_name to do the work.
1596         * sysdeps/mach/hurd/chdir.c: Likewise.
1597         * sysdeps/mach/hurd/fchdir.c: Call
1598         _hurd_change_directory_port_from_fd to do the work.
1599         * hurd/fchroot.c: Likewise.
1600         * hurd/hurd.h: Declare them.
1602 1999-02-27  Ulrich Drepper  <drepper@cygnus.com>
1604         * elf/dl-load.c (lose): Add more comments to explain the `why'.
1605         (_dl_map_object): Remove redundant test.
1607 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
1609         * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
1610         try to _hurd_port_free a lower-numbered descriptor that was not in any
1611         fd_set.
1613 1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1615         * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
1616         declaration for ____wcstod_l_internal.
1618         * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
1619         __strtod_internal prototype.
1620         * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
1621         (____strtold_l_internal): Add prototype declaration.
1622         (__strtold_l): Call correct function.
1624 1999-02-24  Ulrich Drepper  <drepper@cygnus.com>
1626         * elf/elf.h: Add 32bit HPPA definitions.
1628 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1630         * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
1631         non-checked heap is restored when malloc checking was requested by
1632         the user.
1633         (struct malloc_state): Add using_malloc_checking.
1634         (MALLOC_STATE_VERSION): Increment minor.
1635         (using_malloc_checking, disallow_malloc_check): New variables.
1636         (__malloc_check_init): Use them.
1637         (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
1638         that it can the chunk is properly instrumented when malloc
1639         checking is enabled.  Set the new using_malloc_checking field.
1640         (malloc_hook_ini): Correct signature when _LIBC is not defined.
1642 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1644         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
1645         (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
1646         time.
1648         * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
1649         Don't call elf_get_dynamic_info and _dl_setup_hash a second time
1650         if ld.so is the main program.
1652 1999-02-23  Ulrich Drepper  <drepper@cygnus.com>
1654         * stdio-common/vfprintf.c (vfprintf): If precision or width is too
1655         large for work_buffer, allocate new buffer.
1656         (printf_unknown): Likewise.  [PR libc/988]
1658 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
1660         * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
1661         instead of stat and fstat.
1662         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1664 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1666         * elf/dl-error.c (_dl_signal_cerror): New function.
1667         (_dl_signal_error): Don't call receiver function.
1668         * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
1669         instead of _dl_signal_error when reporting references to undefined
1670         symbols or versions.
1671         (_dl_lookup_versioned_symbol): Likewise.
1672         (_dl_lookup_versioned_symbol_skip): Likewise.
1673         * elf/dl-version.c (match_symbol): Likewise.
1675         * elf/ldsodefs.h: Declare _dl_signal_cerror.
1677 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
1679         * misc/getttyent.c (getttyent): Release lock on stream later to
1680         also protect global variable zapchar.
1682         * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
1683         __times [PR libc/990].
1685 1999-02-21  David S. Miller  <davem@redhat.com>
1687         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
1688         parentheses in Feb 2 changes.
1689         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1691 1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1693         * sysdeps/generic/glob.c (glob): Save previous errno.
1695 1999-02-21  Ulrich Drepper  <drepper@cygnus.com>
1697         * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
1698         lookup functions if it is too small.
1700 1999-02-20  Ulrich Drepper  <drepper@cygnus.com>
1702         * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
1703         for tracing to the scope lists.
1704         * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
1705         DT_SYMTAB is always available according to ELF spec.
1707         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
1708         call test whether there is any scope left.
1709         (_dl_lookup_versioned_symbol_skip): Likewise.
1711         * elf/Makefile (distribute): Add do-lookup.h.
1712         * elf/do-lookup.h: New file.  Split out from dl-lookup.c.
1713         * elf/dl-lookup.c: Move do_lookup function in separate file and
1714         include the file twice, for handling versioning and without it.
1716         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
1717         entry is already relocated.
1718         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
1719         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
1720         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
1721         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
1722         Likewise.
1723         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
1724         Likewise.
1725         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
1726         Likewise.
1728         * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
1729         load address.  Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
1730         DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
1731         (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
1732         rel and rela relocations can both happen and skip one test if this
1733         is not possible.
1734         (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
1735         appropriately.
1736         * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
1737         already relocated.
1738         * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
1739         relocated.
1740         * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
1741         (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
1742         (_dl_map_object): DT_STRTAB entry is already relocated.
1743         * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
1744         already relocated.
1745         * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
1746         relocated.
1747         * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
1748         DT_VERSYM entries are already relocated.
1749         (profile_fixup): Likewise.
1750         * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX.  Replace
1751         all users.
1752         (match_symbol): DT_STRTAB entry is already relocated.
1753         (_dl_check_map_versions): Likewise.  Also fo DT_VERSYM.
1754         * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
1755         relocated already.  DT_SYMTAB and DT_VERSYM entries are also relocated.
1756         * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
1757         (find_needed): DT_STRTAB entry is already relocated.
1758         (dl_main): Pass extra argument to elf_get_dynamic_info.
1759         DT_STRTAB entry is already relocated.
1760         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
1761         DT_PLTGOT entries are already relocated.
1762         (elf_machine_rela): Likewise for DT_SYMTAB.
1763         * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
1764         relocated.
1765         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1766         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
1767         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
1768         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1769         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
1770         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
1771         (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
1772         * sysdeps/mips/mips64/dl-machine.h: Likewise.
1774         * grp/initgroups.c (initgroups): If function in current module was
1775         successful don't stop but continue to process to get all the groups.
1777         * elf/dl-load.c (_dl_map_object_from_fd): Use global
1778         _dl_pf_to_proot array to convert p_flags value.
1779         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1781         * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
1782         loop to clear `info'.
1784         * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
1785         do the work and don't use inline assembler.
1787 1999-02-19  Ulrich Drepper  <drepper@cygnus.com>
1789         * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
1790         * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
1791         noreturn, and prevent it from being inlined.
1792         Define LOSE appropriately.
1793         (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
1794         Optimize decoding of p_flags for certain platforms.
1796 1999-02-19  Philip Blundell  <pb@nexus.co.uk>
1798         * Makeconfig (link-libc): When doing a static link, make sure that
1799         libgcc.a is included both before and after libc.a.
1801 1999-02-18  Thorsten Kukuk  <kukuk@suse.de>
1803         * nis/nss_compat/compat-spwd.c: Fix handling of default values for
1804         sp_warn, sp_inact, sp_expire and sp_flag.
1806 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
1808         * elf/link.h (link_map): Add l_dev and l_ino.
1809         * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
1810         loaded shared object with all loaded objects.  Initialize l_ino
1811         and l_dev in case it's new.
1812         * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
1813         object.
1814         * elf/Makefile: Compile and run new test.
1815         * elf/multiload.c: New file.
1817         * nss/nsswitch.h (service_user): Change name field from const char *
1818         to char[0].
1819         (name_database_entry): Likewise.
1820         * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
1821         for change of `service_user'.
1822         (nss_getline): Adjust memory allocation for change of
1823         `name_database_entry'.
1825         * catgets/catgets.c: Correctly handle NLSPATH from environment
1826         [PR libc/980].
1828         * io/Makefile (routines): Add lock64.
1829         * io/Versions: Add lockf64 for GLIBC_2.1.1.
1830         * sysdeps/generic/lockf64.c: New file.
1832 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
1834         * string/bits/string2.h: Only use strncmp optimization if count
1835         argument is constant.
1837 1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>
1839         * sysdeps/mach/hurd/revoke.c: New file.
1841 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
1843         * wctype/wctype.h (_ISwbit): Cast result of shift operations to
1844         int to avoid warning about `ISO C restricts enumerator values to
1845         range of `int''.
1847 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1849         * elf/dlfcn.h: Fix typo.
1850         * sysdeps/generic/bits/dlfcn.h: Likewise.
1851         * sysdeps/mips/bits/dlfcn.h: Likewise.
1853 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
1855         * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
1856         for the case N == 0.
1858         * db2/Makefile (distribute): Add LICENSE.
1860 1999-02-03  Jeff Bailey  <jbailey@nisa.net>
1862         * sysdeps/unix/make_errlist.c: Add i18n and copyright to
1863         generated files.
1865         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
1867 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
1869         * time/mktime.c: Use ISO C form for function definitions and
1870         remove unnecessary prototypes.
1872         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
1874         * time/time.h: Avoid unneccesary #ifdef.
1876 1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
1878         * stdio-common/_itoa.c (_itoa): Correct parameters to
1879         udiv_qrnnd_preinv.
1881 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1883         * misc/sys/cdefs.h: Undefine __PMT since it might be defined
1884         before (e.g. in glob.h).
1885         Closes PR libc/959.
1887 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1889         * sysdeps/mips/fpu_control.h: Fix typo.
1890         Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
1891         Remove __setfpucw.
1893 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
1895         * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
1896         the "unused" ends of the sockets.  Let pipes be bidirectional.
1898 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
1900         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
1901         invalid ai_flags.
1903 1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1905         * manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
1906         Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
1908         * manual/setjmp.texi (Non-Local Exits and Signals): Fix
1909         typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
1911 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
1913         * string/Versions: Add __strverscmp to GLIBC_2.1.1.
1915 1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1917         * misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
1918         check for priority mask.
1920 1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
1922         * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
1923         Reported by Craig Metz <cmetz@inner.net> .
1925 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1927         * stdio-common/Makefile (tests): tllformat added.
1929         * stdio-common/tllformat.c: New program, based on tiformat.c with
1930         examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1932 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1934         * posix/test-vfork.c: Fix exit status test.
1936 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1938         * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
1939         missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
1941 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1943         * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
1944         of separare explicit comparisons.
1946 1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1948         * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
1949         defined.
1951         * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
1952         defined.
1954 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
1956         * po/el.po: Update from translation team.
1958 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1960         * intl/locale.alias: Fix slovenian entry [PR libc/948].
1962 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1964         * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
1965         * inet/ruserpass.c: Likewise.
1966         * locale/programs/stringtrans.c: Likewise.
1967         * locale/programs/localedef.c: Likewise.
1968         * nscd/grpcache.c: Likewise.
1969         * nss/nss_files/files-XXX.c: Likewise.
1970         * stdlib/canonicalize.c: Likewise.
1971         * sysdeps/posix/sigwait.c: Likewise.
1973 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1975         * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
1976         even on 64 bit platforms.
1978         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
1979         Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
1981 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
1983         * intl/dcgettext.c: Include locale.h is available.
1985 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
1987         * po/nl.po: Update from translation team.
1989         * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
1991         * Makefile: Allow calling goals for po subdir.
1993         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
1994         signal definitions.
1996         * po/el.po: New file.
1998 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2000         * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
2001         when processing DT_SYMBOLIC objects.
2003 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2005         * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
2006         program headers without PT_PHDR only require that they are
2007         contained within one of the loaded segments.  Don't use assert,
2008         since that would be a bug in the object, not the dynamic linker.
2010 1999-02-08  Richard Henderson  <rth@cygnus.com>
2012         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
2013         restore all call-clobbered fp regs.
2015 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
2017         * po/cs.po: New file.
2019         * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
2020         SUID binaries.
2022 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
2024         * signal/signal.h: Don't declare __libc_allocate_rtsig.
2025         * include/signal.h: Declare __libc_allocate_rtsig here.
2027         * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
2028         point functions, not do_lookup since the later can be called more
2029         than once.
2031 1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>
2033         * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
2034         macro, so that architectures which need to add some special
2035         offset to stack pointer can share this file.
2037         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
2038         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
2039         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
2040         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
2042         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
2043         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
2044         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
2045         between sparc32 and sparc64.
2047         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
2048         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
2049         * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
2050         between sparc32 and sparc64.
2052         * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
2053         * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
2054         * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
2055         between sparc32 and sparc64.
2057         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
2058         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
2059         * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
2060         between sparc32 and sparc64.
2062 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
2064         * Versions.def: New version GLIBC_2.1.1 for libc.
2065         * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
2066         * stdlib/labs.c: Moved to...
2067         * sysdeps/generic/labs.c: ...here.
2068         * stdlib/llabs.c: Moved to...
2069         * sysdeps/generic/llabs.c: ...here.
2070         * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
2071         header.  Declare _Exit.
2072         * sysdeps/generic/_exit.c: Add alias _Exit.
2073         * sysdeps/mach/hurd/_exit.c: Likewise.
2074         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
2075         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
2076         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
2077         * sysdeps/unix/_exit.c: Likewise.
2078         * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
2079         imaxdiv and imaxabs.  Declare lldiv_t if necessary.
2080         * sysdeps/wordsize-64/inttypes.h: Likewise.
2081         * sysdeps/wordsize-32/llabs.c: New file.
2082         * sysdeps/wordsize-32/lldiv.c: New file.
2083         * sysdeps/wordsize-64/labs.c: New file.
2084         * sysdeps/wordsize-64/ldiv.c: New file.
2085         * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
2086         * manual/startup.texi: Document _Exit.
2088 1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2090         * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
2092 1999-02-06  Ulrich Drepper  <drepper@cygnus.com>
2094         * Versions.def: Add versions for ld.so.
2095         * csu/Versions: Remove __libc_stack_end here.
2096         * elf/Versions: Split libc definitions in libc and ld.so definitions.
2097         * elf/Makefile (ld-map): Change to ld.so.map.
2098         * scripts/versions.awk: Recognize dot in library names.
2100         * ctype/ctype.h: Remove definitions of __tolower and __toupper.
2101         Don't use __tolower and __toupper in inline functions.
2102         Add optimizing macros for tolower and toupper.
2103         * ctype/ctype-extn.c (_tolower): Don't use __tolower.
2104         (_toupper): Don't use __toupper.
2105         * ctype/ctype.c (tolower): Don't use __tolower.
2106         (toupper): Don't use toupper.
2108         * nscd/cache.c (prune_cache): Correct printing of debugging messages.
2110         * resolv/Versions (libresolv): Export __ns_name_unpack and
2111         __ns_name_ntop.
2112         * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
2113         make it global.  Change all users.  Similar for ns_name_ntop.
2114         * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
2115         user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
2116         directly to detect too small buffer.
2117         * resolv/nss_dns/dns-network.c: Likewise.
2119         * stdio-common/Makefile (tests): Add scanf12.
2120         * stdio-common/scanf12.c: New file.
2121         * stdio-common/scanf12.input: New file.
2122         * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
2123         floating-point correctly if the number is invalid.
2125         * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
2126         functions.
2127         * stdio-common/printf_fp.c: Likewise.
2128         * stdio-common/printf_fphex.c: Likewise.
2129         * stdio-common/vfprintf.c: Likewise.
2132 See ChangeLog.9 for earlier changes.