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