Update.
[platform/upstream/glibc.git] / ChangeLog
1 1999-11-08  Andreas Jaeger  <aj@suse.de>
2
3         * locale/findlocale.c (_nl_find_locale): Free normalized_codeset;
4         this fixes a memory leak (closes PR libc/1435).
5
6         * intl/l10nflist.c (_nl_normalize_codeset): Update comment to
7         reflect memory allocation.
8
9         * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory
10         allocation in _nl_explode_name.
11
12 1999-11-06  Andreas Jaeger  <aj@suse.de>
13
14         * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock
15         to initialize it.
16         Reported by wes@surety.com, closes PR libc/1432.
17
18 1999-11-05  Geoff Keating  <geoffk@cygnus.com>
19
20         * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of
21         enumerator lists (-pedantic complains).
22         (feraiseexcept): Use i#*X as the constraint.  Fix a bug in the
23         test for 'one bit set'.
24         (feclearexcept): Likewise.
25
26 1999-11-05  Ulrich Drepper  <drepper@cygnus.com>
27
28         * sysdeps/unix/sysv/linux/setrlimit.c: New file.
29
30         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust
31         for kernel changes.
32         * sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make
33         unsigned.
34
35 1999-10-04  Tim Waugh  <twaugh@redhat.com>
36
37         * posix/wordexp-test.c: More tests.
38
39         * posix/wordexp.c (wordexp): Explicit null words should be kept.
40
41 1999-11-04  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
42
43         * locale/programs/linereader.c (get_string): Correct type of buf2
44         variable.
45         * locale/programs/ld-ctype.c (ctype_output): Store index correctly
46         for _NL_CTYPE_INDIGITS_MB_LEN, _NL_CTYPE_INDIGITS_WC_LEN,
47         _NL_CTYPE_INDIGITS*_MB, _NL_CTYPE_OUTDIGIT*_MB, and
48         _NL_CTYPE_OUTDIGIT*_WC.
49         (allocate_arrays): Completely initialize mapping tables.
50         * locale/programs/ld-time.c (time_startup): We need the wide car
51         string.
52         (time_finish): Correct handling of era.
53         (time_output): Fix a few array indeces.
54         (time_read): Pass the repertoire map to lr_token.
55
56 1999-11-03  Ulrich Drepper  <drepper@cygnus.com>
57
58         * Versions.def: Add version for libthread_db.
59
60 1999-11-02  Andreas Jaeger  <aj@suse.de>
61
62         * manual/header.texi (Library Summary): The command @indexfonts
63         doesn't exist anymore, use @smallfonts instead.
64
65 1999-11-02  Ulrich Drepper  <drepper@cygnus.com>
66
67         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h
68         instead of duplicating definitions.
69
70 1999-11-01  Ulrich Drepper  <drepper@cygnus.com>
71
72         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used
73         by the debugger.
74         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
75         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise.
76         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
77         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
78         * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
79
80 1999-11-01  Ulrich Drepper  <drepper@cygnus.com>
81
82         * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25.
83
84         * sysdeps/unix/sysv/linux/kernel-features.h
85         (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition.
86         * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file.
87
88         * manual/texinfo.tex: Updated.
89
90 1999-11-01  Andreas Jaeger  <aj@suse.de>
91
92         * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility.
93
94         * inet/gethstbynm2_r.c: Reorder addresses.
95
96 1999-09-11  Paul Eggert  <eggert@twinsun.com>
97
98         * posix/glob.h (glob): If #defining to glob64, do this before
99         declaring it, so that all declarations and uses match, and do not
100         declare glob64, to avoid a declaration clash.
101         (globfree): Likewise with globfree64.
102
103 1999-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
104
105         * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]:
106         Keep the trailing slash unless DIRNAME is just "x:/".
107
108 1999-10-11  Andreas Jaeger  <aj@suse.de>
109
110         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added.
111         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
112         Closes PR libc/1384.
113
114 1999-10-20  Andreas Schwab  <schwab@suse.de>
115
116         * math/Makefile (libm-tests-generated): Remove libm-test.stmp.
117         (generated): Add it here.
118         (before-compile): Add libm-test.c.
119         ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on
120         libm-test.stmp.
121         ($(objpfx)libm-test.stmp): Use $(objpfx) instead of
122         $(objdir)/math/.
123
124 1999-10-31  Ulrich Drepper  <drepper@cygnus.com>
125
126         * Makefile (pdf): New goal.
127         * manual/Makefile: Add definitions and rules for PDF generation.
128
129         * Versions.def (libm): Add GLIBC_2.1.3.
130
131         ISO C99 TR1 changes various fe* functions to return an error value.
132         * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag,
133         feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv.
134         * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias.
135         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
136         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
137         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
138         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
139         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
140         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
141         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
142         * sysdeps/arm/fpu/fegetenv.c: Likewise.
143         * sysdeps/arm/fpu/fesetenv.c: Likewise.
144         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
145         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
146         * sysdeps/generic/fclrexcpt.c: Likewise.
147         * sysdeps/generic/fegetenv.c: Likewise.
148         * sysdeps/generic/fesetenv.c: Likewise.
149         * sysdeps/generic/feupdateenv.c: Likewise.
150         * sysdeps/generic/fgetexcptflg.c: Likewise.
151         * sysdeps/generic/fraiseexcpt.c: Likewise.
152         * sysdeps/generic/fsetexcptflg.c: Likewise.
153         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
154         * sysdeps/i386/fpu/fegetenv.c: Likewise.
155         * sysdeps/i386/fpu/fesetenv.c: Likewise.
156         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
157         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
158         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
159         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
160         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
161         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
162         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
163         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
164         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
165         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
166         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
167         * sysdeps/mips/fclrexcpt.c: Likewise.
168         * sysdeps/mips/fegetenv.c: Likewise.
169         * sysdeps/mips/fesetenv.c: Likewise.
170         * sysdeps/mips/feupdateenv.c: Likewise.
171         * sysdeps/mips/fgetexcptflg.c: Likewise.
172         * sysdeps/powerpc/fclrexcpt.c: Likewise.
173         * sysdeps/powerpc/fegetenv.c: Likewise.
174         * sysdeps/powerpc/fesetenv.c: Likewise.
175         * sysdeps/powerpc/feupdateenv.c: Likewise.
176         * sysdeps/powerpc/fgetexcptflg.c: Likewise.
177         * sysdeps/powerpc/fraiseexcpt.c: Likewise.
178         * sysdeps/powerpc/fsetexcptflg.c: Likewise.
179         * sysdeps/sparc/fpu/fclrexcpt.c: Likewise.
180         * sysdeps/sparc/fpu/fegetenv.c: Likewise.
181         * sysdeps/sparc/fpu/fesetenv.c: Likewise.
182         * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
183         * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
184         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
185         * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
186         * math/fenv.h: Adjust prototypes.: Likewise.
187         * manual/arith.texi: Adjust documentation for these changes.
188
189         * manual/arith.texi: Document feraiseexcept.
190
191         * sysdeps/powerpc/fegetenv.c: Moved to...
192         * sysdeps/powerpc/fpu/fegetenv.c: ...here.
193         * sysdeps/powerpc/fegetround.c: Moved to...
194         * sysdeps/powerpc/fpu/fegetround.c: ...here.
195         * sysdeps/powerpc/feholdexcpt.c: Moved to...
196         * sysdeps/powerpc/fpu/feholdexcpt.c: ...here.
197         * sysdeps/powerpc/fesetenv.c: Moved to...
198         * sysdeps/powerpc/fpu/fesetenv.c: ...here.
199         * sysdeps/powerpc/fenv_libc.h: Moved to...
200         * sysdeps/powerpc/fpu/fenv_libc.h: ...here.
201         * sysdeps/powerpc/feupdateenv.c: Moved to...
202         * sysdeps/powerpc/fpu/feupdateenv.c: ...here.
203         * sysdeps/powerpc/fgetexcptflg.c: Moved to...
204         * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here.
205         * sysdeps/powerpc/fraiseexcpt.c: Moved to...
206         * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here.
207         * sysdeps/powerpc/fsetexcptflg.c: Moved to...
208         * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here.
209         * sysdeps/powerpc/ftestexcept.c: Moved to...
210         * sysdeps/powerpc/fpu/ftestexcept.c: ...here.
211         * sysdeps/powerpc/fesetround.c: Moved to...
212         * sysdeps/powerpc/fpu/fesetround.c: ...here
213         * sysdeps/powerpc/fenv_const.c: Moved to...
214         * sysdeps/powerpc/fpu/fenv_const.c: ...here.
215
216         * sysdeps/mips/fclrexcpt.c: Moved to...
217         * sysdeps/mips/fpu/fclrexcpt.c: ...here.
218         * sysdeps/mips/fegetenv.c: Moved to...
219         * sysdeps/mips/fpu/fegetenv.c: ...here.
220         * sysdeps/mips/fegetround.c: Moved to...
221         * sysdeps/mips/fpu/fegetround.c: ...here.
222         * sysdeps/mips/fesetenv.c: Moved to...
223         * sysdeps/mips/fpu/fesetenv.c: ...here.
224         * sysdeps/mips/fesetround.c: Moved to...
225         * sysdeps/mips/fpu/fesetround.c: ...here.
226         * sysdeps/mips/feupdateenv.c: Moved to...
227         * sysdeps/mips/fpu/feupdateenv.c: ...here.
228         * sysdeps/mips/fgetexcptflg.c: Moved to...
229         * sysdeps/mips/fpu/fgetexcptflg.c: ...here.
230         * sysdeps/mips/ftestexcept.c: Moved to...
231         * sysdeps/mips/fpu/ftestexcept.c: ...here.
232
233 1999-10-29  Jakub Jelinek  <jakub@redhat.com>
234
235         * stdlib/longlong.h: Avoid UDIV_TIME redefinition.
236         * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus
237         libraries from statically linked programs.
238         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309
239         fix for sigaction on SPARC.
240         Patches by David S. Miller <davem@redhat.com>.
241
242         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare
243         gregset_t and other required structures and defines for SPARC 64bit
244         ABI as well, not only 32bit ABI.
245
246 1999-10-31  Andreas Jaeger  <aj@suse.de>
247
248         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X
249         by __USE_ISOC99 and update comments.
250
251         * math/complex.h: Update comments for ISO C99.
252         * math/fenv.h: Likewise.
253         * math/test-fenv.c: Likewise.
254         * math/tgmath.h: Likewise.
255         * libio/stdio.h: Likewise.
256         * posix/sys/types.h: Likewise.
257         * sysdeps/generic/inttypes.h: Likewise.
258         * sysdeps/generic/stdint.h: Likewise.
259
260 1999-10-31  Ulrich Drepper  <drepper@cygnus.com>
261
262         * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE.
263
264         * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also
265         recognize _ISOC99_SOURCE.
266         * libio/stdio.h: Likewise.
267         * math/math.h: Likewise.
268         * math/bits/mathcalls.h: Likewise.
269         * math/stdio.h: Likewise.
270         * stdlib/stdlib.h: Likewise.
271         * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
272         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
273         * sysdeps/arm/bits/huge_val.h: Likewise.
274         * sysdeps/generic/bits/mathdef.h: Likewise.
275         * sysdeps/i386/bits/huge_val.h: Likewise.
276         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
277         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
278         * sysdeps/ieee754/bits/huge_val.h: Likewise.
279         * sysdeps/m68k/bits/huge_val.h: Likewise.
280         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
281         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
282         * sysdeps/powerpc/bits/mathdef.h: Likewise.
283         * sysdeps/powerpc/bits/mathinline.h: Likewise.
284         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
285         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
286         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
287         * wcsmbs/wchar.h: Likewise.
288
289         * sysdeps/powerpc/bits/mathdef.h: Moved to...
290         * sysdeps/powerpc/fpu/bits/mathdef.h: ...here.
291         * sysdeps/powerpc/bits/mathinline.h: Moved to...
292         * sysdeps/powerpc/fpu/bits/mathinline.h: ...here.
293         * sysdeps/powerpc/bits/fenv.h: Moved to...
294         * sysdeps/powerpc/fpu/bits/fenv.h: ...here.
295
296 1999-10-31  Andreas Jaeger  <aj@suse.de>
297
298         * manual/math.texi (Errors in Math Functions): Correct TeX code.
299
300 1999-10-31  Andreas Jaeger  <aj@suse.de>
301
302         * math/libm-test.inc:  Change comments to use ISO C99 instead of
303         ISO C9x.
304         * math/w_lgamma.c: Likewise.
305         * math/w_lgammaf.c: Likewise.
306         * math/w_lgammal.c: Likewise.
307         * math/test-fenv.c: Likewise.
308         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
309         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
310         * sysdeps/generic/printf_fphex.c: Likewise.
311
312 1999-10-31  Andreas Jaeger  <aj@suse.de>
313
314         * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment.
315
316         * manual/math.texi: Change ISO C9x to ISO C99.
317         * manual/startup.texi: Likewise.
318         * manual/stdio.texi: Likewise.
319
320 1999-10-31  Andreas Jaeger  <aj@suse.de>
321
322         * manual/arith.texi: Change ISO C9x to ISO C99.
323         * manual/time.texi (Low-Level Time String Parsing): Likewise.
324
325 1999-10-30  Ulrich Drepper  <drepper@cygnus.com>
326
327         * socket/Makefile (distribute): Add ifreq.h.
328
329         * manual/time.texi (Formatting Date and Time): Revise comments about
330         origins of the formats with ISO C99 references.
331
332 1999-10-30  Andreas Jaeger  <aj@suse.de>
333
334         * sysdeps/unix/sysv/linux/ifreq.h: New file.
335
336 1999-10-29  Andreas Jaeger  <aj@suse.de>
337
338         * manual/arith.texi (Parsing of Floats): Document the hexadecimal
339         input format; mention that strtof and strtold are part of ISO C99.
340
341 1999-10-29  Ulrich Drepper  <drepper@cygnus.com>
342
343         * manual/math.texi (Errors in Math Functions): New section.
344         * math/libm-err-tab.pl: Moved to...
345         * manual/libm-err-tab.pl: ...here.
346         * manual/Makefile: Add rules for math function error table generation.
347
348         * stdlib/tst-strtod.c: Add more hexadecimal tests.
349
350         * stdlib/strtod.c: Handle hexadecimal numbers with leading digit
351         != 1 correctly and more than one digit before decimal point..
352
353 1999-10-27  Andreas Jaeger  <aj@suse.de>
354
355         * sysdeps/generic/ifreq.h: New file.
356
357         * resolv/res_hconf.c: Add missing includes to get all prototypes.
358         (_res_hconf_reorder_addrs): Rewrite.  This never worked before.
359         Reported by John DiMarco <jdd@cs.toronto.edu>.
360
361         (_res_hconf_reorder_addrs): Made thread safe.
362         (free_mem): New function, needed for malloc debugging.
363
364 1999-10-29  Andreas Jaeger  <aj@suse.de>
365
366         * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ...
367         * sysdeps/generic/opensock.c (__opensock): ...here in a new file.
368         * sysdeps/unix/sysv/linux/if_index.c: Change all callers of
369         opensock to use __opensock.
370
371         * socket/Makefile (routines): Add opensock.
372
373         * include/sys/socket.h (__opensock): Add prototype declaration.
374
375 1999-10-29  Andreas Jaeger  <aj@suse.de>
376
377         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing
378         N_* constants.
379         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
380
381         * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added
382         new constant from Linux 2.3.25pre1.
383
384         * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added.
385
386 1999-10-29  Andreas Jaeger  <aj@suse.de>
387
388         * math/libm-err-tab.pl: New file to generate a table of
389         libm-test-ulps values.
390
391 1999-10-29  Ulrich Drepper  <drepper@cygnus.com>
392
393         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file.
394         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect
395         struct sigcontext* object as second parameter for profil_counter.
396         Patches by Jakub Jelinek <jakub@redhat.com>.
397
398 1999-10-29  Andreas Jaeger  <aj@suse.de>
399
400         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs.
401         * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
402
403         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts,
404         efs, qnx4 and reiser file systems.
405
406 1999-10-29  Andreas Jaeger  <aj@suse.de>
407
408         * locale/Makefile (others): Set to localedef and locale for make
409         clean.
410
411         * debug/Makefile (generated): Add xtrace for make clean to work.
412
413 1999-10-29  Andreas Jaeger  <aj@suse.de>
414
415         * stdlib/tst-strtod.c: Add two testcases for hexadecimal input.
416
417 1999-10-25  Andreas Jaeger  <aj@suse.de>
418
419         * math/libm-test.inc: Added code to ignore the given max ulps.
420         (print_max_error): Check for ignore_max_ulp.
421         (check_float_internal): Likewise.
422         (parse_opt): Parse --ignore-max-ulp.
423         (main): Initialize ignore_max_ulp.
424
425 1999-10-26  Andreas Jaeger  <aj@suse.de>
426
427         * stdlib/msort.c: Include <alloca.h> for prototype.
428         Remove K&R compatibility and _quicksort prototype.
429
430         * stdlib/qsort.c: Make code and comments 64 bit clean; clarify
431         some comments.
432         Reported by Bernd Loechner <loechner@informatik.uni-kl.de>.
433         Remove K&R compatibility.
434         Move prototype declaration to include/stdlib.h.
435         Include <alloca.h> for prototype; include <limits.h> for CHAR_BIT.
436
437         * include/stdlib.h: Prototype declaration for _quicksort.
438
439 1999-10-27  Andreas Jaeger  <aj@suse.de>
440
441         * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was
442         shifted a bit too much.
443         Reported by Eugen Dedu <dedu@ese-metz.fr>.
444
445 1999-10-25  Ulrich Drepper  <drepper@cygnus.com>
446
447         * resolv/gethnamaddr.c: Account bytes needed for alignment in
448         buflen.  Patch by Olaf Kirch <okir@lst.de>.
449
450         * md5-crypt/md5test.c: Correct names of MD5 functions after
451         removing of public names.
452
453         * configure.in: Don't allow --enable-kernel without parameter.
454
455 1999-10-25  Ulrich Drepper  <drepper@cygnus.com>
456
457         * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0
458         problems.
459
460 1999-10-25  Thorsten Kukuk  <kukuk@suse.de>
461
462         * md5-crypt/md5.h: Remove prototypes for public interface.  md5 is
463         only used internally.
464         * md5-crypt/md5-crypt.c: Use internal names for md5 functions,
465         remove weak alias for public names.
466         * md5-crypt/md5.c: Remove weak aliase.
467
468 1999-10-25  Andreas Jaeger  <aj@suse.de>
469
470         * math/README.libm-test: New file, documents libm-test.inc.
471
472 1999-10-25  Andreas Jaeger  <aj@suse.de>
473
474         * math/gen-libm-test.pl: Only generate a new ulps file when -n is
475         given.
476         (print_ulps_file): Fix loops to not read @tests and @functions
477         since those are not initialized with -n now.
478         (parse_ulps): Set $results{..}{"kind"}.
479
480 1999-10-25  Andreas Jaeger  <aj@suse.de>
481
482         * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.
483
484         * math/libm-test.inc (check_float_internal): Don't print ulps for
485         wrong sign of zero.
486
487 1999-10-20  Andreas Jaeger  <aj@suse.de>
488
489         * manual/socket.texi (Address Formats): Describe usage of AF_UNIX
490         versus AF_LOCAL.
491         Patch by Robert Bihlmeyer <robbe@orcus.priv.at>.
492
493 1999-10-24  Ulrich Drepper  <drepper@cygnus.com>
494
495         * math/libm-test.inc: Disable some boundary case tests for inline
496         function testing.
497
498         * math/math.h: Pretty printing.
499
500         * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN.
501         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
502         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
503         * sysdeps/i386/fpu/e_log10.S: Likewise.
504         * sysdeps/i386/fpu/e_log10f.S: Likewise.
505         * sysdeps/i386/fpu/e_log10l.S: Likewise.
506         * sysdeps/i386/fpu/s_log1p.S: Likewise.
507         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
508         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
509         * sysdeps/i386/fpu/s_log2.S: Likewise.
510         * sysdeps/i386/fpu/s_log2f.S: Likewise.
511         * sysdeps/i386/fpu/s_log2l.S: Likewise.
512
513         * sysdeps/i386/fpu/libm-test-ulps: New file.
514
515         * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return
516         value for x == 0.
517         (pow): Correct case x == 0.
518         (__sgn1l): Correct handling of -0.0.
519
520 1999-10-22  Andreas Jaeger  <aj@suse.de>
521
522         * math/libm-test.inc (asinh_test): Add test for NaN as input parameter.
523         (atan_test): Likewise.
524         (atanh_test): Likewise.
525         (atan2_test): Likewise.
526         (carg_test): Likewise.
527         (ceil_test): Likewise.
528         (cos_test): Likewise.
529         (cosh_test): Likewise.
530         (cpow_test): Likewise.
531         (erf_test): Likewise.
532         (erfc_test): Likewise.
533         (exp_test): Likewise.
534         (exp10_test): Likewise.
535         (exp2_test): Likewise.
536         (expm1_test): Likewise.
537         (fabs_test): Likewise.
538         (floor_test): Likewise.
539         (fmod_test): Likewise.
540         (gamma_test): Likewise.
541         (lgamma_test): Likewise.
542         (log10_test): Likewise.
543         (log1p_test): Likewise.
544         (log2_test): Likewise.
545         (logb_test): Likewise.
546         (nearbyint_test): Likewise.
547         (remainder_test): Likewise.
548         (remquo_test): Likewise.
549         (sin_test): Likewise.
550         (sincos_test): Likewise.
551         (sinh_test): Likewise.
552         (sqrt_test): Likewise.
553         (tan_test): Likewise.
554         (tanh_test): Likewise.
555         (tgamma_test): Likewise.
556
557 1999-10-21  Ulrich Drepper  <drepper@cygnus.com>
558
559         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y.
560
561         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special.
562
563         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check
564         for -Inf and return NaN.
565
566         * configure.in: Correct test for Cygnus gcc versions.
567
568 1999-10-21  Andreas Jaeger  <aj@suse.de>
569
570         * math/libm-test.inc (cimag_test): New function, tests cimag.
571         (creal_test): New function, tests creal.
572         (conj_test): New function, tests conj.
573         (main): Add new functions.
574
575 1999-10-20  Andreas Jaeger  <aj@suse.de>
576
577         * math/libm-test.inc: Rewrite to allow different deltas for real
578         and imaginary part of complex functions.
579         * math/gen-libm-test.pl: Likewise.
580
581 1999-10-19  Ulrich Drepper  <drepper@cygnus.com>
582
583         * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
584         aliases.
585
586         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.
587
588         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
589         for -Inf and return NaN.
590
591         * math/gen-libm-test.pl: Fix program name in help message.
592
593         * math/libm-test.inc (check_complex): It's Imaginary, not Complex.
594
595         * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.
596
597         * sysdeps/i386/Implies: Correct order of libm directories.
598
599 1999-10-19  Andreas Jaeger  <aj@suse.de>
600
601         * include/bits/ipc.h: Remove K&R compatibility.
602         * include/libintl.h: Likewise.
603         * include/math.h: Likewise.
604         * include/mntent.h: Likewise
605         * include/netdb.h: Likewise.
606         * include/pwd.h: Likewise.
607         * include/sched.h: Likewise.
608         * include/shadow.h: Likewise
609         * include/stdlib.h: Likewise.
610         * include/sys/file.h: Likewise.
611         * include/sys/gmon.h: Likewise.
612         * include/sys/ioctl.h: Likewise.
613         * include/sys/mman.h: Likewise.
614         * include/sys/resource.h: Likewise.
615         * include/sys/socket.h: Likewise.
616         * include/sys/stat.h: Likewise.
617         * include/sys/sysinfo.h: Likewise.
618         * include/sys/time.h: Likewise.
619         * include/sys/times.h: Likewise.
620         * include/sys/uio.h: Likewise.
621         * include/sys/wait.h: Likewise.
622         * include/termios.h: Likewise.
623         * include/time.h: Likewise.
624         * include/ulimit.h: Likewise.
625         * include/utmp.h: Likewise.
626         * include/wchar.h: Likewise.
627         * include/wctype.h: Likewise.
628
629 1999-10-19  Andreas Jaeger  <aj@suse.de>
630
631         * math/libm-test.inc: Remove one K&R compatibility.
632         (main): Enable nexttoward_test.
633
634         * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
635         libm-test-ulps.h; pretty print output a bit.
636
637 1999-10-19  Andreas Jaeger  <aj@suse.de>
638
639         * iconv/iconv_prog.c (main): Set exit value in case that reading
640         from stdin failed [PR libc/1404].
641
642 1999-10-18  Andreas Jaeger  <aj@suse.de>
643
644         Added improved math testsuite:
645         * math/libm-test.inc: New file, contains all tests from
646         libm-test.c but in a different form.
647         * math/libm-test.c: Removed.
648         * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file.
649         * math/gen-libm-test.pl: New file: Preprocessor.
650         * math/test-double.c: Adopted to new testsuite.
651         * math/test-idouble.c: Likewise.
652         * math/test-float.c: Likewise.
653         * math/test-ifloat.c: Likewise.
654         * math/test-ldouble.c: Likewise.
655         * math/test-ildoubl.c: Likewise.
656         * math/Makefile: Added rules to generate new suite.
657
658 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
659
660         * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
661         Patch by J. Richard Sladkey <jrs@world.std.com>.
662
663         * scripts/config.sub: Update from latest autoconf version.
664         * scripts/config.guess: Likewise.
665
666 1999-10-18  Andreas Jaeger  <aj@suse.de>
667
668         * inet/arpa/inet.h: Remove K&R compatibility.
669         * math/fenv.h: Likewise.
670
671 1999-10-18  Andreas Jaeger  <aj@suse.de>
672
673         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
674         kernel_sigaction): Remove K&R compatibility.
675         * sysdeps/unix/sysv/linux/net/if.h: Likewise.
676         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
677         * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
678         * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
679         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
680         * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
681         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
682         * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
683         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
684         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
685         * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
686         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
687         * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
688         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
689         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
690         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
691         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
692
693 1999-10-18  Andreas Jaeger  <aj@suse.de>
694
695         * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
696         Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
697
698 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
699
700         * po/gl.po: New file.
701
702 1999-10-18  Andreas Schwab  <schwab@suse.de>
703
704         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
705         namespace selection.
706
707 1999-10-18  Andreas Schwab  <schwab@suse.de>
708
709         * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
710         clash with the TERM environment variable.
711
712 1999-10-18  Andreas Jaeger  <aj@suse.de>
713
714         * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
715         returns now NaN + i NaN.
716         * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
717         * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
718
719 1999-10-18  Andreas Jaeger  <aj@suse.de>
720
721         * include/aio.h: Remove K&R compatiblity.
722         * include/alloca.h: Likewise.
723         * include/db.h: Likewise.
724         * include/dirent.h: Likewise.
725         * include/fcntl.h: Likewise.
726         * include/fpu_control.h: Likewise.
727         * include/glob.h: Likewise.
728         * include/grp.h: Likewise.
729         * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
730         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
731         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
732         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
733
734         * include/execinfo.h: Add __THROW.
735
736 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
737
738         * sysdeps/mips/Implies: Remove wordsize-32 reference.
739         * sysdeps/mips/mips3/Implies: Add it here.
740
741 1999-10-17  Ulrich Drepper  <drepper@cygnus.com>
742
743         * elf/elf.h: Add various platform and architecture extensions.
744
745         * locale/lc-collate.c (_nl_postload_collate): Disable code for now.
746         * locale/setlocale.c (setlocale): Don't call _nl_find_locale for
747         LC_ALL.
748
749         * socket/sys/socket.h: Remove K&R compatibility.
750
751 1999-10-16  Andreas Jaeger  <aj@suse.de>
752
753         * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
754
755 1999-10-15  Andreas Jaeger  <aj@suse.de>
756
757         * stdlib/Makefile (tests): Added tst-xpg-basename.
758
759         * stdlib/tst-xpg-basename.c: New test file.
760
761 1999-10-14  Cristian Gafton  <gafton@redhat.com>
762
763         * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
764
765 1999-10-14  Andreas Jaeger  <aj@suse.de>
766
767         * resolv/inet_addr.c (inet_aton): Fix last patch.  The little
768         endian version works for both endiannesses.
769
770         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
771         seconds.
772
773 1999-10-12  Ulrich Drepper  <drepper@cygnus.com>
774
775         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
776         register names unconditionally, only if __USE_GNU.
777
778         * debug/Makefile: Fix rules to generate pcprofiledump.
779
780         * include/ucontext.h: New file.
781
782         * locale/setlocale.c: Fix gcc warning about uninitialized variable.
783
784 1999-10-12  Andreas Jaeger  <aj@suse.de>
785
786         * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
787
788         * math/basic-test.c: Fix typo.
789
790         * locale/programs/xstrdup.c: Include string.h for glibc
791         compilation to get string prototypes.
792
793         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
794         gregset_t and fpregset_t.
795
796         * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
797         warnings.  Correct value for x == 0.
798
799         * argp/argp-help.c: Remove broken definition of flockfile and
800         funlockfile.
801
802 1999-10-12  Andreas Schwab  <schwab@suse.de>
803
804         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
805         generic Linux version.
806
807 1999-10-12  Ulrich Drepper  <drepper@cygnus.com>
808
809         * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
810
811 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
812
813         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
814         and fpregset_t definitions.
815
816         * malloc/memprof.c (GETSP): Define for PowerPC.
817         (GETTIME): Fix generic version.
818
819 1999-10-10  Philip Blundell  <philb@gnu.org>
820
821         * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
822         __BYTE_ORDER.
823
824 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
825
826         * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
827         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
828         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
829         * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
830
831         * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
832
833         * sysdeps/powerpc/e_sqrt.c: Moved to...
834         * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
835         * sysdeps/powerpc/e_sqrtf.c: Moved to...
836         * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
837
838         * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
839         * sysdeps/powerpc/sub_n.S: Likewise.
840         * sysdeps/powerpc/strlen.S: Likewise.
841         * sysdeps/powerpc/strcpy.S: Likewise.
842         * sysdeps/powerpc/strcmp.S: Likewise.
843         * sysdeps/powerpc/strchr.S: Likewise.
844         * sysdeps/powerpc/stpcpy.S: Likewise.
845         * sysdeps/powerpc/setjmp.S: Likewise.
846         * sysdeps/powerpc/rshift.S: Likewise.
847         * sysdeps/powerpc/ppc-mcount.S: Likewise.
848         * sysdeps/powerpc/mul_1.S: Likewise.
849         * sysdeps/powerpc/memset.S: Likewise.
850         * sysdeps/powerpc/lshift.S: Likewise.
851         * sysdeps/powerpc/dl-start.S: Likewise.
852         * sysdeps/powerpc/bzero.S: Likewise.
853         * sysdeps/powerpc/bsd-setjmp.S: Likewise.
854         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
855         * sysdeps/powerpc/addmul_1.S: Likewise.
856         * sysdeps/powerpc/add_n.S: Likewise.
857         * sysdeps/powerpc/__longjmp.S: Likewise.
858         * sysdeps/powerpc/elf/start.S: Likewise.
859
860 1999-10-11  Cristian Gafton  <gafton@redhat.com>
861
862         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
863         SA_SIGINFO.
864
865 1999-10-10  Ulrich Drepper  <drepper@cygnus.com>
866
867         * stdlib/atexit.c (initial): New variable.  Use to initialize
868         __exit_funcs.
869         * stdlib/exit.c (exit): Beware to not free statically allocated
870         list element [PR libc/1305].
871
872         * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
873         slash before the basename [PR libc/1383].
874
875         * argp/argp.h: Fix typo in last patch.
876
877         * sysdeps/powerpc/sysdep.h: New file.
878         * sysdeps/unix/powerpc/sysdep.h: New file.
879         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
880         sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
881         * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
882         instead of bare numbers.
883         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
884         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
885         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
886
887         * sysdeps/hppa/sysdep.h: New file.
888
889 1999-10-10  Andreas Jaeger  <aj@suse.de>
890
891         * misc/sgtty.h: Fix typo in last patch.
892
893 1999-10-09  Ulrich Drepper  <drepper@cygnus.com>
894
895         * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
896         * sysdeps/powerpc/s_copysign.S: Move to...
897         * sysdeps/powerpc/fpu/s_copysign.S: ...here.  Use portable asm syntax.
898         * sysdeps/powerpc/s_copysignf.S: Move to...
899         * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
900         * sysdeps/powerpc/s_fabs.S: Move to...
901         * sysdeps/powerpc/fpu/s_fabs.S: ...here.  Use portable asm syntax.
902         * sysdeps/powerpc/s_fabsf.S: Move to...
903         * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
904         * sysdeps/powerpc/s_fdim.c: Move to...
905         * sysdeps/powerpc/fpu/s_fdim.c: ...here.
906         * sysdeps/powerpc/s_fdimf.c: Move to...
907         * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
908         * sysdeps/powerpc/s_fmax.S: Move to...
909         * sysdeps/powerpc/fpu/s_fmax.S: ...here.  Use portable asm syntax.
910         * sysdeps/powerpc/s_fmaxf.S: Move to...
911         * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
912         * sysdeps/powerpc/s_fmin.S: Move to...
913         * sysdeps/powerpc/fpu/s_fmin.S: ...here.  Use portable asm syntax.
914         * sysdeps/powerpc/s_fminf.S: Move to...
915         * sysdeps/powerpc/fpu/s_fminf.S: ...here.
916         * sysdeps/powerpc/s_isnan.S: Move to...
917         * sysdeps/powerpc/fpu/s_isnan.c: ...here.
918         * sysdeps/powerpc/s_isnanf.S: Move to...
919         * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
920         * sysdeps/powerpc/s_llrint.c: Move to...
921         * sysdeps/powerpc/fpu/s_llrint.c: ...here.
922         * sysdeps/powerpc/s_llrintf.c: Move to...
923         * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
924         * sysdeps/powerpc/s_llround.c: Move to...
925         * sysdeps/powerpc/fpu/s_llround.c: ...here.
926         * sysdeps/powerpc/s_llroundf.c: Move to...
927         * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
928         * sysdeps/powerpc/s_lrint.c: Move to...
929         * sysdeps/powerpc/fpu/s_lrint.c: ...here.
930         * sysdeps/powerpc/s_lrintf.S: Move to...
931         * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
932         * sysdeps/powerpc/s_lround.c: Move to...
933         * sysdeps/powerpc/fpu/s_lround.c: ...here.
934         * sysdeps/powerpc/s_lroundf.c: Move to...
935         * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
936         * sysdeps/powerpc/s_rint.c: Move to...
937         * sysdeps/powerpc/fpu/s_rint.c: ...here.
938         * sysdeps/powerpc/s_rintf.c: Move to...
939         * sysdeps/powerpc/fpu/s_rintf.c: ...here.
940         * sysdeps/powerpc/t_sqrt.c: Move to...
941         * sysdeps/powerpc/fpu/t_sqrt: ...here.
942         * sysdeps/powerpc/w_sqrt.c: Move to...
943         * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
944         * sysdeps/powerpc/w_sqrtf.c: Move to...
945         * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
946         * configure.in: Support platforms which have no .text pseudo-op.
947         Patches partly by Jimi X <jimix@pobox.com>.
948
949         * Makeconfig: Look also in all subdirs for shlib-versions files.
950
951         * malloc/memprof.sh: Fix --help string a bit.
952
953         * argp/argp.h: Remove K&R compatiblity.
954         * assert/assert.h: Likewise.
955         * catgets/nl_types.h: Likewise.
956         * ctype/ctype.h: Likewise.
957         * db/db.h: Likewise.
958         * db/ndbm.h: Likewise.
959         * db2/db.h: Likewise.
960         * db2/db_185.h: Likewise.
961         * debug/execinfo.h: Likewise.
962         * dirent/dirent.h: Likewise.
963         * dlfcn/dlfcn.h: Likewise.
964         * gmon/sys/gmon.h: Likewise.
965         * grp/grp.h: Likewise.
966         * iconv/gconv.h: Likewise.
967         * iconv/iconv.h: Likewise.
968         * include/execinfo.h: Likewise.
969         * inet/aliases.h: Likewise.
970         * inet/netinet/ether.h: Likewise.
971         * inet/netinet/in.h: Likewise.
972         * intl/libintl.h: Likewise.
973         * io/fcntl.h: Likewise.
974         * io/fts.h: Likewise.
975         * io/ftw.h: Likewise.
976         * io/utime.h: Likewise.
977         * io/sys/poll.h: Likewise.
978         * io/sys/stat.h: Likewise.
979         * io/sys/statfs.h: Likewise.
980         * io/sys/statvfs.h: Likewise.
981         * libio/libio.h: Likewise.
982         * libio/stdio.h: Likewise.
983         * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
984         * locale/locale.h: Likewise.
985         * login/pty.h: Likewise.
986         * login/utmp.h: Likewise.
987         * malloc/mcheck.h: Likewise.
988         * math/complex.h: Likewise.
989         * math/math.h: Likewise.
990         * math/math_private.h: Likewise.
991         * misc/err.h: Likewise.
992         * misc/fstab.h: Likewise.
993         * misc/libgen.h: Likewise.
994         * misc/mntent.h: Likewise.
995         * misc/regexp.h: Likewise.
996         * misc/search.h: Likewise.
997         * misc/sgtty.h: Likewise.
998         * misc/ttyent.h: Likewise.
999         * misc/sys/cdefs.h: Likewise.
1000         * misc/sys/file.h: Likewise.
1001         * misc/sys/ioctl.h: Likewise.
1002         * misc/sys/mman.h: Likewise.
1003         * misc/sys/select.h: Likewise.
1004         * misc/sys/syslog.h: Likewise.
1005         * misc/sys/uio.h: Likewise.
1006         * misc/sys/ustat.h: Likewise.
1007         * nss/nss.h: Likewise.
1008         * posix/sched.h: Likewise.
1009         * posix/unistd.h: Likewise.
1010         * posix/wordexp.h: Likewise.
1011         * posix/sys/times.h: Likewise.
1012         * posix/sys/utsname.h: Likewise.
1013         * posix/sys/wait.h: Likewise.
1014         * pwd/pwd.h: Likewise.
1015         * resolv/netdb.h: Likewise.
1016         * resolv/resolv.h: Likewise.
1017         * resource/ulimit.h: Likewise.
1018         * resource/sys/resource.h: Likewise.
1019         * resource/sys/vlimit.h: Likewise.
1020         * resource/sys/vtimes.h: Likewise.
1021         * rt/aio.h: Likewise.
1022         * setjmp/setjmp.h: Likewise.
1023         * shadow/shadow.h: Likewise.
1024         * signal/signal.h: Likewise.
1025         * socket/socket.h: Likewise.
1026         * stdio/stdio.h: Likewise.
1027         * stdio-common/_itoa.h: Likewise.
1028         * stdio-common/_itowa.h: Likewise.
1029         * stdio-common/printf.h: Likewise.
1030         * stdlib/alloca.h: Likewise.
1031         * stdlib/fmtmsg.h: Likewise.
1032         * stdlib/monetary.h: Likewise.
1033         * stdlib/stdlib.h: Likewise.
1034         * stdlib/ucontext.h: Likewise.
1035         * streams/stropts.h: Likewise.
1036         * string/argz.h: Likewise.
1037         * string/envz.h: Likewise.
1038         * string/string.h: Likewise.
1039         * string/strings.h: Likewise.
1040         * string/bits/string2.h: Likewise.
1041         * sunrpc/rpc/auth.h: Likewise.
1042         * sunrpc/rpc/auth_des.h: Likewise.
1043         * sunrpc/rpc/auth_unix.h: Likewise.
1044         * sunrpc/rpc/clnt.h: Likewise.
1045         * sunrpc/rpc/des_crypt.h: Likewise.
1046         * sunrpc/rpc/netdb.h: Likewise.
1047         * sunrpc/rpc/pmap_clnt.h: Likewise.
1048         * sunrpc/rpc/pmap_prot.h: Likewise.
1049         * sunrpc/rpc/pmap_rmt.h: Likewise.
1050         * sunrpc/rpc/rpc_msg.h: Likewise.
1051         * sunrpc/rpc/svc.h: Likewise.
1052         * sunrpc/rpc/svc_auth.h: Likewise.
1053         * sunrpc/rpc/xdr.h: Likewise.
1054         * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
1055         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1056         * sysvipc/sys/ipc.h: Likewise.
1057         * sysvipc/sys/msg.h: Likewise.
1058         * sysvipc/sys/sem.h: Likewise.
1059         * sysvipc/sys/shm.h: Likewise.
1060         * termios/termios.h: Likewise.
1061         * time/time.h: Likewise.
1062         * time/sys/time.h: Likewise.
1063         * time/sys/timeb.h: Likewise.
1064         * wcsmbs/wchar.h: Likewise.
1065         * wctype/wctype.h: Likewise.
1066
1067 1999-10-05  Roland McGrath  <roland@baalperazim.frob.com>
1068
1069         * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
1070         _GNU_SOURCE be defined.
1071
1072 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
1073
1074         * ctype/ctype.h: Pretty print.
1075
1076         * po/cs.po: Fix typos.
1077
1078         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
1079         handling of empty entries.  [PR libc/1345]
1080         Patch by Thorsten Kukuk <kukuk@suse.de>.
1081
1082 1999-10-08  Andreas Schwab  <schwab@suse.de>
1083
1084         * debug/xtrace.sh: Fix quoting bugs.  Implement --help and --version.
1085
1086 1999-10-08  Andreas Schwab  <schwab@suse.de>
1087
1088         * debug/pcprofiledump.c: Fix typos.
1089
1090 1999-10-07  Andreas Jaeger  <aj@suse.de>
1091
1092         * math/Makefile (tests): Added basic-tests.
1093
1094         * math/basic-test.c: New file.  Contains function basic_tests from
1095         libm-test.
1096
1097 1999-10-07  Andreas Schwab  <schwab@suse.de>
1098
1099         * malloc/memprof.sh: Fix quoting bugs.
1100
1101 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
1102
1103         * timezone/europe: Update from tzdata1999h.
1104
1105 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
1106
1107         * elf/elf.h: Update from last gABI draft.
1108
1109         * elf/elf.h: Remove EM_486 entry.
1110         * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
1111         test for EM_486.
1112
1113 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
1114
1115         * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
1116         Add rules for both programs.
1117         * debug/pcprofiledump.c: New file.
1118         * debug/xtrace.sh: New file.
1119         * debug/pcprofile.c: Allow creating output file.  Add magic signature
1120         to let reader recognize file format.
1121
1122 1999-10-06  Ulrich Drepper  <drepper@cygnus.com>
1123
1124         * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
1125
1126 1999-10-05  Andreas Jaeger  <aj@suse.de>
1127
1128         * locale/programs/ld-identification.c: Fix typo in comment.
1129         * locale/programs/ld-messages.c: Likewise.
1130         * locale/programs/ld-monetary.c: Likewise.
1131         * locale/programs/ld-name.c: Likewise.
1132
1133         * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
1134         (collate_read): Remove unnecessary comparisons with ignore_content.
1135
1136         * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
1137         assigned elements.
1138         (ctype_read): Remove unnecessary comparisons with ignore_content.
1139         Fix typos in comments.
1140
1141         * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
1142         comparisons with ignore_content.
1143
1144 1999-10-05  Ulrich Drepper  <drepper@cygnus.com>
1145
1146         * po/cs.po: Update.
1147
1148         * time/time.h: Move __gmtime_r declaration to ...
1149         * include/time.h: ...here.
1150
1151 1999-10-05  Andreas Jaeger  <aj@suse.de>
1152
1153         * manual/message.texi (The message catalog files): Fix description
1154         to match gencat implementation and Unix98: Message fields are
1155         separated by a single blank space.
1156
1157 1999-10-05  Andreas Jaeger  <aj@suse.de>
1158
1159         * manual/string.texi (Search Functions): Add missing end for
1160         memrchr description.
1161
1162 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
1163
1164         * malloc/memprof.sh: Various small cleanups.  Add short options.
1165         Write error messages to stderr.
1166
1167         * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
1168
1169         * malloc/memprof.sh: Take options to control memprofstat.
1170
1171         * malloc/Makefile: Add rule to generate memprof script.
1172         * malloc/memprof.sh: New file.
1173
1174         * elf/ldd.bash.in: Add "Usage: " in help message to comply with
1175         GNU standard.
1176
1177 1999-10-04  Andreas Jaeger  <aj@suse.de>
1178
1179         * configure.in: Allow makeinfo 4.*.
1180
1181 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
1182
1183         * stdio-common/vfprintf.c: Correct last patch and use outchar
1184         instead of PUTC to output single characters.
1185         * stdio-common/Makefile (tests): Add bug13.
1186         * stdio-common/bug13.c: New file.
1187
1188         * configure.in: Add additional options --with-gd-include and
1189         --with-gd-lib to help people with strange installations.
1190
1191         * malloc/Makefile: Add libdl dependency to libmemprof.so.
1192         * malloc/Depend: New file.
1193
1194 1999-10-04  Andreas Jaeger  <aj@suse.de>
1195
1196         * timezone/README: Change wording to not mention the current
1197         version.  This way we can't forget to update the file.
1198
1199 1999-10-04  Andreas Jaeger  <aj@suse.de>
1200
1201         * manual/time.texi (Basic CPU Time): Fix typo.
1202         Reported by Ben Pfaff <pfaffben@msu.edu>.
1203
1204 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
1205
1206         * string/string.h: Move __memrchr declaration to ...
1207         * include/string.h: ...here.
1208
1209 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
1210
1211         * string/Makefile (routines): Add memrchr.
1212
1213         * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
1214         Correct order of tests for matching bytes.
1215
1216         * string/tester.c: Add tests for memrchr.
1217
1218         * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
1219         Start from the last character and take decrement not increment
1220         into account for correction in return line.  Add memrchr alias.
1221         * sysdeps/i386/bits/string.h: Likewise.
1222
1223 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
1224
1225         * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
1226
1227 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
1228
1229         * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
1230
1231         * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
1232         conventions.
1233
1234         * string/Versions: Export memrchr.
1235
1236 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
1237
1238         * misc/Versions (GLIBC_2.2): Add getloadavg.
1239         * misc/Makefile (routines): Add getloadavg.
1240         * sysdeps/generic/getloadavg.c: New file.
1241         * sysdeps/mach/getloadavg.c: New file.
1242         * sysdeps/unix/sysv/linux/getloadavg.c: New file.
1243
1244         * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
1245         * sysdeps/i386/bits/string.h (__memrchr): New function.
1246         * string/string.h: Declare memrchr, __memrchr.
1247         * manual/string.texi (Search Functions): Document memrchr.
1248
1249 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
1250
1251         * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
1252         CFLAGS-memprofstat.c, and LIBGD variables.
1253         * config.make.in: Add LIBGD.
1254         * malloc/Makefile: Add rules to generate libmemprof.so and
1255         memprofstat.
1256         * malloc/memprof.c: New file.
1257         * malloc/memprofstat.c: New file.
1258
1259 1999-10-02  Ulrich Drepper  <drepper@cygnus.com>
1260
1261         * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
1262
1263         * resolv/inet_ntop.c (inet_ntop4): Little optimization.
1264         (inet_ntop6): Likewise.
1265
1266         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
1267         overruns.
1268
1269         * resolv/tst-aton.c (main): Add more tests.
1270
1271         * resolv/inet_addr.c (inet_aton): Correct some problems with to
1272         large numbers.  Optimize a bit.
1273
1274 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
1275
1276         * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
1277         account for added '0'.
1278
1279         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
1280         handling of IPv6 tunnel address handling with bind 8.2.1.  Allow
1281         len argument to be greater than needed address size.
1282
1283 1999-10-01  Andreas Jaeger  <aj@suse.de>
1284
1285         * locale/programs/ld-collate.c (insert_value): Add cast to avoid
1286         warning.
1287         * intl/finddomain.c (_nl_find_domain): Likewise.
1288
1289 1999-09-30  Andreas Schwab  <schwab@suse.de>
1290
1291         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
1292
1293 1999-09-30  Andreas Jaeger  <aj@suse.de>
1294
1295         * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
1296         * sysdeps/i386/rshift.S: Likewise.
1297         * sysdeps/i386/strchrnul.S: Likewise.
1298         * sysdeps/i386/strchr.S: Likewise.
1299         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
1300         PR libc/1339.
1301
1302 1999-09-30  Andreas Jaeger  <aj@suse.de>
1303
1304         * manual/examples/pipe.c: Close other end of pipe to make example work.
1305
1306 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
1307
1308         * timezone/checktab.awk: Update from tzcode1999g.
1309         * timezone/tzselect.ksh: Likewise.
1310         * timezone/africa: Update from tzdata1999g.
1311         * timezone/asia: Likewise.
1312         * timezone/australasia: Likewise.
1313         * timezone/europe: Likewise.
1314         * timezone/northamerica: Likewise.
1315         * timezone/southamerica: Likewise.
1316         * timezone/iso3166.tab: Likewise.
1317         * timezone/zone.tab: Likewise.
1318
1319 1999-09-27  Andreas Jaeger  <aj@suse.de>
1320
1321         * resolv/netdb.h: Remove declaration of getnodebyname.  It has
1322         been renamed to getipnodebyname.  Move flags around.
1323
1324 1999-09-27  Andreas Schwab  <schwab@suse.de>
1325
1326         * manual/message.texi (Locating gettext catalog): Fix typos.
1327
1328 1999-09-27  Andreas Jaeger  <aj@suse.de>
1329
1330         * manual/socket.texi (Out-of-Band Data): Correct example program,
1331         rename some variables for clarity.
1332         Reported by James Antill <james@and.org>, close PR libc/1329.
1333
1334 1999-09-27  Ulrich Drepper  <drepper@cygnus.com>
1335
1336         * locale/programs/ld-collate.c (insert_value): Add hack to not
1337         crash in incomplete collate implementation.
1338
1339         * locale/programs/ld-collate.c (read_directions): Read new token
1340         after accepting sorting rule.
1341
1342 1999-09-26  Ulrich Drepper  <drepper@cygnus.com>
1343
1344         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
1345         error message printing.  Correctly test whether all characters of
1346         current token are used.
1347         (ctype_read): NUL terminate last_str.
1348
1349 1999-09-26  Thorsten Kukuk  <kukuk@suse.de>
1350
1351         * nscd/connections.c: Invalidate caches on request.
1352         * nscd/nscd-client.h: Add INVALIDATE to request_type.
1353         * nscd/nscd.c: Add invalidate cache option.
1354         * nscd/nscd.conf: Change log directory to /var/log (FHS).
1355
1356 1999-09-24  Ulrich Drepper  <drepper@cygnus.com>
1357
1358         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
1359         not ovverwrite last group member with NULL pointer.
1360         Reported by Thomas Winder <thomas.winder@newlogic.at>.
1361
1362 1999-09-24  Andreas Jaeger  <aj@suse.de>
1363
1364         * stdio-common/tst-printf.c (main): Add a testcase for large
1365         precision.  Reported by Tymm Twillman <tymm@coe.missouri.edu>.
1366
1367 1999-09-24  Andreas Schwab  <schwab@suse.de>
1368
1369         * math/bits/mathcalls.h: Fix last change.  Also declare __finite.
1370
1371 1999-09-24  Andreas Jaeger  <aj@suse.de>
1372
1373         * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
1374         normalized_codeset.  Reported by Belicky Zsolt <zsolt@prolan.hu>.
1375
1376 1999-09-23  Mark Kettenis  <kettenis@gnu.org>
1377
1378         * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
1379         variable.  Define MORECORE_CLEARS to 2.
1380
1381         * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
1382         doesn't clear the contents of memory that is reallocated after
1383         decrementing the break value first.  Update comment about
1384         MORECORE_CLEARS, explaining the meaning of the values it can be
1385         set to.
1386
1387 1999-09-23  Ulrich Drepper  <drepper@cygnus.com>
1388
1389         * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
1390         one more case.
1391
1392         * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
1393         (log): Likewise.
1394         (log10): Likewise.
1395         (log1p): Likewise.
1396         (log2): Likewise.
1397
1398 1999-09-22  Andreas Jaeger  <aj@suse.de>
1399
1400         * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
1401         reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
1402
1403 1999-09-22  Andreas Schwab  <schwab@suse.de>
1404
1405         * stdio-common/vfscanf.c: Fix width handling when scanning floats.
1406
1407 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1408
1409         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
1410         the source directory.  Fixes PR libc/1059.
1411
1412 1999-09-21  Ulrich Drepper  <drepper@cygnus.com>
1413
1414         * locale/programs/repertoire.c (repertoire_find_value): Abort if
1415         rep parameter is NULL.
1416         (repertoire_find_symbol): Likewise.
1417         (repertoire_find_seq): Likewise.
1418
1419 1999-09-20  Jean-Louis Martineau  <martinea@IRO.UMontreal.CA>
1420
1421         * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
1422         returned errno value in some cases.
1423
1424 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
1425
1426         * iconvdata/Makefile (modules): Add GBK.
1427         (distribute): Add gbk.c.
1428         * iconvdata/gbk.c: New file.
1429         * iconvdata/gconv-modules: Add GBK entry.
1430         Contributed by Sean Chen <sean.chen@turbolinux.com>.
1431
1432         * locale/programs/ld-monetary.c (monetary_output): Remove
1433         byte-order code.
1434
1435         * locale/programs/ld-time.c (time_output): Correct expected number
1436         of iov entries.
1437
1438         * manual/filesys.texi (Testing File Access): Correct description of
1439         SUID.
1440
1441 1999-080-25  H.J. Lu  <hjl@gnu.org>
1442
1443         * csu/defs.awk (.end): Only match with leading white spaces.
1444         (.align): Likewise.
1445
1446 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
1447
1448         * stdlib/isomac.c: Add va_copy to allowed macros.
1449
1450         * po/pl.po: Updated.
1451
1452 1999-09-17  Andreas Schwab  <schwab@suse.de>
1453
1454         * Makefile (clean): Also remove $(postclean) files.
1455
1456 1999-09-15  Andreas Jaeger  <aj@suse.de>
1457
1458         * pwd/Makefile (otherlibs): Add for building with static-nss.
1459         * inet/Makefile (otherlibs): Likewise.
1460
1461 1999-09-15  Andreas Jaeger  <aj@suse.de>
1462
1463         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
1464         function definition to avoid a compilation failure.
1465
1466 1999-09-15  Andreas Jaeger  <aj@suse.de>
1467
1468         * stdlib/tst-environ.c (main): Add getenv regression test for
1469         environment variable that's one character long.
1470
1471 1999-09-15  Andreas Jaeger  <aj@suse.de>
1472
1473         * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
1474         signal definitions to let glibc compile with older Linux versions
1475         (2.0.10 to 2.1.100 or so).
1476
1477 1999-09-18  Roland McGrath  <roland@baalperazim.frob.com>
1478
1479         * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
1480         return zero to indicate no children died yet (assuming WNOHANG).
1481
1482         * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
1483
1484 1999-09-17  Roland McGrath  <roland@baalperazim.frob.com>
1485
1486         * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
1487
1488         * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
1489         Return _hurd_pgrp instead of 0.
1490
1491 1999-09-19  Roland McGrath  <roland@baalperazim.frob.com>
1492
1493         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
1494         pages rather than just reprotecting them.  This way we don't hold on
1495         to the backing space.
1496
1497         * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
1498         Use __munmap instead of __vm_deallocate.
1499
1500 1999-09-18  Ulrich Drepper  <drepper@cygnus.com>
1501
1502         * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
1503         returned errno value in some cases.
1504
1505 1999-09-17  Andreas Jaeger  <aj@suse.de>
1506
1507         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
1508         to override user settings.
1509
1510 1999-09-17  Andreas Schwab  <schwab@suse.de>
1511
1512         * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
1513         using a pointer to it.
1514
1515 1999-09-16  Ulrich Drepper  <drepper@cygnus.com>
1516
1517         * time/getdate.c (__getdate_r): Pass correct year to check_mday.
1518         Reported by Vern Staats <staatsvr@asc.hpc.mil>.
1519
1520 1999-09-14  Ulrich Drepper  <drepper@cygnus.com>
1521
1522         * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
1523
1524         * elf/elf.h (PF_MASKOS): New definition.
1525         (EM_VAX): New definition.
1526
1527 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
1528
1529         * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
1530         'unsigned char ftype[8]', and 'unsigned int init_flag' to
1531         struct user_fp.  These were added in version 2.2.12 of the
1532         ARM Linux kernel.
1533         * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
1534         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
1535         The generic procfs.h included <asm/elf.h>.  This causes
1536         structure redefinition errors when <sys/user.h> and <sys/procfs.h>
1537         are included in the same source file.  Found when building GDB.
1538
1539 1999-09-13  Ulrich Drepper  <drepper@cygnus.com>
1540
1541         * locale/langinfo.h: Remove byte-order dependent names.
1542         * locale/categories.def: Update after removal of byte-order dependent
1543         names.
1544         * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
1545         with magic number in other byte order.
1546         * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
1547         * locale/C-collate.c: Remove initializers for other byte-order.
1548         * locale/C-ctype.c: Likewise.
1549         * locale/C-monetary.c: Likewise.
1550         * locale/C-paper.c: Likewise.
1551         * locale/C-time.c: Likewise.
1552         * locale/lc-collate.c: Remove byte-order oriented initialization.
1553         * locale/lc-ctype.c: Likewise.
1554         * locale/lc-monetary.c: Likewise.
1555         * locale/lc-time.c: Likewise.
1556         * locale/programs/ld-address.c: Don't generate output in both
1557         byte-orders.
1558         * locale/programs/ld-ctype.c: Likewise.
1559         * locale/programs/ld-paper.c: Likewise.
1560         * locale/programs/ld-time.c: Likewise.
1561         * time/strftime.c (NLW): Don't use different byte-orders.
1562         * wctype/cname-lookup.h (cname_lookup): Likewise.
1563
1564         * Makeconfig (localedir): Define using libdir, not datadir.
1565         (msgcatdir): New variable.
1566         * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
1567         * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
1568         msgcatdir.
1569         * intl/Makefile (install-others): Install locale.alias in msgcatdir.
1570         (CPPFLAGS): Define paths using msgcatdir.
1571         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
1572         * po/Makefile (mo-installed): Define using msgcatdir.
1573
1574         * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
1575
1576 1999-09-12  Ulrich Drepper  <drepper@cygnus.com>
1577
1578         * stdio-common/vfprintf.c: Remove limitation on size of precision
1579         for integers.
1580
1581         * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
1582         glibc by defining internal_function if it isn't already.
1583
1584         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
1585         fails don't rely on errno value.
1586         (getanswer_r): Set *ERRNOP in error cases.
1587
1588         * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
1589         (gaih_inet_serv): Return EIA_NODATA if name is known but has no
1590         associated data.  Test for matching numeric address and family.
1591         (getaddrinfo): Remember EAI_NODATA result and return this in case
1592         everything fails.
1593         Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
1594
1595         * locale/programs/ld-address.c: Fix handling of non-existing
1596         definitions for this category.  Correctly ignore content of this
1597         category is this is necessary.
1598         * locale/programs/ld-collate.c: Likewise.
1599         * locale/programs/ld-ctype.c: Likewise.
1600         * locale/programs/ld-identification.c: Likewise.
1601         * locale/programs/ld-measurement.c: Likewise.
1602         * locale/programs/ld-messages.c: Likewise.
1603         * locale/programs/ld-monetary.c: Likewise.
1604         * locale/programs/ld-name.c: Likewise.
1605         * locale/programs/ld-numeric.c: Likewise.
1606         * locale/programs/ld-paper.c: Likewise.
1607         * locale/programs/ld-telephone.c: Likewise.
1608         * locale/programs/ld-time.c: Likewise.
1609         * locale/programs/locfile.h (handle_copy): Take extra parameter
1610         with result pointer.  Fill in name of locale from which to copy.
1611         Correctly read token after `END'.
1612
1613         * locale/programs/localedef.c (main): Correct handling copy.
1614         (add_to_readlist): Take extra parameter which says whether we
1615         are supposed to read the file or not.
1616         (find_locale): Call add_to_readlist with extra parameter set to 0.
1617
1618         * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
1619         instead of wrong number in array definitions.
1620         (add_to_readlist): Update prototype.
1621
1622         * locale/programs/locfile.c (locfile_read): Mark categories not
1623         available in source file as read.
1624         (write_all_categories): Fix typo.
1625
1626         * locale/programs/locales.h: Removed.
1627
1628 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
1629
1630         * elf/elf.h (SHF_MASKOS): Added.
1631
1632         * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
1633
1634 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1635
1636         * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
1637
1638 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1639
1640         * configure.in: Fix make version test for make 3.77.95 and later
1641         versions.
1642         Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
1643
1644 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
1645
1646         * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
1647
1648         * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
1649         WINT_MAX values.
1650
1651         * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
1652
1653 1999-09-09  Andreas Schwab  <schwab@suse.de>
1654
1655         * elf/link.h: Fix comment.
1656
1657 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
1658
1659         * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
1660
1661         * math/math.h: Pretty print.
1662
1663 1999-09-10  Andreas Schwab  <schwab@suse.de>
1664
1665         * sysdeps/generic/getenv.c (getenv): Fix lookup for single
1666         character variable on bigendian platforms without unaligned memory
1667         access.
1668
1669 1999-09-07  Cristian Gafton  <gafton@redhat.com>
1670
1671         * sysdeps/unix/sysv/linux/sys/raw.h: New file
1672         * sysdeps/unix/sysv/linux/Dist: Add raw.h.
1673         * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
1674
1675 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
1676
1677         * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
1678
1679         * time/ap.c: Removed.  It was not used.
1680         * time/date.c: Likewise.
1681         * sysdeps/unix/nlist.c: Likewise.
1682         * sysdeps/generic/nlist.c: Likewise.
1683         * sysdeps/generic/varargs.h: Likewise.
1684         * stdio-common/scanf11.c: Likewise.
1685         * stdio-common/scanf6.c: Likewise.
1686         * scripts/=__ify: Likewise.
1687         * scripts/printsources: Likewise.
1688         * resolv/getnetnamadr.c: Likewise.
1689         * posix/id.c: Likewise.
1690         * misc/ioctltst.c: Likewise.
1691         * misc/nlist.h: Likewise.
1692         * math/test-math.h: Likewise.
1693         * include/nlist.h: Likewise.
1694
1695 1999-09-06  Andreas Schwab  <schwab@suse.de>
1696
1697         * time/tzset.c (compute_change): Replace slow loop to compute T by
1698         simple algorithm.
1699
1700 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
1701
1702         * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
1703         escape sequences out even if the character itself does not fit
1704         into the buffer.
1705
1706         * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
1707
1708 1999-08-31  H.J. Lu  <hjl@gnu.org>
1709
1710         * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
1711
1712 1999-09-05  Roland McGrath  <roland@baalperazim.frob.com>
1713
1714         * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
1715         it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
1716         (_hurd_priority_which_map):
1717
1718 1999-09-04  Ulrich Drepper  <drepper@cygnus.com>
1719
1720         * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
1721
1722 1999-09-03  Andreas Schwab  <schwab@suse.de>
1723
1724         * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
1725         fork from __syscall_fork to __libc_fork.
1726         * posix/Versions: Add __libc_fork and __vfork to version
1727         GLIBC_2.1.2.
1728
1729 1999-08-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1730
1731         * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
1732         dependencies in sort.
1733
1734 1999-09-01  H.J. Lu  <hjl@gnu.org>
1735
1736         * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
1737
1738         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
1739         <sys/user.h> instead of <asm/user.h>.
1740
1741 1999-09-02  Ulrich Drepper  <drepper@cygnus.com>
1742
1743         * elf/elf.h: Update PARISC-specific flags and symbolic names.
1744
1745 1999-09-01  Ulrich Drepper  <drepper@cygnus.com>
1746
1747         * elf/elf.h: Update PARISC relocations.
1748
1749 1999-08-31  Scott Bambrough  <scottb@netwinder.org>
1750
1751         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
1752         #ifdef statement to prevent it from being included twice.
1753         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
1754         #include <bits/armsigctx.h>.
1755
1756 1999-08-31  Andreas Schwab  <schwab@suse.de>
1757
1758         * locale/C-collate.c: Add missing initialisations.
1759         * locale/C-ctype.c: Likewise.
1760
1761 1999-08-31  Ulrich Drepper  <drepper@cygnus.com>
1762
1763         * time/strftime.c (my_strftime): Remove unneeded variable len.
1764
1765         * time/strptime.c: Undo last change.
1766
1767 1999-08-30  Ulrich Drepper  <drepper@cygnus.com>
1768
1769         * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
1770         Change charset.h to charmap.h.
1771         (categories): Add new categories.  Leave out collate for now.
1772         Update build rules.
1773         * locale/categories.def: Add definitions for new categories.
1774         * locale/langinfo.h: Likewise.
1775         * locale/locale.h: Likewise.
1776         * locale/C-address.c: New file.
1777         * locale/C-identification.c: New file.
1778         * locale/C-measurement.c: New file.
1779         * locale/C-name.c: New file.
1780         * locale/C-paper.c: New file.
1781         * locale/C-telephone.c: New file.
1782         * locale/lc-address.c: Likewise.
1783         * locale/lc-identification.c: Likewise.
1784         * locale/lc-measurement.c: Likewise.
1785         * locale/lc-name.c: Likewise.
1786         * locale/lc-paper.c: Likewise.
1787         * locale/lc-telephone.c: Likewise.
1788         * locale/C-ctype.c: Update for locale rewrite.
1789         * locale/C-messages.c: Likewise.
1790         * locale/C-monetary.c: Likewise.
1791         * locale/C-time.c: Likewise.
1792         * locale/lc-collate.c: Likewise.
1793         * locale/lc-ctype.c: Likewise.
1794         * locale/lc-monetary.c: Likewise.
1795         * locale/lc-time.c: Likewise.
1796         * locale/localeinfo.h: Likewise.
1797         * locale/newlocale.c: Likewise.
1798         * locale/setlocale.c: Likewise.
1799         * locale/weight.h: Likewise.
1800         * locale/findlocale.c: Unconditionally use mmap.
1801         Handle new categories.
1802         * locale/loadlocale.c: Likewise.
1803         * locale/iso-3166.def: New file.
1804         * locale/iso-639.def: New file.
1805         * locale/programs/charmap-kw.gperf: Add new keywords.
1806         * locale/programs/locfile-kw.gperf: Likewise.
1807         * locale/programs/locfile-token.h: Define new tokens.
1808         * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
1809         * locale/programs/charmap.h: New file.
1810         * locale/programs/charset.h: Removed.
1811         * locale/programs/config.h: Add __LC_LAST.
1812         * locale/programs/lc-address.c: New file.
1813         * locale/programs/lc-identification.c: New file.
1814         * locale/programs/lc-measurement.c: New file.
1815         * locale/programs/lc-name.c: New file.
1816         * locale/programs/lc-paper.c: New file.
1817         * locale/programs/lc-telephone.c: New file.
1818         * locale/programs/lc-collate.c: Update for locale rewrite.
1819         * locale/programs/lc-ctype.c: Likewise.
1820         * locale/programs/lc-messages.c: Likewise.
1821         * locale/programs/lc-monetary.c: Likewise.
1822         * locale/programs/lc-numeric.c: Likewise.
1823         * locale/programs/lc-time.c: Likewise.
1824         * locale/programs/locale.c: Likewise.
1825         * locale/programs/localedef.c: Likewise.
1826         * locale/programs/locfile.c: Likewise.
1827         * locale/programs/repertoire.c: Likewise.
1828         * locale/programs/repertoire.h: Likewise.
1829         * locale/programs/locfile.c: Update prototypes.
1830         Update handle_copy definition.
1831         * locale/programs/linereader.c: Add handling of wide char strings and
1832         new definition file syntax.
1833         * locale/programs/linereader.h (struct token): Add elements for wide
1834         character strings.
1835         * locale/programs/locale-spec.c: Disable handling of collation
1836         elements for now.
1837         * locale/programs/simple-hash.h: Cleanup.
1838         * locale/programs/stringtrans.h: Handle quite of end of line.
1839         * string/strcoll.c: Fall back on strcmp for now.
1840         * string/strxfrm.c: Fall back on strncpy/strlen for now.
1841         * time/strftime.c: Use new wide character data for wcsftime.
1842         * time/strptime.c: Remove _nl_C_LC_TIME declaration.
1843         * wctype/cname-lookup.h: Update for new LC_CTYPE data.
1844
1845         * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
1846         compiling for i386 to avoid i686-like GOT pointer computation.
1847
1848         * db2/db_int.h: Change tsl_t type to u_int32_t.
1849         * db2/mutex/mutex.c: Allow Alpha mutex definitions.
1850         * db2/mutex/alpha.h: New file.
1851         * db2/mutex/sparc.gcc: Fix store code for v9.  Simplify clear code.
1852         * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
1853         known.
1854         Patches by Richard Henderson.
1855
1856         * stdlib/tst-environ.c: Add cast to avoid warning.
1857         * timezone/test-tz.c: Use setenv instead of putenv.
1858
1859 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1860
1861         * manual/libc.texinfo: Update version and date.
1862
1863         * manual/locale.texi (Formatting Numbers): Fix @node pointers.
1864
1865         * manual/filesys.texi (Working with Directory Trees): Add missing @code.
1866         (File System Interface): Correct entry.
1867         (Permission Bits): Add missing commata after @xref.
1868
1869 1999-08-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1870
1871         * timezone/tst-timezone.c (main): Don't pass const strings to
1872         putenv to avoid warnings.
1873
1874         * posix/regexbug1.c: Include <stdio.h> for puts prototype.
1875
1876 1999-08-29  Thorsten Kukuk  <kukuk@suse.de>
1877
1878         * nis/Versions: Add _nss_*_getipnodebyname_r.
1879         * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
1880         * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
1881         * nss/Versions: Add _nss_files_getipnodebyname_r.
1882
1883 1999-08-28  H.J. Lu  <hjl@gnu.org>
1884
1885         * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
1886         memory for buffer.
1887
1888 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
1889
1890         * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
1891         kernel.
1892         * inet/netinet/in.h: Likewise.
1893         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1894         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1895
1896 1999-08-28  Ulrich Drepper  <drepper@cygnus.com>
1897
1898         * malloc/malloc.c (ptmalloc_init): Don't use variables to set
1899         thresholds for SUID binaries.  [PR libc/1277]
1900
1901         * posix/regexbug1.c: Add one more similar case.
1902
1903 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1904
1905         * manual/install.texi (Running make install): Give examples for
1906         timezone and locale installation.
1907
1908 1999-08-28  Zack Weinberg  <zack@bitmover.com>
1909
1910         * glibcbug.in: Get CCVERSION from autoconf substitution.
1911         * configure.in: Calculate and substitute CCVERSION.
1912
1913 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1914
1915         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
1916         partially reverting a patch from 1998-12-29.  We just can't change
1917         the flags, kernels with different flags lead to
1918         incompatibilities.
1919
1920 1999-08-26  Andreas Schwab  <schwab@suse.de>
1921
1922         * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
1923
1924 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
1925
1926         * inet/rexec.c (rexec): Free memory if strings were allocated in
1927         ruserpass.  Reported by Andrew Morton <morton@nortelnetworks.com>.
1928
1929 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
1930
1931         * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
1932
1933         * manual/argp.texi: Fixing language and typos.
1934         * manual/conf.texi: Likewise.
1935         * manual/contrib.texi: Likewise.
1936         * manual/ctype.texi: Likewise.
1937         * manual/filesys.texi: Likewise.
1938         * manual/install.texi: Likewise.
1939         * manual/job.texi: Likewise.
1940         * manual/lang.texi: Likewise.
1941         * manual/llio.texi: Likewise.
1942         * manual/locale.texi: Likewise.
1943         * manual/math.texi: Likewise.
1944         * manual/nss.texi: Likewise.
1945         * manual/pipe.texi: Likewise.
1946         * manual/signal.texi: Likewise.
1947         * manual/socket.texi: Likewise.
1948         * manual/stdio.texi: Likewise.
1949         * manual/sysinfo.texi: Likewise.
1950         * manual/users.texi: Likewise.
1951         Patches by Neil Booth <NeilB@earthling.net>.
1952
1953 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
1954
1955         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
1956         unsigned to avoid warning.  [PR libc/1271].
1957
1958         * conform/conformtest.pl: Allow testing regex.h which requires
1959         sys/types.h being included.
1960
1961         * conform/data/regex.h-data: Allow *_t types.
1962         * conform/data/pwd.h-data: Likewise.
1963         * conform/data/sched.h-data: Likewise.
1964         * conform/data/pthread.h-data: Likewise.
1965         * conform/data/search.h-data: Likewise.
1966
1967         * misc/search.h: Avoid namespace pollution.
1968
1969         * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
1970         pwd.h, and pthread.h.
1971         * conform/data/pthread.h-data: New file.
1972         * conform/data/pwd.h-data: New file.
1973         * conform/data/regex.h-data: New file.
1974         * conform/data/sched.h-data: New file.
1975         * conform/data/search.h-data: New file.
1976
1977         * NAMESPACE: Add REG_ for regex.h.
1978
1979         * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
1980         they are removed.
1981
1982         * configure.in (libc_cv_asm_global_directive): Indent .text in
1983         test code so that the lame HPUX compiler recognizes it.
1984         * sysdeps/hppa/bits/endian.h: New file.
1985         * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
1986         * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
1987         * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
1988         * sysdeps/unix/sysv/hpux/bits/types.h: New file.
1989
1990         * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
1991         Patch by John Tobey <jtobey@banta-im.com>.
1992
1993         * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
1994
1995         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
1996         old_siocfifconf definition to toplevel.
1997         (__protocol_available): Remove old_siocfifconf definition.
1998
1999 1999-08-25  Mark Kettenis  <kettenis@gnu.org>
2000
2001         * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
2002         really dealing with a master pseudo terminal, and really returning
2003         the name of the associated slave pseudo terminal by checking the
2004         device number.
2005         * sysdeps/unix/sysv/linux/pty-private.h: Removed.
2006         * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
2007
2008 1999-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2009
2010         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
2011         underscore in _llseek entry.
2012
2013         * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
2014         entry.
2015
2016         * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
2017         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
2018
2019         * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
2020         Patch by Ralf Baechle <ralf@uni-koblenz.de>.
2021
2022 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
2023
2024         * inet/Makefile (routines): Add getipnodebynm.
2025         * inet/getipnodebynm.c: New file.
2026         * nss/digits_dots.c: If HAVE_TYPE is define type contains the
2027         interface type.
2028         * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
2029         EXTRA_ARGS_VALUE is not already done.
2030         (internal_getent): Allow extra parameters and pass them to parse_line.
2031         (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
2032         (_nss_files_get##name##_r): Likewise.
2033         * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
2034         and EXTRA_ARGS_VALUE to pass flags and type to parser.
2035         Add getipnodebyname function.
2036         * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
2037         EXTRA_ARGS_VALUE is not already done.
2038         (parse_line): Add EXTRA_ARGS_DECL to parameter list.
2039         * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
2040         to parse_line.
2041         (_nss_db_get##name##_r): Pass extra parameters to lookup.
2042         (_nss_db_get,ENTNAME_r): Likewise.
2043         * sysdeps/generic/if_index.c (__protocol_available): New function.
2044         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2045
2046 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
2047
2048         * login/pty-private.h: Move to...
2049         * sysdeps/generic/pty-private.h: ...here.
2050         * sysdeps/unix/sysv/linux/pty-private.h: New file.  Linux specific
2051         version.
2052         * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
2053         available.
2054
2055         * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
2056         of __overflow.
2057
2058         * conform/conformtest.pl (@headers): Add monetary.h-data,
2059         mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
2060         * conform/data/monetary.h-data: New file.
2061         * conform/data/mqueue.h-data: New file.
2062         * conform/data/ndbm.h-data: New file.
2063         * conform/data/nl_types.h.h-data: New file.
2064         * conform/data/poll.h-data: New file.
2065
2066         * stdio-common/Makefile (test): Add tst-cookie.
2067         * stdio-common/tst-cookie.c: New file.
2068
2069         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
2070         changed in last patch.  Reported by Ralf Baechle.
2071
2072 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2073
2074         * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
2075
2076         * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
2077         Patches by Ralf Baechle <ralf@uni-koblenz.de>
2078
2079 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2080
2081         * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
2082         Linux 2.3.15.
2083
2084 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
2085
2086         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
2087         syscall.
2088         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2089
2090         * misc/libgen.h: Don't take basename macro as taking arguments.
2091
2092         * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
2093         for gcc >= 2.95.
2094         * sysdeps/i386/bits/huge_val.h: Likewise.
2095         * sysdeps/i386/bits/huge_val.h: Likewise.
2096         * sysdeps/ieee754/bits/huge_val.h: Likewise.
2097         * sysdeps/m68k/bits/huge_val.h: Likewise.
2098         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
2099         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
2100
2101         * conform/Makefile: New file.
2102         * conform/conformtest.pl: New file.
2103         * conform/data/aio.h-data: New file.
2104         * conform/data/assert.h-data: New file.
2105         * conform/data/cpio.h-data: New file.
2106         * conform/data/ctype.h-data: New file.
2107         * conform/data/dirent.h-data: New file.
2108         * conform/data/dlfcn.h-data: New file.
2109         * conform/data/errno.h-data: New file.
2110         * conform/data/fcntl.h-data: New file.
2111         * conform/data/float.h-data: New file.
2112         * conform/data/fmtmsg.h-data: New file.
2113         * conform/data/fnmatch.h-data: New file.
2114         * conform/data/ftw.h-data: New file.
2115         * conform/data/glob.h-data: New file.
2116         * conform/data/grp.h-data: New file.
2117         * conform/data/iconv.h-data: New file.
2118         * conform/data/inttypes.h-data: New file.
2119         * conform/data/iso646.h-data: New file.
2120         * conform/data/langinfo.h-data: New file.
2121         * conform/data/libgen.h-data: New file.
2122         * conform/data/locale.h-data: New file.
2123         * conform/data/math.h-data: New file.
2124
2125 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
2126
2127         * posix/execvp.c (execvp): Correct copying of file name.
2128
2129 1999-08-23  Mark Kettenis  <kettenis@gnu.org>
2130
2131         * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
2132
2133 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
2134
2135         * stdio-common/Makefile: Move addition to routines to the right place.
2136
2137 1999-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2138
2139         * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file.  Neccessary
2140         since mips*-linux has ECANCELED.
2141
2142 1999-08-23  Andreas Schwab  <schwab@suse.de>
2143
2144         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
2145         SIGCONTEXT_EXTRA_ARGS.
2146         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
2147         * sysdeps/generic/sigcontextinfo.h: Likewise.
2148         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
2149         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
2150         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2151         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
2152         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
2153         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2154
2155 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
2156
2157         * posix/regexbug1.c: Make it an error if the test fails.
2158
2159 1999-08-23  Andreas Schwab  <schwab@suse.de>
2160
2161         * posix/regex.c (re_match_2_internal): Correct check for charset
2162         after exactn in loop.
2163
2164 1999-08-22  Ulrich Drepper  <drepper@cygnus.com>
2165
2166         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
2167         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2168         Patch by Joel Klecker.
2169
2170         * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
2171         (__gconv_find_transform): Update prototype.
2172         (__gconv_open): Likewise.
2173         * iconv/gconv_open.c: Take extra parameter and pass it to
2174         __gconv_find_transform.
2175         * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
2176         flags.  If GCONV_AVOID_NOCONV flag is set don't return copying
2177         transformation.
2178         * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
2179         * wcsmbs/wcsmbsload.c: Likewise.
2180         * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
2181         iconv for glibc.
2182         * intl/gettextP.h: Likewise.
2183         * intl/loadmsgcat.c: Likewise.
2184
2185         * posix/regexbug1.c: New file.
2186         * posix/Makefile (tests): Add regexbug1.
2187
2188 1999-08-22  Mark Kettenis  <kettenis@gnu.org>
2189
2190         * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
2191         * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
2192         installing PORT in the descriptor cell.
2193
2194 1999-08-19  Roland McGrath  <roland@baalperazim.frob.com>
2195
2196         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
2197         TIMEOUT as outputs of the asm to indicate that the signal thread
2198         might mutate them.
2199         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
2200         mach_msg if only sending or only receiving (i.e., not an RPC).  When
2201         making an RPC that might get interrupted, save OPTION and the portion
2202         of the message buffer that gets clobbered by an EINTR reply message,
2203         and properly restore them before attempting to retry the request
2204         message send.
2205
2206 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
2207
2208         * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
2209         definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
2210         CHAR_T, UCHAR_T and WIN_T to make the code compile again when
2211         stdio is used instead of libio.
2212         * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
2213         definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
2214         to make the code compile again when stdio is used instead of
2215         libio.
2216         (vfprintf): Only check for correct orientation if ORIENT is
2217         defined.
2218         * stdio-common/Makefile (routines): Only add vfwprintf and
2219         vfwscanf if we're using libio.
2220
2221 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
2222
2223         * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
2224         any additional prototype just as we do for libio.
2225
2226 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
2227
2228         * include/bits/xopen_lim.h: Do not define STREAM_MAX and
2229         TZNAME_MAX.  These limits are not X/Open specific.
2230         * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
2231         is defined.
2232
2233 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
2234
2235         * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
2236         UIO_MAXIOV is left undefined in sys/uio.h.
2237         * stdio-common/stdio_lim.h.in: Adapt for change above.
2238
2239 1999-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2240
2241         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
2242         * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
2243         Patches by Ralf Baechle <ralf@uni-koblenz.de>
2244
2245 1999-08-21  Ulrich Drepper  <drepper@cygnus.com>
2246
2247         * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
2248
2249 1999-08-20  Ulrich Drepper  <drepper@cygnus.com>
2250
2251         * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
2252
2253         * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
2254         call.  It should not be necessary andis harmful for Alpha.
2255
2256         * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
2257         type.  [PR libc/1269]
2258
2259         * posix/execvp.c (execvp): Allocate array name of correct size.
2260         Optimize inner loop.  Use execve directly, not execv.
2261
2262         * elf/elf.h: Corrected SHT_ values from new draft.
2263
2264         * intl/gettextP.h (struct loaded_domain): Add conv element.
2265         * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
2266         Instead of returning found message directly convert it using iconv
2267         if a conversion was found when opening the file.
2268         * intl/loadinfo.h: Protect against multiple inclusion.
2269         Declare _nl_find_msg.
2270         * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
2271         in the message file and if necessary find approrpiate
2272         conversion to match currently selected charset.
2273         * include/libintl.h: Declare __dgettext and __dcgettext.
2274         * include/iconv.h: New file.
2275
2276 1999-08-20  Andreas Schwab  <schwab@suse.de>
2277
2278         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
2279
2280 1999-08-19  Ulrich Drepper  <drepper@cygnus.com>
2281
2282         * sysdeps/unix/sysv/linux/execve.c: New file.  This version terminates
2283         all threads [PR libc/1223].
2284
2285         * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
2286         [PR libc/1165].
2287
2288         * configure.in: Search for programs with prefix gnu* and g* first.
2289         [PR libc/1104].
2290
2291         * dirent/Makefile (routines): Add getdents64.
2292         * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
2293         Remove getdents64.
2294         * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
2295         compiled with _FILE_OFFSET_BITS=64.
2296         * sysdeps/generic/getdents64.c: New file.
2297         * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
2298         __lseek for getdirentries64 definition.
2299
2300         * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
2301
2302         * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
2303         _FILE_OFFSET_BITS=64.
2304
2305         * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
2306         parameter.
2307
2308         * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
2309         after we have the lock.
2310
2311         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
2312         Patch by Richard Henderson.
2313
2314 1999-08-19  Andreas Schwab  <schwab@suse.de>
2315
2316         * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
2317         and call _IO_fwide, to get the wide stream state initialized
2318         correctly.  Don't set _IO_JUMPS.
2319         * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
2320         * libio/vswprintf.c (_IO_vswprintf): Likewise.  Pass
2321         _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
2322         directly.
2323
2324 1999-08-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2325
2326         * math/libm-test.c (jn_test): Fix typo in description.
2327         (erfc_test): Add some more tests.
2328         (erf_test): Add some more tests.
2329
2330 1999-08-19  Andreas Schwab  <schwab@suse.de>
2331
2332         * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
2333         expression using $(exceptions).
2334
2335 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
2336
2337         * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
2338
2339         * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
2340         allocated so far.  [PR libc/1261].
2341
2342         * math/libm-test.c (j0_test): Adjust deltas for m68k.
2343         (jn_test): Likewise.
2344
2345         * dirent/dirent.h: Only define ino64_t if not already done.
2346         * posix/sys/types.h: Likewise.
2347
2348         * ctype/ctype.h: Avoid useless #endif #if pairs.
2349
2350         * dirent/dirent.h: Define ino_t and ino64_t if not done already.
2351         (seekdir): Fix type of second parameter.
2352         * sysdeps/generic/seekdir.c: Likewise.
2353         * sysdeps/mach/hurd/seekdir.c: Likewise.
2354         * sysdeps/unix/seekdir.c: Likewise.
2355
2356         * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
2357
2358 1999-08-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2359
2360         * manual/install.texi (Configuring and compiling): Clarify ix86
2361         situation.
2362
2363 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
2364
2365         * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
2366         * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
2367         * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
2368         stdio_lim.h.  Define LONG_BIT and WORD_BIT.
2369
2370         * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
2371
2372         * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
2373
2374         * misc/search.h: Don't define NULL.
2375
2376         * posix/sys/types.h: Define blksize_t if it hasn't happened.
2377         Only define key_t and blkcnt_t if it hasn't happened before.
2378         Define blksize_t if not happened before.
2379         * io/sys/stat.h: Don't define pid_t.  Define blkcnt_t and blksize_t.
2380         * sysdeps/generic/bits/types.h: Define __blksize_t.
2381         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2382         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2383         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2384         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2385         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2386         * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
2387         st_blksize member.
2388         (struct stat64): Likewise.
2389         * sysdeps/unix/bsd/bits/stat.h: Likewise.
2390         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
2391         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2392         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2393         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2394         * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
2395         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
2396
2397         * stdlib/getsubopt.c: Correct type of second argument.
2398         * stdlib/stdlib.h: Likewise.
2399
2400         * stdlib/monetary.h: Don't include sys/types.h.  Define only size_t
2401         and ssize_t.
2402
2403         * sysdeps/generic/putenv.c: Correct type of parameter.
2404         * stdlib/stdlib.h: Likewise.
2405
2406         * sysdeps/generic/msgsnd.c: Correct type of second parameter.
2407         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
2408         * sysvips/sys/msg.h: Likewise.
2409
2410         * sysdeps/generic/semop.c: Correct type of third parameter.
2411         * sysdeps/unix/sysv/linux/semop.c: Likewise.
2412         * sysvipc/sys/sem.h: Likewise.  Don't include sys/types.h, define
2413         size_t.
2414
2415         * sysdeps/generic/shmget.c: Correct type of second parameter.
2416         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
2417         * sysvips/sys/shm.h: Likewise.  Don't include unistd.h and sys/types.h.
2418         Declare __getpagesize here.
2419
2420         * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
2421         sys/types.h.
2422         * sysdeps/gnu/bits/ipc.h: Likewise.
2423         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
2424         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
2425         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2426         * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
2427         already done.
2428
2429         * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
2430
2431         * debug/versions: Export __cyg_profile_func_enter and
2432         __cyg_profile_func_exit.
2433
2434         * math/bits/mathcalls.h: Pretty print.
2435
2436 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
2437
2438         * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
2439         case for new tzdata.
2440
2441         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
2442         unsigned.
2443         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2444         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2445         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2446         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2447
2448         * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
2449
2450         * sysdeps/generic/ualarm.c (ualarm): Change return value and
2451         parameter type to useconds_t.
2452         * sysdeps/unix/bsd/ualarm.c: Likewise.
2453
2454         * sysdeps/generic/usleep.c (usleep): Change parameter type to
2455         useconds_t.
2456         * sysdeps/unix/sysv/linux/usleep.c: Likewise.
2457         * sysdeps/mach/usleep.c: Likewise.
2458
2459         * locale/weight.h: Include <errno.h>.
2460
2461         * posix/sys/types.h: Define type useconds_t if not done already.
2462         * posix/unistd.h: Likewise.  Use this in ualarm and usleep
2463         declarations.
2464         * sysdeps/generic/bits/types.h: Define type __useconds_t.
2465         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2466         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2467         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2468         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2469         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2470
2471         * dirent/dirent.h (telldir): Change return type to long int.
2472         * sysdeps/generic/telldir.c: Likewise.
2473         * sysdeps/mach/hurd/telldir.c: Likewise.
2474         * sysdeps/unix/telldir.c: Likewise.
2475         * sysdeps/unix/bsd/telldir.c: Likewise.  Fix locking problem.
2476
2477         * locale/weight.h: Set errno if an invalid character is found.
2478
2479 1999-08-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2480
2481         * math/libm-test.c (erfc_test): Add test for example from PR
2482         libc/1259.
2483         (erf_test): Likewise.
2484
2485 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
2486
2487         * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
2488         rewrite.  Patch by Alan Stern <stern@kitsilano.rowland.org>.
2489
2490         * timezone/private.h: Update from tzcode1999e.
2491         * timezone/zic.c: Likewise.
2492
2493         * timezone/africa: Update from tzdata1999e.
2494         * timezone/antarctica: Likewise.
2495         * timezone/asia: Likewise.
2496         * timezone/australasia: Likewise.
2497         * timezone/europe: Likewise.
2498         * timezone/leapseconds: Likewise.
2499         * timezone/northamerica: Likewise.
2500         * timezone/southamerica: Likewise.
2501
2502         * stdio-common/vfprintf.c (process_string_arg): Correct last patch
2503         and write correct number of bytes in case of %ls with precision.
2504         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2505
2506 1999-08-16  Ulrich Drepper  <drepper@cygnus.com>
2507
2508         * nscd/nscd.init: Test for kernel version and make LSB compliant.
2509         Patch by Christian Gafton.
2510
2511         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
2512         O_RSYNC.  Patch by Christian Gafton.
2513
2514         * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
2515         possibly unterminated strings for %ls when a precision is
2516         specified.
2517         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
2518
2519         * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
2520         update_conversion_ptrs.
2521         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2522
2523 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
2524
2525         * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
2526         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2527
2528         * wcsmbs/Makefile (tests): Add tst-wcsnlen.
2529         * wcsmbs/tst-wcsnlen.c: New file.
2530
2531 1999-08-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2532
2533         * libio/ioputs.c (_IO_puts): Add missing brace.
2534
2535 1999-07-20  Geoff Keating  <geoffk@cygnus.com>
2536
2537         * math/libm-test.c: Tweak deltas for a clean run on ppc.
2538
2539 1999-08-10  H.J. Lu  <hjl@gnu.org>
2540
2541         * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
2542         (vfprintf): Likewise.
2543         * stdio-common/vfscanf.c (ORIENT): Likewise.
2544         * libio/genops.c (__underflow): Likewise.
2545         (__uflow): Likewise.
2546         * libio/iofputs.c (_IO_fputs): Likewise.
2547         * libio/ioftell.c (_IO_ftell): Likewise.
2548         * libio/iofwrite.c (_IO_fwrite): Likewise.
2549         * libio/ioputs.c (_IO_puts): Likewise.
2550         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
2551         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
2552
2553 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
2554
2555         * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
2556
2557 1999-08-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2558
2559         * manual/job.texi (Process Group Functions): Document getpgid,
2560         getsid.
2561
2562 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
2563
2564         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
2565         initialize si_pid from it.
2566         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
2567         parameter.
2568         * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
2569         * rt/aio_misc.h (struct waitlist): Add caller_pid element.
2570         (struct requestlist): Likewise.
2571         Adjust prototypes of __aio_notify_only and __aio_sigqueue.
2572         * rt/aio_notify.c (__aio_notify_only): Take extra parameter.  Pass it
2573         to __aio_sigqueue.
2574         (__aio_notify): Pass caller PID to __aio_notify_only.
2575         * rt/aio_suspend.c: Initialize caller_pid.
2576         * rt/lio_listio.c: Likewise.
2577         * rt/lio_listio64.c: Likewise.
2578
2579         * rt/lio_listio.c: If nothing has to be done free mutex before
2580         signalling.
2581         * rt/lio_listio64.c: Likewise.
2582
2583 1999-08-10  H.J. Lu  <hjl@gnu.org>
2584
2585         * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
2586         handling.
2587
2588 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
2589
2590         * elf/elf.h: Define ElfXX_Versym.
2591         * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
2592         definition.
2593
2594         * stdio-common/vfprintf.c (process_string_arg): Handle precisions
2595         for string output correctly in the wide character case.
2596         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
2597
2598         * intl/locale.alias: Add catalan.
2599
2600 1999-08-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2601
2602         * manual/install.texi (Configuring and compiling): Mention CFLAGS.
2603
2604 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
2605
2606         * po/pt_BR.po: New file.
2607
2608 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2609
2610         * math/libm-test.c (yn_test): Adjust deltas for i386.
2611         (ccosh_test): Likewise.
2612         (jn_test): Likewise.
2613
2614 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
2615
2616         * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
2617
2618 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
2619
2620         * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
2621         problem.
2622
2623 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2624
2625         * configure.in: install-sh lives now in scripts subdir.
2626         PR libc/1255 (bug 4).
2627
2628 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
2629
2630         * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
2631         version.
2632
2633         * po/fr.po: Update.
2634
2635 1999-08-11  Thorsten Kukuk  <kukuk@suse.de>
2636
2637         * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
2638
2639 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
2640
2641         * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
2642         exponent.
2643
2644 1999-08-10  Andreas Schwab  <schwab@suse.de>
2645
2646         * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
2647         header.
2648
2649 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
2650
2651         * elf/elf.h: Added definition of ELFOSABI_ARM.
2652         * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
2653         VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
2654         object's header and ABI values are acceptable.
2655         (VALID_ELF_HEADER): New macro; provide default definition.
2656         (VALID_ELF_OSABI): New macro; provide default definition.
2657         (VALID_ELF_ABIVERSION): New macro; provide default definition.
2658         * sysdeps/arm/dl-machine.h Define ARM specific versions of
2659         VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
2660
2661 1999-08-09  Andreas Schwab  <schwab@suse.de>
2662
2663         * inet/tst-ipnode.c (main): Don't compare integer with NULL.
2664
2665 1999-08-09  Thorsten Kukuk  <kukuk@suse.de>
2666
2667         * sunrpc/svc_run.c (svc_run): Free my_pollfd.
2668
2669 1999-08-09  Andreas Schwab  <schwab@suse.de>
2670
2671         * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
2672
2673 1999-08-08  Ulrich Drepper  <drepper@cygnus.com>
2674
2675         * sysdeps/ieee754/ieee754.h: Handle platforms with special
2676         __FLOAT_WORD_ORDER.  Patch by Joel Klecker <jk@espy.org>.
2677
2678         * string/bits/string2.h: Mark void* operations as extensions.
2679         * sysdeps/i386/i486/bits/string.h: Likewise.
2680
2681         * debug/Makefile (routines): Add noophooks.
2682         (extra-libs): Add libpcprofile.  Add rules to build libpcprofile.
2683         * debug/noophooks.c: New file.
2684         * debug/pcprofile.c: New file.
2685
2686 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
2687
2688         * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
2689         systems which allow using the functions also on non-seekable
2690         devices.
2691
2692         * resolv/res_send.c (res_send): Recompute timeout for poll for
2693         each jump to `wait'.
2694
2695         * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
2696         braces to avoid warnings.
2697         (IN6ADDR_LOOPBACK_INIT): Likewise.
2698
2699         * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
2700         MSG_DONTWAIT).
2701
2702 1999-08-06  H.J. Lu  <hjl@gnu.org>
2703
2704         * malloc/malloc.c: Initialize __libc_pagesize early.
2705
2706 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
2707
2708         * string/string-inlines.c: Undefined __USE_STRING_INLINES before
2709         defining it.
2710
2711         * inet/Makefile (tests): Add tst-ipnode.
2712         * inet/tst-ipnode.c: New file.
2713
2714 1999-08-06  Andreas Schwab  <schwab@suse.de>
2715
2716         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
2717         New definitions.
2718         (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
2719         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
2720         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
2721         New definitions.
2722         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
2723         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
2724
2725 1999-08-06  Jakub Jelinek  <jj@ultra.linux.cz>
2726
2727         * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
2728         * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
2729         * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
2730
2731 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
2732
2733         * resolv/res_send.c (res_send): Don't test file descriptor for
2734         range, we use poll now.  [PR libc/1240]
2735
2736 1999-08-05  Ulrich Drepper  <drepper@cygnus.com>
2737
2738         * libio/genops.c (_IO_flush_all): Don't access elements beyond what
2739         2.0 defined if they are not available.
2740
2741 1999-08-05  Thorsten Kukuk  <kukuk@suse.de>
2742
2743         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
2744         Define.
2745
2746 1999-08-04  Ulrich Drepper  <drepper@cygnus.com>
2747
2748         * rt/aio_read.c: Fix return value.
2749         * rt/aio_read64.c: Likewise.
2750         Reported by Christian Gafton.
2751
2752         * rt/aio_write.c: Fix return value.
2753         * rt/aio_write64.c: Likewise.
2754         * rt/aio_fsync.c: Likewise.
2755
2756         * rt/aio_misc.c: Set errno at correct place.
2757
2758         * rt/aio_fsync.c: Test OP parameter for correct values.
2759
2760         * hesiod/hesiod.c: Avoid emitting rcsid in object file.
2761
2762 1999-08-04  Andreas Schwab  <schwab@suse.de>
2763
2764         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
2765         Initialize result to one.
2766         (GET_NPROCS_CONF_PARSER): Likewise.
2767
2768 1999-08-03  Ulrich Drepper  <drepper@cygnus.com>
2769
2770         * inet/ether_hton.c: Pass errno pointer to NSS function.
2771         * inet/getnetgrent_r.c: Likewise.
2772         Reported by Marty Leisner <leisner@rochester.rr.com>.
2773
2774 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
2775
2776         * nis/nis_callback.c: Fix port problem on big-endian machines
2777         * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
2778         fields are always 32 bit.
2779         Patches from Paul Mackerras <paulus@cs.anu.edu.au>
2780
2781         * nis/nss_nis/nis-service.c: Remove htons, port is always in
2782         network-byte-order.
2783         * nis/nss_nisplus/nisplus-service.c: Rename number to port.
2784
2785 1999-08-03  Andreas Schwab  <schwab@suse.de>
2786
2787         * sysdeps/posix/sigset.c: Unblock the signal after setting its
2788         disposition.  Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
2789         avoid two calls to sigprocmask.
2790
2791 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
2792
2793         * sysdeps/generic/s_nexttowardf.c: Fix typo.
2794
2795 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
2796
2797         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
2798         Only allow rt signal frames. No SA_SIGINFO signals will have the
2799         siginfo_t just not filled out with SI_NOINFO code.
2800         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
2801         (register_dump): Take the above change into account.
2802         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
2803         (rt_signal_frame): Likewise.
2804
2805         * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
2806
2807 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
2808
2809         * nis/nis_callback.c (internal_nis_do_callback): Use poll()
2810         instead of select().
2811
2812 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
2813
2814         * sysdeps/generic/s_nextafter.c: Define __nexttoward and
2815         nexttoward so something else so that aliasing works.
2816
2817 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
2818
2819         * sysdeps/generic/math_ldbl.h: Fix typo.
2820         * sysdeps/generic/strtold.c: Remove unbalanced #endif.
2821         * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
2822
2823 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
2824
2825         * elf/resolvfail.c: Include stdio.h.  Also test dlerror.
2826
2827 1999-08-01  Ulrich Drepper  <drepper@cygnus.com>
2828
2829         * elf/Makefile (tests): Add resolvfail.  Add rules to build the
2830         program.
2831         * elf/resolvfail.c: New file.
2832
2833         * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
2834         pass it to _dl_lookup_symbol.
2835
2836         * elf/dl-error.c (_dl_signal_error): Optimize string generation a
2837         bit.  Reword message.
2838
2839         * dlfcn/dlerror.c: Make code thread-safe.
2840
2841 1999-07-31  Roland McGrath  <roland@baalperazim.frob.com>
2842
2843         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
2844         initializer in CHECK: a bit size, not the type code repeated!
2845
2846 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
2847
2848         * string/tester.c: Add tests with constant arguments for strcpy
2849         and stpcpy.
2850
2851 1999-07-31  H.J. Lu  <hjl@gnu.org>
2852
2853         * string/bits/string2.h (__strcpy_small): Fix a typo.
2854
2855 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
2856
2857         * Makeconfig (link-libc): Always define it, not only for shared
2858         builds.
2859
2860         * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
2861         * sysdeps/i386/fpu/e_powf.S: Likewise.
2862         * sysdeps/i386/fpu/e_powl.S: Likewise.  [PR libc/1213].
2863
2864         * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
2865         * sysdeps/generic/e_gammal_r.c: Likewise.  [PR libc/1212].
2866
2867 1999-07-30  Andreas Schwab  <schwab@suse.de>
2868
2869         * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
2870         definition.
2871         (__get_nprocs): Use it.
2872         (__get_nprocs_conf): Define as separate function if
2873         GET_NPROCS_CONF_PARSER is defined.
2874         * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
2875
2876         * include/sys/sysinfo.h: New file.
2877         * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
2878         interface.
2879         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
2880
2881 1999-07-30  H.J. Lu  <hjl@gnu.org>
2882
2883         * libio/iofflush.c (fflush_unlocked): Weak aliase if
2884         _IO_MTSAFE_IO is not defined.
2885         * libio/clearerr.c (clearerr_unlocked): Likewise.
2886         * libio/feof.c (feof_unlocked): Likewise.
2887         * libio/ferror.c (ferror_unlocked): Likewise.
2888         * libio/fputc.c (fputc_unlocked): Likewise.
2889         * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
2890         * libio/getchar.c (getchar_unlocked): Likewise.
2891         * libio/putc.c (putc_unlocked): Likewise.
2892         * libio/putchar.c (putchar_unlocked): Likewise.
2893
2894 1999-07-30  Thorsten Kukuk  <kukuk@suse.de>
2895
2896         * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
2897           svc_max_pollfd and svc_pollfd to GLIBC_2.2
2898         * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
2899           for svc_run/poll interface.
2900         * sunrpc/rpc/types.h: Add rpc*_t typedefs.
2901         * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
2902           global variable.
2903         * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
2904           rewrite other svc_getreq* functions to use svc_getreq_common.
2905         * sunrpc/svc_run.c: Use poll().
2906
2907 1999-07-30  Andreas Schwab  <schwab@suse.de>
2908
2909         * Makerules: Put sysd-versions and Versions.all on
2910         postclean-generated instead of common-generated.
2911
2912 1999-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2913
2914         * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
2915         around and CLOCKS_PER_SEC is 1e6.
2916
2917 1999-07-30  Ulrich Drepper  <drepper@cygnus.com>
2918
2919         * configure.in: Add test for local label subtraction.
2920         * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
2921         * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
2922         labels to reduce number of runtime relocations and move jump
2923         tables in read-only seciton.
2924
2925         * malloc/malloc.c (ptmalloc_init): Correct last patch.  The
2926         assignment cannot be moved.
2927
2928 1999-07-29  H.J. Lu  <hjl@gnu.org>
2929
2930         * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
2931         if no threads are used.
2932
2933         * libio/iofwrite.c: Add weak alias for _unlocked function if not
2934         _IO_MTSAFE_IO.
2935         * libio/iofread.c: Likewise.
2936         * libio/iofgets.c: Likewise.
2937         * libio/iofputs.c: Likewise.
2938
2939         * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
2940         definition.
2941
2942         * stdlib/mbtowc.c: Include <string.h>.
2943         * stdlib/wctomb.c: Likewise.
2944         * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
2945         * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
2946
2947         * misc/mntent_r.c: Include <alloca.h>.
2948         * elf/dl-runtime.c: Likewise.
2949
2950 1999-07-29  Andreas Schwab  <schwab@suse.de>
2951
2952         * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
2953         all floating point formats supported by gcc.  Error out for
2954         unhandled precisions.
2955         * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
2956         * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
2957         * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
2958
2959 1999-07-29  Ulrich Drepper  <drepper@cygnus.com>
2960
2961         * sysdeps/generic/setenv.c: Move setenv code in new function
2962         __add_to_environ.  Add new parameter specifying already
2963         constructed string for the environment.
2964         (setenv): Call __add_to_environ with new parameter set to NULL.
2965         (unsetenv): Really test all elements for duplicated name.  Missed those
2966         cases where the two are following each other.
2967         * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
2968         * include/stdlib.h: Add prototype of __add_to_environ.
2969         * stdlib/tst-environ.c: New file.
2970         * stdlib/Makefile (tests): Add tst-environ.
2971
2972         * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
2973
2974         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
2975         argument in realloc call.
2976         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
2977         Likewise.
2978         Reported by Danny Braniss <danny@cs.huji.ac.il>.
2979
2980 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
2981
2982         * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
2983         to print.
2984         * misc/efgcvt_r.c: Likewise.
2985         * misc/qefgcvt.c: Likewise.
2986         * misc/qefgcvt_r.c: Likewise.
2987         * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
2988         anymore.
2989
2990 1999-07-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2991
2992         * manual/math.texi (FP Function Optimization): Mention drawbacks.
2993
2994 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
2995
2996         * stdlib/mblen.c: Use static state.
2997         Reported by Bruno Haible <haible@ilog.fr>.
2998
2999         * stdlib/mbtowc.c: Reset state for s == NULL.
3000         * stdlib/wctomb.c: Likewise.
3001         Reported by Bruno Haible <haible@ilog.fr>.
3002
3003         * stdlib/mbstowcs.c: Do not use global state.
3004         Reported by Bruno Haible <haible@ilog.fr>.
3005
3006 1999-07-28  Andeas Schwab  <schwab@suse.de>
3007
3008         * iconvdata/Makefile: Don't try to run iconv tests when cross
3009         compiling.
3010
3011 1999-07-27  Mark Kettenis  <kettenis@gnu.org>
3012
3013         * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
3014         assembler code to switch stacks and call init1 outside this
3015         function.  Inside `init' the code was optimized away by gcc
3016         2.95 since it was "clearly" unreachable.
3017         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
3018         Do something similar for the trampoline code.
3019
3020 1999-07-27  Ulrich Drepper  <drepper@cygnus.com>
3021
3022         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
3023         for the hinted protocol.
3024
3025 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3026
3027         * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
3028
3029 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
3030
3031         * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
3032         * elf/dl-lookup.c (_dl_setup_hash): Likewise.
3033         * elf/dl-load.c (_dl_map_object): Likewise.
3034         * elf/do-lookup.h (do_lookup*): Likewise.
3035         * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
3036         * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
3037         as uint64_t.
3038         * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
3039
3040 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
3041
3042         * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
3043         * sysdeps/generic/getpgrp.c: Likewise.
3044         * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
3045         * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
3046         Patch by John Tobey <jtobey@banta-im.com>.
3047
3048         * sysdeps/posix/wait3.c: Help compiling in presence of
3049         __transparent_union__.  Reported by John Tobey <jtobey@banta-im.com>.
3050
3051 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
3052
3053         * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
3054         as much as possible. Declare them using .register pseudo-op if they
3055         are still used.
3056         * sysdeps/sparc/sparc64/lshift.S: Likewise.
3057         * sysdeps/sparc/sparc64/memchr.S: Likewise.
3058         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3059         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3060         * sysdeps/sparc/sparc64/memset.S: Likewise.
3061         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3062         * sysdeps/sparc/sparc64/rshift.S: Likewise.
3063         * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
3064         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3065         * sysdeps/sparc/sparc64/strcat.S: Likewise.
3066         * sysdeps/sparc/sparc64/strchr.S: Likewise.
3067         * sysdeps/sparc/sparc64/strcmp.S: Likewise.
3068         * sysdeps/sparc/sparc64/strcpy.S: Likewise.
3069         * sysdeps/sparc/sparc64/strcspn.S: Likewise.
3070         * sysdeps/sparc/sparc64/strlen.S: Likewise.
3071         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3072         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3073         * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
3074         * sysdeps/sparc/sparc64/strspn.S: Likewise.
3075         * sysdeps/sparc/sparc64/sub_n.S: Likewise.
3076         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3077         Optimize trampoline code for .plt4-.plt32767.
3078         Fix trampolines for .plt32768+.
3079
3080 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
3081
3082         * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
3083         -mcpu=v8.
3084         * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
3085         * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
3086         libc's private use (as assembly routine clobber it anyway).
3087
3088 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3089
3090         * README.template (configurations): The crypt add-on has a new
3091         ftp site.
3092         * manual/install.texi (Installation): Likewise.
3093
3094 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
3095
3096         * time/time.h: Add forward for struct sigevent.  Unix98 maybe
3097         requires to have a full definition but we wait for a bug report
3098         based on the test suite.
3099
3100         * sysdeps/generic/clock_getres.c: New file.
3101         * sysdeps/generic/clock_gettime.c: New file.
3102         * sysdeps/generic/clock_settime.c: New file.
3103         * sysdeps/generic/timer_create.c: New file.
3104         * sysdeps/generic/timer_delete.c: New file.
3105         * sysdeps/generic/timer_getoverr.c: New file.
3106         * sysdeps/generic/timer_gettime.c: New file.
3107         * sysdeps/generic/timer_settime.c: New file.
3108
3109         * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
3110         CLOCK_REALTIME, and TIMER_ABSTIME.
3111         * sysdeps/mach/hurd/bits/time.h: Likewise.
3112         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
3113         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
3114
3115         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
3116
3117         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
3118         si_timer2.
3119
3120         * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
3121
3122         * time/Makefile (routines): Add clock_getres, clock_gettime,
3123         clock_setres, timer_create, timer_delete, timer_getoverr,
3124         timer_gettime, and timer_settime.
3125
3126         * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
3127         POSIX.1b.  Add prototypes for clock and timer functions.
3128
3129 1999-07-26  Roland McGrath  <roland@baalperazim.frob.com>
3130
3131         * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
3132         Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
3133
3134 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
3135
3136         * stdlib/wcstombs.c: Do not use global state.
3137         Reported by Bruno Haible <haible@ilog.fr>.
3138
3139         * wcsmbs/wctob.c: Avoid sign extension when returning character.
3140         Reported by Bruno Haible <haible@ilog.fr>.
3141
3142         * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
3143         of wide characters to convert do it right and don't overestimate
3144         by multiplying with MB_CUR_MAX.
3145         Reported by Bruno Haible <haible@ilog.fr>.
3146
3147 1999-07-26  Jakub Jelinek  <jj@ultra.linux.jz>
3148
3149         * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
3150         (__stpcpy_small): Likewise.
3151         Union has no __uc member but __c.
3152
3153 1999-07-26  Andreas Schwab  <schwab@suse.de>
3154
3155         * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
3156
3157 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
3158
3159         * libio/iofclose.c (_IO_new_fclose): Only fall back on
3160         _IO_old_fclose if doing versioning.
3161
3162         * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
3163         them appropriately.
3164         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3165
3166         * misc/mntent_r.c: Allow spaces and tabs in entry names by
3167         encoding these characters.
3168         * misc/tst-mntent.c: Add test case for addmntent and getmntent.
3169
3170         * string/bits/string2.h: Fix aliasing problems.
3171         * sysdeps/i386/i486/bits/string.h: Likewise.
3172         * sysdeps/i386/bits/string.h: Likewise.
3173
3174 1998-12-28  Geoff Keating  <geoffk@ozemail.com.au>
3175
3176         * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
3177         * elf/rtld.c (dl_main): Don't call malloc() between
3178         re-relocating the dynamic linker and running the application's crt0.
3179
3180 1999-07-21  Paul D. Smith  <psmith@gnu.org>
3181
3182         * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
3183         glob.h to get __P() macro.
3184
3185         * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
3186         not ANSI.
3187         (__strchrnul): This won't exist outside GLIBC, so create one.
3188
3189 1999-07-25  Jakub Jelinek   <jj@ultra.linux.cz>
3190
3191         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
3192         __ino64_t should be 32bit unsigned type on sparc32.
3193         Define __off64_t to __quad_t instead of __int64_t.
3194         Make __pic_pid_t unsigned on sparc32.
3195
3196 1999-07-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3197
3198         * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
3199         in bash 2.03.
3200
3201 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
3202
3203         * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
3204         of an error.  Patch by Changwoo Ryu <cwryu@debian.org>.
3205
3206 1999-07-24  Ulrich Drepper  <drepper@cygnus.com>
3207
3208         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
3209         accesses.
3210
3211         * resolv/res_send.c: Add locks for res_send and res_close use.
3212
3213         * elf/Makefile (dl-routines): Add preinit.
3214         * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
3215         * elf/link.h (struct link_map): Add new field l_preinitcount.
3216         * elf/dl-preinit.c: New file.
3217         * elf/dynamic-link.h: Initialize l_preinitcount.
3218         * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
3219
3220         * elf/dl-fini.c: Handle DT_FINI_ARRAY.
3221         * elf/link.h (struct link_map): Remove l_init_running.  Add l_runcount
3222         and l_initcount.
3223         * elf/dl-init.c: Handle DT_INIT_ARRAY.
3224         * elf/dynamic-link.h: Change parameters.  Now only get link_map
3225         pointer.  Calculate l_initcount.
3226
3227         * elf/link.h (struct link_map): Add l_runpath_dirs.
3228         * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
3229         * elf/dl-load.c: Pretty print.
3230         (decompose_rpath): Take new parameter with info from where the path
3231         comes.  Pass it the fillin_rpath.
3232         (_dl_init_paths): Initialize l_runpath_dirs.
3233         (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
3234         Search using RUNPATH after LD_LIBRARY_PATH.
3235         * elf/dl-support.c: Adjust comment.
3236         * elf/rtld.c: Adjust help message.
3237
3238 1999-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3239
3240         * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
3241         interface.
3242
3243 1999-07-23  Roland McGrath  <roland@baalperazim.frob.com>
3244
3245         * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
3246         match BSD value; previous value of 1<<8 was a typo.  I bet nothing
3247         ever used this, so I'm not going to worry about compatibility.
3248         [__USE_GNU] (IUCLC, OLCUC): New macros.
3249
3250 1999-07-23  Ulrich Drepper  <drepper@cygnus.com>
3251
3252         * include/libintl.h: Undefine N_ and _ first to avoid warnings.
3253
3254         * elf/elf.h: Add ET_LOOS and ET_HIOS.
3255         Add various EM_* constants.
3256         Add SHN_LOOS and SHN_HIOS.
3257         Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
3258         Add SHF_MERGE and SHF_STRINGS.
3259         (ElfXX_Sym): Update description of st_other field.
3260         Add STT_COMMON.
3261         Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
3262         Add STV_* macros.
3263         Update comment on DT_RPATH.  Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
3264         DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
3265         Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
3266
3267         * posix/unistd.h: Move declaration of __libc_enable_secure to...
3268         * include/unistd.h: ...here.
3269
3270         * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
3271         * elf/dl-deps.c (expand_dst): Likewise.
3272
3273         * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
3274         based on DT_FLAGS value.
3275
3276         * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
3277         Add test for symbols marked STV_HIDDEN.
3278         * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
3279         add undef_map.  Compute reference_name locally.  Update call to
3280         do_lookup.
3281         (_dl_lookup_symbol_skip): Likewise.
3282         (_dl_lookup_versioned_symbol): Likewise.
3283         (_dl_lookup_versioned_symbol_skip): Likewise.
3284         * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
3285         * elf/dl-runtime.c: Likewise.
3286         * elf/dl-sym.c: Likewise.
3287         * elf/dl-symbol.c: Likewise.
3288         * elf/ldsodefs.h: Adjust prototypes.
3289
3290         * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
3291         handle appropriately.  Add comment about DT_TEXTREL.
3292         * elf/dl-runtime.c: Likewise.
3293
3294 1999-07-21  Roland McGrath  <roland@baalperazim.frob.com>
3295
3296         * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
3297         * elf/ldsodefs.h: Declare it.
3298         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
3299         instead of assert.
3300         (elf_machine_lazy_rel): Likewise.  Take new arg MAP.
3301         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3302         (elf_machine_lazy_rel): Likewise.
3303         * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
3304         (elf_machine_lazy_rel): Likewise.
3305         * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
3306         (elf_machine_lazy_rel): Likewise.
3307         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
3308         (elf_machine_lazy_rel): Likewise.
3309         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3310         (elf_machine_lazy_rel): Likewise.
3311         * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
3312         * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
3313         (elf_machine_lazy_rel): Likewise.
3314         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
3315         (elf_machine_lazy_rel): Likewise.
3316         * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
3317         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
3318         _dl_reloc_bad_type instead of _dl_signal_error.
3319         * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
3320
3321 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
3322
3323         * sysdeps/mach/_strerror.c: Include <libintl.h>.
3324
3325 1999-07-19  Roland McGrath  <roland@baalperazim.frob.com>
3326
3327         * hurd/hurdsig.c (_hurd_internal_post_signal): If a
3328         hurd_signal_preemptor matches but its `preemptor' field is null, use
3329         its `handler' field directly.  This is to comply with behavior
3330         documented in <hurd/sigpreempt.h>.
3331
3332 1999-07-21  Andreas Schwab  <schwab@suse.de>
3333
3334         * libio/fileops.c (_IO_new_file_underflow): Set error indicator
3335         when reading from write-only stream.
3336         * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
3337         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3338
3339 1999-07-21  Andreas Schwab  <schwab@suse.de>
3340
3341         * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
3342         NULL.
3343
3344 1999-07-21  Mark Kettenis  <kettenis@gnu.org>
3345
3346         * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
3347         <hurd/fd.h>.
3348         * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
3349         <hurd/fd.h>.
3350         (__libc_write): Call __pwrite instead of __pread.
3351
3352 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
3353
3354         * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
3355         __vm_allocate calls.
3356
3357         * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>.  Fix typo.
3358         * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
3359
3360         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
3361         _hurd_fd_read with new OFFSET argument set to -1.
3362         (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
3363         to -1.
3364
3365 1999-07-17  Roland McGrath  <roland@baalperazim.frob.com>
3366
3367         * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
3368         descriptor table sent in the RPC.
3369
3370 1999-07-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3371
3372         * time/strptime.c [!_LIBC]: Fix __mon_day size.  Reported by
3373         bill@taniwha.org [PR libc/1211].
3374
3375 1999-07-19  Andreas Schwab  <schwab@suse.de>
3376
3377         * libio/Makefile (routines): Add fwprintf.
3378
3379         PowerPC has own version of w_sqrt.c and w_sqrtf.c.
3380         * math/w_sqrt.c: Moved to ...
3381         * sysdeps/generic/w_sqrt.c: ... here.
3382         * math/w_sqrtf.c: Moved to ...
3383         * sysdeps/generic/w_sqrtf.c: ... here.
3384
3385         * Make-dist (generic-dirs): New variable.
3386         (try-sysdeps, +sysdep-names): Use it.
3387         * extra-lib.mk (all-$(lib)-routines): New variable.  Use it
3388         instead of $(lib)-routines.
3389         * elf/Makefile (distribute): Add dl-cache.h.
3390         * db2/Makefile (distribute): Add all new files.
3391         * iconvdata/Makefile (distribute): Don't distribute CVS
3392         directory.
3393         * math/Makefile (distribute): Remove machine/endian.h, add
3394         math_ldbl.h.
3395         * stdio-common/Makefile (distribute): Add _itowa.h.
3396         * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
3397         * sysdeps/gnu/Dist: Add eval.c
3398         * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
3399         dlfcn]: Add to this instead of libdl-routines.
3400         * sysdeps/ieee754/ldbl-128/Dist: New file.
3401         * sysdeps/mach/hurd/Dist: Add siglist.h
3402         * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
3403
3404 1999-07-18  Ulrich Drepper  <drepper@cygnus.com>
3405
3406         * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
3407
3408         * inet/Makefile (routines): Add getipnodebyad and freehostent.
3409         * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
3410         * inet/freehostent.c: New file.
3411         * inet/getipnodebyad.c: New file.
3412         * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
3413         and getipnodebyname.  The latter comes soon.
3414         * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
3415         Add support for getipnode* functions.
3416
3417         * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
3418         Set h_aliases to NULL and not to a pointer to an array with a NULL
3419         pointer following XNS 5.2.
3420
3421         * posix/sched.h: Remove internal interfaces.
3422         * include/sched.h: Add internal interfaces.
3423
3424         * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
3425
3426         * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
3427
3428         * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
3429         and return an error in this case.
3430         * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
3431         available.
3432
3433 1999-07-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3434
3435         * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
3436         1999-07-17 and adjust len parameter.
3437         * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
3438         * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
3439         * manual/socket.texi (Host Names): Likewise.
3440         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
3441         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
3442         Likewise.
3443         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
3444         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
3445         (ht_gethostbyaddr): Likewise.
3446         (_gethtbyaddr): Likewise.
3447
3448 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
3449
3450         * resolv/netdb.h: Adjust parameters of gethostbyaddr and
3451         gethostbyaddr_r.
3452         * include/netdb.h: Likewise.
3453         * inet/gethstbyad.c: Correct type of len parameter.
3454         * inet/gethstbyad_r.c: Likewise.
3455
3456         * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
3457
3458 1999-07-17  Zack Weinberg  <zack@rabi.columbia.edu>
3459
3460         * include/libc-symbol.h: Clean up definitions of weak_alias,
3461         strong_alias, symbol_version, etc. etc.
3462         * posix/getopt.h: Use ctype.h to get features.h included, and don't
3463         include it at all if __GNU_LIBRARY__ is already defined.
3464
3465 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
3466
3467         * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
3468
3469         * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
3470
3471         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
3472         type for tv_usec element.
3473         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
3474         * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
3475         * sysdeps/generic/bits/time.h: Likewise.
3476         * sysdeps/mach/hurd/bits/time.h: Likewise.
3477         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3478         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3479         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3480         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
3481         * sysdeps/generic/bits/types.h: Likewise.
3482         * posix/sys/types.h: Define suseconds_t for X/Open.
3483
3484 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
3485
3486         * stdio-common/bug1.c: Avoid memory leak.
3487
3488         * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
3489         program deterministic.
3490         * sysdeps/i386/fpu/e_powf.S: Likewise.
3491         * sysdeps/i386/fpu/e_powl.S: Likewise.
3492
3493 1999-07-15  Jakub Jelinek  <jj@ultra.linux.cz>
3494
3495         * math/Makefile: Add t_sincosl and k_sincosl support routines.
3496         * math/math_private.h (__kernel_sincosl): New declaration.
3497         * sysdeps/generic/t_sincosl.c: New file.
3498         * sysdeps/generic/k_sincosl.c: New file.
3499         * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
3500         * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
3501         * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
3502         * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
3503         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
3504         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
3505         __kernel_sincosl.
3506         * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
3507         definition.
3508
3509 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
3510
3511         * posix/unistd.h: Use __PMT for exit.
3512
3513 1999-07-15  Philip Blundell  <pb@nexus.co.uk>
3514
3515         * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
3516         _outw, _outl): Added to GLIBC_2.1.2.
3517
3518 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
3519
3520         * posix/fnmatch.h: Use __name instead of __string in prototype to
3521         allow use outside glibc.
3522
3523 1999-07-14  Ulrich Drepper  <drepper@cygnus.com>
3524
3525         * time/tst-strptime.c (main): Add one more test case.  Produce
3526         output even when result is ok.
3527
3528         * time/strptime.c (get_number): Handle number parsing more
3529         consistent with strftime.  Only parse a given number of digits.
3530         (get_alt_number):  Fix implementation.  Was broken.
3531         (strptime_internal): Add third parameter to get_number and
3532         get_alt_number calls.
3533
3534 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
3535
3536         * elf/ldd.bash.in: Add support for multiple dynamic linkers.
3537         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
3538         try both 32bit and 64bit dynamic linker.
3539         * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
3540         script on all sparc targets.
3541
3542 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
3543
3544         * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
3545         to int.
3546
3547 1999-07-13  Andreas Schwab  <schwab@suse.de>
3548
3549         * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
3550         inlining.  Fixes PR libc/1198.
3551
3552 1999-07-14  Andreas Schwab  <schwab@suse.de>
3553
3554         * Makerules (common-generated): Don't prepend $(common-objpfx).
3555
3556 1999-07-12  Jakub Jelinek  <jj@ultra.linux.cz>
3557
3558         * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
3559         as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
3560         * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
3561         quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
3562         macro.
3563         * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
3564         instead of ieee754.
3565         * sysdeps/arm/Implies: Likewise.
3566         * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
3567         ieee754/ldbl-96 instead of ieee754.
3568         * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
3569         * sysdeps/generic/e_atanhl.c: New file.
3570         * sysdeps/generic/e_coshl.c: New file.
3571         * sysdeps/generic/e_sinhl.c: New file.
3572         * sysdeps/generic/e_gammal_r.c: New file.
3573         * sysdeps/generic/e_hypotl.c: New file.
3574         * sysdeps/generic/s_cbrtl.c: New file.
3575         * sysdeps/generic/s_asinhl.c: New file.
3576         * sysdeps/generic/s_tanhl.c: New file.
3577         * sysdeps/generic/w_expl.c: New file.
3578         * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
3579         instead of ieee754.
3580         * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
3581         ieee754/ldbl-96 instead of ieee754.
3582         * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
3583         * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
3584         printf_fphex.
3585         * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
3586         instead of ieee754.
3587         * sysdeps/mips/mips64/Implies: Likewise.
3588         * sysdeps/powerpc/Implies: Likewise.
3589         * sysdeps/sparc/Implies: Remove.
3590         * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
3591         ieee754/dbl-64.
3592         * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
3593         and ieee754/ldbl-128.
3594
3595         * sysdeps/sparc/bits/wordsize.h: Remove.
3596         * sysdeps/sparc/fpu/bits/mathinline.h: New file.
3597         * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
3598         only for sparc32.
3599         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
3600         * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
3601         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
3602         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
3603         * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
3604         support.
3605
3606         * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
3607         of carries. Optimize.
3608
3609         * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
3610         * sysdeps/generic/e_exp10.c: ...here.
3611         * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
3612         * sysdeps/generic/e_exp10f.c: ...here.
3613         * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
3614         * sysdeps/generic/e_exp10l.c: ...here.
3615         * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
3616         * sysdeps/generic/e_scalb.c: ...here.
3617         * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
3618         * sysdeps/generic/e_scalbf.c: ...here.
3619         * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
3620         * sysdeps/generic/e_scalbl.c: ...here.
3621         * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
3622         * sysdeps/generic/s_cacos.c: ...here.
3623         * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
3624         * sysdeps/generic/s_cacosf.c: ...here.
3625         * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
3626         * sysdeps/generic/s_cacosh.c: ...here.
3627         * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
3628         * sysdeps/generic/s_cacoshf.c: ...here.
3629         * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
3630         * sysdeps/generic/s_cacoshl.c: ...here.
3631         * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
3632         * sysdeps/generic/s_cacosl.c: ...here.
3633         * sysdeps/libm-ieee754/s_casin.c: Moved to ...
3634         * sysdeps/generic/s_casin.c: ...here.
3635         * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
3636         * sysdeps/generic/s_casinf.c: ...here.
3637         * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
3638         * sysdeps/generic/s_casinh.c: ...here.
3639         * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
3640         * sysdeps/generic/s_casinhf.c: ...here.
3641         * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
3642         * sysdeps/generic/s_casinhl.c: ...here.
3643         * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
3644         * sysdeps/generic/s_casinl.c: ...here.
3645         * sysdeps/libm-ieee754/s_catan.c: Moved to ...
3646         * sysdeps/generic/s_catan.c: ...here.
3647         * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
3648         * sysdeps/generic/s_catanf.c: ...here.
3649         * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
3650         * sysdeps/generic/s_catanh.c: ...here.
3651         * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
3652         * sysdeps/generic/s_catanhf.c: ...here.
3653         * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
3654         * sysdeps/generic/s_catanhl.c: ...here.
3655         * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
3656         * sysdeps/generic/s_catanl.c: ...here.
3657         * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
3658         * sysdeps/generic/s_ccos.c: ...here.
3659         * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
3660         * sysdeps/generic/s_ccosf.c: ...here.
3661         * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
3662         * sysdeps/generic/s_ccosh.c: ...here.
3663         * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
3664         * sysdeps/generic/s_ccoshf.c: ...here.
3665         * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
3666         * sysdeps/generic/s_ccoshl.c: ...here.
3667         * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
3668         * sysdeps/generic/s_ccosl.c: ...here.
3669         * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
3670         * sysdeps/generic/s_cexp.c: ...here.
3671         * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
3672         * sysdeps/generic/s_cexpf.c: ...here.
3673         * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
3674         * sysdeps/generic/s_cexpl.c: ...here.
3675         * sysdeps/libm-ieee754/s_clog.c: Moved to ...
3676         * sysdeps/generic/s_clog.c: ...here.
3677         * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
3678         * sysdeps/generic/s_clog10.c: ...here.
3679         * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
3680         * sysdeps/generic/s_clog10f.c: ...here.
3681         * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
3682         * sysdeps/generic/s_clog10l.c: ...here.
3683         * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
3684         * sysdeps/generic/s_clogf.c: ...here.
3685         * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
3686         * sysdeps/generic/s_clogl.c: ...here.
3687         * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
3688         * sysdeps/generic/s_cpow.c: ...here.
3689         * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
3690         * sysdeps/generic/s_cpowf.c: ...here.
3691         * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
3692         * sysdeps/generic/s_cpowl.c: ...here.
3693         * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
3694         * sysdeps/generic/s_cproj.c: ...here.
3695         * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
3696         * sysdeps/generic/s_cprojf.c: ...here.
3697         * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
3698         * sysdeps/generic/s_cprojl.c: ...here.
3699         * sysdeps/libm-ieee754/s_csin.c: Moved to ...
3700         * sysdeps/generic/s_csin.c: ...here.
3701         * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
3702         * sysdeps/generic/s_csinf.c: ...here.
3703         * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
3704         * sysdeps/generic/s_csinh.c: ...here.
3705         * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
3706         * sysdeps/generic/s_csinhf.c: ...here.
3707         * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
3708         * sysdeps/generic/s_csinhl.c: ...here.
3709         * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
3710         * sysdeps/generic/s_csinl.c: ...here.
3711         * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
3712         * sysdeps/generic/s_csqrt.c: ...here.
3713         * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
3714         * sysdeps/generic/s_csqrtf.c: ...here.
3715         * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
3716         * sysdeps/generic/s_csqrtl.c: ...here.
3717         * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
3718         * sysdeps/generic/s_ctan.c: ...here.
3719         * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
3720         * sysdeps/generic/s_ctanf.c: ...here.
3721         * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
3722         * sysdeps/generic/s_ctanh.c: ...here.
3723         * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
3724         * sysdeps/generic/s_ctanhf.c: ...here.
3725         * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
3726         * sysdeps/generic/s_ctanhl.c: ...here.
3727         * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
3728         * sysdeps/generic/s_ctanl.c: ...here.
3729         * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
3730         * sysdeps/generic/s_fdim.c: ...here.
3731         * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
3732         * sysdeps/generic/s_fdimf.c: ...here.
3733         * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
3734         * sysdeps/generic/s_fdiml.c: ...here.
3735         * sysdeps/libm-ieee754/s_fma.c: Moved to ...
3736         * sysdeps/generic/s_fma.c: ...here.
3737         * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
3738         * sysdeps/generic/s_fmaf.c: ...here.
3739         * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
3740         * sysdeps/generic/s_fmal.c: ...here.
3741         * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
3742         * sysdeps/generic/s_fmax.c: ...here.
3743         * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
3744         * sysdeps/generic/s_fmaxf.c: ...here.
3745         * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
3746         * sysdeps/generic/s_fmaxl.c: ...here.
3747         * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
3748         * sysdeps/generic/s_fmin.c: ...here.
3749         * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
3750         * sysdeps/generic/s_fminf.c: ...here.
3751         * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
3752         * sysdeps/generic/s_fminl.c: ...here.
3753         * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
3754         * sysdeps/generic/s_ldexp.c: ...here.
3755         * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
3756         * sysdeps/generic/s_ldexpf.c: ...here.
3757         * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
3758         * sysdeps/generic/s_ldexpl.c: ...here.
3759         * sysdeps/libm-ieee754/s_nan.c: Moved to ...
3760         * sysdeps/generic/s_nan.c: ...here.
3761         * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
3762         * sysdeps/generic/s_nanf.c: ...here.
3763         * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
3764         * sysdeps/generic/s_nanl.c: ...here.
3765         * sysdeps/libm-ieee754/s_significand.c: Moved to ...
3766         * sysdeps/generic/s_significand.c: ...here.
3767         * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
3768         * sysdeps/generic/s_significandf.c: ...here.
3769         * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
3770         * sysdeps/generic/s_significandl.c: ...here.
3771         Avoid conversion from int to double and then to long double.
3772         * sysdeps/libm-ieee754/w_acos.c: Moved to ...
3773         * math/w_acos.c: ...here.
3774         * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
3775         * math/w_acosf.c: ...here.
3776         * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
3777         * math/w_acosh.c: ...here.
3778         * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
3779         * math/w_acoshf.c: ...here.
3780         * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
3781         * math/w_acoshl.c: ...here.
3782         * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
3783         * math/w_acosl.c: ...here.
3784         * sysdeps/libm-ieee754/w_asin.c: Moved to ...
3785         * math/w_asin.c: ...here.
3786         * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
3787         * math/w_asinf.c: ...here.
3788         * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
3789         * math/w_asinl.c: ...here.
3790         * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
3791         * math/w_atan2.c: ...here.
3792         * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
3793         * math/w_atan2f.c: ...here.
3794         * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
3795         * math/w_atan2l.c: ...here.
3796         * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
3797         * math/w_atanh.c: ...here.
3798         * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
3799         * math/w_atanhf.c: ...here.
3800         * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
3801         * math/w_atanhl.c: ...here.
3802         * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
3803         * math/w_cosh.c: ...here.
3804         * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
3805         * math/w_coshf.c: ...here.
3806         * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
3807         * math/w_coshl.c: ...here.
3808         * sysdeps/libm-ieee754/w_drem.c: Moved to ...
3809         * math/w_drem.c: ...here.
3810         * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
3811         * math/w_dremf.c: ...here.
3812         * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
3813         * math/w_dreml.c: ...here.
3814         * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
3815         * math/w_exp10.c: ...here.
3816         * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
3817         * math/w_exp10f.c: ...here.
3818         * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
3819         * math/w_exp10l.c: ...here.
3820         * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
3821         * math/w_exp2.c: ...here.
3822         * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
3823         * math/w_exp2f.c: ...here.
3824         * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
3825         * math/w_exp2l.c: ...here.
3826         * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
3827         * math/w_fmod.c: ...here.
3828         * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
3829         * math/w_fmodf.c: ...here.
3830         * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
3831         * math/w_fmodl.c: ...here.
3832         * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
3833         * math/w_hypot.c: ...here.
3834         * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
3835         * math/w_hypotf.c: ...here.
3836         * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
3837         * math/w_hypotl.c: ...here.
3838         * sysdeps/libm-ieee754/w_j0.c: Moved to ...
3839         * math/w_j0.c: ...here.
3840         * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
3841         * math/w_j0f.c: ...here.
3842         * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
3843         * math/w_j0l.c: ...here.
3844         * sysdeps/libm-ieee754/w_j1.c: Moved to ...
3845         * math/w_j1.c: ...here.
3846         * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
3847         * math/w_j1f.c: ...here.
3848         * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
3849         * math/w_j1l.c: ...here.
3850         * sysdeps/libm-ieee754/w_jn.c: Moved to ...
3851         * math/w_jn.c: ...here.
3852         * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
3853         * math/w_jnf.c: ...here.
3854         * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
3855         * math/w_jnl.c: ...here.
3856         * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
3857         * math/w_lgamma.c: ...here.
3858         * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
3859         * math/w_lgamma_r.c: ...here.
3860         * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
3861         * math/w_lgammaf.c: ...here.
3862         * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
3863         * math/w_lgammaf_r.c: ...here.
3864         * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
3865         * math/w_lgammal.c: ...here.
3866         * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
3867         * math/w_lgammal_r.c: ...here.
3868         * sysdeps/libm-ieee754/w_log.c: Moved to ...
3869         * math/w_log.c: ...here.
3870         * sysdeps/libm-ieee754/w_log10.c: Moved to ...
3871         * math/w_log10.c: ...here.
3872         * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
3873         * math/w_log10f.c: ...here.
3874         * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
3875         * math/w_log10l.c: ...here.
3876         * sysdeps/libm-ieee754/w_logf.c: Moved to ...
3877         * math/w_logf.c: ...here.
3878         * sysdeps/libm-ieee754/w_logl.c: Moved to ...
3879         * math/w_logl.c: ...here.
3880         * sysdeps/libm-ieee754/w_pow.c: Moved to ...
3881         * math/w_pow.c: ...here.
3882         * sysdeps/libm-ieee754/w_powf.c: Moved to ...
3883         * math/w_powf.c: ...here.
3884         * sysdeps/libm-ieee754/w_powl.c: Moved to ...
3885         * math/w_powl.c: ...here.
3886         * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
3887         * math/w_remainder.c: ...here.
3888         * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
3889         * math/w_remainderf.c: ...here.
3890         * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
3891         * math/w_remainderl.c: ...here.
3892         * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
3893         * math/w_scalb.c: ...here.
3894         * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
3895         * math/w_scalbf.c: ...here.
3896         * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
3897         * math/w_scalbl.c: ...here.
3898         * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
3899         * math/w_sinh.c: ...here.
3900         * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
3901         * math/w_sinhf.c: ...here.
3902         * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
3903         * math/w_sinhl.c: ...here.
3904         * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
3905         * math/w_sqrt.c: ...here.
3906         * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
3907         * math/w_sqrtf.c: ...here.
3908         * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
3909         * math/w_sqrtl.c: ...here.
3910         * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
3911         * math/w_tgamma.c: ...here.
3912         * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
3913         * math/w_tgammaf.c: ...here.
3914         * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
3915         * math/w_tgammal.c: ...here.
3916         * sysdeps/libm-i387/e_acos.S: Moved to ...
3917         * sysdeps/i386/fpu/e_acos.S: ...here.
3918         * sysdeps/libm-i387/e_acosf.S: Moved to ...
3919         * sysdeps/i386/fpu/e_acosf.S: ...here.
3920         * sysdeps/libm-i387/e_acosh.S: Moved to ...
3921         * sysdeps/i386/fpu/e_acosh.S: ...here.
3922         * sysdeps/libm-i387/e_acoshf.S: Moved to ...
3923         * sysdeps/i386/fpu/e_acoshf.S: ...here.
3924         * sysdeps/libm-i387/e_acoshl.S: Moved to ...
3925         * sysdeps/i386/fpu/e_acoshl.S: ...here.
3926         * sysdeps/libm-i387/e_acosl.S: Moved to ...
3927         * sysdeps/i386/fpu/e_acosl.S: ...here.
3928         * sysdeps/libm-i387/e_asin.S: Moved to ...
3929         * sysdeps/i386/fpu/e_asin.S: ...here.
3930         * sysdeps/libm-i387/e_asinf.S: Moved to ...
3931         * sysdeps/i386/fpu/e_asinf.S: ...here.
3932         * sysdeps/libm-i387/e_asinl.S: Moved to ...
3933         * sysdeps/i386/fpu/e_asinl.S: ...here.
3934         * sysdeps/libm-i387/e_atan2.S: Moved to ...
3935         * sysdeps/i386/fpu/e_atan2.S: ...here.
3936         * sysdeps/libm-i387/e_atan2f.S: Moved to ...
3937         * sysdeps/i386/fpu/e_atan2f.S: ...here.
3938         * sysdeps/libm-i387/e_atan2l.S: Moved to ...
3939         * sysdeps/i386/fpu/e_atan2l.S: ...here.
3940         * sysdeps/libm-i387/e_atanh.S: Moved to ...
3941         * sysdeps/i386/fpu/e_atanh.S: ...here.
3942         * sysdeps/libm-i387/e_atanhf.S: Moved to ...
3943         * sysdeps/i386/fpu/e_atanhf.S: ...here.
3944         * sysdeps/libm-i387/e_atanhl.S: Moved to ...
3945         * sysdeps/i386/fpu/e_atanhl.S: ...here.
3946         * sysdeps/libm-i387/e_exp.S: Moved to ...
3947         * sysdeps/i386/fpu/e_exp.S: ...here.
3948         * sysdeps/libm-i387/e_exp10.S: Moved to ...
3949         * sysdeps/i386/fpu/e_exp10.S: ...here.
3950         * sysdeps/libm-i387/e_exp10f.S: Moved to ...
3951         * sysdeps/i386/fpu/e_exp10f.S: ...here.
3952         * sysdeps/libm-i387/e_exp10l.S: Moved to ...
3953         * sysdeps/i386/fpu/e_exp10l.S: ...here.
3954         * sysdeps/libm-i387/e_expf.S: Moved to ...
3955         * sysdeps/i386/fpu/e_expf.S: ...here.
3956         * sysdeps/libm-i387/e_expl.S: Moved to ...
3957         * sysdeps/i386/fpu/e_expl.S: ...here.
3958         * sysdeps/libm-i387/e_fmod.S: Moved to ...
3959         * sysdeps/i386/fpu/e_fmod.S: ...here.
3960         * sysdeps/libm-i387/e_fmodf.S: Moved to ...
3961         * sysdeps/i386/fpu/e_fmodf.S: ...here.
3962         * sysdeps/libm-i387/e_fmodl.S: Moved to ...
3963         * sysdeps/i386/fpu/e_fmodl.S: ...here.
3964         * sysdeps/libm-i387/e_hypot.S: Moved to ...
3965         * sysdeps/i386/fpu/e_hypot.S: ...here.
3966         * sysdeps/libm-i387/e_hypotf.S: Moved to ...
3967         * sysdeps/i386/fpu/e_hypotf.S: ...here.
3968         * sysdeps/libm-i387/e_log.S: Moved to ...
3969         * sysdeps/i386/fpu/e_log.S: ...here.
3970         * sysdeps/libm-i387/e_log10.S: Moved to ...
3971         * sysdeps/i386/fpu/e_log10.S: ...here.
3972         * sysdeps/libm-i387/e_log10f.S: Moved to ...
3973         * sysdeps/i386/fpu/e_log10f.S: ...here.
3974         * sysdeps/libm-i387/e_log10l.S: Moved to ...
3975         * sysdeps/i386/fpu/e_log10l.S: ...here.
3976         * sysdeps/libm-i387/e_logf.S: Moved to ...
3977         * sysdeps/i386/fpu/e_logf.S: ...here.
3978         * sysdeps/libm-i387/e_logl.S: Moved to ...
3979         * sysdeps/i386/fpu/e_logl.S: ...here.
3980         * sysdeps/libm-i387/e_pow.S: Moved to ...
3981         * sysdeps/i386/fpu/e_pow.S: ...here.
3982         * sysdeps/libm-i387/e_powf.S: Moved to ...
3983         * sysdeps/i386/fpu/e_powf.S: ...here.
3984         * sysdeps/libm-i387/e_powl.S: Moved to ...
3985         * sysdeps/i386/fpu/e_powl.S: ...here.
3986         * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
3987         * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
3988         * sysdeps/libm-i387/e_remainder.S: Moved to ...
3989         * sysdeps/i386/fpu/e_remainder.S: ...here.
3990         * sysdeps/libm-i387/e_remainderf.S: Moved to ...
3991         * sysdeps/i386/fpu/e_remainderf.S: ...here.
3992         * sysdeps/libm-i387/e_remainderl.S: Moved to ...
3993         * sysdeps/i386/fpu/e_remainderl.S: ...here.
3994         * sysdeps/libm-i387/e_scalb.S: Moved to ...
3995         * sysdeps/i386/fpu/e_scalb.S: ...here.
3996         * sysdeps/libm-i387/e_scalbf.S: Moved to ...
3997         * sysdeps/i386/fpu/e_scalbf.S: ...here.
3998         * sysdeps/libm-i387/e_scalbl.S: Moved to ...
3999         * sysdeps/i386/fpu/e_scalbl.S: ...here.
4000         * sysdeps/libm-i387/e_sqrt.S: Moved to ...
4001         * sysdeps/i386/fpu/e_sqrt.S: ...here.
4002         * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
4003         * sysdeps/i386/fpu/e_sqrtf.S: ...here.
4004         * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
4005         * sysdeps/i386/fpu/e_sqrtl.S: ...here.
4006         * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
4007         * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
4008         * sysdeps/libm-i387/s_asinh.S: Moved to ...
4009         * sysdeps/i386/fpu/s_asinh.S: ...here.
4010         * sysdeps/libm-i387/s_asinhf.S: Moved to ...
4011         * sysdeps/i386/fpu/s_asinhf.S: ...here.
4012         * sysdeps/libm-i387/s_asinhl.S: Moved to ...
4013         * sysdeps/i386/fpu/s_asinhl.S: ...here.
4014         * sysdeps/libm-i387/s_atan.S: Moved to ...
4015         * sysdeps/i386/fpu/s_atan.S: ...here.
4016         * sysdeps/libm-i387/s_atanf.S: Moved to ...
4017         * sysdeps/i386/fpu/s_atanf.S: ...here.
4018         * sysdeps/libm-i387/s_atanl.S: Moved to ...
4019         * sysdeps/i386/fpu/s_atanl.S: ...here.
4020         * sysdeps/libm-i387/s_cbrt.S: Moved to ...
4021         * sysdeps/i386/fpu/s_cbrt.S: ...here.
4022         * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
4023         * sysdeps/i386/fpu/s_cbrtf.S: ...here.
4024         * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
4025         * sysdeps/i386/fpu/s_cbrtl.S: ...here.
4026         * sysdeps/libm-i387/s_ceil.S: Moved to ...
4027         * sysdeps/i386/fpu/s_ceil.S: ...here.
4028         * sysdeps/libm-i387/s_ceilf.S: Moved to ...
4029         * sysdeps/i386/fpu/s_ceilf.S: ...here.
4030         * sysdeps/libm-i387/s_ceill.S: Moved to ...
4031         * sysdeps/i386/fpu/s_ceill.S: ...here.
4032         * sysdeps/libm-i387/s_cexp.S: Moved to ...
4033         * sysdeps/i386/fpu/s_cexp.S: ...here.
4034         * sysdeps/libm-i387/s_cexpf.S: Moved to ...
4035         * sysdeps/i386/fpu/s_cexpf.S: ...here.
4036         * sysdeps/libm-i387/s_cexpl.S: Moved to ...
4037         * sysdeps/i386/fpu/s_cexpl.S: ...here.
4038         * sysdeps/libm-i387/s_copysign.S: Moved to ...
4039         * sysdeps/i386/fpu/s_copysign.S: ...here.
4040         * sysdeps/libm-i387/s_copysignf.S: Moved to ...
4041         * sysdeps/i386/fpu/s_copysignf.S: ...here.
4042         * sysdeps/libm-i387/s_copysignl.S: Moved to ...
4043         * sysdeps/i386/fpu/s_copysignl.S: ...here.
4044         * sysdeps/libm-i387/s_cos.S: Moved to ...
4045         * sysdeps/i386/fpu/s_cos.S: ...here.
4046         * sysdeps/libm-i387/s_cosf.S: Moved to ...
4047         * sysdeps/i386/fpu/s_cosf.S: ...here.
4048         * sysdeps/libm-i387/s_cosl.S: Moved to ...
4049         * sysdeps/i386/fpu/s_cosl.S: ...here.
4050         * sysdeps/libm-i387/s_exp2.S: Moved to ...
4051         * sysdeps/i386/fpu/s_exp2.S: ...here.
4052         * sysdeps/libm-i387/s_exp2f.S: Moved to ...
4053         * sysdeps/i386/fpu/s_exp2f.S: ...here.
4054         * sysdeps/libm-i387/s_exp2l.S: Moved to ...
4055         * sysdeps/i386/fpu/s_exp2l.S: ...here.
4056         * sysdeps/libm-i387/s_expm1.S: Moved to ...
4057         * sysdeps/i386/fpu/s_expm1.S: ...here.
4058         * sysdeps/libm-i387/s_expm1f.S: Moved to ...
4059         * sysdeps/i386/fpu/s_expm1f.S: ...here.
4060         * sysdeps/libm-i387/s_expm1l.S: Moved to ...
4061         * sysdeps/i386/fpu/s_expm1l.S: ...here.
4062         * sysdeps/libm-i387/s_fdim.S: Moved to ...
4063         * sysdeps/i386/fpu/s_fdim.S: ...here.
4064         * sysdeps/libm-i387/s_fdimf.S: Moved to ...
4065         * sysdeps/i386/fpu/s_fdimf.S: ...here.
4066         * sysdeps/libm-i387/s_fdiml.S: Moved to ...
4067         * sysdeps/i386/fpu/s_fdiml.S: ...here.
4068         * sysdeps/libm-i387/s_finite.S: Moved to ...
4069         * sysdeps/i386/fpu/s_finite.S: ...here.
4070         * sysdeps/libm-i387/s_finitef.S: Moved to ...
4071         * sysdeps/i386/fpu/s_finitef.S: ...here.
4072         * sysdeps/libm-i387/s_finitel.S: Moved to ...
4073         * sysdeps/i386/fpu/s_finitel.S: ...here.
4074         * sysdeps/libm-i387/s_floor.S: Moved to ...
4075         * sysdeps/i386/fpu/s_floor.S: ...here.
4076         * sysdeps/libm-i387/s_floorf.S: Moved to ...
4077         * sysdeps/i386/fpu/s_floorf.S: ...here.
4078         * sysdeps/libm-i387/s_floorl.S: Moved to ...
4079         * sysdeps/i386/fpu/s_floorl.S: ...here.
4080         * sysdeps/libm-i387/s_fma.S: Moved to ...
4081         * sysdeps/i386/fpu/s_fma.S: ...here.
4082         * sysdeps/libm-i387/s_fmaf.S: Moved to ...
4083         * sysdeps/i386/fpu/s_fmaf.S: ...here.
4084         * sysdeps/libm-i387/s_fmal.S: Moved to ...
4085         * sysdeps/i386/fpu/s_fmal.S: ...here.
4086         * sysdeps/libm-i387/s_fmax.S: Moved to ...
4087         * sysdeps/i386/fpu/s_fmax.S: ...here.
4088         * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
4089         * sysdeps/i386/fpu/s_fmaxf.S: ...here.
4090         * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
4091         * sysdeps/i386/fpu/s_fmaxl.S: ...here.
4092         * sysdeps/libm-i387/s_fmin.S: Moved to ...
4093         * sysdeps/i386/fpu/s_fmin.S: ...here.
4094         * sysdeps/libm-i387/s_fminf.S: Moved to ...
4095         * sysdeps/i386/fpu/s_fminf.S: ...here.
4096         * sysdeps/libm-i387/s_fminl.S: Moved to ...
4097         * sysdeps/i386/fpu/s_fminl.S: ...here.
4098         * sysdeps/libm-i387/s_frexp.S: Moved to ...
4099         * sysdeps/i386/fpu/s_frexp.S: ...here.
4100         * sysdeps/libm-i387/s_frexpf.S: Moved to ...
4101         * sysdeps/i386/fpu/s_frexpf.S: ...here.
4102         * sysdeps/libm-i387/s_frexpl.S: Moved to ...
4103         * sysdeps/i386/fpu/s_frexpl.S: ...here.
4104         * sysdeps/libm-i387/s_ilogb.S: Moved to ...
4105         * sysdeps/i386/fpu/s_ilogb.S: ...here.
4106         * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
4107         * sysdeps/i386/fpu/s_ilogbf.S: ...here.
4108         * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
4109         * sysdeps/i386/fpu/s_ilogbl.S: ...here.
4110         * sysdeps/libm-i387/s_llrint.S: Moved to ...
4111         * sysdeps/i386/fpu/s_llrint.S: ...here.
4112         * sysdeps/libm-i387/s_llrintf.S: Moved to ...
4113         * sysdeps/i386/fpu/s_llrintf.S: ...here.
4114         * sysdeps/libm-i387/s_llrintl.S: Moved to ...
4115         * sysdeps/i386/fpu/s_llrintl.S: ...here.
4116         * sysdeps/libm-i387/s_log1p.S: Moved to ...
4117         * sysdeps/i386/fpu/s_log1p.S: ...here.
4118         * sysdeps/libm-i387/s_log1pf.S: Moved to ...
4119         * sysdeps/i386/fpu/s_log1pf.S: ...here.
4120         * sysdeps/libm-i387/s_log1pl.S: Moved to ...
4121         * sysdeps/i386/fpu/s_log1pl.S: ...here.
4122         * sysdeps/libm-i387/s_log2.S: Moved to ...
4123         * sysdeps/i386/fpu/s_log2.S: ...here.
4124         * sysdeps/libm-i387/s_log2f.S: Moved to ...
4125         * sysdeps/i386/fpu/s_log2f.S: ...here.
4126         * sysdeps/libm-i387/s_log2l.S: Moved to ...
4127         * sysdeps/i386/fpu/s_log2l.S: ...here.
4128         * sysdeps/libm-i387/s_logb.S: Moved to ...
4129         * sysdeps/i386/fpu/s_logb.S: ...here.
4130         * sysdeps/libm-i387/s_logbf.S: Moved to ...
4131         * sysdeps/i386/fpu/s_logbf.S: ...here.
4132         * sysdeps/libm-i387/s_logbl.S: Moved to ...
4133         * sysdeps/i386/fpu/s_logbl.S: ...here.
4134         * sysdeps/libm-i387/s_lrint.S: Moved to ...
4135         * sysdeps/i386/fpu/s_lrint.S: ...here.
4136         * sysdeps/libm-i387/s_lrintf.S: Moved to ...
4137         * sysdeps/i386/fpu/s_lrintf.S: ...here.
4138         * sysdeps/libm-i387/s_lrintl.S: Moved to ...
4139         * sysdeps/i386/fpu/s_lrintl.S: ...here.
4140         * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
4141         * sysdeps/i386/fpu/s_nearbyint.S: ...here.
4142         * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
4143         * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
4144         * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
4145         * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
4146         * sysdeps/libm-i387/s_remquo.S: Moved to ...
4147         * sysdeps/i386/fpu/s_remquo.S: ...here.
4148         * sysdeps/libm-i387/s_remquof.S: Moved to ...
4149         * sysdeps/i386/fpu/s_remquof.S: ...here.
4150         * sysdeps/libm-i387/s_remquol.S: Moved to ...
4151         * sysdeps/i386/fpu/s_remquol.S: ...here.
4152         * sysdeps/libm-i387/s_rint.S: Moved to ...
4153         * sysdeps/i386/fpu/s_rint.S: ...here.
4154         * sysdeps/libm-i387/s_rintf.S: Moved to ...
4155         * sysdeps/i386/fpu/s_rintf.S: ...here.
4156         * sysdeps/libm-i387/s_rintl.S: Moved to ...
4157         * sysdeps/i386/fpu/s_rintl.S: ...here.
4158         * sysdeps/libm-i387/s_scalbn.S: Moved to ...
4159         * sysdeps/i386/fpu/s_scalbn.S: ...here.
4160         * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
4161         * sysdeps/i386/fpu/s_scalbnf.S: ...here.
4162         * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
4163         * sysdeps/i386/fpu/s_scalbnl.S: ...here.
4164         * sysdeps/libm-i387/s_significand.S: Moved to ...
4165         * sysdeps/i386/fpu/s_significand.S: ...here.
4166         * sysdeps/libm-i387/s_significandf.S: Moved to ...
4167         * sysdeps/i386/fpu/s_significandf.S: ...here.
4168         * sysdeps/libm-i387/s_significandl.S: Moved to ...
4169         * sysdeps/i386/fpu/s_significandl.S: ...here.
4170         * sysdeps/libm-i387/s_sin.S: Moved to ...
4171         * sysdeps/i386/fpu/s_sin.S: ...here.
4172         * sysdeps/libm-i387/s_sincos.S: Moved to ...
4173         * sysdeps/i386/fpu/s_sincos.S: ...here.
4174         * sysdeps/libm-i387/s_sincosf.S: Moved to ...
4175         * sysdeps/i386/fpu/s_sincosf.S: ...here.
4176         * sysdeps/libm-i387/s_sincosl.S: Moved to ...
4177         * sysdeps/i386/fpu/s_sincosl.S: ...here.
4178         * sysdeps/libm-i387/s_sinf.S: Moved to ...
4179         * sysdeps/i386/fpu/s_sinf.S: ...here.
4180         * sysdeps/libm-i387/s_sinl.S: Moved to ...
4181         * sysdeps/i386/fpu/s_sinl.S: ...here.
4182         * sysdeps/libm-i387/s_tan.S: Moved to ...
4183         * sysdeps/i386/fpu/s_tan.S: ...here.
4184         * sysdeps/libm-i387/s_tanf.S: Moved to ...
4185         * sysdeps/i386/fpu/s_tanf.S: ...here.
4186         * sysdeps/libm-i387/s_tanl.S: Moved to ...
4187         * sysdeps/i386/fpu/s_tanl.S: ...here.
4188         * sysdeps/libm-i387/s_trunc.S: Moved to ...
4189         * sysdeps/i386/fpu/s_trunc.S: ...here.
4190         * sysdeps/libm-i387/s_truncf.S: Moved to ...
4191         * sysdeps/i386/fpu/s_truncf.S: ...here.
4192         * sysdeps/libm-i387/s_truncl.S: Moved to ...
4193         * sysdeps/i386/fpu/s_truncl.S: ...here.
4194         * sysdeps/libm-ieee754/k_standard.c: Moved to ...
4195         * sysdeps/ieee754/k_standard.c: ...here.
4196         * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
4197         * sysdeps/ieee754/s_lib_version.c: ...here.
4198         * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
4199         * sysdeps/ieee754/s_matherr.c: ...here.
4200         * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
4201         * sysdeps/ieee754/s_signgam.c: ...here.
4202         * sysdeps/ieee754/dbl2mpn.c: Moved to ...
4203         * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
4204         * sysdeps/ieee754/mpn2dbl.c: Moved to ...
4205         * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
4206         * sysdeps/libm-ieee754/e_acos.c: Moved to ...
4207         * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
4208         * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
4209         * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
4210         * sysdeps/libm-ieee754/e_asin.c: Moved to ...
4211         * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
4212         * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
4213         * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
4214         * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
4215         * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
4216         * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
4217         * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
4218         * sysdeps/libm-ieee754/e_exp.c: Moved to ...
4219         * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
4220         * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
4221         * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
4222         * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
4223         * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
4224         * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
4225         * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
4226         * sysdeps/libm-ieee754/e_j0.c: Moved to ...
4227         * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
4228         * sysdeps/libm-ieee754/e_j1.c: Moved to ...
4229         * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
4230         * sysdeps/libm-ieee754/e_jn.c: Moved to ...
4231         * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
4232         * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
4233         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
4234         * sysdeps/libm-ieee754/e_log.c: Moved to ...
4235         * sysdeps/ieee754/dbl-64/e_log.c: ...here.
4236         * sysdeps/libm-ieee754/e_log10.c: Moved to ...
4237         * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
4238         * sysdeps/libm-ieee754/e_pow.c: Moved to ...
4239         * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
4240         * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
4241         * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
4242         * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
4243         * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
4244         * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
4245         * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
4246         * sysdeps/libm-ieee754/k_cos.c: Moved to ...
4247         * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
4248         * sysdeps/libm-ieee754/k_sin.c: Moved to ...
4249         * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
4250         * sysdeps/libm-ieee754/k_tan.c: Moved to ...
4251         * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
4252         * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
4253         * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
4254         * sysdeps/libm-ieee754/s_atan.c: Moved to ...
4255         * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
4256         * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
4257         * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
4258         * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
4259         * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
4260         * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
4261         * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
4262         * sysdeps/libm-ieee754/s_cos.c: Moved to ...
4263         * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
4264         * sysdeps/libm-ieee754/s_erf.c: Moved to ...
4265         * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
4266         * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
4267         * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
4268         * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
4269         * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
4270         * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
4271         * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
4272         * sysdeps/libm-ieee754/s_finite.c: Moved to ...
4273         * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
4274         * sysdeps/libm-ieee754/s_floor.c: Moved to ...
4275         * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
4276         * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
4277         * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
4278         * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
4279         * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
4280         * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
4281         * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
4282         * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
4283         * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
4284         * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
4285         * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
4286         (__isnan): Comment above function says it returns 0 or 1, but it
4287         used to return 0 or -1.
4288         * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
4289         * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
4290         * sysdeps/libm-ieee754/s_llround.c: Moved to ...
4291         * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
4292         * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
4293         * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
4294         * sysdeps/libm-ieee754/s_log2.c: Moved to ...
4295         * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
4296         * sysdeps/libm-ieee754/s_logb.c: Moved to ...
4297         * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
4298         * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
4299         * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
4300         * sysdeps/libm-ieee754/s_lround.c: Moved to ...
4301         * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
4302         * sysdeps/libm-ieee754/s_modf.c: Moved to ...
4303         * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
4304         * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
4305         * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
4306         * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
4307         * sysdeps/generic/s_nextafter.c: ...here.
4308         Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
4309         * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
4310         * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
4311         * sysdeps/libm-ieee754/s_rint.c: Moved to ...
4312         * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
4313         * sysdeps/libm-ieee754/s_round.c: Moved to ...
4314         * sysdeps/ieee754/dbl-64/s_round.c: ...here.
4315         * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
4316         * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
4317         * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
4318         * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
4319         * sysdeps/libm-ieee754/s_sin.c: Moved to ...
4320         * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
4321         * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
4322         * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
4323         * sysdeps/libm-ieee754/s_tan.c: Moved to ...
4324         * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
4325         * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
4326         * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
4327         * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
4328         * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
4329         * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
4330         * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
4331         * sysdeps/libm-ieee754/w_exp.c: Moved to ...
4332         * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
4333         * sysdeps/ieee754/mpn2flt.c: Moved to ...
4334         * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
4335         * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
4336         * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
4337         * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
4338         * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
4339         * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
4340         * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
4341         * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
4342         * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
4343         * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
4344         * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
4345         * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
4346         * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
4347         * sysdeps/libm-ieee754/e_expf.c: Moved to ...
4348         * sysdeps/ieee754/flt-32/e_expf.c: ...here.
4349         * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
4350         * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
4351         * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
4352         * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
4353         * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
4354         * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
4355         * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
4356         * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
4357         * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
4358         * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
4359         * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
4360         * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
4361         * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
4362         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
4363         * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
4364         * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
4365         * sysdeps/libm-ieee754/e_logf.c: Moved to ...
4366         * sysdeps/ieee754/flt-32/e_logf.c: ...here.
4367         * sysdeps/libm-ieee754/e_powf.c: Moved to ...
4368         * sysdeps/ieee754/flt-32/e_powf.c: ...here.
4369         * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
4370         * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
4371         * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
4372         * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
4373         * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
4374         * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
4375         * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
4376         * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
4377         * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
4378         * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
4379         * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
4380         * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
4381         * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
4382         * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
4383         * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
4384         * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
4385         * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
4386         * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
4387         * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
4388         * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
4389         * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
4390         * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
4391         * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
4392         * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
4393         * sysdeps/libm-ieee754/s_erff.c: Moved to ...
4394         * sysdeps/ieee754/flt-32/s_erff.c: ...here.
4395         * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
4396         * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
4397         * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
4398         * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
4399         * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
4400         * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
4401         * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
4402         * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
4403         * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
4404         * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
4405         * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
4406         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
4407         * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
4408         * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
4409         * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
4410         * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
4411         * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
4412         * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
4413         * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
4414         * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
4415         * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
4416         * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
4417         * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
4418         * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
4419         * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
4420         * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
4421         * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
4422         * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
4423         * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
4424         * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
4425         * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
4426         * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
4427         * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
4428         * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
4429         * sysdeps/libm-ieee754/s_modff.c: Moved to ...
4430         * sysdeps/ieee754/flt-32/s_modff.c: ...here.
4431         * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
4432         * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
4433         * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
4434         * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
4435         * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
4436         * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
4437         * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
4438         * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
4439         * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
4440         * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
4441         * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
4442         * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
4443         * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
4444         * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
4445         * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
4446         * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
4447         * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
4448         * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
4449         * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
4450         * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
4451         * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
4452         * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
4453         * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
4454         * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
4455         * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
4456         * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
4457         * sysdeps/libm-ieee754/w_expf.c: Moved to ...
4458         * sysdeps/ieee754/flt-32/w_expf.c: ...here.
4459         * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
4460         * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
4461         * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
4462         * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
4463         * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
4464         * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
4465         * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
4466         * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
4467         * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
4468         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
4469         * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
4470         * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
4471         * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
4472         * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
4473         * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
4474         * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
4475         * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
4476         * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
4477         * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
4478         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
4479         * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
4480         * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
4481         * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
4482         * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
4483         * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
4484         * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
4485         * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
4486         * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
4487         * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
4488         * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
4489         * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
4490         * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
4491         * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
4492         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
4493         * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
4494         * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
4495         * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
4496         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
4497         * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
4498         * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
4499         * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
4500         * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
4501         * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
4502         * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
4503         * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
4504         * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
4505         * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
4506         * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
4507         * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
4508         * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
4509         (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
4510         INSERT_WORDS.
4511         * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
4512         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
4513         (__nearbyintl): Fix for exponents 2^30.
4514         * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
4515         * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
4516         * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
4517         * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
4518         (__rintl): Fix for exponents 2^30.
4519         * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
4520         * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
4521         * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
4522         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
4523         (__scalbnl): Fix exponent for subnormal result.
4524         * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
4525         * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
4526         * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
4527         * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
4528         * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
4529         * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
4530         * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
4531         * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
4532         * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
4533         * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
4534         * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
4535         * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
4536         * sysdeps/libm-ieee754/w_expl.c: Moved to ...
4537         * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
4538         * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
4539         * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
4540         * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
4541         * sysdeps/i386/fpu/s_scalblnf.c: ...here.
4542         * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
4543         * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
4544         * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
4545         * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
4546         * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
4547         * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
4548         * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
4549         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
4550         * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
4551         * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
4552         * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
4553         * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
4554         * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
4555         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
4556         * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
4557         * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
4558         * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
4559         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
4560         * sysdeps/libm-i387/s_scalbln.c: Moved to ...
4561         * sysdeps/i386/fpu/s_scalbln.c: ...here.
4562         * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
4563         * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
4564         * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
4565         * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
4566         * sysdeps/libm-i387/t_exp.c: Moved to ...
4567         * sysdeps/i386/fpu/t_exp.c: ...here.
4568         * sysdeps/libm-ieee754/t_exp.c: Moved to ...
4569         * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
4570         * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
4571         * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
4572         * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
4573         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
4574         * sysdeps/libm-i387/s_isinfl.c: Moved to ...
4575         * sysdeps/i386/fpu/s_isinfl.c: ...here.
4576         * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
4577         * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
4578         * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
4579         * sysdeps/i386/fpu/s_scalblnl.c: ...here.
4580         * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
4581         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
4582         Fix exponent for subnormal result.
4583         * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
4584         * sysdeps/generic/s_nexttowardl.c: ...here.
4585         * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
4586         * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
4587         * sysdeps/libm-i387/s_isnanl.c: Moved to ...
4588         * sysdeps/i386/fpu/s_isnanl.c: ...here.
4589         * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
4590         * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
4591         Comment above function says it returns 0 or 1, but it used to return
4592         0 or -1.
4593         * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
4594         * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
4595         * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
4596         * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
4597         * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
4598         * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
4599         * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
4600         * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
4601         * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
4602         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
4603         Cannot compare exponents with different biases without adjusting.
4604         * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
4605         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
4606         Cannot compare exponents with different biases without adjusting.
4607         * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
4608         * sysdeps/i386/fpu/s_nextafterl.c: ...here.
4609         * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
4610         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
4611         * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
4612         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
4613         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
4614         * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
4615         * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
4616         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
4617         * sysdeps/libm-ieee754/Dist: Split into ...
4618         * sysdeps/ieee754/dbl-64/Dist: ...this and ...
4619         * sysdeps/ieee754/flt-32/Dist: ...this file.
4620
4621         * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
4622         * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
4623         * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
4624         * sysdeps/ieee754/ldbl-96/strtold.c: New file.
4625         * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
4626         * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
4627         * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
4628         * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
4629         * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
4630         * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
4631         * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
4632         * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
4633         * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
4634         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
4635         * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
4636         * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
4637         * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
4638         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
4639         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
4640         * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
4641         * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
4642         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
4643         * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
4644         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
4645         * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
4646         * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
4647         * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
4648         * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
4649         * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
4650         * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
4651         * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
4652         * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
4653         * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
4654         * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
4655         * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
4656         * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
4657         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
4658         * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
4659         * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
4660         * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
4661         * sysdeps/ieee754/ldbl-128/strtold.c: New file.
4662         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
4663         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
4664         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
4665         * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
4666         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
4667         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
4668
4669         * sysdeps/generic/math_ldbl.h: New file.
4670         * sysdeps/generic/s_nexttowardf.c: New file.
4671         * sysdeps/generic/strtold.c: New file.
4672         * sysdeps/generic/ldbl2mpn.c: New file.
4673
4674         * math/machine/endian.h: Remove.
4675         * sysdeps/i386/fpu/Implies: Remove.
4676         * sysdeps/ieee754/Implies: Remove.
4677
4678         * math/math_private.h: Move long double macros to math_ldbl.h
4679         header.
4680
4681 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
4682
4683         * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
4684         connections without a hostname set address to localhost address.
4685
4686 1999-07-11  H.J. Lu  <hjl@gnu.org>
4687
4688         * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
4689         nscd's own strong version of the get[a-z]*_r function.
4690         * nscd/hstcache.c: Likewise.
4691         * nscd/pwdcache.c: Likewise.
4692
4693 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
4694
4695         * configure.in: Recognize 2.95 as gcc version number.
4696         Patch by Joel Klecker <jk@espy.org>.
4697
4698 1999-07-12  Andreas Schwab  <schwab@suse.de>
4699
4700         * elf/rtld.c (dl_main): When putting back the interpreter object
4701         handle the case where a missing object might occur in the list of
4702         objects but not in the search list when in trace mode.
4703
4704 1999-07-11  Ulrich Drepper  <drepper@cygnus.com>
4705
4706         * Versions.def (libnss_hesiod): Add GLIBC_2.2.
4707         * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
4708         _nss_hesiod_initgroups.
4709
4710 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
4711
4712         * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
4713         (_hurd_set_brk, init_brk): Use that instead of &__data_start.
4714         Initialize it from &__data_start if defined, or else &_end.
4715
4716 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
4717
4718         * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
4719         for MAP_ANON, prot==PROT_READ|PROT_WRITE.
4720
4721 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
4722
4723         * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
4724
4725 1999-07-09  H.J. Lu  <hjl@gnu.org>
4726
4727         * Versions.def (GLIBC_2.1.2): Added.
4728
4729         * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
4730         old one as GLIBC_2.0.
4731         * nss/getXXbyYY_r.c: Likewise.
4732
4733         * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
4734         GLIBC_2.1.2.
4735         * inet/Versions (getaliasbyname_r, getaliasent_r,
4736         gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
4737         gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
4738         getnetgrent_r, getprotobyname_r, getprotobynumber_r,
4739         getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
4740         getservbyname_r): Likewise.
4741         * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
4742         * shadow/Versions (getspent_r, getspnam_r): Likewise.
4743
4744 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
4745
4746         * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
4747         compilers.
4748         (__memset_cc): Likewise.
4749
4750         * sysdeps/generic/libc-start.c: For SUID binaries check whether
4751         the standard file descriptors are open.
4752         Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
4753
4754         * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
4755         * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
4756         range of mmap.  If not fail.
4757         Patches by Daniel Jacobowitz <dan@debian.org>.
4758
4759         * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
4760         before the relocation happened.
4761         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4762
4763         * Versions.def (libnsl): Add GLIBC_2.2.
4764         * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
4765
4766 1999-07-08  Cristian Gafton  <gafton@redhat.com>
4767
4768         * nis/yp_xdr.c (xdr_ypall): New function.
4769
4770 1999-07-09  Andreas Schwab  <schwab@suse.de>
4771
4772         * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
4773
4774         * dlfcn/Makefile (headers): Add bits/dlfcn.h.
4775
4776 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
4777
4778         * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
4779         * hesiod/hesiod-grp.c: Add initgroups support.
4780         Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
4781
4782 1999-07-08  Andreas Schwab  <schwab@suse.de>
4783
4784         * libio/iofopncook.c (fopencookie): Set _fileno to -2.
4785
4786         * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
4787         negative numbers.
4788
4789         * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
4790         EOF.
4791         * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
4792
4793 1999-07-08  Andreas Schwab  <schwab@suse.de>
4794
4795         * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
4796
4797 1999-07-08  Andreas Schwab  <schwab@suse.de>
4798
4799         * libio/fileno.c: Return -1 instead of EOF and set errno if the
4800         stream is not a real file stream.
4801
4802 1999-07-08  Andreas Schwab  <schwab@suse.de>
4803
4804         * manual/charset.texi: Fix typos.
4805
4806 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
4807
4808         * sysdeps/gnu/Makefile (libdl-routines): Add eval.
4809
4810 1999-07-06  Zack Weinberg  <zack@rabi.columbia.edu>
4811
4812         * dlfcn: New directory.  Move the following files from elf:
4813         dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
4814         dlopenold.c, dlsym.c, dlvsym.c.
4815         * dlfcn/Makefile: New file.
4816         * dlfcn/Versions: New file.
4817         * dlfcn/dlsym.c: All ELF-specific code split out to new
4818         function _dl_sym.
4819         * dlfcn/dlvsym.c: All ELF-specific code split out to new
4820         function _dl_vsym.
4821         * elf/dl-sym.c: New file.  _dl_sym and _dl_vsym are
4822         implemented here.
4823
4824         * dlfcn/dladdr.c: Remove all references to ELF data structures
4825         or headers.
4826         * dlfcn/dlclose.c: Likewise.
4827         * dlfcn/dlerror.c: Likewise.
4828         * dlfcn/dlopen.c: Likewise.
4829         * dlfcn/dlopenold.c: Likewise.
4830
4831         * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
4832         yes, empty otherwise.
4833         (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
4834         depending on build-shared.
4835         (subdirs): Add $(dlfcn).
4836         (rpath-dirs): Add dlfcn.
4837         * elf/Makefile: Remove all references to libdl or its
4838         components, except the ones relating to the test cases.
4839         (routines): Add dl-sym.
4840         * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
4841         (libdl): Delete.
4842
4843         * elf/dl-close.c (_dl_close): Change argument to void *.
4844         * elf/dl-open.c (_dl_open): Change return type to void *.
4845         * elf/eval.c: Removed.
4846         * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
4847         _dlerror_run, _dl_open, _dl_close, _dl_addr, and
4848         _dl_mcount_wrapper_check to include/dlfcn.h.  Delete
4849         _CALL_DL_FCT macro.
4850         * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
4851         Include real header from dlfcn directory.
4852         * include/ldsodefs.h: Removed.
4853
4854         * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
4855         * nss/getXXbyYY_r.c: Likewise.
4856         * nss/getXXent_r.c: Likewise.
4857         * iconv/gconv.c: Likewise.  Don't include ldsodefs.h.
4858         * iconv/gconv_db.c: Likewise.  Don't include ldsodefs.h.
4859         * iconv/skeleton.c: Don't include ldsodefs.h.
4860         * nss/nsswitch.h: Don't include ldsodefs.h.  Include dlfcn.h.
4861
4862 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
4863
4864         * sysdeps/generic/setenv.c: Describe problem.
4865
4866         * malloc/malloc.c (request2size): Also set errno if failing.
4867
4868         * malloc/malloc.c (request2size): Take care of overflow in
4869         addition.
4870
4871         * sysdeps/posix/getcwd.c: Correct last patch.  Handle getcwd
4872         (NULL, != 0) correctly.
4873
4874         * elf/dl-load.c: Use a few more __builtin_expect.
4875
4876         * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
4877         is large enough.
4878
4879 1999-07-07  Andreas Schwab  <schwab@suse.de>
4880
4881         * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
4882         (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
4883         (_PATH_DEVPTMX): Use _PATH_DEV.
4884
4885 1999-07-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4886
4887         * malloc/tst-malloc.c: New file.  Tests some basic functionality.
4888         * malloc/Makefile (tests): Add tst-malloc.
4889
4890 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
4891
4892         * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
4893         convention.
4894
4895         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
4896         motherboards.
4897         Patch by Jay Estabrook.
4898
4899         * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
4900         ldd for SPARC.
4901         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
4902         Patch by Cristian Gafton.
4903
4904 1999-07-02  Cristian Gafton  <gafton@redhat.com>
4905
4906         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
4907         instead of "return NULL" to make C++ happy.
4908
4909 1999-07-04  Mark Kettenis  <kettenis@gnu.org>
4910
4911         * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
4912         allowed by the file access mode of the open file.
4913
4914 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
4915
4916         * sysdeps/generic/setfpucw.c: Include math.h to get all needed
4917         macros defined.
4918
4919 1999-07-03  Jakub Jelinek   <jj@ultra.linux.cz>
4920
4921         * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
4922         * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
4923         * sysdeps/sparc/sparc64/rshift.S: Likewise.
4924         * sysdeps/sparc/sparc64/mul_1.S: Optimize.
4925
4926 1999-07-04  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
4927
4928         * malloc/malloc.c (request2size): Check for overflow and return
4929         NULL whenever it is encountered.
4930
4931 1999-07-04  Zack Weinberg  <zack@rabi.columbia.edu>
4932
4933         * sysdeps/posix/tempname.c (__gen_tempname):   Add
4934         ability to create directories.  Replace OPENIT and LARGEFILE
4935         args with a single flags parameter.
4936         * sysdeps/generic/tempname.c: Likewise.
4937         * include/stdio.h: Adjust prototype of __gen_tempname to
4938         match.  Define symbolic constants for second argument.
4939
4940         * misc/mkdtemp.c: New file, provides new function mkdtemp().
4941         * stdlib/stdlib.h: Prototype it.
4942         * misc/Versions: Export it.
4943         * misc/Makefile (routines): Add mktemp.
4944         * manual/filesys.texi: Document it.
4945
4946         * misc/mktemp.c: Adjust call of __gen_tempname to match new
4947         convention.
4948         * misc/mkstemp.c: Likewise.
4949         * stdio-common/tempnam.c: Likewise.
4950         * stdio-common/tmpfile.c: Likewise.
4951         * stdio-common/tmpfile64.c: Likewise.
4952         * stdio-common/tmpnam.c: Likewise.
4953         * stdio-common/tmpnam_r.c: Likewise.
4954
4955 1999-07-05  Jakub Jelinek   <jj@ultra.linux.cz>
4956
4957         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
4958         R_SPARC_OLO10 relocations.
4959         * elf/elf.h (R_SPARC_OLO10): Fix comment.
4960
4961 1999-07-02  Tim Waugh  <tim@cyberelk.demon.co.uk>
4962
4963         * posix/wordexp-test.c: Revert bogus 'unset IFS' change.  It
4964         doesn't belong in the tests, but in the wordexp implementation.
4965
4966         * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
4967         split fields.
4968
4969 1999-07-01  Cristian Gafton  <gafton@redhat.com>
4970
4971         * time/strptime.c (strptime): Initialize the tm struct first to avoid
4972         returning bogus results on incomplete data.
4973         (strptime_internal): day_of_the_week() requres bith tm_mon and
4974         tm_mday to be initializaed.
4975         Computer them first if they are not given.
4976         (strptime_internal): (have_mon, have_mday): New variables.
4977
4978 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4979
4980         * inet/rcmd.c (__icheckhost): Fix typo in last patch.
4981
4982 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4983
4984         * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
4985         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4986
4987 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4988
4989         * posix/wordexp.c (parse_tilde): Handle failing call to
4990         get.*_r functions correctly for non-existing entry.
4991         * sysdeps/posix/cuserid.c (cuserid): Likewise.
4992         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
4993
4994 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
4995
4996         * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
4997         getxxbyYY_r functions correctly for non-existing entry.
4998         * sunrpc/getrpcport.c: Likewise.
4999         * sunrpc/clnt_simp.c: Likewise.
5000         * inet/rexec.c: Likewise.
5001         * sunrpc/clnt_gen.c: Likewise.
5002         * inet/rcmd.c: Likewise.
5003         * sysdeps/generic/glob.c: Likewise.
5004
5005 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5006
5007         * pwd/Makefile (tests): Add rules for tst-getpw.
5008
5009         * pwd/tst-getpw.c: New program to test getpw.
5010
5011 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5012
5013         * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
5014         correctly.
5015
5016 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5017
5018         * manual/arith.texi (System V Number Conversion): Fix the
5019         description which confused pointer and value to pointer.
5020         Reported by Andries.Brouwer@cwi.nl.
5021
5022 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5023
5024         * pwd/getpw.c (__getpw): Check for NULL result pointer.
5025
5026 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5027
5028         * manual/users.texi (Lookup User): Document POSIX return
5029         semantics for getpwuid_r and getgrgid_r.
5030
5031         * manual/socket.texi (Host Names): Document that the result
5032         pointer is null in case of error or host not found and fix a
5033         typo.  Give a small example.
5034
5035 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
5036
5037         * pwd/getpw.c: Add warning since no buffer size is given and
5038         therefore no overrun tests are possible.
5039
5040 1999-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5041
5042         * pwd/pwd.h: Add getpw prototype declaration.
5043
5044 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
5045
5046         * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
5047         * wcsmbs/wcschr.c: Likewise.
5048
5049 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
5050
5051         * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
5052         returns.
5053         * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
5054         * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
5055         Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
5056
5057         * elf/dl-dst.h: Fix typo.
5058         * elf/dl-open.c: Likewise.
5059
5060 1999-06-26  Zack Weinberg  <zack@rabi.columbia.edu>
5061
5062         * elf/dl-libc.c: New file, provides three functions:
5063         __libc_dlopen, __libc_dlclose, __libc_dlsym.
5064         * include/dlfcn.h: Prototype them.  Prototype _dl_addr.
5065         * elf/Makefile (routines): Add dl-libc.c.
5066         * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
5067         argument to void *.
5068         * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
5069
5070         * iconv/gconv.c: Include dlfcn.h.
5071         * iconv/gconv_db.c: Likewise.
5072         * malloc/mtrace.c: Likewise.  Don't include ldsodefs.h.
5073
5074         * iconv/gconv_int.h (struct __gconv_loaded_object): Change
5075         `handle' to a void *.
5076         (__gconv_find_func): Delete prototype.
5077
5078         * iconv/gconv_dl.c: Don't include ldsodefs.h.  Remove
5079         dlerror_run and related functions and structs.  Use
5080         __libc_dlopen, __libc_dlsym, __libc_dlclose.
5081         * nss/nsswitch.c: Likewise.
5082
5083 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
5084
5085         * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
5086         function correctly.
5087
5088         * sunrpc/getrpcport.c: Test for gethostbyname_r function
5089         correctly.
5090
5091         * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
5092
5093         * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
5094         functions correctly.
5095
5096         * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
5097
5098         * inet/rcmd.c: Test for gethostbyname_r result correctly.  Optimize
5099         file reading a bit.
5100
5101         * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
5102
5103 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5104
5105         * manual/string.texi (Copying and Concatenation): Mention that
5106         strndup is a GNU extension.
5107
5108 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5109
5110         * pwd/getpw.c (__getpw): Fix check for error return.
5111
5112 1999-06-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5113
5114         * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
5115         occurence of the aux object start with the current list entry, not
5116         the new one.  Adjust tail pointer in the unique list.  Explain how
5117         the meaning of the variables changes [PR libc/1168].
5118
5119 1999-06-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5120
5121         * sysdeps/m68k/fpu/Dist: New file.
5122
5123 1999-06-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5124
5125         * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
5126         definitions...
5127         * sysdeps/m68k/fpu/mathimpl.h: ... here.  New file.
5128         * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
5129         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
5130         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
5131         * sysdeps/m68k/fpu/e_pow.c: Likewise.
5132         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
5133         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
5134         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
5135         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
5136         * sysdeps/m68k/fpu/s_csin.c: Likewise.
5137         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
5138         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
5139         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
5140         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
5141         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
5142         * sysdeps/m68k/fpu/s_modf.c: Likewise.
5143
5144 1999-06-25  Roland McGrath  <roland@baalperazim.frob.com>
5145
5146         * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
5147         hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
5148         _EXTERN_INLINE, use a macro specific to each file,
5149         _HURD_FD_H_EXTERN_INLINE and the like.
5150         * hurd/Makefile (inline-headers): New variable.
5151         (routines): Remove hurdinline.  Add $(inlines).
5152         (inlines): New variable.
5153         ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
5154         (generated): Append those here.
5155         * hurd/hurdinline.c: File removed.
5156
5157         * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
5158
5159         * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
5160
5161 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5162
5163         * nscd/connections.c (nscd_run): Use correct type for optlen variable.
5164
5165 1999-06-25  Ulrich Drepper  <drepper@cygnus.com>
5166
5167         * string/bits/string2.h (strnlen): Remove extra prototype.
5168
5169 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5170
5171         * manual/filesys.texi (Working on Directory Trees): Fix typos.
5172         Reported by Andries.Brouwer@cwi.nl.
5173
5174 1999-06-24  Ulrich Drepper  <drepper@cygnus.com>
5175
5176         * nscd/connections.c (handle_request): Use correct type for optlen
5177         variable.
5178
5179         * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
5180         * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
5181
5182 1999-06-24  Thorsten Kukuk  <kukuk@suse.de>
5183
5184         * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
5185         * nscd/pwdcache.c: Likewise.
5186         * nscd/hstcache.c: Likewise.
5187
5188 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
5189
5190         * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
5191
5192         * posix/getopt.h: Include stdio.h.
5193
5194         * manual/arith.texi: Document restriction of ndigit parameter of
5195         ecvt and friends.
5196         * misc/efgcvt.c: Define NDIGIT_MAX.
5197         (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
5198         Do not dynamically allocate the static buffers.  They are small enough.
5199         * misc/efgcvt_r.c: Define NDIGIT_MAX.
5200         (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
5201         * misc/qefgcvt.c: Define NDIGIT_MAX.
5202         * misc/qefgcvt_r.c: Likewise.
5203         * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
5204
5205 1999-06-23  Zack Weinberg  <zack@rabi.columbia.edu>
5206
5207         * libio/stdio.h: Define stdin, stdout, stderr as macros.
5208         * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
5209         These are *pragmas* not macros.
5210         * wcsmbs/wchar.h: Fix comment.
5211
5212         * grp/grp.h: Use __foo_t_defined convention to typedef things
5213         only once.
5214         * io/sys/stat.h: Likewise.
5215         * libio/stdio.h: Likewise.
5216         * posix/unistd.h: Likewise.
5217         * posix/sys/types.h: Likewise.
5218         * posix/sys/wait.h: Likewise.
5219         * pwd/pwd.h: Likewise.
5220         * signal/signal.h: Likewise.
5221         * sysdeps/generic/stdint.h: Likewise.
5222         * sysdeps/gnu/utmpx.h: Likewise.
5223         * termios/termios.h: Likewise.
5224
5225 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
5226
5227         * stdio/fputc.c: Don't define alias if fputc is defined as a
5228         macro.
5229         * stdio/putc.c: Define weak alias here since it is not done
5230         anymore in fputc.c.
5231
5232 1999-06-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5233
5234         * assert/assert.h: Don't produce `defined' as part of macro
5235         expansion.
5236
5237 1999-06-23  Roland McGrath  <roland@baalperazim.frob.com>
5238
5239         * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
5240         OFFSET argument of (off_t) -1.
5241         * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
5242         OFFSET argument of (off_t) -1.
5243
5244         * sysdeps/mach/hurd/pwrite.c: New file.
5245         * sysdeps/mach/hurd/pread.c: New file.
5246
5247         * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
5248         pass it in the RPC instead of always -1.
5249         * hurd/fd-write.c (_hurd_fd_write): Likewise.
5250         * hurd/hurd/fd.h: Update decls.
5251
5252 1999-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5253
5254         * libio/wscanf.c: Include <wchar.h> for prototype.
5255
5256 1999-06-22  Ulrich Drepper  <drepper@cygnus.com>
5257
5258         * manual/io.texi. Fix typos.
5259         * manual/stdio.texi: Likewise.
5260         Patches by Brian Youmans <3diff@gnu.org>.
5261
5262 1999-06-22  Geoff Keating  <geoffk@ozemail.com.au>
5263
5264         * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
5265         bits of two words differ.
5266
5267 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5268
5269         * libio/Makefile (routines): Add putwchar and putwchar_u.
5270
5271         * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
5272         * libio/putwchar_u.c: Likewise.  Use _IO_stdout instead of
5273         stdout.  Fix parameter name.
5274
5275         * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
5276         * libio/getchar_u.c: Likewise.
5277
5278         * libio/putchar_u.c: Use _IO_stdout instead of stdout.
5279
5280 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5281
5282         * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
5283         macro expansion---it's undefined.  Properly parenthesize
5284         substituted parameters.
5285         (__GLIBC_PREREQ): Likewise.
5286
5287 1999-06-21  Ulrich Drepper  <drepper@cygnus.com>
5288
5289         * Makeconfig (CPPFLAGS): Revert last change.  It has too many
5290         weird effects.
5291
5292         * stdlib/longlong.h: Provide __P definition if not already
5293         defined.
5294
5295         * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
5296
5297 1999-06-18  Thorsten Kukuk  <kukuk@suse.de>
5298
5299         * sysdeps/alpha/atomicity.h: Correct counting of subsections.
5300
5301 1999-06-17  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5302
5303         * stdlib/tst-strtoll.c: Avoid warning about huge constant.
5304
5305 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5306
5307         * stdio-common/vfprintf.c (group_member): Make parameters and
5308         return types pointers to CHAR_T instead of UCHAR_T.
5309         (vfprintf): Change type of work_buffer, workend and string to
5310         CHAR_T pointer/array.
5311         (process_arg, process_string_arg): Adjust/remove casts.  Add
5312         missing use of L_ macro.
5313         (printf_unknown): Add missing uses of L_ macro.
5314
5315 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5316
5317         * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
5318         warning.
5319
5320 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5321
5322         * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF.  Call
5323         _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
5324         (__wunderflow): Likewise.
5325         (_IO_switch_to_wget_mode): Likewise.
5326         (_IO_init_wmarker): Likewise.
5327
5328         * libio/wfileops.c (_IO_wfile_seekoff): Call
5329         _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
5330         (_IO_wfile_jumps): Fix pbackfail entry.
5331
5332         * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
5333         function if the stream is currently unoriented.
5334
5335 1999-06-19  Zack Weinberg  <zack@rabi.columbia.edu>
5336
5337         * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
5338         Wrap all wide stream functions with #ifdef __USE_ISOC9X.  Use
5339         __gnuc_va_list in v*w(printf|scanf) prototypes.
5340
5341 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5342
5343         * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
5344         1999-03-29 to iopopen also here.
5345         Reported by Richard Braakman <dark@xs4all.nl>.
5346
5347 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5348
5349         * include/features.h: Use __GNUC_PREREQ.
5350         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
5351
5352 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5353
5354         * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
5355         Change EOF to WEOF and remove cast.
5356         (UNGETC): Remove macro.
5357         (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
5358         * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
5359         Change ISASCII to isascii and MBRLEN to mbrlen.
5360         (parse_one_spec): Compare info.spec always against wchar_t
5361         values.
5362         * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
5363         (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
5364         (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
5365
5366 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5367
5368         * libio/Makefile (shared-only-routines): Add oldiofgetpos,
5369         oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
5370         (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
5371         oldiofsetpos64 only if doing versioning.
5372
5373 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
5374
5375         * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
5376
5377 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5378
5379         * libio/libio.h: Fix last patch.
5380
5381 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
5382
5383         * libio/libio.h (_IO_putwc): Correct type of first argument.
5384         * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
5385         putwc_unlocked, putwchar_unlocked): Likewise.
5386         * libio/fputwc.c: Likewise.
5387         * libio/fputwc_unlocked.c: Likewise.
5388         * libio/putwc.c: Likewise.
5389         * libio/putwc_unlocked.c: Likewise.
5390         * libio/putwchar.c: Likewise.
5391         * libio/putwchar_unlocked.c: Likewise.
5392
5393 1999-06-19  Roland McGrath  <roland@baalperazim.frob.com>
5394
5395         * sysdeps/gnu/siglist.h: File moved to ...
5396         * sysdeps/generic/siglist.h: ... here.  This file should be usable for
5397         any platform, since it just associates the SIG* macros with text names
5398         and descriptions. For any signal macros do not exist on every
5399         platform, we can use #ifdef tests here and still use this single
5400         common file for all platforms.
5401         * sysdeps/generic/siglist.c: Rewrite using <siglist.h>.  This file
5402         should be usable for all platforms after the binary compatibility
5403         stuff in the current sysdeps/gnu version is no longer required.
5404         * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
5405         * sysdeps/generic/make_siglist.c: File removed.
5406         * sysdeps/mach/hurd/siglist.h: Use #include_next.
5407         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
5408
5409 1999-06-16  Roland McGrath  <roland@baalperazim.frob.com>
5410
5411         * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
5412         * sysdeps/gnu/siglist.c: ... here.
5413         Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
5414         Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
5415         * sysdeps/gnu/siglist.h: New file, contents from linux version.
5416         Add entry for SIGLOST protected by #ifdef.
5417         * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
5418         and define OLD_SIGLIST_SIZE_STR.
5419         * sysdeps/mach/hurd/siglist.h: New file, likewise.
5420
5421 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
5422
5423         * include/features.h: Define new macros __GNUC_PREREQ and
5424         __GLIBC_PREREQ which can be used to test the version of gcc
5425         and glibc respectively.
5426
5427         * assert/assert.h: Use __GNUC_PREREQ.
5428         * intl/libintl.h: Likewise.
5429         * math/complex.h: Likewise.
5430         * math/tgmath.h: Likewise.
5431         * misc/sys/cdefs.h: Likewise.
5432         * posix/sys/types.h: Likewise.
5433         * socket/sys/socket.h: Likewise.
5434         * string/bits/string2.h: Likewise.
5435         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
5436         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
5437
5438 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
5439
5440         * include/libintl.h: Declare _libc_intl_domainname here.
5441         Define _ and N_ here.
5442         * include/libc-symbols.h: Don't include <libintl.h>.  Don't
5443         define _ and N_.  Don't declare _libc_intl_domainname.
5444         * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
5445
5446         * db2/config.h: Don't include sys/stat.h or define
5447         HAVE_ST_BLKSIZE here...
5448         * db2/compat.h: ...do it here.
5449
5450         * linuxthreads/internals.h: Include bits/libc-tsd.h after all
5451         other headers.
5452         * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
5453         * iconv/iconv.c: Include stddef.h for NULL.
5454         * malloc/malloc.h: Include features.h.
5455         * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
5456
5457         * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
5458         into the generated file.
5459         * sysdeps/gnu/errlist.awk: Likewise.
5460         * sysdeps/gnu/errlist.c: Rebuilt.
5461
5462         * assert/assert-perr.c: Include libintl.h.
5463         * assert/assert.c: Likewise.
5464         * elf/dl-open.c: Likewise.
5465         * elf/dlsym.c: Likewise.
5466         * elf/dlvsym.c: Likewise.
5467         * iconv/iconv_prog.c: Likewise.
5468         * inet/rcmd.c: Likewise.
5469         * inet/ruserpass.c: Likewise.
5470         * locale/programs/charset.c: Likewise.
5471         * locale/programs/ld-collate.c: Likewise.
5472         * locale/programs/ld-ctype.c: Likewise.
5473         * locale/programs/ld-messages.c: Likewise.
5474         * locale/programs/ld-monetary.c: Likewise.
5475         * locale/programs/ld-numeric.c: Likewise.
5476         * locale/programs/ld-time.c: Likewise.
5477         * locale/programs/locfile.c: Likewise.
5478         * locale/programs/repertoire.c: Likewise.
5479         * login/programs/database.c: Likewise.
5480         * login/programs/request.c: Likewise.
5481         * malloc/mcheck.c: Likewise.
5482         * misc/error.c: Likewise.
5483         * nis/nis_call.c: Likewise.
5484         * nis/nis_callback.c: Likewise.
5485         * nis/nis_error.c: Likewise.
5486         * nis/nis_local_names.c: Likewise.
5487         * nis/nis_print.c: Likewise.
5488         * nis/nis_print_group_entry.c: Likewise.
5489         * nis/ypclnt.c: Likewise.
5490         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
5491         * nscd/cache.c: Likewise.
5492         * nscd/connections.c: Likewise.
5493         * nscd/grpcache.c: Likewise.
5494         * nscd/hstcache.c: Likewise.
5495         * nscd/nscd_conf.c: Likewise.
5496         * nscd/nscd_stat.c: Likewise.
5497         * nscd/pwdcache.c: Likewise.
5498         * posix/id.c: Likewise.
5499         * resolv/herror.c: Likewise.
5500         * stdio-common/psignal.c: Likewise.
5501         * string/strsignal.c: Likewise.
5502         * sunrpc/auth_unix.c: Likewise.
5503         * sunrpc/clnt_perr.c: Likewise.
5504         * sunrpc/clnt_raw.c: Likewise.
5505         * sunrpc/clnt_tcp.c: Likewise.
5506         * sunrpc/clnt_udp.c: Likewise.
5507         * sunrpc/clnt_unix.c: Likewise.
5508         * sunrpc/get_myaddr.c: Likewise.
5509         * sunrpc/pm_getmaps.c: Likewise.
5510         * sunrpc/pmap_clnt.c: Likewise.
5511         * sunrpc/pmap_rmt.c: Likewise.
5512         * sunrpc/rpc_main.c: Likewise.
5513         * sunrpc/rpc_scan.c: Likewise.
5514         * sunrpc/svc_run.c: Likewise.
5515         * sunrpc/svc_simple.c: Likewise.
5516         * sunrpc/svc_tcp.c: Likewise.
5517         * sunrpc/svc_udp.c: Likewise.
5518         * sunrpc/svc_unix.c: Likewise.
5519         * sunrpc/xdr_rec.c: Likewise.
5520         * sunrpc/xdr_ref.c: Likewise.
5521         * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
5522         * sysdeps/posix/gai_strerror.c: Likewise.
5523         * sysdeps/unix/siglist.c: Likewise.
5524         * sysdeps/unix/sysv/linux/siglist.c: Likewise.
5525         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
5526         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
5527         * timezone/zic.c: Likewise.
5528
5529 1999-06-18  H.J. Lu  <hjl@gnu.org>
5530
5531         * localedata/Makefile (charmaps): Exclude SCCS.
5532         (locales): Likewise.
5533         (repertoiremaps): Likewise.
5534
5535 1999-06-18  Ulrich Drepper  <drepper@cygnus.com>
5536
5537         * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
5538         * sysdeps/generic/bsd-setjmp.c: Likewise.
5539
5540         * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
5541
5542         * iconv/gconv_open.c: Include string.h for memset prototype.
5543
5544         * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
5545         definitions.
5546
5547         * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
5548         assignment to avoid warning on 64bit platforms.
5549
5550 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
5551
5552         * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
5553
5554         * nss/getXXbyYY_r.c: Return error code not -1.
5555         * nss/getXXent_r.c: Likewise.
5556         * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
5557         small.
5558         * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
5559         value > 0 for error.
5560         * nscd/nscd_gethst_r.c: Likewise.
5561         * nscd/nscd_getpw_r.c: Likewise.
5562
5563 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5564
5565         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
5566         disciplines.
5567
5568 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5569
5570         * nscd/nscd_nischeck.c: Fix typos.
5571
5572 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
5573
5574         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
5575         always when oact is NULL.
5576         Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
5577
5578 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5579
5580         * math/libm-test.c (jn_test): Adjust delta.
5581
5582 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5583
5584         * libio/vwprintf.c: Include <wchar.h> for prototypes.
5585         * libio/wprintf.c: Likewise.
5586
5587 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5588
5589         * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
5590         to not write beyond allocated memory.
5591         Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
5592
5593 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
5594
5595         * malloc/mtrace.c: Keep lock while printing output lines.
5596         Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
5597
5598 1999-06-16  Ulrich Drepper  <drepper@cygnus.com>
5599
5600         * configure.in: Add warnings about broken code.
5601
5602         * Versions.def: Add GLIBC_2.2 for libc.
5603
5604         * iconv/gconv.h: Make header suitable for inclusion in public header
5605         by protecting all names with __.
5606         * iconv/gconv.c: Adapt for symbol name changes.
5607         * iconv/gconv.h: Likewise.
5608         * iconv/gconv_builtin.c: Likewise.
5609         * iconv/gconv_close.c: Likewise.
5610         * iconv/gconv_db.c: Likewise.
5611         * iconv/gconv_dl.c: Likewise.
5612         * iconv/gconv_int.h: Likewise.
5613         * iconv/gconv_open.c: Likewise.
5614         * iconv/gconv_simple.c: Likewise.
5615         * iconv/iconv.c: Likewise.
5616         * iconv/iconv_close.c: Likewise.
5617         * iconv/iconv_open.c: Likewise.
5618         * iconv/loop.c: Likewise.
5619         * iconv/skeleton.c: Likewise.
5620         * iconvdata/8bit-gap.c: Likewise.
5621         * iconvdata/8bit-generic.c: Likewise.
5622         * iconvdata/ansi_x3.110.c: Likewise.
5623         * iconvdata/big5.c: Likewise.
5624         * iconvdata/cns11643.h: Likewise.
5625         * iconvdata/cns11643l1.h: Likewise.
5626         * iconvdata/euc-cn.c: Likewise.
5627         * iconvdata/euc-jp.c: Likewise.
5628         * iconvdata/euc-kr.c: Likewise.
5629         * iconvdata/euc-tw.c: Likewise.
5630         * iconvdata/gb2312.h: Likewise.
5631         * iconvdata/iso-2022-jp.c: Likewise.
5632         * iconvdata/iso-2022-kr.c: Likewise.
5633         * iconvdata/iso646.c: Likewise.
5634         * iconvdata/iso8859-1.c: Likewise.
5635         * iconvdata/iso_6937-2.c: Likewise.
5636         * iconvdata/iso_6937.c: Likewise.
5637         * iconvdata/jis0201.h: Likewise.
5638         * iconvdata/jis0208.h: Likewise.
5639         * iconvdata/jis0212.h: Likewise.
5640         * iconvdata/johab.c: Likewise.
5641         * iconvdata/ksc5601.h: Likewise.
5642         * iconvdata/sjis.c: Likewise.
5643         * iconvdata/t.61.c: Likewise.
5644         * iconvdata/uhc.c: Likewise.
5645         * stdlib/mblen.c: Likewise.
5646         * stdlib/mbtowc.c: Likewise.
5647         * stdlib/wctomb.c: Likewise.
5648         * wcsmbs/btowc.c: Likewise.
5649         * wcsmbs/mbrtowc.c: Likewise.
5650         * wcsmbs/mbsnrtowcs.c: Likewise.
5651         * wcsmbs/mbsrtowcs.c: Likewise.
5652         * wcsmbs/wchar.h: Likewise.
5653         * wcsmbs/wcrtomb.c: Likewise.
5654         * wcsmbs/wcsmbsload.c: Likewise.
5655         * wcsmbs/wcsmbsload.h: Likewise.
5656         * wcsmbs/wcsnrtombs.c: Likewise.
5657         * wcsmbs/wcsrtombs.c: Likewise.
5658         * wcsmbs/wctob.c: Likewise.
5659
5660         * include/limits.h (MB_LEN_MAX): Increase to 16.
5661
5662         * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct.  Define
5663         _G_iconv_t.
5664         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
5665         * include/wchar.h: Change mbstate_t to __mbstate_t.
5666
5667         * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
5668         oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
5669         getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
5670         iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
5671         putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
5672         vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
5673         and iofwide.
5674         (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
5675         * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
5676         _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
5677         fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
5678         fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
5679         getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
5680         putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
5681         vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
5682         GLIBC_2.2 for libc.
5683         * libio/libio.h: Define codecvt struct.  Define _IO_wide_data.
5684         Extend _IO_file contain pointer to codecvt, widedata and mode.
5685         (_IO_getwc_unlocked): New macro.
5686         (_IO_putwc_unlocked): New macro.
5687         (_IO_fwide): New macro.
5688         * libio/libioP.h: Add new prototypes and adjust existing declarations.
5689         * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
5690         buffers based on mode.
5691         (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
5692         oriented.
5693         (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
5694         flag to be enough to signal unallocated buffer.  For wide oriented
5695         stream don't make it linebuffered.  Don't use _IO_do_flush, use
5696         _IO_new_do_write directly.
5697         (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
5698         (_IO_file_seek): Likewise.
5699         * libio/genops.c (_IO_least_marker): Make global.
5700         (__underflow): Orient stream if not already done.
5701         (__uflow): Likewise.
5702         (_IO_default_seekpos): Change to type _IO_off64_t.
5703         (_IO_default_seekoff): Likewise.
5704         (_IO_default_seek): Likewise.
5705         (_IO_no_init): New function.  Similar to _IO_init but allows to orient
5706         in initialization.
5707         * libio/iolibio.h: Add prototype for _IO_vswprintf.  Change _IO_pos_BAD
5708         to use _IO_off64_t.
5709         * libio/ftello.c: Use _IO_off_t.  For now abort when use with wide
5710         char stream.
5711         * libio/ftello64.c: Likewise.
5712         * libio/ioftell.c: Likewise.
5713         * libio/iofopncook.c: Likewise.
5714         * libio/ioseekoff.c: Likewise.
5715         * libio/ioseekpos.c: Likewise.
5716         * libio/oldfileops.c: Likewise.
5717         * libio/iofgetpos.c: Store state of conversion if necessary.
5718         * libio/iofgetpos64.c: Likewise.
5719         * libio/iofsetpos.c: Restore conversion state if necessary.
5720         * libio/iofsetpos64.c: Likewise.
5721         * libio/iofdopen.c: Initialize so that stream can be wide oriented.
5722         * libio/iofopen.c: Likewise.
5723         * libio/iofopen64.c: Likewise.
5724         * libio/iopopen.c: Likewise.
5725         * libio/iovdprintf.c: Likewise.
5726         * libio/iovsprintf.c: Likewise.
5727         * libio/iovsscanf.c: Likewise.
5728         * libio/memstream.c: Likewise.
5729         * libio/obprintf.c: Likewise.
5730         * libio/iofputs.c: Orient stream if not already happened.
5731         * libio/iofputs_u.c: Likewise.
5732         * libio/iofwrite.c: Likewise.
5733         * libio/iofwrite_u.c: Likewise.
5734         * libio/ioputs.c: Likewise.
5735         * libio/iosetbuffer.c: Handle not yet oriented stream.
5736         * libio/iosetvbuf.c: Likewise.
5737         * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
5738         * libio/stdfiles.c: Likewise.
5739         * libio/strops.c (_IO_str_overflow): Correctly free buffer after
5740         failed allocation.
5741         (_IO_str_seekoff): Use _IO_off64_t.
5742         * libio/vasprintf.c: Pre-orient stream.
5743         * libio/vsnprintf.c: Likewise.
5744         * libio/fputwc.c: New file.
5745         * libio/fputwc_u.c: New file.
5746         * libio/fwprintf.c: New file.
5747         * libio/fwscanf.c: New file.
5748         * libio/getwc.c: New file.
5749         * libio/getwc_u.c: New file.
5750         * libio/getwchar.c: New file.
5751         * libio/getwchar_u.c: New file.
5752         * libio/iofgetws.c: New file.
5753         * libio/iofgetws_u.c: New file.
5754         * libio/iofputws.c: New file.
5755         * libio/iofputws_u.c: New file.
5756         * libio/iofwide.c: New file.
5757         * libio/iogetwline.c: New file.
5758         * libio/ioungetwc.c: New file.
5759         * libio/iovswscanf.c: New file.
5760         * libio/iowpadn.c: New file.
5761         * libio/oldiofgetpos.c: New file.
5762         * libio/oldiofgetpos64.c: New file.
5763         * libio/oldiofsetpos.c: New file.
5764         * libio/oldiofsetpos64.c: New file.
5765         * libio/putwc.c: New file.
5766         * libio/putwc_u.c: New file.
5767         * libio/putwchar.c: New file.
5768         * libio/putwchar_u.c: New file.
5769         * libio/swprintf.c: New file.
5770         * libio/swscanf.c: New file.
5771         * libio/tst_swprintf.c: New file.
5772         * libio/tst_swscanf.c: New file.
5773         * libio/tst_wprintf.c: New file.
5774         * libio/tst_wscanf.c: New file.
5775         * libio/tst_wscanf.input: New file.
5776         * libio/vswprintf.c: New file.
5777         * libio/vwprintf.c: New file.
5778         * libio/vwscanf.c: New file.
5779         * libio/wfiledoalloc.c: New file.
5780         * libio/wfileops.c: New file.
5781         * libio/wgenops.c: New file.
5782         * libio/wprintf.c: New file.
5783         * libio/wscanf.c: New file.
5784         * libio/wstrops.c: New file.
5785         * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
5786         vfwprintf, and vfwscanf.
5787         * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
5788         make global.
5789         * stdio-common/_itowa.c: New file.
5790         * stdio-common/_itowa.h: New file.
5791         * stdio-common/itoa-digits.c: Minimal optimization.
5792         * stdio-common/itowa-digits.c: New file.
5793         * stdio-common/printf-parse.h: Allow use in wide character context.
5794         * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
5795         * stdio-common/printf.h (printf_info): Add wide bit.
5796         * stdio-common/printf_fp.c: Determine from wide bit whether stream
5797         is wide oriented or not.
5798         * stdio-common/printf_size.c: Likewise.
5799         * sysdeps/generic/printf_fphex.c: Likewise.
5800         * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
5801         * stdio-common/vfprintf.c: Rewrite to allow use in wide character
5802         context.
5803         * stdio-common/vfscand.c: Likewise.
5804         * stdio-common/vfwprintf.c: New file.
5805         * stdio-common/vfwscanf.c: New file.
5806
5807         * time/Makefile (routines): Add wcsftime.
5808         (tests): Add tst_wcsftime.
5809         * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
5810         * time/strftime.c: Make usable as wcsftime.
5811         * time/wcsftime.c: New file.
5812         * time/tst_wcsftime.c: New file.
5813
5814         * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
5815         * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
5816         * wcsmbs/wcschrnul.c: New file.
5817         * wcsmbs/wmemcpy.c: New file.
5818         * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
5819         * wcsmbs/wmemmove.c: Likewise for wmemmove.
5820
5821         * manual/stdio.texi: Document is_char and wide element if printf_info.
5822
5823         * manual/time.texi: Document wcsftime.
5824
5825         * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
5826         __wmemmove, __wcschrnul, and __vfwscanf.
5827
5828         * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
5829         * locale/C-time.c: Adapt for above change.
5830         * locale/categories.def: Likewise.
5831         * locale/localeinfo.h: Likewise.
5832         * localedata/Makefile: Don't run tests for now.
5833
5834         * manual/errno.texi: Fix typos.
5835         * manual/memory.texi: Likewise.
5836         * manual/ctype.texi: Likewise.
5837         Patches by Brian Youmans <3diff@gnu.org>.
5838
5839 1999-06-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5840
5841         * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
5842
5843 1999-06-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5844
5845         * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
5846         word order.
5847         * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
5848         * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
5849
5850 1999-06-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5851
5852         * db2/db/db.c: Restore __nss_db_open alias.
5853         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
5854         include.
5855         * db2/os/os_rw.c (__os_write): Maintain const correctness.
5856         * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
5857
5858 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
5859
5860         * stdio-common/printf-parse.h (parse_one_spec): Don't set
5861         is_longlong if not necessary.
5862
5863 1999-06-15  H.J. Lu  <hjl@gnu.org>
5864
5865         * Make-dist (sysdep_dirs): Exclude SCCS.
5866         * MakeTAGS (sysdep_dirs): Likewise.
5867
5868 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
5869
5870         * posix/regex.c (re_error_msgid): Remove extra commas.
5871
5872 1999-06-14  Geoff Keating  <geoffk@ozemail.com.au>
5873
5874         * stdlib/tst-strtoll.c: New file.
5875         * stdlib/Makefile (tests): Add tst-strtoll.c
5876         * stdlib/strtol.c: It is not generally true that if
5877         (unsigned)a*(unsigned)b overflows, then the result is
5878         less than 'a'.
5879
5880 1999-06-14  Thorsten Kukuk  <kukuk@suse.de>
5881
5882         * nscd/connections.c (handle_request): Only root is allowed to
5883         send GETSTAT request in non secure mode.
5884         * nscd/nscd.c: Print error message if other then root try to
5885         use getstat.
5886
5887 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5888
5889         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
5890
5891 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5892
5893         * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
5894         Closes PR libc/1164, reported by sascha@schumann.2ns.de.
5895
5896 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5897
5898         * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
5899         for character to search, to help the compiler.
5900         * sysdeps/generic/strchrnul.c: Likewise.
5901         * sysdeps/generic/memchr.c: Likewise.
5902         * sysdeps/generic/memccpy.c: Likewise.
5903         * sysdeps/generic/rawmemchr.c: Likewise.  Fix comment.
5904
5905 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5906
5907         * sysdeps/m68k/memchr.S: New file.
5908         * sysdeps/m68k/rawmemchr.S: New file.
5909         * sysdeps/m68k/strchr.S: New file.
5910         * sysdeps/m68k/strchrnul.S: New file.
5911
5912 1999-06-13  Geoff Keating  <geoffk@ozemail.com.au>
5913
5914         * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
5915         add `memory' clobber; optimise for constant `val'.
5916         (atomic_add): Likewise.
5917         (test_and_set): Remove `volatile'; add `memory' clobber; be more
5918         like the original `test_and_set'.
5919         (compare_and_swap): Remove `volatile'; add `memory' clobber;
5920         optimise for constant `oldval'.
5921         (always_swap): Remove `volatile'; add `memory' clobber.
5922
5923 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5924
5925         * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
5926         functions for gcc <= 2.7.x.
5927
5928 1999-06-13  Roland McGrath  <roland@baalperazim.frob.com>
5929
5930         * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
5931         change.
5932
5933 1999-06-13  Ulrich Drepper  <drepper@cygnus.com>
5934
5935         * db2/Makefile (distribute): Remove files which do not exist
5936         anymore.
5937
5938         * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
5939         definitions to calm down gcc.
5940
5941         * db2/db.h: Update from db 2.7.5.
5942         * db2/db_185.h: Likewise.
5943         * db2/db_int.h: Likewise.
5944         * db2/btree/bt_compare.c: Likewise.
5945         * db2/btree/bt_conv.c: Likewise.
5946         * db2/btree/bt_curadj.c: Likewise.
5947         * db2/btree/bt_cursor.c: Likewise.
5948         * db2/btree/bt_delete.c: Likewise.
5949         * db2/btree/bt_open.c: Likewise.
5950         * db2/btree/bt_page.c: Likewise.
5951         * db2/btree/bt_put.c: Likewise.
5952         * db2/btree/bt_rec.c: Likewise.
5953         * db2/btree/bt_recno.c: Likewise.
5954         * db2/btree/bt_rsearch.c: Likewise.
5955         * db2/btree/bt_search.c: Likewise.
5956         * db2/btree/bt_split.c: Likewise.
5957         * db2/btree/bt_stat.c: Likewise.
5958         * db2/btree/btree_auto.c: Likewise.
5959         * db2/common/db_appinit.c: Likewise.
5960         * db2/common/db_apprec.c: Likewise.
5961         * db2/common/db_err.c: Likewise.
5962         * db2/common/db_region.c: Likewise.
5963         * db2/common/db_salloc.c: Likewise.
5964         * db2/db/db.c: Likewise.
5965         * db2/db/db.src: Likewise.
5966         * db2/db/db_am.c: Likewise.
5967         * db2/db/db_auto.c: Likewise.
5968         * db2/db/db_dispatch.c: Likewise.
5969         * db2/db/db_dup.c: Likewise.
5970         * db2/db/db_iface.c: Likewise.
5971         * db2/db/db_join.c: Likewise.
5972         * db2/db/db_overflow.c: Likewise.
5973         * db2/db/db_pr.c: Likewise.
5974         * db2/db/db_rec.c: Likewise.
5975         * db2/db/db_ret.c: Likewise.
5976         * db2/db185/db185.c: Likewise.
5977         * db2/dbm/dbm.c: Likewise.
5978         * db2/hash/hash.c: Likewise.
5979         * db2/hash/hash_auto.c: Likewise.
5980         * db2/hash/hash_dup.c: Likewise.
5981         * db2/hash/hash_page.c: Likewise.
5982         * db2/hash/hash_rec.c: Likewise.
5983         * db2/hash/hash_stat.c: Likewise.
5984         * db2/include/btree.h: Likewise.
5985         * db2/include/btree_ext.h: Likewise.
5986         * db2/include/clib_ext.h: Likewise.
5987         * db2/include/common_ext.h: Likewise.
5988         * db2/include/db_am.h: Likewise.
5989         * db2/include/db_auto.h: Likewise.
5990         * db2/include/db_cxx.h: Likewise.
5991         * db2/include/db_ext.h: Likewise.
5992         * db2/include/db_join.h: Likewise.
5993         * db2/include/db_page.h: Likewise.
5994         * db2/include/hash.h: Likewise.
5995         * db2/include/hash_ext.h: Likewise.
5996         * db2/include/lock.h: Likewise.
5997         * db2/include/lock_ext.h: Likewise.
5998         * db2/include/log.h: Likewise.
5999         * db2/include/log_ext.h: Likewise.
6000         * db2/include/mp.h: Likewise.
6001         * db2/include/mp_ext.h: Likewise.
6002         * db2/include/os.h: Likewise.
6003         * db2/include/os_ext.h: Likewise.
6004         * db2/include/os_func.h: Likewise.
6005         * db2/include/txn.h: Likewise.
6006         * db2/include/txn_auto.h: Likewise.
6007         * db2/include/txn_ext.h: Likewise.
6008         * db2/include/xa.h: Likewise.
6009         * db2/include/xa_ext.h: Likewise.
6010         * db2/lock/lock.c: Likewise.
6011         * db2/lock/lock_conflict.c: Likewise.
6012         * db2/lock/lock_deadlock.c: Likewise.
6013         * db2/lock/lock_region.c: Likewise.
6014         * db2/lock/lock_util.c: Likewise.
6015         * db2/log/log.c: Likewise.
6016         * db2/log/log_archive.c: Likewise.
6017         * db2/log/log_auto.c: Likewise.
6018         * db2/log/log_findckp.c: Likewise.
6019         * db2/log/log_get.c: Likewise.
6020         * db2/log/log_put.c: Likewise.
6021         * db2/log/log_rec.c: Likewise.
6022         * db2/log/log_register.c: Likewise.
6023         * db2/mp/mp_bh.c: Likewise.
6024         * db2/mp/mp_fget.c: Likewise.
6025         * db2/mp/mp_fopen.c: Likewise.
6026         * db2/mp/mp_fput.c: Likewise.
6027         * db2/mp/mp_fset.c: Likewise.
6028         * db2/mp/mp_open.c: Likewise.
6029         * db2/mp/mp_pr.c: Likewise.
6030         * db2/mp/mp_region.c: Likewise.
6031         * db2/mp/mp_sync.c: Likewise.
6032         * db2/mutex/mutex.c: Likewise.
6033         * db2/mutex/uts4_cc.s: Likewise.
6034         * db2/os/os_abs.c: Likewise.
6035         * db2/os/os_alloc.c: Likewise.
6036         * db2/os/os_config.c: Likewise.
6037         * db2/os/os_dir.c: Likewise.
6038         * db2/os/os_fid.c: Likewise.
6039         * db2/os/os_fsync.c: Likewise.
6040         * db2/os/os_map.c: Likewise.
6041         * db2/os/os_oflags.c: Likewise.
6042         * db2/os/os_open.c: Likewise.
6043         * db2/os/os_rw.c: Likewise.
6044         * db2/os/os_seek.c: Likewise.
6045         * db2/os/os_sleep.c: Likewise.
6046         * db2/os/os_spin.c: Likewise.
6047         * db2/os/os_stat.c: Likewise.
6048         * db2/os/os_tmpdir.c: Likewise.
6049         * db2/os/os_unlink.c: Likewise.
6050         * db2/progs/db_archive/db_archive.c: Likewise.
6051         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
6052         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
6053         * db2/progs/db_dump/db_dump.c: Likewise.
6054         * db2/progs/db_load/db_load.c: Likewise.
6055         * db2/progs/db_printlog/README: Likewise.
6056         * db2/progs/db_printlog/commit.awk: Likewise.
6057         * db2/progs/db_printlog/count.awk: Likewise.
6058         * db2/progs/db_printlog/db_printlog.c: Likewise.
6059         * db2/progs/db_printlog/pgno.awk: Likewise.
6060         * db2/progs/db_printlog/range.awk: Likewise.
6061         * db2/progs/db_printlog/status.awk: Likewise.
6062         * db2/progs/db_printlog/txn.awk: Likewise.
6063         * db2/progs/db_recover/db_recover.c: Likewise.
6064         * db2/progs/db_stat/db_stat.c: Likewise.
6065         * db2/txn/txn.c: Likewise.
6066         * db2/txn/txn.src: Likewise.
6067         * db2/txn/txn_auto.c: Likewise.
6068         * db2/txn/txn_rec.c: Likewise.
6069         * db2/xa/xa.c: Likewise.
6070         * db2/xa/xa_db.c: Likewise.
6071         * db2/xa/xa_map.c: Likewise.
6072
6073         * db2/btree/bt_close.c: Removed.
6074         * db2/db/db_thread.c: Likewise.
6075         * db2/hash/hash_debug.c: Likewise.
6076         * db2/include/db.h.src: Likewise.
6077         * db2/include/db_int.h.src: Likewise.
6078         * db2/include/os_jump.h: Likewise.
6079         * db2/mutex/alpha.dec: Likewise.
6080         * db2/mutex/alpha.gcc: Likewise.
6081         * db2/mutex/parisc.hp: Likewise.
6082         * db2/mutex/uts4.cc.s: Likewise.
6083
6084         * db2/Makefile: Add new routines, remove old for 2.7.5.
6085         * db2/Versions: Add internal function names for the helper programs.
6086         * db2/makedb.c: Update for new cursor callback.
6087         * Versions.def: Define versions for libdb.
6088
6089 1999-06-13  Thorsten Kukuk  <kukuk@suse.de>
6090
6091         * nscd/connections.c (nscd_run): Get user ID for all non-db services.
6092         * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
6093         * nscd/nscd_nischeck.c: New file.
6094         * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
6095
6096 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6097
6098         * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
6099         MSG_* flags from Linux 2.2.9.
6100
6101 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
6102
6103         * Makeconfig (static-start-installed-name): Set to
6104         $(start-installed-name) if not defined.
6105         (+link-static): Use $(static-start-installed-name) instead of
6106         $(start-installed-name).
6107         * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
6108         Set to crt0.o.
6109
6110 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
6111
6112         * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
6113         inserting a send right into the child instead of unconditionally
6114         copying the send right.
6115
6116 1999-06-12  Ulrich Drepper  <drepper@cygnus.com>
6117
6118         * locale/lc-time.c: Add free_mem function to free if necessary
6119         statically allocated memory.
6120
6121 1999-06-10  Jakub Jelinek  <jj@ultra.linux.cz>
6122
6123         * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
6124         bias from the raw exponent.
6125
6126 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
6127
6128         * inet/arpa/tftp.h: Move attribute declaration in right position.
6129
6130 1999-06-11  Thorsten Kukuk  <kukuk@suse.de>
6131
6132         * nscd/nscd.c: Add -S options for separate caching of data for
6133         every user. So one user couldn't see the data another user
6134         has gotten with his credentials.
6135         * nscd/nscd.h: Add new prototypes.
6136         * nscd/cache.c: Compare owner of cache entry if in secure mode.
6137         * nscd/connections.c: Check on shutdown if caller really was root.
6138         In secure mode get uid of caller.
6139         * nscd/grpcache.c: Add support for new secure group mode.
6140         * nscd/hstcache.c: Add support for new secure hosts mode.
6141         * nscd/pwdcache.c: Add support for new secure passwd mode.
6142
6143 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
6144
6145         * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
6146         of user-provided buffer.
6147
6148 1999-06-11  Mark Kettenis  <kettenis@gnu.org>
6149
6150         * hurd/hurdsock.c (max_domain): Initialize to `-1'.
6151         (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
6152
6153 1999-06-10  Ulrich Drepper  <drepper@cygnus.com>
6154
6155         * stdio-common/printf-parse.h (parse_one_spec): Add support for a
6156         and A format.
6157
6158         * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
6159         returning after last entry.
6160         * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
6161
6162 1999-06-09  Ulrich Drepper  <drepper@cygnus.com>
6163
6164         * misc/sysexits.h: Remove advertising clause of copyright.
6165         * resolv/getnetnamadr.c: Likewise.
6166         * sysdeps/vax/bcopy.s: Likewise.
6167         * sysdeps/vax/bzero.s: Likewise.
6168         * sysdeps/vax/ffs.s: Likewise.
6169         * sysdeps/vax/memchr.s: Likewise.
6170         * sysdeps/vax/memcmp.s: Likewise.
6171         * sysdeps/vax/memmove.s: Likewise.
6172         * sysdeps/vax/memset.s: Likewise.
6173         * sysdeps/vax/strcat.s: Likewise.
6174         * sysdeps/vax/strchr.s: Likewise.
6175         * sysdeps/vax/strcmp.s: Likewise.
6176         * sysdeps/vax/strcpy.s: Likewise.
6177         * sysdeps/vax/strcspn.s: Likewise.
6178         * sysdeps/vax/strlen.s: Likewise.
6179         * sysdeps/vax/strncat.s: Likewise.
6180         * sysdeps/vax/strncmp.s: Likewise.
6181         * sysdeps/vax/strncpy.s: Likewise.
6182         * sysdeps/vax/strpbrk.s: Likewise.
6183         * sysdeps/vax/strrchr.s: Likewise.
6184         * sysdeps/vax/strsep.s: Likewise.
6185         * sysdeps/vax/strspn.s: Likewise.
6186         * sysdeps/vax/strstr.s: Likewise.
6187
6188         * libio/iofopncook.c: Adjust for renaming of structure elements.
6189         * libio/libio.h: Define cookie functions with all the names.
6190
6191         * pwd/fgetpwent_r.c: Set errno in the correct way.
6192         * shadow/fgetspent_r.c: Likewise.
6193         * pwd/fgetpwent.c: Handle long lines correctly.  Little
6194         optimizations.  Free static buffer when debugging memory handling.
6195         * shadow/fgetspent.c: Likewise.
6196
6197         * grp/fgetgrent.c: Little optimization in loop.
6198
6199 1999-06-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6200
6201         * grp/tst_fgetgrent.c (write_group): Fix generation of long line
6202         in a different way.
6203
6204 1999-06-09  Jakub Jelinek   <jj@ultra.linux.cz>
6205
6206         * stdlib/longlong.h: gas changed sethi handling when without
6207         %hi(). Fix assembly.
6208         * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
6209         port specific cache id checks.
6210         * sysdeps/generic/dl-cache.h: New file.
6211         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
6212
6213 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
6214
6215         * gmon/gmon.c: Remove advertising clause of copyright.
6216         * gmon/mcount.c: Likewise.
6217         * gmon/sys/gmon.h: Likewise.
6218         * inet/arpa/ftp.h: Likewise.
6219         * inet/arpa/telnet.h: Likewise.
6220         * inet/arpa/tftp.h: Likewise.
6221         * inet/inet_lnaof.c: Likewise.
6222         * inet/inet_mkadr.c: Likewise.
6223         * inet/inet_net.c: Likewise.
6224         * inet/inet_netof.c: Likewise.
6225         * inet/protocols/routed.h: Likewise.
6226         * inet/protocols/rwhod.h: Likewise.
6227         * inet/protocols/talkd.h: Likewise.
6228         * inet/protocols/timed.h: Likewise.
6229         * inet/rcmd.c: Likewise.
6230         * inet/rexec.c: Likewise.
6231         * inet/ruserpass.c: Likewise.
6232         * io/fts.c: Likewise.
6233         * io/fts.h: Likewise.
6234         * login/login_tty.c: Likewise.
6235         * misc/fstab.h: Likewise.
6236         * misc/getttyent.c: Likewise.
6237         * misc/getusershell.c: Likewise.
6238         * misc/sys/queue.h: Likewise.
6239         * misc/sys/syslog.h: Likewise.
6240         * misc/syslog.c: Likewise.
6241         * misc/ttyent.h: Likewise.
6242         * misc/ttyslot.c: Likewise.
6243         * resolv/arpa/nameser.h: Likewise.
6244         * resolv/gethnamaddr.c: Likewise.
6245         * resolv/herror.c: Likewise.
6246         * resolv/inet_addr.c: Likewise.
6247         * resolv/mapv4v6addr.h: Likewise.
6248         * resolv/mapv4v6hostent.h: Likewise.
6249         * resolv/nss_dns/dns-host.c: Likewise.
6250         * resolv/nss_dns/dns-network.c: Likewise.
6251         * resolv/res_comp.c: Likewise.
6252         * resolv/res_data.c: Likewise.
6253         * resolv/res_debug.c: Likewise.
6254         * resolv/res_init.c: Likewise.
6255         * resolv/res_mkquery.c: Likewise.
6256         * resolv/res_query.c: Likewise.
6257         * resolv/res_send.c: Likewise.
6258         * resolv/resolv.h: Likewise.
6259         * sysdeps/generic/div.c: Likewise.
6260         * sysdeps/generic/netinet/ip.h: Likewise.
6261         * sysdeps/generic/netinet/tcp.h: Likewise.
6262         * sysdeps/generic/paths.h: Likewise.
6263         * sysdeps/generic/prof-freq.c: Likewise.
6264         * sysdeps/generic/sys/ttydefaults.h: Likewise.
6265         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6266         * sysdeps/gnu/netinet/tcp.h: Likewise.
6267         * sysdeps/ieee754/support.c: Likewise.
6268         * sysdeps/mach/hurd/sys/param.h: Likewise.
6269         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
6270         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6271         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
6272         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6273         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
6274         * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
6275         * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
6276         * sysdeps/unix/sysv/linux/paths.h: Likewise.
6277         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
6278         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
6279         * sysdeps/vax/DEFS.h: Likewise.
6280         * termios/sys/ttychars.h: Likewise.
6281         * misc/daemon.c: Likewise.  Call fork.
6282
6283         * grp/fgetgrent.c (buffer): Make file local variable.
6284         (free_mem): New function.  Call for malloc debugging.
6285
6286         * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
6287
6288 1999-06-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6289
6290         * grp/Makefile: Add rules for tst_fgetgrent.
6291
6292         * grp/tst_fgetgrent.c: Rewritten to read only one file.
6293
6294         * grp/tst_fgetgrent.sh: New file.
6295
6296 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
6297
6298         * grp/Makefile (tests): Add tst_fgetgrent.
6299         * grp/tst_fgetgrent.c: New file.
6300         Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
6301
6302 1999-06-07  Roland McGrath  <roland@baalperazim.frob.com>
6303
6304         * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
6305         be POSIX compliant.  Prior definition was broken for Hurd.
6306         Reported by Mark Kettenis <kettenis@gnu.org>.
6307
6308 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
6309
6310         * ctype/ctype.h: Protect __tobody code by __extension__.
6311
6312 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
6313
6314         * grp/fgetgrent.c (fgetgrent): Remember position of stream before
6315         reading and reset in case the buffer was too small.
6316
6317         * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
6318         of EOF.
6319
6320 1999-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6321
6322         * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
6323         another SIOGIFNAME typo.
6324
6325 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
6326
6327         * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
6328
6329         * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
6330         bit.
6331
6332 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6333
6334         * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
6335         the precision if the mantissa is zero.
6336
6337 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6338
6339         * manual/lang.texi (Floating Point Parameters): GCC already
6340         supports long double for a long time.
6341
6342 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6343
6344         * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
6345         yn_test): Increase some epsilons.
6346
6347 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
6348
6349         * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
6350         parameters.
6351
6352 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
6353
6354         * sysdeps/unix/sysv/linux/kernel-features.h: Define
6355         __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
6356         * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
6357         SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
6358
6359         * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
6360         * sysdeps/libm-ieee754/w_j0f.c: Likewise.
6361         * sysdeps/libm-ieee754/w_j0l.c: Likewise.
6362         * sysdeps/libm-ieee754/w_j1.c: Likewise.
6363         * sysdeps/libm-ieee754/w_j1f.c: Likewise.
6364         * sysdeps/libm-ieee754/w_j1l.c: Likewise.
6365         * sysdeps/libm-ieee754/w_jn.c: Likewise.
6366         * sysdeps/libm-ieee754/w_jnf.c: Likewise.
6367         * sysdeps/libm-ieee754/w_jnl.c: Likewise.
6368
6369         * stdio-common/vfprintf.c: Correct typos.
6370
6371         * math/libm-test.c (jn_test): Adjust delta.
6372         (y1_test): Likewise.
6373         (yn_test): Likewise.
6374
6375         * elf/do-lookup.h: It should never happen that if we expect a versioned
6376         symbol from a file the file has no version table.  This should have
6377         been checked in dl-version.c.
6378         * elf/dl-lookup.c: Include assert.h.
6379
6380         * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
6381         function handling.
6382
6383         * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
6384
6385 1999-06-06  Andi Kleen  <ak@muc.de>
6386
6387         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
6388         SA_RESTORER flag.
6389
6390 1999-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6391
6392         * math/libm-test.c (yn_test): Change one delta.
6393         (jn_test): Likewise.
6394         (j1_test): Likewise.
6395         (y0_test): Likewise.
6396
6397 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
6398
6399         * malloc/malloc.c: Introduce local variable __libc_getpagesize to
6400         avoid multiple calls to getpagesize() which might be a syscall.
6401
6402 1999-06-06  Philip Blundell  <philb@gnu.org>
6403
6404         * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
6405
6406 1999-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6407
6408         * manual/install.texi (Running make install): Correct typo in
6409         dynamic linker invocation.
6410
6411 1999-06-05  Philip Blundell  <philb@gnu.org>
6412
6413         * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
6414         problems with GOT addressing.
6415
6416 1999-06-05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
6417
6418         * malloc/malloc.c (check_action): Change into bitmap so that both
6419         diagnostic and abort can be requested by setting it to 3.
6420         (mALLOC_SET_STATe): Disable malloc checking if necessary.
6421
6422 1999-06-03  Ulrich Drepper  <drepper@cygnus.com>
6423
6424         * configure.in: Few changes for HPUX.
6425
6426         * scripts/config.guess: Update from latest version.
6427         * scripts/config.sub: Likewise.
6428
6429 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6430
6431         * Makerules: Set LC_ALL explicitly to archieve correct sorting of
6432         map files.  Closes PR libc/1147.
6433
6434 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6435
6436         * math/libm-test.c (main): Add new test functions.
6437         (jn_test): New tests.
6438         (j1_test): Add some more tests.
6439         (j0_test): Add some more tests.
6440         (y0_test): Add some more tests.
6441         (y1_test): Add some more tests.
6442
6443 1999-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6444
6445         * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
6446         Patch by mhagger@dera.gov.uk [PR libc/1145].
6447
6448         * math/libm-test.c (y1_test): New tests.
6449         (y0_test): Likewise.
6450         (j1_test): Likewise.
6451         (j0_test): Likewise.
6452         (main): Added new tests.
6453
6454 1999-06-02  Jakub Jelinek  <jj@ultra.linux.cz>
6455
6456         * stdlib/longlong.h: Define UDIV_TIME on sparc64.
6457         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
6458         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
6459         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
6460         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
6461         * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
6462
6463 1999-06-02  David S. Miller  <davem@redhat.com>
6464
6465         * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
6466         pointers properly.
6467
6468 1999-06-02  Ulrich Drepper  <drepper@cygnus.com>
6469
6470         * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
6471         and elide compatibility code if possible.
6472
6473 1999-06-01  Ulrich Drepper  <drepper@cygnus.com>
6474
6475         * manual/llio.texi: Remove menu entry for removed section.
6476
6477 1999-05-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6478
6479         * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
6480         variables.
6481
6482 1999-06-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6483
6484         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
6485         (from Linux 2.3.4).
6486
6487 1999-05-30  Ulrich Drepper  <drepper@cygnus.com>
6488
6489         * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
6490
6491 1999-05-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6492
6493         * manual/stdio.texi: Fix some typos.
6494
6495 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6496
6497         * malloc/malloc.h: Properly handle future GCC versions.
6498
6499 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6500
6501         * sysdeps/unix/sysv/linux/configure.in: Change version checks to
6502         use AC_EGREP_CPP.  Change sed pattern to not use alternation.  Fix
6503         text of error message.
6504
6505         * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
6506
6507 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
6508
6509         * manual/filesys.texi: Extend (f)truncate documentation.
6510         * manual/llio.texi: Remove duplicate (f)truncate definition.
6511
6512 1999-05-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6513
6514         * manual/stdio.texi (Formatted Output Functions): Mention
6515         semantics of snprintf in glibc 2.0.
6516         Reported by Ben Pfaff <pfaffben@msu.edu>.
6517
6518 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
6519
6520         * include/features.h (__GLIBC_MINOR__): Bump to 2.
6521
6522 1999-05-27  Ulrich Drepper  <drepper@cygnus.com>
6523
6524         * math/libm-test.c: Adjust a few more deltas for the poor ARM
6525         FPU emulator.
6526
6527 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6528
6529         * configure.in: Fix typo.
6530
6531 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6532
6533         * manual/socket.texi (Host Names): Remove statement that h_errno
6534         needs to be declared since this isn't true anymore.
6535         Closes PR libc/1138.
6536
6537 1999-05-26  Ulrich Drepper  <drepper@cygnus.com>
6538
6539         * config.h.in: Add __LINUX_KERNEL_VERSION.
6540         * configure.in: Recognize --enable-kernel.
6541         * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
6542         headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
6543         appropriately.
6544         * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
6545         given perform runtime test.
6546
6547         * sysdeps/unix/sysv/linux/kernel-features.h: New file.
6548         * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
6549         minimal supported kernel is known to have the feature.
6550         * sysdeps/unix/sysv/linux/poll.c: Likewise.
6551         * sysdeps/unix/sysv/linux/pread.c: Likewise.
6552         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6553         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6554         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6555         * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
6556         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6557         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6558         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6559         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6560         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6561         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
6562         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
6563         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
6564         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
6565
6566         * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
6567
6568 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
6569
6570         * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
6571
6572 1999-05-26  Jakub Jelinek   <jj@ultra.linux.cz>
6573
6574         * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
6575         Optimized sparc64 routines.
6576
6577 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
6578
6579         * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
6580         they are the same as ints.
6581         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
6582
6583         * version.h (VERSION): Bump to 2.1.90.
6584         (RELEASE): Mark as development.
6585
6586         * stdio-common/vfprintf.c (vfprintf): Don't implement special
6587         handling for long long if it is the same as long.
6588         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
6589
6590         * stdlib/strtol.c: Moved to ...
6591         * sysdeps/generic/strtol.c: ...here.
6592         * stdlib/strtoul.c: Moved to ...
6593         * sysdeps/generic/strtoul.c: ...here.
6594         * stdlib/strtoll.c: Moved to ...
6595         * sysdeps/generic/strtoll.c: ...here.
6596         * stdlib/strtoull.c: Moved to ...
6597         * sysdeps/generic/strtoull.c: ...here.
6598         * stdlib/strtol_l.c: Moved to ...
6599         * sysdeps/generic/strtol_l.c: ...here.
6600         * stdlib/strtoul_l.c: Moved to ...
6601         * sysdeps/generic/strtoul_l.c: ...here.
6602         * stdlib/strtoll_l.c: Moved to ...
6603         * sysdeps/generic/strtoll_l.c: ...here.
6604         * stdlib/strtoull_l.c: Moved to ...
6605         * sysdeps/generic/strtoull_l.c: ...here.
6606
6607         * sysdeps/wordsize-64/strtol.c: New file.
6608         * sysdeps/wordsize-64/strtoul.c: New file.
6609         * sysdeps/wordsize-64/strtoll.c: New file.
6610         * sysdeps/wordsize-64/strtoull.c: New file.
6611         * sysdeps/wordsize-64/strtol_l.c: New file.
6612         * sysdeps/wordsize-64/strtoul_l.c: New file.
6613         * sysdeps/wordsize-64/strtoll_l.c: New file.
6614         * sysdeps/wordsize-64/strtoull_l.c: New file.
6615
6616         * wcsmbs/wcstol.c: Moved to ...
6617         * sysdeps/generic/wcstol.c: ...here.
6618         * wcsmbs/wcstoul.c: Moved to ...
6619         * sysdeps/generic/wcstoul.c: ...here.
6620         * wcsmbs/wcstoll.c: Moved to ...
6621         * sysdeps/generic/wcstoll.c: ...here.
6622         * wcsmbs/wcstoull.c: Moved to ...
6623         * sysdeps/generic/wcstoull.c: ...here.
6624         * wcsmbs/wcstol_l.c: Moved to ...
6625         * sysdeps/generic/wcstol_l.c: ...here.
6626         * wcsmbs/wcstoul_l.c: Moved to ...
6627         * sysdeps/generic/wcstoul_l.c: ...here.
6628         * wcsmbs/wcstoll_l.c: Moved to ...
6629         * sysdeps/generic/wcstoll_l.c: ...here.
6630         * wcsmbs/wcstoull_l.c: Moved to ...
6631         * sysdeps/generic/wcstoull_l.c: ...here.
6632
6633         * sysdeps/wordsize-64/wcstol.c: New file.
6634         * sysdeps/wordsize-64/wcstoul.c: New file.
6635         * sysdeps/wordsize-64/wcstoll.c: New file.
6636         * sysdeps/wordsize-64/wcstoull.c: New file.
6637         * sysdeps/wordsize-64/wcstol_l.c: New file.
6638         * sysdeps/wordsize-64/wcstoul_l.c: New file.
6639         * sysdeps/wordsize-64/wcstoll_l.c: New file.
6640         * sysdeps/wordsize-64/wcstoull_l.c: New file.
6641
6642 1999-05-24  Jakub Jelinek  <jj@ultra.linux.cz>
6643
6644         * sysdeps/sparc/bits/wordsize.h: New file.
6645         * sysdeps/sparc/fpu/bits/fenv.h: New file.
6646         * sysdeps/sparc/fpu/fpu_control.h: New file.
6647         * sysdeps/sparc/gmp-mparam.h: New file.
6648
6649         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
6650         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
6651         * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
6652         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
6653         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
6654         * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
6655
6656         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
6657         * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
6658         * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
6659         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
6660
6661         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
6662         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
6663         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
6664         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
6665         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
6666
6667 1999-05-24  Ulrich Drepper  <drepper@cygnus.com>
6668
6669         * login/openpty.c (openpty): Make sure pty does not because
6670         controlling TTY.
6671
6672         * ctype/ctype.h: Don't optimize toupper/tolower for C++.
6673
6674 1999-05-23  Roland McGrath  <roland@baalperazim.frob.com>
6675
6676         * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
6677         Do proper error return.
6678
6679 1999-05-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6680
6681         * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
6682         of __P in the rest of glibc; define __MALLOC_PMT and use it.
6683         Reported by Stephan Kulow <coolo@kde.org>.
6684
6685 1999-05-23  Ulrich Drepper  <drepper@cygnus.com>
6686
6687         * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
6688
6689         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
6690
6691 1999-05-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6692
6693         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
6694         names to protect from user's macro namespace.
6695         * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
6696         * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
6697         * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
6698         * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
6699         * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
6700         Adapted.
6701         * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
6702         sysdeps/arm/fpu/fesetenv.c: Likewise.
6703         * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
6704         sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
6705         sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
6706         * sysdeps/mips/fesetenv.c: Likewise.
6707
6708 1999-05-22  Roland McGrath  <roland@baalperazim.frob.com>
6709
6710         * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
6711
6712 1999-05-20  Ulrich Drepper  <drepper@cygnus.com>
6713
6714         * configure.in: Recognize and allow gcc 2.95.
6715
6716 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
6717
6718         * sysdeps/generic/bits/elfclass.h: Version common to
6719         wordsize-32 and wordsize-64.
6720         * sysdeps/generic/bits/environments.h: Ditto.
6721         * sysdeps/generic/stdint.h: Ditto.
6722         * sysdeps/generic/inttypes.h: Ditto.
6723
6724         * sysdeps/generic/bits/wordsize.h: New file.
6725         * stdlib/Makefile: Add bits/wordsize.h to headers.
6726
6727         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
6728
6729         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
6730         headers to be used for 32bit and 64bit ABI compilations.
6731         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
6732         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
6733         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
6734         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
6735         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
6736
6737         * sysdeps/wordsize-64/bits/elfclass.h: Remove.
6738         * sysdeps/wordsize-64/bits/environments.h: Remove.
6739         * sysdeps/wordsize-64/stdint.h: Remove.
6740         * sysdeps/wordsize-64/inttypes.h: Remove.
6741         * sysdeps/wordsize-64/bits/wordsize.h: New file.
6742
6743         * sysdeps/wordsize-32/bits/elfclass.h: Remove.
6744         * sysdeps/wordsize-32/bits/environments.h: Remove.
6745         * sysdeps/wordsize-32/stdint.h: Remove.
6746         * sysdeps/wordsize-32/inttypes.h: Remove.
6747         * sysdeps/wordsize-32/bits/wordsize.h: New file.
6748
6749 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
6750
6751         * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
6752         __align_cpy_16): New functions.
6753         (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
6754
6755         * sysdeps/sparc/sparc32/Versions: New file.
6756         * sysdeps/sparc/sparc64/Versions: New file.
6757         * sysdeps/sparc/Versions: Remove.
6758
6759 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
6760
6761         * sysdeps/unix/sysv/linux/configure.in:
6762         On sparc64-*-linux*, set slibdir to /lib64 if prefix
6763         is /usr, plus set libdir to ${exec_prefix}/lib64.
6764         * sysdeps/unix/sysv/linux/configure: Regenerated.
6765         * config.make.in: Propagate libdir settings from configure
6766         to the Makefiles.
6767         * shlib-versions: sparc64-*-linux* dynamic linker is
6768         /lib64/ld-linux.so.2.
6769
6770 1999-05-18  Thorsten Kukuk  <kukuk@suse.de>
6771
6772         * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
6773         RPC connection.
6774
6775 1999-05-18  Jakub Jelinek  <jj@ultra.linux.cz>
6776
6777         * sysdeps/sparc/sparc64/rawmemchr.S: New file.
6778         * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
6779
6780         * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
6781         contains garbage in bits 8-63.
6782         * sysdeps/sparc/sparc64/memset.S: Ditto.
6783         * sysdeps/sparc/sparc64/strchr.S: Ditto.
6784
6785 1999-05-18  Ulrich Drepper  <drepper@cygnus.com>
6786
6787         * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
6788
6789 1999-05-17  David S. Miller  <davem@redhat.com>
6790
6791         * sysdeps/sparc/sparc32/atomicity.h: New file.
6792         * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
6793         * sysdeps/sparc/sparc64/atomicity.h: New file.
6794         * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
6795         sysdep-CFLAGS.
6796
6797 1999-05-18  Richard Henderson  <rth@twiddle.net>
6798
6799         * sysdeps/alpha/memchr.S: Zap high byte of length.  Reschedule.
6800
6801 1999-05-04  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6802
6803         * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
6804         posix/sys/types.h: Handle the case of __GNUC__=3,
6805         __GNUC_MINOR__=(anything).
6806
6807 1999-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6808
6809         * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
6810         if _FORCE_INLINES.
6811
6812 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
6813
6814         * elf/Makefile (distribute): Remove dl-origin.h.
6815         Add dl-dst.h and gen-trusted-dirs.awk.
6816
6817 1999-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6818
6819         * sysdeps/i386/i486/Versions: New file with inline functions from
6820         sysdeps/i386/i486/bits/string.h for now.
6821
6822         * sysdeps/i386/Versions: Add inline functions from
6823         sysdeps/i386/bits/string.h.
6824
6825         * string/Versions: Add inline functions from <bits/string2.h>.
6826
6827         * string/Makefile (routines): Add string-inlines.
6828         * string/string-inlines.c: New file, used for implementation of
6829         extern inline functions.
6830
6831         * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
6832         non inlined versions of functions.
6833         * string/bits/string2.h: Likewise.
6834         * sysdeps/i386/bits/string.h: Likewise.
6835
6836 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
6837
6838         * inet/arpa/tftp.h: Add second packed attribute.
6839
6840 1999-05-16  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
6841
6842         * malloc/malloc.c: Cleanup to bring in line with released
6843         stand-alone version `ptmalloc'.  Update some comments.
6844         (internal_function): Move fallback definition so that the source
6845         compiles outside of libc, and use it in more places.
6846         (malloc_atfork): Fix when malloc_check is in use.
6847
6848 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6849
6850         * stdlib/tst-strtod.c: Fix typo.
6851
6852 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6853
6854         * elf/dl-close.c (_dl_close): Add cast to avoid warning about
6855         const incorrectness.
6856
6857 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
6858
6859         * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
6860
6861 1999-05-16  Thorsten Kukuk  <kukuk@suse.de>
6862
6863         * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
6864         * sunrpc/key_call.c: Fix memory leak, close file handle.
6865         * nis/nis_creategroup.c: Use malloc instead of calloc,
6866         set ctime and mtime.
6867         * nis/nis_subr.c: Check for realloc result.
6868         * nis/nis_file.c: Fix memory leak.
6869         * nis/nis_table.c: Pretty print.
6870         * nis/nis_getservlist.c: Likewise.
6871         * nis/nis_ismember.c: Likewise.
6872         * nis/nis_lookup.c: Likewise.
6873         * nis/nis_ping.c: Likewise.
6874         * nis/nis_removemember.c: Likewise.
6875         * nis/nis_util.c: Likewise, check calloc result.
6876
6877 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
6878
6879         * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
6880         * sysdeps/generic/sys/socketvar.h: ... here.
6881         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
6882         * sysdeps/generic/netinet/in_systm.h: ... here.
6883         * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
6884         sys/socketvar.h.
6885         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
6886         * inet/Makefile (headers): Add netinet/in_systm.h here.
6887         * socket/Makefile (headers): Add sys/socketvar.h here.
6888
6889 1999-05-15  Ulrich Drepper  <drepper@cygnus.com>
6890
6891         * stdlib/strtol.c: Optimize inner loop of long long versions.
6892
6893         * sysdeps/gnu/utmpx.h: Add needed type definitions according to
6894         Unix98.  Add forward declaration of struct utmp.
6895
6896 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
6897
6898         * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
6899         calloc.
6900
6901         * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
6902         * nis/nis_addmember.c (nis_addmember): Fix memory leak.  Test
6903         memory allocation results.
6904
6905 1999-05-14  Mark Kettenis  <kettenis@gnu.org>
6906
6907         * sysdeps/generic/getutmp.c: Include <string.h>
6908         (getutmp): Rewrite to only copy those members that are really
6909         present in `struct utmp'.
6910         * sysdeps/generic/getutmpx.c: Likewise.
6911
6912 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
6913
6914         * nss/getXXbyYY.c: Add free_mem function which disposes all
6915         statically allocated memory when debugging.
6916         * nss/getXXent.c: Likewise.
6917         * nss/nsswitch.c: Likewise.
6918
6919 1999-05-13  Ulrich Drepper  <drepper@cygnus.com>
6920
6921         * sysdeps/gnu/getutmpx.c: New file.
6922         * sysdeps/gnu/getutmp.c: New file.
6923
6924 1999-05-13  H.J. Lu  <hjl@gnu.org>
6925
6926         * login/Versions (getutmpx): Added to GLIBC_2.1.1.
6927         (getutmp): Likewise.
6928
6929         * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
6930         getutmpx for login.
6931
6932         * sysdeps/gnu/utmpx.h (getutmp): Added.
6933         (getutmpx): Likewise.
6934
6935         * sysdeps/generic/getutmp.c: New file.
6936
6937         * sysdeps/generic/getutmpx.c: New file.
6938
6939 1999-05-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6940
6941         * glibcbug.in (BUGGLIBC): Change address to
6942         libc-alpha@sourceware.cygnus.com.
6943
6944 1999-05-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6945
6946         * resolv/arpa/nameser.h: Add C++ protectors.
6947
6948 1999-05-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6949
6950         * iconvdata/gconv-modules: Fix alias for CP1255.  Reported by
6951         Elad Tsur <eladts@post.tau.ac.il>.
6952
6953 1999-05-11  Ulrich Drepper  <drepper@cygnus.com>
6954
6955         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
6956         * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
6957         lazily if LD_BIND_NOW is not set.
6958         * elf/dl-support.c (_dl_lazy): New variable.
6959         (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
6960         * elf/rtld.c (_dl_lazy): new global variable.
6961         ( dl_main): Remove lazy, replace it by _dl_lazy.
6962
6963 1999-05-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6964
6965         * locale/setlocale.c (new_composite_name): Check also whether the
6966         first category name differs.
6967
6968 1999-05-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6969
6970         * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
6971         the generic one.
6972
6973 1999-05-11  Philip Blundell  <pb@nexus.co.uk>
6974
6975         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
6976         structure; storage suitable for any socket address.
6977         * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
6978         Likewise.
6979         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
6980         sockaddr_storage): Likewise.
6981
6982         * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
6983         platform.
6984
6985 1999-05-10  Ulrich Drepper  <drepper@cygnus.com>
6986
6987         * hesiod/Versions: Change _nss_hesiod_getpwuid and
6988         _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
6989         _nss_hesiod_getgrgid_r respectively.  Fixes pr libc/1115.
6990
6991 1999-05-09  Mark Kettenis  <kettenis@gnu.org>
6992
6993         * hurd/get-host.c (_hurd_get_host_config): Return an empty value
6994         if the file is empty.
6995
6996 1999-05-07  Ulrich Drepper  <drepper@cygnus.com>
6997
6998         * elf/do-lookup.h: Fix typo in comment.
6999
7000         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
7001         f_bsize to help some broken programs.
7002
7003         * stdio-common/tst-printf.c: Add test case for last _itoa problem.
7004
7005         * stdio-common/vfprintf.c: Fix typo.
7006
7007 1999-05-06  Ulrich Drepper  <drepper@cygnus.com>
7008
7009         * elf/link.h (struct link_map): New field l_phdr_allocated.
7010         * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
7011         the program header being part of any loaded segment.  If it is not
7012         allocate memory and set l_phdr_allocated flag.
7013         * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
7014
7015         * nss/digits_dots.c: Correct return value interpretation of
7016         inet_ntoa.  Fix PR libc/1109.
7017
7018 1999-05-06  Zack Weinberg  <zack@rabi.columbia.edu>
7019
7020         * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
7021
7022 1999-05-06  Thorsten Kukuk  <kukuk@suse.de>
7023
7024         * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
7025         * stdlib/fpioconst.c: Move #endif before end of struct.
7026
7027 1999-05-05  Ulrich Drepper  <drepper@cygnus.com>
7028
7029         * Versions.def (ld.so): Add GLIBC_2.1.1.
7030         * elf/Makefile (routines): Add dl-origin.
7031         (tests): Add origtest.  Add dependencies for the program.
7032         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
7033         _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
7034         * elf/dl-deps.c (expand_dst): New macro.  Expand DSTs in filename.
7035         (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
7036         DT_AUXILIARY, and DT_FILTER filenames.
7037         * elf/dl-load.c (expand_dynamic_string_token): Explode into
7038         two functions and three macros.
7039         (_dl_dst_count, _dl_dst_substitute): New functions.
7040         * elf/dl-dst.h: New file.
7041         * elf/dl-open.c (_dl_open): Take extra parameter with address of
7042         caller.  Pass address in args structure.
7043         (dl_open_worker): Recognize and expand DSTs in filename.
7044         * elf/ldsodefs.h (_dl_open): Adapt prototype.
7045         * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
7046         (__dlopen_check): Pass caller address to dlopen_doit in args.
7047         * elf/dlopendoit.c: Likewise.
7048         * iconv/gconv_dl.c: Adapt call of _dl_open.
7049         * nss/nsswitch.c: Likewise.
7050         * elf/origtest.c: New file.
7051         * sysdeps/generic/dl-origin.h: Moved to...
7052         * sysdeps/generic/dl-origin.c: ...here.
7053         * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
7054         * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
7055
7056         * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
7057         with specific bases and only few bits set in second word.
7058
7059         * timezone/Makefile (install-others): Create target directory
7060         before creating tzfiles.
7061
7062 1999-05-05  Thorsten Kukuk  <kukuk@suse.de>
7063
7064         * nis/nis_file.c (readColdStartFile): Allocate memory only after
7065         the file is opened successfully.
7066
7067         * nis/nis_table.c: Fix some memory leaks.
7068
7069 1999-05-04  Ulrich Drepper  <drepper@cygnus.com>
7070
7071         * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
7072         variable.
7073
7074         * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
7075         around DST.  Correctly ignore ORIGIN IN SUID binaries.
7076
7077 1999-05-03  Ulrich Drepper  <drepper@cygnus.com>
7078
7079         * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
7080         * sysdeps/generic/strtok.c: Likewise.
7081
7082         * string/tester.c: Add test of rawmemchr.
7083
7084         * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
7085         specification.  It's not necessary.
7086
7087         * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
7088         * elf/gen-trusted-dirs.awk: New file.
7089         * elf/dl-load.c (systems_dirs): Moved into file scope.  Initialize
7090         from SYSTEM_DIRS macro.
7091         (system_dirs_len): New variable.  Contains lengths of system_dirs
7092         strings.
7093         (fillin_rpath): Rewrite for systems_dirs being a simple string.
7094         Improve string comparisons.  Change parameter trusted to be a flag.
7095         Change all callers.
7096         (_dt_init_paths): Improve using new format for system_dirs.
7097
7098         * elf/dl-load.c (expand_dynamic_string_token): Don't expand
7099         $ORIGIN for SUID binaries.
7100
7101         * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
7102
7103 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7104
7105         * sunrpc/Makefile: Generate dependencies for all flavors of
7106         librpcsvc objects.
7107         (rpcgen-cmd): Pass -Y flag here and remove it from the macro
7108         invocations.
7109
7110 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7111
7112         * elf/dlopenold.c: Move #if down after includes to get
7113         dependencies right.
7114
7115 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7116
7117         * sysdeps/generic/bzero.c: Undefine __bzero.
7118
7119 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
7120
7121         * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
7122         * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
7123         * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
7124         Patch by Craig Small <csmall@scooter.eye-net.com.au>.
7125
7126         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
7127         parameter to struct gaih_servtuple *.  Adapt appropriately.
7128         (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
7129         This fixes a memory leak.
7130         Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
7131
7132         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
7133         and fpregset_t definition.  They are defined in ucontext.h.
7134
7135 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
7136
7137         * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
7138         and struct ether_header must be packed on the ARM.  The default
7139         alignment constraints add padding to the end of the structures.
7140
7141 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
7142
7143         * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM.  The
7144         default alignment constraints add padding to the end of the
7145         structure and between members.
7146
7147 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
7148
7149         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
7150         _dl_cache_libcmp instead of strcmp.
7151
7152         * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
7153         fails on a file.
7154         Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
7155
7156 1998-03-30  Joel Klecker  <espy@debian.org>
7157
7158         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
7159         (sysdep-others,install-bin): Add lddlibc4.
7160
7161 1999-05-02  H.J. Lu  <hjl@gnu.org>
7162
7163         * timezone/zic.c (dolink): Remove the symlink destination first.
7164
7165         * catgets/open_catalog.c (__open_catalog): Set catalog->status
7166         to "nonexisting" if failed to open the file.
7167
7168 1999-05-01  Ulrich Drepper  <drepper@cygnus.com>
7169
7170         * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
7171         gcc3.
7172
7173         * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
7174         Prevent warnings from multiplication with 0x01010101 by another cast.
7175
7176 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7177
7178         * string/bits/string2.h (memset): Revert to previous version if
7179         unaligned writes are not available.
7180
7181 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
7182
7183         * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
7184         better code in presence of the asm.
7185
7186 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7187
7188         * stdlib/fmtmsg.c (keywords): Increase array size for faster
7189         indexing.
7190
7191         * locale/localeinfo.h (_nl_category_names): Increase array element
7192         size for faster indexing.
7193         * locale/setlocale.c (_nl_category_names): Adjusted.
7194
7195 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7196
7197         * iconv/gconv_conf.c (add_alias): Remove wrong cast.
7198
7199 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7200
7201         * sysdeps/m68k/stackinfo.h: New file.
7202
7203 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
7204
7205         * string/tester.c (test_strchrnul): New function.
7206         (test_memset): Test one more special case.
7207
7208         * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
7209         25% of all cases.
7210
7211         * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
7212         base types.
7213
7214         * string/bits/string2.h: Fix bugs I introduced in last change.
7215
7216         * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
7217         register stall.
7218         Extend memset optimization.
7219         Correct i686 version of memchr.
7220
7221 1999-04-30  Roland McGrath  <roland@baalperazim.frob.com>
7222
7223         * sysdeps/i386/bzero.c: Add #undef __bzero.
7224
7225         * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
7226         EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
7227         exec server simulated a SIGTRAP before we even started up, so gdb is
7228         already happy.
7229
7230 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
7231
7232         * nss/digits_dots.c: Always initialize not_ok.
7233
7234 1999-04-30 09:02 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
7235
7236         * string/bits/string2.h (memset): Avoid arithmetic overflow at
7237         compile time, which produces obnoxious warnings.  If GCCv2 is
7238         in use, map __bzero to __builtin_memset to enable that
7239         optimization.
7240
7241 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
7242
7243         * string/bits/string2.h: Add more memset optimizations.
7244
7245         * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
7246
7247         * resolv/inet_pton.c (inet_pton4): Little optimizations.
7248         (inet_pton6): Likewise.
7249
7250         * nss/getXXbyYY_r.c: Include assert.h.
7251         * nss/getXXbyYY.c: Likewise.
7252
7253 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7254
7255         * termios/tcgetsid.c (tcgetsid): Rename variable to
7256         tiocgsid_does_not_work.
7257
7258 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
7259
7260         * inet/getnameinfo.c (nrl_domainname): Fix last patch.
7261
7262 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7263
7264         * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
7265         This allows e.g. gethostbyname to accept "10.1234".
7266         Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
7267
7268         * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
7269         non quad IPv4 numbers.
7270
7271 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7272
7273         * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
7274
7275 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
7276
7277         * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
7278         * argp/argp-parse.c (_argp_hang): Likewise.
7279         * argp/argp-pv.c (argp_program_version): Likewise.
7280         * argp/argp-pvh.c (argp_program_version_hook): Likewise.
7281         * inet/ether_hton.c (ether_hton, startp): Likewise.
7282         * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
7283         * inet/getnetgrent_r.c (setup, startp): Likewise.
7284         * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
7285         * intl/localealias.c (string_space, string_space_act, string_space_max,
7286         nmap, maxmap): Likewise.
7287         * libio/iopopen.c (proc_file_chain): Likewise.
7288         * libio/oldiopopen.c (old_proc_file_chain): Likewise.
7289         * locale/lc-collate.c (__collate_table, __collate_extra,
7290         __collate_element_hash, __collate_element_strings,
7291         __collate_element_values): Likewise.
7292         * malloc/mcheck.c (mcheck_used): Likewise.
7293         * malloc/mtrace.c (added_atexit_handler): Likewise.
7294         * malloc/set-freeres.c (already_called): Likewise.
7295         * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
7296         * misc/syslog.c (LogStat, LogTag): Likewise.
7297         * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
7298         * nss/getXXbyYY_r.c (startp): Likewise.
7299         * posix/getopt.c (optarg, __getopt_initialized): Likewise.
7300         * posix/regex.c (init_syntax_once) [done]: Likewise.
7301         (debug): Likewise.
7302         * string/strfry.c (init): Likewise.
7303         * sunrpc/svc_run.c (svc_top): Likewise.
7304         * posix/euidaccess.c (have_ids): Likewise.
7305         * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
7306         * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
7307         * time/getdate.c (getdate_err): Likewise.
7308         * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
7309         Likewise.
7310         * time/tzset.c (old_tz, is_initialized): Likewise.
7311
7312         * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
7313         of static data with zero.
7314         * signal/allocrtsig.c (init): Likewise.
7315
7316         * string/Makefile (routines): Add strchrnul.
7317         * string/Versions [GLIBC_2.1.1]: Add strchrnul.
7318         * string/string.c: Add strchrnul prototype.
7319         * include/string.h: Add __strchrnul prototype.
7320         * sysdeps/generic/strchrnul.c: New file.
7321         * sysdeps/i386/strchrnul.S: New file.
7322         * sysdeps/i386/bits/string.c: Add strchrnul optimization.
7323         * sysdeps/i386/i486/bits/string.c: Likewise.
7324         * argp/argp-help.c (argp_args_usage): Use __strchrnul.
7325         * inet/ether_line.c (ether_line): Likewise.
7326         * nscd/nscd_conf.c (nscd_parse_file): Likewise.
7327         * nss/nsswitch.c (nss_parse_file): Likewise.
7328         * posix/execvp.c (execvp): Likewise.
7329         * posix/fnmatch.c (internal_fnmatch): Likewise.
7330         * resolv/res_hconf.c (_res_hconv_init): Likewise.
7331         * resolv/res_init.c (res_init): Likewise.
7332         * stdlib/fmtmsg.c (init): Likewise.
7333         * stdlib/getsubopt.c (getsubopt): Likewise.
7334
7335         * catgets/catgets.c (catopen): Only allocate one memory block.
7336         (catclose): Only one free call necessary.
7337
7338         * catgets/open_catalog.c (__open_catalog): Simplify handling of
7339         file descriptor.
7340
7341         * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
7342         of real functions.  Simplify _tolower and _toupper.
7343
7344         * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
7345         variable.
7346
7347         * iconv/gconv.h (struct gconv_info): Change data element from pointer
7348         to array of size 0.
7349         * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
7350         * iconv/gconv_close.c (__gconv_close): Don't free data.
7351
7352         * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
7353         insert new alias.
7354
7355         * iconv/gconv_db.c (add_derivation): More efficient copying.  Check
7356         for error while inserting in tree.
7357
7358         * include/time.h: Pretty print.
7359
7360         * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
7361         in table and lots of relocations.
7362         * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
7363         string pointers in table and lots of relocations.
7364
7365         * intl/finddomain.c: Remove definition of strchr macro.
7366
7367         * io/ftw.c (nftw_arr, ftw_arr): Make const.
7368
7369         * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
7370
7371         * locale/localeinfo.h (_nl_category_names): Change into an array with
7372         fixed width char string elements.
7373         * locale/setlocale.c (_nl_category_names): Likewise.
7374         (_nl_current): Make global.
7375         * locale/nl_langinfo.c (nldata): Removed.  Use _nl_current now.
7376
7377         * malloc/Makefile (distribute): Add stackinfo.h.
7378         * sysdeps/generic/stackinfo.h: New file.
7379         * sysdeps/i386/stackinfo.h: New file.
7380         * posix/execl.c: Use stackinfo.h in optimizing alloca use.
7381         * posix/execle.c: Likewise.
7382         * posix/execlp.c: Likewise.
7383
7384         * nis/nis_table.c (__create_ib_request): Always use realloc.
7385
7386         * posix/execvp.c (execute): Rename to script_execute and keep only
7387         code to execute using shell.
7388         (execvp): Call execv directly and only fall back on script_execute.
7389
7390         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
7391         and always use xdigits instead.
7392
7393         * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
7394         where appropriate.
7395
7396         * stdlib/fpioconst.h (__tens): New declaration.
7397         (struct mp_power): Remove array, add arrayoff element.
7398         * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
7399         __tens array and add in _fpioconst_pow10 offsets into __tens.
7400         * stdio-common/printf_fp.c: Rewrite to use new __tens array.
7401         * stdlib/strtod.c: Likewise.
7402
7403         * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
7404
7405         * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
7406         of the list.
7407         * stdlib/atexit.c (__exit_funcs): Don't initialize.
7408
7409         * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
7410
7411         * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
7412         a single and an array with offsets.
7413
7414         * sunrpc/des_soft.c (partab): Make it const.
7415
7416         * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
7417         (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
7418         (__key_decryptsession_pk_LOCAL): Likewise.
7419         (__key_gendes_LOCAL): Likewise.
7420         (MESSENGER): Mark const.
7421         (key_call_private_main): Don't initialize with 0.
7422         (use_keyenvoy): Don't initialize with 0.
7423         (key_call): Rewrite to reverse logic of use_doors variable.
7424
7425         * sunrpc/netname.c (OPSYS): Define as array, not pointer.
7426         (startp): Don't initialize with zero.
7427
7428         * sunrpc/openchild.c (_openchild): Make first argument const.
7429
7430         * sunrpc/pmap_rmt.c (timeout): Mark const.
7431         * sunrpc/xcrypt.c (hex): Likewise.
7432
7433         * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
7434         initialization of global variables.
7435         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
7436         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7437         * termios/tcgetsid.c: Likewise.
7438
7439         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
7440         fxsr to osfxsr.
7441
7442         * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
7443         block.  Add function to free memory if wanted.
7444         * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
7445
7446         * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
7447
7448         * wcsmbs/wmemset.c: Little code optimization.
7449
7450 1999-04-23  Paul Eggert  <eggert@twinsun.com>
7451
7452         * stdlib/strtoull.c: Surround strong_alias and weak_alias with
7453         ifdef _LIBC.
7454
7455 1999-04-28  Roland McGrath  <roland@baalperazim.frob.com>
7456
7457         * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
7458         implementation and just always fail with ENOSYS.  This entry point is
7459         obsolete.  Add link warning to that effect.
7460
7461 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
7462
7463         * hurd/get-host.c: Include <hurd/lookup.h>.
7464
7465 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
7466
7467         * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
7468         is != NULL.
7469
7470 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7471
7472         * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
7473         ISO C9x and Unix98.
7474
7475 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
7476
7477         * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
7478         Patch by Peter Miller <millerp@canb.auug.org.au>.
7479
7480 1999-04-27  Thorsten Kukuk  <kukuk@suse.de>
7481
7482         * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
7483         prefers loopback device.
7484
7485 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
7486
7487         * posix/fnmatch.c (internal_fnmatch): Finish incomplete
7488         no_leading_period change.
7489
7490         * posix/testfnm.c: More test cases.
7491
7492 1999-04-27  Ulrich Drepper  <drepper@cygnus.com>
7493
7494         * include/dirent.h: Remove __getdirentries declaration, add __getdents
7495         and __getdents64.
7496         * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
7497         * sysdeps/unix/readdir_r.c: Likewise.
7498         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7499         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
7500         * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
7501         __getdirentries.  Remove fourth argument.
7502         * sysdeps/unix/sysv/linux/getdirentries.c: New file.
7503         * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
7504         * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
7505         Add getdirentries and getdirentries64.
7506         * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
7507
7508         * posix/fnmatch.c (internal_fnmatch): Correctly reset string
7509         pointer in case of an invalid [[: expression.
7510
7511         * posix/testfnm.c: Add more test cases.
7512
7513 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
7514
7515         * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
7516         set, pass EXEC_SIGTRAP flag in exec RPC.
7517
7518 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
7519
7520         * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch.  Take
7521         extra parameter.  Fix several more bugs involving wildcard and
7522         ranges.
7523         (fnmatch): New function.  Call internal_fnmatch.
7524
7525         * posix/testfnm.c: More test cases.
7526
7527 1999-04-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7528
7529         * manual/install.texi (Configuring and compiling): Explain that
7530         files are changed in the source directory.
7531         Closes PR libc/981.
7532         (Configuring and compiling): Explain situation with PARALLELMFLAGS
7533         in the source directory.
7534
7535 1999-04-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7536
7537         * locale/programs/ld-ctype.c: Spelling fixes.
7538         (ctype_finish): Fix argument of error message format.
7539         * locale/programs/ld-messages.c: Spelling fixes.
7540         * locale/programs/ld-monetary.c: Spelling fixes.
7541         * locale/programs/ld-time.c (time_finish): Make sure that name and
7542         format of era_entries are adjacent.
7543         (time_output): Reduce the size of the io vector.
7544
7545 1999-04-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7546
7547         * manual/filesys.texi (Attribute Meanings): Move a misplaced
7548         paragraph.
7549
7550 1999-04-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7551
7552         * locale/programs/ld-collate.c (collate_output): Convert
7553         undefined_offset to an array index.  Fix computation of other
7554         endian extra table.
7555
7556 1999-04-26  Roland McGrath  <roland@baalperazim.frob.com>
7557
7558         * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
7559         return success with empty value.
7560
7561 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
7562
7563         * posix/fnmatch.c: Include string.h also for glibc.
7564         (fnmatch, case '?'): Optimize if cascades a bit.
7565         (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
7566
7567         * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
7568
7569 1999-04-24  Ulrich Drepper  <drepper@cygnus.com>
7570
7571         * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
7572         * iconv/gconv_int.h: Declare UTF16 functions.
7573         * iconv/gconv_simple.c: Add UTF16 conversion functions.
7574
7575 1999-04-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7576
7577         * posix/wordexp.c (parse_param): Fix type of offset to allow it to
7578         be used correctly as parameter for parse_dollars/parse_tilde.
7579
7580 1999-04-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7581
7582         * manual/conf.texi (Utility Limits): Remove duplicate description
7583         of BC_DIM_MAX.
7584
7585 1999-04-19  Ulrich Drepper  <drepper@cygnus.com>
7586
7587         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
7588         outbufend for dst==NULL.
7589
7590 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
7591
7592         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
7593         for dst==NULL.
7594         Fixes PR libc/1084.
7595
7596         * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
7597         Fixes PR libc/1083.
7598
7599 1999-04-18  Thorsten Kukuk  <kukuk@suse.de>
7600
7601         * sunrpc/Makefile: Remove special handling of bootparam.x,
7602         add rpcsvc/bootparam.h to headers.
7603         * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
7604         * sunrpc/rpcsvc/bootparam.x: Renamed to...
7605         * sunrpc/rpcsvc/bootparam_prot.x: ...this.
7606
7607 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
7608
7609         * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
7610         detect and handle invalid descriptors.
7611
7612 1999-04-17  Thorsten Kukuk  <kukuk@suse.de>
7613
7614         * timezone/zic.c (dolink): Append complete path not only filename
7615         to ../ list.
7616
7617 1999-04-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7618
7619         * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
7620
7621 1999-04-17  Ulrich Drepper  <drepper@cygnus.com>
7622
7623         * iconvdata/gconv-modules: Rename CP874 to IBM874.
7624         * iconvdata/Makefile: Likewise.
7625         * iconvdata/cp874.h: Removed.
7626         * iconvdata/cp874.c: Renamed to...
7627         * iconvdata/ibm874.c: ...this.
7628
7629 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
7630
7631         * sysdeps/unix/sysv/linux/bits/types.h: Correct
7632         signed/unsigned-ness of blkcnt and fsblkcnt.
7633         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
7634         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
7635
7636         * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
7637         SOL_AAL, and SOL_IRDA.
7638
7639 1999-04-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7640
7641         * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero.  Don't
7642         include "linux_fsinfo.h".
7643         Based on a patch by H.J. Lu <hjl@gnu.org>.
7644
7645 1999-04-16  Thorsten Kukuk  <kukuk@suse.de>
7646
7647         * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
7648
7649 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
7650
7651         * nscd/cache.c (prune_cache): Only disable file checking for
7652         future if the file does not exist.
7653         Update file_mtime if cache was flushed.
7654
7655 1999-04-15  David S. Miller  <davem@redhat.com>
7656
7657         * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
7658         * sysdeps/sparc/sparc32/strcpy.S: Likewise.
7659
7660 1999-04-15  Scott Bambrough  <scottb@netwinder.org>
7661
7662         * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
7663         compilation of file.
7664
7665 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
7666
7667         * Versions.def: Add GLIBC_2.1.1 to libpthread.
7668
7669         * iconvdata/Makefile (modules): Add KOI8-U.
7670         (distribute): Add koi8-u.c.
7671         (gen-8bit-gap-modules): Add koi8-u.
7672         * iconvdata/gconv-modules: Add KOI8-U entries.
7673         * iconvdata/koi8-u.c: New file.
7674
7675 1999-04-13  Thorsten Kukuk  <kukuk@suse.de>
7676
7677         * sunrpc/auth_des.c: 64bit fixes, security fixes.
7678         * sunrpc/auth_none.c: Pretty print.
7679         * sunrpc/auth_unix.c: Likewise.
7680         * sunrpc/authdes_prot.c: Likewise.
7681         * sunrpc/authuxprot.c: Likewise.
7682         * sunrpc/bindrsvprt.c: Likewise.
7683         * sunrpc/clnt_gen.c: Likewise.
7684         * sunrpc/rpc/xdr.h: Likewise.
7685         * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
7686         * sunrpc/rpc_cmsg.c: Don't use *long pointers.
7687         * sunrpc/rtime.c: Use new rpc_timeval.
7688         * sunrpc/svc_authux.c: Don't use *long pointers.
7689         * sunrpc/svcauth_des.c: Likewise + security fixes.
7690         * sunrpc/xdr_mem.c: Don't use *long pointers.
7691         * sunrpc/xdr_rec.c: Likewise.
7692         * sunrpc/xdr_sizeof.c: Likewise.
7693         * sunrpc/xdr_stdio.c: Likewise.
7694
7695 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
7696
7697         * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
7698         so that it is redone for each sending.
7699
7700 1999-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7701
7702         * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
7703
7704 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
7705
7706         * iconv/gconv_db.c (__gconv_find_transform): If conversion is
7707         known to not exist don't try to load shared objects.
7708         Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
7709
7710         * nscd/cache.c (prune_cache): The table might not be unused.  In
7711         this case do nothing.
7712
7713         * catgets/gencat.c (read_input_file): Don't drop white spaces
7714         between number/identifier and string.
7715         Patch by Dima Barsky <dima@pwd.hp.com>.
7716         If no white space at all follows number/identifier remove existing
7717         message with the number/identifier.
7718
7719 1999-04-14  H.J. Lu  <hjl@gnu.org>
7720
7721         * sunrpc/clnt_udp.c (is_network_up): New function.
7722         (clntudp_call): Call is_network_up () to check if any network
7723         interface is up in case of timeout.
7724
7725 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7726
7727         * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
7728         * wctype/Makefile (tests): Add test_wcfuncs.
7729
7730 1999-04-14  Jakub Jelinek  <jj@ultra.linux.cz>
7731
7732         * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
7733         architectures.
7734         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
7735         instead of CFLAGS.
7736         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
7737         instead of CFLAGS. For gnulib and string directories use
7738         -Wa,-Av9a gcc ASFLAGS.
7739         * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
7740         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
7741         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
7742         * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
7743         the same way as sparc-*.
7744
7745 1999-04-14  Ulrich Drepper  <drepper@cygnus.com>
7746
7747         * locale/programs/locfile.c (locfile_read): Fix typo.
7748         Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
7749
7750 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
7751
7752         * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
7753         restarted after being interrupted by a signal.  The parameters on
7754         the stack were corrupted by the signal handler.
7755
7756         * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
7757         restarted after being interrupted by a signal.  The parameters on
7758         the stack were corrupted by the signal handler.
7759
7760 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7761
7762         * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
7763         Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
7764
7765 1999-04-12  Tim Waugh  <tim@cyberelk.demon.co.uk>
7766
7767         * posix/wordexp-test.c: In field-splitting test cases where
7768         subshells were involved, unset IFS first: some shells (ash) use
7769         IFS even when no expansion is performed.
7770
7771 1999-04-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7772
7773         * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
7774         the real end of the chunk, not some random point inbetween.
7775         (_IO_obstack_xsputn): Likewise.  Actually copy the data into the
7776         obstack when growing.  Use fast version of obstack_blank when
7777         shrinking.
7778         (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
7779         allocating the vtable pointer.
7780         (_IO_obstack_vprintf): Adjust for above change and avoid
7781         unnecessary casts.  Use fast version of obstack_blank when
7782         shrinking.
7783         Fixes PR libc/1075.
7784
7785 1999-04-12  Ulrich Drepper  <drepper@cygnus.com>
7786
7787         * iconvdata/gconv-modules: Fix typo.  Add UJIS alias.
7788         Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
7789
7790 1999-04-11  Tim Waugh  <tim@cyberelk.demon.co.uk>
7791
7792         * posix/wordexp.c (wordexp): Fix a leak when an invalid character
7793         is seen, as well as fixing semantics.  Don't reset the word count
7794         to zero when an invalid character is seen, but leave it as it was
7795         (this makes a difference with WRDE_APPEND).
7796
7797         * posix/wordexp-test.c: More test cases.
7798
7799         * posix/wordexp.c (parse_param): In words like ${var#pattern},
7800         always expand pattern when it is needed.  Also, handle quoting in
7801         pattern properly.
7802
7803 1999-04-12  Philip Blundell  <philb@gnu.org>
7804
7805         * elf/elf.h: Update ARM definitions to match current gas2.
7806
7807         * sysdeps/arm/bits/endian.h: Support big endian operation.
7808
7809         * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
7810         Don't bother range checking the port number.
7811
7812         * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
7813
7814         * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
7815         the syscall name in assembler output for ease of debugging.
7816
7817         * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
7818         compiler behaviour.
7819         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
7820         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
7821         (sysdep_routines): Add sigrestorer.
7822
7823         * string/tester.c (test_strcpy): Add new tests for unaligned
7824         arguments.
7825         * sysdeps/arm/bits/string.h: Delete inline implementations of
7826         strcpy and stpcpy.
7827
7828 1999-04-11  Ulrich Drepper  <drepper@cygnus.com>
7829
7830         * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
7831
7832 1999-04-10  Mark Kettenis  <kettenis@gnu.org>
7833
7834         * sysdeps/mach/hurd/Dist: Add clk_tck.c.
7835
7836 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
7837
7838         * iconvdata/Makefile (modules): Add TIS-620.
7839         (distribute): Add tis-620.c.
7840         (gen-8bit-gap-modules): tis-620.
7841         * iconvdata/tis-620.c: New file.
7842         * iconvdata/gconv-modules: Add TIS-620 entries.
7843
7844         * iconvdata/asmo_449.c: Correct comment.
7845
7846 1999-04-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7847
7848         * manual/install.texi (Configuring and compiling): Comment out
7849         description of --disable-static since this doesn't work currently
7850         (see change by Ulrich Drepper on 1998-12-07 for configure.in).
7851
7852 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
7853
7854         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
7855         use binary search.
7856         Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
7857
7858 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7859
7860         * scripts/test-installation.pl (installation_problem): Skip
7861         libnss1_* libraries from glibc-compat add-on.
7862
7863 1999-04-07  H.J. Lu  <hjl@gnu.org>
7864
7865         * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
7866         libstdc++ 2.7.2.
7867         * posix/Versions (__waitpid): Likewise.
7868
7869 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7870
7871         * manual/install.texi (Reporting Bugs): Add section about reported
7872         bugs and correct email address of glibcbug script.
7873
7874 1999-04-01  Thorsten Kukuk  <kukuk@suse.de>
7875
7876         * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
7877         * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
7878         xdr_u_longlong_t. Based on patch from Dan Shechter
7879         <damageboy@isdn.net.il>.
7880         * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
7881         * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
7882
7883         * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
7884
7885 1999-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7886
7887         * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
7888         directly if getdents returns with error set.
7889
7890 1999-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7891
7892         * locale/langinfo.h (THOUSEP): Rename second occurence of
7893         THOUSANDS_SEP to THOUSEP.
7894         Reported by Roman Belenov <roman@nstl.nnov.ru>.
7895
7896 1999-04-05  Roland McGrath  <roland@baalperazim.frob.com>
7897
7898         * hurd/STATUS: File removed.  Moved items that are still relevant into
7899         TODO list in hurd source.
7900
7901 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
7902
7903         * sysdeps/mach/hurd/bits/time.h: New file.
7904         * sysdeps/mach/hurd/getrusage.c: New file.
7905         * sysdeps/mach/hurd/clk_tck.c: New file.
7906         * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
7907         * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
7908         (sysdep_routines): Add clk_tck.
7909         * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
7910         implemented.
7911
7912 1999-04-02  Ulrich Drepper  <drepper@cygnus.com>
7913
7914         * misc/syslog.c (closelog_internal): Do not reset LogTag here.
7915         (closelog): But instead here.
7916         Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
7917
7918 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7919
7920         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
7921         the source directory.  Fixes PR libc/1059.
7922
7923 1999-04-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7924
7925         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
7926         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7927
7928 1999-04-01  Ulrich Drepper  <drepper@cygnus.com>
7929
7930         * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
7931         * iconvdata/testdata/ISO-8859-14: New file.
7932         * iconvdata/testdata/ISO-8859-14..UTF8: New file.
7933         * iconvdata/testdata/ISO-8859-15: New file.
7934         * iconvdata/testdata/ISO-8859-15..UTF8: New file.
7935
7936 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
7937
7938         * iconvdata/testdata/CP1258: New file.
7939         * iconvdata/testdata/CP1258..UTF8: New file.
7940         * iconvdata/TESTS: Add CP1258 entry.
7941
7942         * iconvdata/cp874.h (to_ucs4): Add Euro sign.
7943
7944         * timezone/africa: Update from tzdata1999d.
7945         * timezone/europe: Likewise.
7946         * timezone/northamerica: Likewise.
7947
7948 1999-03-31  Mark Kettenis  <kettenis@gnu.org>
7949
7950         * login/programs/pt_chown.c (main): Save effective user ID before
7951         dropping priviliges and use this to check if the program is
7952         properly installed.
7953
7954 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
7955
7956         * iconvdata/testdata/CP1254: Update for charmap changes.
7957         * iconvdata/testdata/CP1254..UTF8: Likewise.
7958         * iconvdata/testdata/CP1255: Likewise.
7959         * iconvdata/testdata/CP1255..UTF8: Likewise.
7960         * iconvdata/testdata/CP1256: Likewise.
7961         * iconvdata/testdata/CP1256..UTF8: Likewise.
7962         * iconvdata/testdata/CP1257: Likewise.
7963         * iconvdata/testdata/CP1257..UTF8: Likewise.
7964
7965         * iconvdata/Makefile (distribute): Remove cp1258.h.
7966         (gen-8bit-gap-modules): Add cp1258.
7967         * iconvdata/cp1258.h: Removed.
7968
7969 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
7970
7971         * timezone/tst-timezone.c (tests): Add more cases.
7972         (check_tzvars): Mark errors clearer.
7973         (main): Likewise.
7974
7975 1999-03-30 20:59 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7976
7977         * login/programs/pt_chown.c: Drop privileges if invoked with
7978         arguments.  Don't close the master pty.
7979
7980 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
7981
7982         * time/tzfile.c (__tzfile_read): Process transitions from the rear.
7983         Minor optimization.
7984
7985 1999-03-29  Ulrich Drepper  <drepper@cygnus.com>
7986
7987         * elf/rtld.c (process_envvars): Do not automatically prevent lazy
7988         relocation for SUID binaries.
7989
7990 1999-03-29  Paul Eggert  <eggert@twinsun.com>
7991
7992         * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
7993         while in child process.
7994
7995 1999-03-29  Jakub Jelinek  <jj@ultra.linux.cz>
7996
7997         * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
7998         * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
7999         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
8000         * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
8001         * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
8002
8003         * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
8004         * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
8005         * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
8006         * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
8007         * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
8008         * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
8009         * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
8010         * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
8011         * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
8012         * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
8013         * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
8014         * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
8015         * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
8016         * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
8017         * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
8018         * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
8019         * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
8020         * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
8021         * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
8022         * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
8023         * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
8024         * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
8025         * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
8026         * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
8027         * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
8028         * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
8029
8030         * sysdeps/sparc/sparc32/bcopy.c: New file.
8031         * sysdeps/sparc/sparc32/bzero.c: New file.
8032         * sysdeps/sparc/sparc32/memchr.S: New file.
8033         * sysdeps/sparc/sparc32/memcpy.S: New file.
8034         * sysdeps/sparc/sparc32/memmove.c: New file.
8035         * sysdeps/sparc/sparc32/memset.S: New file.
8036         * sysdeps/sparc/sparc32/stpcpy.S: New file.
8037         * sysdeps/sparc/sparc32/strchr.S: New file.
8038         * sysdeps/sparc/sparc32/strrchr.c: New file.
8039         * sysdeps/sparc/sparc32/strcpy.S: New file.
8040         * sysdeps/sparc/sparc32/strlen.S: New file.
8041         * sysdeps/sparc/sparc32/strcat.S: New file.
8042         * sysdeps/sparc/sparc32/strcmp.S: New file.
8043
8044         * sysdeps/sparc/sparc64/bcopy.c: New file.
8045         * sysdeps/sparc/sparc64/bzero.c: New file.
8046         * sysdeps/sparc/sparc64/memchr.S: New file.
8047         * sysdeps/sparc/sparc64/memcmp.S: New file.
8048         * sysdeps/sparc/sparc64/memcpy.S: New file.
8049         * sysdeps/sparc/sparc64/memset.S: New file.
8050         * sysdeps/sparc/sparc64/stpcpy.S: New file.
8051         * sysdeps/sparc/sparc64/strcat.S: New file.
8052         * sysdeps/sparc/sparc64/strchr.S: New file.
8053         * sysdeps/sparc/sparc64/strcmp.S: New file.
8054         * sysdeps/sparc/sparc64/strcpy.S: New file.
8055         * sysdeps/sparc/sparc64/strcspn.S: New file.
8056         * sysdeps/sparc/sparc64/strlen.S: New file.
8057         * sysdeps/sparc/sparc64/strncpy.S: New file.
8058         * sysdeps/sparc/sparc64/strpbrk.S: New file.
8059         * sysdeps/sparc/sparc64/strrchr.c: New file.
8060         * sysdeps/sparc/sparc64/strspn.S: New file.
8061         * sysdeps/sparc/sparc64/stpncpy.S: New file.
8062         * sysdeps/sparc/sparc64/strncmp.S: New file.
8063
8064         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
8065         Append -fPIC, don't replace.
8066
8067         * configure.in: Recognize sparcv8plus / sparcv9.
8068
8069 1999-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8070
8071         * malloc/obstack.h (obstack_free): Explicitly convert __obj to
8072         char * to avoid C++ warning.
8073         Patch by yasushi@cs.washington.edu [PR libc/1035].
8074
8075 1999-03-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8076
8077         * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
8078         declared in stdlib.h, correct return value of mkstemp.
8079         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
8080
8081         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
8082         from Linux 2.2.5.
8083
8084 1999-03-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8085
8086         * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
8087         C++ warning.
8088
8089         * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
8090         inline functions.  Closes PR libc/1049.
8091
8092 1999-03-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8093
8094         * timezone/README: Update from tzdata1999c and tzcode1999c.
8095
8096         * timezone/africa: Update from tzdata1999c.
8097         * timezone/antarctica: Likewise.
8098         * timezone/asia: Likewise.
8099         * timezone/australasia: Likewise.
8100         * timezone/europe: Likewise.
8101         * timezone/northamerica: Likewise.
8102         * timezone/southamerica: Likewise.
8103         * timezone/zone.tab: Likewise.
8104
8105         * timezone/zic.c: Update from tzcode1999c.
8106
8107 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8108
8109         * Makerules: Add $(common-objpfx)Versions.all to common-generated
8110         outside of ifndef avoid-generated.
8111
8112         * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
8113         in iofdopen.c.
8114         * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
8115         iofopen.c.
8116         * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
8117         in iofclose.c.
8118         * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
8119         _IO_old_file_seekoff): Bring over recent changes in fileops.c.
8120
8121 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
8122
8123         * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
8124         if we build the profiled library.
8125
8126 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8127
8128         * math/Makefile (gmp-objs): Add inlines.  Reported by Andreas
8129         Jaeger <aj@arthur.rhein-neckar.de>
8130
8131 1999-03-25  Roland McGrath  <roland@yaumatei.ai.mit.edu>
8132
8133         * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
8134         (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
8135         This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
8136
8137 1999-03-24  Roland McGrath  <roland@baalperazim.frob.com>
8138
8139         * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
8140         works properly in subdirs.
8141
8142 1999-03-23  Roland McGrath  <roland@baalperazim.frob.com>
8143
8144         * sysdeps/mach/hurd/Makefile: Undo last change.
8145         [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
8146         [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
8147
8148         * mach/Machrules (+preinit, +postinit, +interp,
8149         LDFLAGS-$(interface.so)): Variables removed.  Interface libraries get
8150         linked just like other shared libraries.
8151         (interface.so): Fix typo in defn, so it works.
8152         ($(objpfx)$(interface.so)): Make it depend on libc.so.
8153
8154 1999-03-21  Roland McGrath  <roland@baalperazim.frob.com>
8155
8156         * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
8157         $(link-rpcuserlibs).
8158
8159 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8160
8161         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
8162         $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
8163         targets if not building shared libraries.
8164
8165 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8166
8167         * configure.in: Also look in $PATH when searching for
8168         install-info.  Remove autoconf bug workaround and require autoconf
8169         2.13.
8170
8171 1999-03-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8172
8173         * db/Makefile: Don't try to install shared library link if not
8174         building with shared libs.
8175
8176 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8177
8178         * rt/Makefile: Link against static library if no shared lib is
8179         available.
8180
8181         * localedata/Makefile: The shells scripts implementing the test
8182         require the dynamic linker which is not available with
8183         --disable-shared.  Skip the test if --disable-shared is given.
8184
8185         * linuxthreads/Makefile: Link test against static libpthread if no
8186         shared lib is available.
8187
8188         * iconvdata/Makefile (tests): Run iconv-test only if we're
8189         building shared libraries.
8190         * elf/Makefile (tests): Likewise for elf tests.
8191
8192         * posix/Makefile: The test frameworks globtest and wordexp-test
8193         require the dynamic linker which is not available with
8194         --disable-shared.  Skip the test if --disable-shared is given.
8195
8196         * grp/Makefile (otherlibs): For static nss build link against
8197         necessary libs.
8198
8199 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8200
8201         * debug/Makefile (install-bin): Install and build catchsegv only
8202         if build-shared == yes.  Reported by jussi@jlaako.pp.fi [PR
8203         libc/965].
8204
8205 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8206
8207         * time/tzfile.c (__tzfile_read): Handle the case where there are
8208         transitions but no DST.
8209
8210 1999-03-20  Roland McGrath  <roland@baalperazim.frob.com>
8211
8212         * mach/Machrules (extra-libs-others): Add $(interface-library) here
8213         too, so it gets built in the others pass rather than the lib pass.
8214         This is necessary since the RPC libraries need to be linked against
8215         libc.
8216
8217 1999-03-19  Roland McGrath  <roland@baalperazim.frob.com>
8218
8219         * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
8220         _itoa_word decl.
8221
8222         * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
8223         ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
8224         ($(link-rpcuserlibs)): New static pattern rule; link intermediate
8225         versions of lib{mach,hurd}user.so without reference to libc.so,
8226         then link libc.so against that to get deps and symbol versions, then
8227         finally link real lib*user.so against libc.so.
8228
8229         * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
8230         Support whole-file locking (only) by using the file_lock RPC.  This
8231         has very wrong semantics, but is better than nothing for the time
8232         being.  (Correct POSIX.1 locking will require new RPCs in the Hurd
8233         protocols that will be somewhat hairy to specify.)
8234
8235 1999-03-17  Mark Kettenis  <kettenis@gnu.org>
8236
8237         * sysdeps/mach/hurd/ptsname.c: New file.
8238
8239 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8240
8241         * timezone/asia: Fix rule in Asia/Nicosia entry.
8242
8243 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8244
8245         * manual/getopt.texi (Using Getopt): Explain "::" in option
8246         string.  Reported by Yuri Niyazov <yuricake@geocities.com>.
8247
8248 1999-03-18  Thorsten Kukuk  <kukuk@suse.de>
8249
8250         * sunrpc/clnt_unix.c: Fix creation of parameters for
8251         sendmsg/recvmsg on non intel platforms.
8252         * sunrpc/svc_unix.c: Likewise.
8253
8254 1999-03-18  Philip Blundell  <philb@gnu.org>
8255
8256         * sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386
8257         implementation.
8258
8259 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8260
8261         * timezone/africa: Update from tzdata1999b.
8262         * timezone/asia: Likewise.
8263         * timezone/australasia: Likewise.
8264         * timezone/europe: Likewise.
8265         * timezone/northamerica: Likewise.
8266         * timezone/southamerica: Likewise.
8267         * timezone/zone.tab: Likewise.
8268
8269         * timezone/README: Mention tzdata1999b.
8270
8271 1999-03-17  Ulrich Drepper  <drepper@cygnus.com>
8272
8273         * sysdeps/generic/segfault.c (write_strsignal): New function.
8274         (catch_segfault): Use it instead of calling strsignal.
8275
8276 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8277
8278         * iconv/gconv.c (__gconv): Change type of last_start to unsigned
8279         char to avoid warning.
8280
8281 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
8282
8283         * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
8284
8285         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
8286         outbuf to unsigned char to avoid warning.
8287
8288 1999-03-11  David S. Miller  <davem@redhat.com>
8289
8290         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
8291         masks.
8292         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
8293
8294 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
8295
8296         * iconv/gconv.h (gconv_fct): Change parameter from `char' to
8297         `unsigned char'.
8298         (gconv_step_data): Likewise.
8299         * iconv/gconv_int.h (__gconv): Likewise.
8300         (__BUILINT_TRANS): Likewise.
8301         * iconv/gconv.c (__gconv): Likewise.
8302         * iconv/iconv.c (iconv): Add casts for call of __gconv.
8303         * iconv/skeleton.c: Change local parameters and variable from `char' to
8304         `unsigned char'.  Remove casts from calls into modules.
8305         * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
8306         `char' to `unsigned char'.
8307         * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
8308         * wcsmbs/mbrtowc.c: Likewise.
8309         * wcsmbs/mbsnrtowcs.c: Likewise.
8310         * wcsmbs/mbsrtowcs.c: Likewise.
8311         * wcsmbs/wcrtomb.c: Likewise.
8312         * wcsmbs/wcsnrtombs.c: Likewise.
8313         * wcsmbs/wcsrtombs.c: Likewise.
8314         * wcsmbs/wctob.c: Likewise.
8315
8316 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
8317
8318         * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
8319         __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
8320         __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
8321         __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
8322         __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
8323         __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
8324
8325 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
8326
8327         * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
8328         _hurd_select if TIMEMOUT is -1.
8329
8330 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
8331
8332         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
8333
8334 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
8335
8336         * elf/dl-load.c: Compute rtld_search_dir array size correctly.
8337         Reported by Yasushi Saito <yasushi@cs.washington.edu>.
8338
8339 1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8340
8341         * manual/libc.texinfo: Undo last change for now.
8342
8343 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
8344
8345         * intl/locale.alias: Add entries for Croatian.
8346         Patch by Tomislav Vujec <tvujec@CARNet.hr>.
8347
8348 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
8349
8350         * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
8351         if the opened master pty really is a pty.  `isatty' checks for
8352         tty-ness and a pty is not a tty.  Return ENOENT instead of ENFILE
8353         if we are out of pty's.
8354
8355 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
8356
8357         * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
8358         opened file is closed on exec.
8359         * login/utmp_daemon.c (setutent_daemon): Likewise for the just
8360         opened socket.
8361
8362 1999-03-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8363
8364         * manual/llio.texi (File Position Primitive): Reformat @end
8365         command.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
8366
8367 1999-03-14  Ulrich Drepper  <drepper@cygnus.com>
8368
8369         * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
8370         entry is found.
8371         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8372         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
8373
8374         * locale/programs/localedef.c (main): Initialize `cat' to please
8375         the compiler.
8376
8377 1999-03-14  Roland McGrath  <roland@baalperazim.frob.com>
8378
8379         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
8380         check for root-owned symlinks and reject them too.
8381
8382 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8383
8384         * stdio-common/printf_fphex.c: Move to ...
8385         * sysdeps/generic/printf_fphex.c: ... here.  Fix exponent of
8386         extended precision number.
8387         * sysdeps/m68k/printf_fphex.c: New file.
8388
8389 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8390
8391         * manual/stdio.texi: Fix typos.
8392
8393 1999-03-09  Ulrich Drepper  <drepper@cygnus.com>
8394
8395         * version.h (VERSION): Bump to 2.1.1.
8396
8397 1999-03-09  Thorsten Kukuk  <kukuk@suse.de>
8398
8399         * nis/ypclnt.c: Try only twice to connect to NIS server.
8400
8401 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
8402
8403         * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
8404
8405 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8406
8407         * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
8408         (DENORM_EXP): New define.  Use it as the exponent for a denormal.
8409         * stdlib/strtold.c: Moved to ...
8410         * sysdeps/generic/strtold.c: ... here.
8411         * sysdeps/m68k/strtold.c: New file.
8412
8413 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8414
8415         * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
8416         point if the precision is zero, even if the mantissa is non-zero.
8417
8418 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
8419
8420         * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
8421         arguments into the request message buffer inside `send_rpc'
8422         subfunction.  We must repeat the marshalling when retrying the RPC
8423         after a SIGTTOU delivery.
8424
8425         * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
8426         path when there is no ctty port.
8427         * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
8428         Move sigstate check inside loop so we recheck after handling a signal.
8429
8430 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8431
8432         * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
8433         O_EXLOCK are BSD extensions.
8434         Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
8435
8436 1999-03-08  Ulrich Drepper  <drepper@cygnus.com>
8437
8438         * manual/signal.texi (Termination in Handler): Correct example.
8439         Install default handler before reraising the signal.
8440         Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
8441
8442 1999-03-08  Roland McGrath  <roland@baalperazim.frob.com>
8443
8444         * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
8445         null, in which case send an empty string.
8446
8447 1999-03-02  Mark Kettenis  <kettenis@gnu.org>
8448
8449         * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
8450         backward compatibility EH functions to be linked when using
8451         gcc-2.8.1.  Patch by Zack Weinberg <zack@rabi.columbia.edu>.
8452
8453 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8454
8455         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
8456         /dev/pts status may change during runtime.
8457
8458 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8459
8460         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
8461         change.  /dev/pts status can change during runtime.
8462
8463 1999-03-07  Thorsten Kukuk  <kukuk@suse.de>
8464
8465         * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
8466         poll reports error.
8467         * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
8468         add some more sanity checks.
8469         * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
8470         parser prototype.
8471
8472 1999-03-05  Thorsten Kukuk  <kukuk@suse.de>
8473
8474         * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
8475         change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
8476         * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
8477         * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
8478         * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
8479         for x_getint32.
8480         * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
8481         * nis/nis_print.c: Fix ctime argument for platforms where
8482         sizeof (time_t) != sizeof (int).
8483
8484 1999-03-07  Mark Kettenis  <kettenis@gnu.org>
8485
8486         * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
8487         CLOCKS_PER_SEC instead of CLK_TCK.
8488
8489 1999-03-05  Ulrich Drepper  <drepper@cygnus.com>
8490
8491         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
8492         whether /dev/pts is available.
8493         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
8494         dev_pts_available.
8495
8496         * posix/globtest.sh: Make common_objpfx path absolute and and db2
8497         and hesiod directory to library path [PR libc/1007].
8498
8499 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8500
8501         * resolv/inet_addr.c (inet_aton): Don't allow componets >
8502         255.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
8503
8504 1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>
8505
8506         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
8507         DT_PLTGOT has already been relocated.
8508         (__elf_machine_fixup_plt): Likewise.
8509         Minor cleanups.
8510
8511 1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>
8512
8513         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
8514
8515 1999-03-03  Ulrich Drepper  <drepper@cygnus.com>
8516
8517         * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
8518         and fold string to uppercase [PR libc/1005].
8519
8520 1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8521
8522         * elf/dl-load.c (lose): Fix return type.
8523
8524 1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>
8525
8526         * sysdeps/mach/hurd/bits/fcntl.h
8527         [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
8528         * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
8529         set O_NOTRANS as well.
8530         (__hurd_file_name_lookup_retry): At successful end of lookup,
8531         if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
8532         it is a translated node not owned by root.
8533         (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
8534         on the file name passed to LOOKUP.
8535
8536 1999-03-02  Ulrich Drepper  <drepper@cygnus.com>
8537
8538         * manual/time.texi (High Resolution Timer): Correct computation in
8539         example.  Reported by jjf@devel.cemsys.com.
8540
8541 1999-03-02  Philip Blundell  <pb@nexus.co.uk>
8542
8543         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
8544         entry is already relocated.
8545
8546 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8547
8548         * resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
8549         by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
8550
8551 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8552
8553         * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
8554         uc_link which is the right name according to Unix98.
8555         Reported by Craig Metz [PR libc/1001].
8556         * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
8557         * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
8558         * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
8559         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
8560         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise.
8561         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
8562
8563 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8564
8565         * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
8566         @ifinfo.
8567
8568 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8569
8570         * iconvdata/Makefile: Always include iconv-rules, but disable rule
8571         to regenerate it if avoid-generated.
8572
8573         * Makeconfig: Always include sys-dirs, but disable rule to
8574         regenerate it when avoid-generated.
8575
8576         * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
8577         rule to generate sysd-syscalls.
8578
8579         * elf/Makefile (generated): Remove $(objpfx) from names.
8580
8581 1999-02-28  Mark Kettenis  <kettenis@gnu.org>
8582
8583         * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
8584         actual length if the adress length is smaller than the input
8585         value.  Change type of *LEN paramater to socklen_t.
8586         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
8587         * sysdeps/mach/hurd/accept.c (accept): Likewise.
8588         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
8589         * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
8590         paramater to socklen_t.
8591
8592 1999-02-28  Roland McGrath  <roland@baalperazim.frob.com>
8593
8594         * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
8595         msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
8596         with the RPC.
8597
8598 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
8599
8600         * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
8601         __get_phys_pages): Cast &HBI to silence warning.
8602
8603         * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
8604         * hurd/hurdchdir.c: New file.
8605         * hurd/hurdfchdir.c: New file.
8606         * sysdeps/mach/hurd/chroot.c: Call
8607         _hurd_change_directory_port_from_name to do the work.
8608         * sysdeps/mach/hurd/chdir.c: Likewise.
8609         * sysdeps/mach/hurd/fchdir.c: Call
8610         _hurd_change_directory_port_from_fd to do the work.
8611         * hurd/fchroot.c: Likewise.
8612         * hurd/hurd.h: Declare them.
8613
8614 1999-02-27  Ulrich Drepper  <drepper@cygnus.com>
8615
8616         * elf/dl-load.c (lose): Add more comments to explain the `why'.
8617         (_dl_map_object): Remove redundant test.
8618
8619 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
8620
8621         * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
8622         try to _hurd_port_free a lower-numbered descriptor that was not in any
8623         fd_set.
8624
8625 1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8626
8627         * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
8628         declaration for ____wcstod_l_internal.
8629
8630         * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
8631         __strtod_internal prototype.
8632         * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
8633         (____strtold_l_internal): Add prototype declaration.
8634         (__strtold_l): Call correct function.
8635
8636 1999-02-24  Ulrich Drepper  <drepper@cygnus.com>
8637
8638         * elf/elf.h: Add 32bit HPPA definitions.
8639
8640 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8641
8642         * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
8643         non-checked heap is restored when malloc checking was requested by
8644         the user.
8645         (struct malloc_state): Add using_malloc_checking.
8646         (MALLOC_STATE_VERSION): Increment minor.
8647         (using_malloc_checking, disallow_malloc_check): New variables.
8648         (__malloc_check_init): Use them.
8649         (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
8650         that it can the chunk is properly instrumented when malloc
8651         checking is enabled.  Set the new using_malloc_checking field.
8652         (malloc_hook_ini): Correct signature when _LIBC is not defined.
8653
8654 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8655
8656         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
8657         (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
8658         time.
8659
8660         * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
8661         Don't call elf_get_dynamic_info and _dl_setup_hash a second time
8662         if ld.so is the main program.
8663
8664 1999-02-23  Ulrich Drepper  <drepper@cygnus.com>
8665
8666         * stdio-common/vfprintf.c (vfprintf): If precision or width is too
8667         large for work_buffer, allocate new buffer.
8668         (printf_unknown): Likewise.  [PR libc/988]
8669
8670 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
8671
8672         * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
8673         instead of stat and fstat.
8674         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8675
8676 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8677
8678         * elf/dl-error.c (_dl_signal_cerror): New function.
8679         (_dl_signal_error): Don't call receiver function.
8680         * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
8681         instead of _dl_signal_error when reporting references to undefined
8682         symbols or versions.
8683         (_dl_lookup_versioned_symbol): Likewise.
8684         (_dl_lookup_versioned_symbol_skip): Likewise.
8685         * elf/dl-version.c (match_symbol): Likewise.
8686
8687         * elf/ldsodefs.h: Declare _dl_signal_cerror.
8688
8689 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
8690
8691         * misc/getttyent.c (getttyent): Release lock on stream later to
8692         also protect global variable zapchar.
8693
8694         * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
8695         __times [PR libc/990].
8696
8697 1999-02-21  David S. Miller  <davem@redhat.com>
8698
8699         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
8700         parentheses in Feb 2 changes.
8701         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
8702
8703 1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8704
8705         * sysdeps/generic/glob.c (glob): Save previous errno.
8706
8707 1999-02-21  Ulrich Drepper  <drepper@cygnus.com>
8708
8709         * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
8710         lookup functions if it is too small.
8711
8712 1999-02-20  Ulrich Drepper  <drepper@cygnus.com>
8713
8714         * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
8715         for tracing to the scope lists.
8716         * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
8717         DT_SYMTAB is always available according to ELF spec.
8718
8719         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
8720         call test whether there is any scope left.
8721         (_dl_lookup_versioned_symbol_skip): Likewise.
8722
8723         * elf/Makefile (distribute): Add do-lookup.h.
8724         * elf/do-lookup.h: New file.  Split out from dl-lookup.c.
8725         * elf/dl-lookup.c: Move do_lookup function in separate file and
8726         include the file twice, for handling versioning and without it.
8727
8728         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
8729         entry is already relocated.
8730         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
8731         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
8732         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
8733         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
8734         Likewise.
8735         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
8736         Likewise.
8737         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
8738         Likewise.
8739
8740         * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
8741         load address.  Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
8742         DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
8743         (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
8744         rel and rela relocations can both happen and skip one test if this
8745         is not possible.
8746         (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
8747         appropriately.
8748         * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
8749         already relocated.
8750         * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
8751         relocated.
8752         * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
8753         (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
8754         (_dl_map_object): DT_STRTAB entry is already relocated.
8755         * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
8756         already relocated.
8757         * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
8758         relocated.
8759         * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
8760         DT_VERSYM entries are already relocated.
8761         (profile_fixup): Likewise.
8762         * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX.  Replace
8763         all users.
8764         (match_symbol): DT_STRTAB entry is already relocated.
8765         (_dl_check_map_versions): Likewise.  Also fo DT_VERSYM.
8766         * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
8767         relocated already.  DT_SYMTAB and DT_VERSYM entries are also relocated.
8768         * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
8769         (find_needed): DT_STRTAB entry is already relocated.
8770         (dl_main): Pass extra argument to elf_get_dynamic_info.
8771         DT_STRTAB entry is already relocated.
8772         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
8773         DT_PLTGOT entries are already relocated.
8774         (elf_machine_rela): Likewise for DT_SYMTAB.
8775         * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
8776         relocated.
8777         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8778         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
8779         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8780         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8781         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
8782         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
8783         (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
8784         * sysdeps/mips/mips64/dl-machine.h: Likewise.
8785
8786         * grp/initgroups.c (initgroups): If function in current module was
8787         successful don't stop but continue to process to get all the groups.
8788
8789         * elf/dl-load.c (_dl_map_object_from_fd): Use global
8790         _dl_pf_to_proot array to convert p_flags value.
8791         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8792
8793         * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
8794         loop to clear `info'.
8795
8796         * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
8797         do the work and don't use inline assembler.
8798
8799 1999-02-19  Ulrich Drepper  <drepper@cygnus.com>
8800
8801         * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
8802         * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
8803         noreturn, and prevent it from being inlined.
8804         Define LOSE appropriately.
8805         (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
8806         Optimize decoding of p_flags for certain platforms.
8807
8808 1999-02-19  Philip Blundell  <pb@nexus.co.uk>
8809
8810         * Makeconfig (link-libc): When doing a static link, make sure that
8811         libgcc.a is included both before and after libc.a.
8812
8813 1999-02-18  Thorsten Kukuk  <kukuk@suse.de>
8814
8815         * nis/nss_compat/compat-spwd.c: Fix handling of default values for
8816         sp_warn, sp_inact, sp_expire and sp_flag.
8817
8818 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
8819
8820         * elf/link.h (link_map): Add l_dev and l_ino.
8821         * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
8822         loaded shared object with all loaded objects.  Initialize l_ino
8823         and l_dev in case it's new.
8824         * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
8825         object.
8826         * elf/Makefile: Compile and run new test.
8827         * elf/multiload.c: New file.
8828
8829         * nss/nsswitch.h (service_user): Change name field from const char *
8830         to char[0].
8831         (name_database_entry): Likewise.
8832         * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
8833         for change of `service_user'.
8834         (nss_getline): Adjust memory allocation for change of
8835         `name_database_entry'.
8836
8837         * catgets/catgets.c: Correctly handle NLSPATH from environment
8838         [PR libc/980].
8839
8840         * io/Makefile (routines): Add lock64.
8841         * io/Versions: Add lockf64 for GLIBC_2.1.1.
8842         * sysdeps/generic/lockf64.c: New file.
8843
8844 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
8845
8846         * string/bits/string2.h: Only use strncmp optimization if count
8847         argument is constant.
8848
8849 1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>
8850
8851         * sysdeps/mach/hurd/revoke.c: New file.
8852
8853 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
8854
8855         * wctype/wctype.h (_ISwbit): Cast result of shift operations to
8856         int to avoid warning about `ISO C restricts enumerator values to
8857         range of `int''.
8858
8859 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8860
8861         * elf/dlfcn.h: Fix typo.
8862         * sysdeps/generic/bits/dlfcn.h: Likewise.
8863         * sysdeps/mips/bits/dlfcn.h: Likewise.
8864
8865 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
8866
8867         * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
8868         for the case N == 0.
8869
8870         * db2/Makefile (distribute): Add LICENSE.
8871
8872 1999-02-03  Jeff Bailey  <jbailey@nisa.net>
8873
8874         * sysdeps/unix/make_errlist.c: Add i18n and copyright to
8875         generated files.
8876
8877         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
8878
8879 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
8880
8881         * time/mktime.c: Use ISO C form for function definitions and
8882         remove unnecessary prototypes.
8883
8884         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
8885
8886         * time/time.h: Avoid unneccesary #ifdef.
8887
8888 1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
8889
8890         * stdio-common/_itoa.c (_itoa): Correct parameters to
8891         udiv_qrnnd_preinv.
8892
8893 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8894
8895         * misc/sys/cdefs.h: Undefine __PMT since it might be defined
8896         before (e.g. in glob.h).
8897         Closes PR libc/959.
8898
8899 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8900
8901         * sysdeps/mips/fpu_control.h: Fix typo.
8902         Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
8903         Remove __setfpucw.
8904
8905 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
8906
8907         * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
8908         the "unused" ends of the sockets.  Let pipes be bidirectional.
8909
8910 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
8911
8912         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
8913         invalid ai_flags.
8914
8915 1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8916
8917         * manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
8918         Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
8919
8920         * manual/setjmp.texi (Non-Local Exits and Signals): Fix
8921         typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
8922
8923 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
8924
8925         * string/Versions: Add __strverscmp to GLIBC_2.1.1.
8926
8927 1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8928
8929         * misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
8930         check for priority mask.
8931
8932 1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
8933
8934         * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
8935         Reported by Craig Metz <cmetz@inner.net> .
8936
8937 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8938
8939         * stdio-common/Makefile (tests): tllformat added.
8940
8941         * stdio-common/tllformat.c: New program, based on tiformat.c with
8942         examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
8943
8944 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8945
8946         * posix/test-vfork.c: Fix exit status test.
8947
8948 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8949
8950         * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
8951         missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
8952
8953 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8954
8955         * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
8956         of separare explicit comparisons.
8957
8958 1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8959
8960         * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
8961         defined.
8962
8963         * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
8964         defined.
8965
8966 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
8967
8968         * po/el.po: Update from translation team.
8969
8970 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8971
8972         * intl/locale.alias: Fix slovenian entry [PR libc/948].
8973
8974 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8975
8976         * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
8977         * inet/ruserpass.c: Likewise.
8978         * locale/programs/stringtrans.c: Likewise.
8979         * locale/programs/localedef.c: Likewise.
8980         * nscd/grpcache.c: Likewise.
8981         * nss/nss_files/files-XXX.c: Likewise.
8982         * stdlib/canonicalize.c: Likewise.
8983         * sysdeps/posix/sigwait.c: Likewise.
8984
8985 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8986
8987         * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
8988         even on 64 bit platforms.
8989
8990         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
8991         Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
8992
8993 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
8994
8995         * intl/dcgettext.c: Include locale.h is available.
8996
8997 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
8998
8999         * po/nl.po: Update from translation team.
9000
9001         * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
9002
9003         * Makefile: Allow calling goals for po subdir.
9004
9005         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
9006         signal definitions.
9007
9008         * po/el.po: New file.
9009
9010 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9011
9012         * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
9013         when processing DT_SYMBOLIC objects.
9014
9015 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9016
9017         * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
9018         program headers without PT_PHDR only require that they are
9019         contained within one of the loaded segments.  Don't use assert,
9020         since that would be a bug in the object, not the dynamic linker.
9021
9022 1999-02-08  Richard Henderson  <rth@cygnus.com>
9023
9024         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
9025         restore all call-clobbered fp regs.
9026
9027 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
9028
9029         * po/cs.po: New file.
9030
9031         * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
9032         SUID binaries.
9033
9034 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
9035
9036         * signal/signal.h: Don't declare __libc_allocate_rtsig.
9037         * include/signal.h: Declare __libc_allocate_rtsig here.
9038
9039         * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
9040         point functions, not do_lookup since the later can be called more
9041         than once.
9042
9043 1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>
9044
9045         * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
9046         macro, so that architectures which need to add some special
9047         offset to stack pointer can share this file.
9048
9049         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
9050         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
9051         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
9052         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
9053
9054         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
9055         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
9056         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
9057         between sparc32 and sparc64.
9058
9059         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
9060         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
9061         * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
9062         between sparc32 and sparc64.
9063
9064         * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
9065         * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
9066         * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
9067         between sparc32 and sparc64.
9068
9069         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
9070         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
9071         * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
9072         between sparc32 and sparc64.
9073
9074 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
9075
9076         * Versions.def: New version GLIBC_2.1.1 for libc.
9077         * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
9078         * stdlib/labs.c: Moved to...
9079         * sysdeps/generic/labs.c: ...here.
9080         * stdlib/llabs.c: Moved to...
9081         * sysdeps/generic/llabs.c: ...here.
9082         * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
9083         header.  Declare _Exit.
9084         * sysdeps/generic/_exit.c: Add alias _Exit.
9085         * sysdeps/mach/hurd/_exit.c: Likewise.
9086         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
9087         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
9088         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
9089         * sysdeps/unix/_exit.c: Likewise.
9090         * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
9091         imaxdiv and imaxabs.  Declare lldiv_t if necessary.
9092         * sysdeps/wordsize-64/inttypes.h: Likewise.
9093         * sysdeps/wordsize-32/llabs.c: New file.
9094         * sysdeps/wordsize-32/lldiv.c: New file.
9095         * sysdeps/wordsize-64/labs.c: New file.
9096         * sysdeps/wordsize-64/ldiv.c: New file.
9097         * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
9098         * manual/startup.texi: Document _Exit.
9099
9100 1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9101
9102         * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
9103
9104 1999-02-06  Ulrich Drepper  <drepper@cygnus.com>
9105
9106         * Versions.def: Add versions for ld.so.
9107         * csu/Versions: Remove __libc_stack_end here.
9108         * elf/Versions: Split libc definitions in libc and ld.so definitions.
9109         * elf/Makefile (ld-map): Change to ld.so.map.
9110         * scripts/versions.awk: Recognize dot in library names.
9111
9112         * ctype/ctype.h: Remove definitions of __tolower and __toupper.
9113         Don't use __tolower and __toupper in inline functions.
9114         Add optimizing macros for tolower and toupper.
9115         * ctype/ctype-extn.c (_tolower): Don't use __tolower.
9116         (_toupper): Don't use __toupper.
9117         * ctype/ctype.c (tolower): Don't use __tolower.
9118         (toupper): Don't use toupper.
9119
9120         * nscd/cache.c (prune_cache): Correct printing of debugging messages.
9121
9122         * resolv/Versions (libresolv): Export __ns_name_unpack and
9123         __ns_name_ntop.
9124         * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
9125         make it global.  Change all users.  Similar for ns_name_ntop.
9126         * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
9127         user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
9128         directly to detect too small buffer.
9129         * resolv/nss_dns/dns-network.c: Likewise.
9130
9131         * stdio-common/Makefile (tests): Add scanf12.
9132         * stdio-common/scanf12.c: New file.
9133         * stdio-common/scanf12.input: New file.
9134         * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
9135         floating-point correctly if the number is invalid.
9136
9137         * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
9138         functions.
9139         * stdio-common/printf_fp.c: Likewise.
9140         * stdio-common/printf_fphex.c: Likewise.
9141         * stdio-common/vfprintf.c: Likewise.
9142
9143
9144 See ChangeLog.9 for earlier changes.