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