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