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