Update.
[glibc.git] / ChangeLog
blobfe855752246d2e6880cfa044485ffe197f02cef3
1 1999-11-10  Ulrich Drepper  <drepper@cygnus.com>
3         * misc/tst-efgcvt.c (output_r_error): Remove extra parameter to
4         printf call.
6 1999-11-10  Andreas Jaeger  <aj@suse.de>
8         * misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r.
10 1999-11-10  Andreas Jaeger  <aj@suse.de>
12         * string/strsignal.c (strsignal): Correct check for snprintf
13         return value.
14         * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
16         * misc/efgcvt_r.c (APPEND): Correct check for too small buffer
17         according to changed snprintf return value.
18         Reported by Lawrence K. Chen <lchen@opentext.com>.
20         * misc/tst-efgcvt.c (special): Add tests for a too small buffer
21         for ecvt_r and fcvt_r.
23 1999-11-09  Ulrich Drepper  <drepper@cygnus.com>
25         * elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to
26         directory with the reference since this is as secure as using the
27         object with the dependency.
28         (_dl_dst_substitute): Likewise.
30         * elf/dl-load.c (_dl_dst_count): Change strings in first two
31         strncmp calls to allow reuse.
32         (_dl_dst_substitute): Likewise.
34 1999-11-01  Arnold D. Robbins  <arnold@skeeve.com>
36         * posix/regex.c (init_syntax_once): move below definition of
37         ISALNUM etc., then use ISALNUM to init the table, so that
38         the word ops will work if i18n'ed.
39         (SYNTAX): And subscript with 0xFF for 8bit character sets.
41 1999-11-09  Andreas Jaeger  <aj@suse.de>
43         * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
44         implementation for ttyname_r call; fix inverted condition; return
45         ut_user.  Closes PR libc/1438.
47 1999-11-09  Ulrich Drepper  <drepper@cygnus.com>
49         * timezone/checktab.awk: Update from tzcode1999h.
50         * timezone/africa: Update from tzdata1999i.
51         * timezone/asia: Likewise.
52         * timezone/australasia: Likewise.
53         * timezone/backward: Likewise.
54         * timezone/europe: Likewise.
55         * timezone/northamerica: Likewise.
56         * timezone/southamerica: Likewise.
57         * timezone/iso3166.tab: Likewise.
58         * timezone/zone.tab: Likewise.
60         * sysdeps/unix/sysv/linux/bits/resource.h: Define values also as
61         macros.  Patch by brg@csua.berkeley.edu [PR libc/1439].
63 1999-11-09  Andreas Jaeger  <aj@suse.de>
65         * posix/Makefile (tests): Added tst-getlogin.
67         * posix/tst-getlogin.c: New file, contains simple tests for
68         getlogin and getlogin_r.
70 1999-11-09  Andreas Schwab  <schwab@suse.de>
72         * misc/syslog.c: For LOG_PERROR only append a newline if
73         necessary.
75 1999-11-08  Ulrich Drepper  <drepper@cygnus.com>
77         * elf/elf.h: Add STT_REGISTER, STT_HP_OPAQUE, and STT_ST_STUB
78         definitions.
80 1999-11-08  Andreas Jaeger  <aj@suse.de>
82         * locale/findlocale.c (_nl_find_locale): Free normalized_codeset;
83         this fixes a memory leak (closes PR libc/1435).
85         * intl/l10nflist.c (_nl_normalize_codeset): Update comment to
86         reflect memory allocation.
88         * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory
89         allocation in _nl_explode_name.
91 1999-11-06  Andreas Jaeger  <aj@suse.de>
93         * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock
94         to initialize it.
95         Reported by wes@surety.com, closes PR libc/1432.
97 1999-11-05  Geoff Keating  <geoffk@cygnus.com>
99         * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of
100         enumerator lists (-pedantic complains).
101         (feraiseexcept): Use i#*X as the constraint.  Fix a bug in the
102         test for 'one bit set'.
103         (feclearexcept): Likewise.
105 1999-11-05  Ulrich Drepper  <drepper@cygnus.com>
107         * sysdeps/unix/sysv/linux/setrlimit.c: New file.
109         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust
110         for kernel changes.
111         * sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make
112         unsigned.
114 1999-10-04  Tim Waugh  <twaugh@redhat.com>
116         * posix/wordexp-test.c: More tests.
118         * posix/wordexp.c (wordexp): Explicit null words should be kept.
120 1999-11-04  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
122         * locale/programs/linereader.c (get_string): Correct type of buf2
123         variable.
124         * locale/programs/ld-ctype.c (ctype_output): Store index correctly
125         for _NL_CTYPE_INDIGITS_MB_LEN, _NL_CTYPE_INDIGITS_WC_LEN,
126         _NL_CTYPE_INDIGITS*_MB, _NL_CTYPE_OUTDIGIT*_MB, and
127         _NL_CTYPE_OUTDIGIT*_WC.
128         (allocate_arrays): Completely initialize mapping tables.
129         * locale/programs/ld-time.c (time_startup): We need the wide car
130         string.
131         (time_finish): Correct handling of era.
132         (time_output): Fix a few array indeces.
133         (time_read): Pass the repertoire map to lr_token.
135 1999-11-03  Ulrich Drepper  <drepper@cygnus.com>
137         * Versions.def: Add version for libthread_db.
139 1999-11-02  Andreas Jaeger  <aj@suse.de>
141         * manual/header.texi (Library Summary): The command @indexfonts
142         doesn't exist anymore, use @smallfonts instead.
144 1999-11-02  Ulrich Drepper  <drepper@cygnus.com>
146         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h
147         instead of duplicating definitions.
149 1999-11-01  Ulrich Drepper  <drepper@cygnus.com>
151         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used
152         by the debugger.
153         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
154         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise.
155         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
156         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
157         * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
159 1999-11-01  Ulrich Drepper  <drepper@cygnus.com>
161         * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25.
163         * sysdeps/unix/sysv/linux/kernel-features.h
164         (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition.
165         * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file.
167         * manual/texinfo.tex: Updated.
169 1999-11-01  Andreas Jaeger  <aj@suse.de>
171         * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility.
173         * inet/gethstbynm2_r.c: Reorder addresses.
175 1999-09-11  Paul Eggert  <eggert@twinsun.com>
177         * posix/glob.h (glob): If #defining to glob64, do this before
178         declaring it, so that all declarations and uses match, and do not
179         declare glob64, to avoid a declaration clash.
180         (globfree): Likewise with globfree64.
182 1999-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
184         * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]:
185         Keep the trailing slash unless DIRNAME is just "x:/".
187 1999-10-11  Andreas Jaeger  <aj@suse.de>
189         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added.
190         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
191         Closes PR libc/1384.
193 1999-10-20  Andreas Schwab  <schwab@suse.de>
195         * math/Makefile (libm-tests-generated): Remove libm-test.stmp.
196         (generated): Add it here.
197         (before-compile): Add libm-test.c.
198         ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on
199         libm-test.stmp.
200         ($(objpfx)libm-test.stmp): Use $(objpfx) instead of
201         $(objdir)/math/.
203 1999-10-31  Ulrich Drepper  <drepper@cygnus.com>
205         * Makefile (pdf): New goal.
206         * manual/Makefile: Add definitions and rules for PDF generation.
208         * Versions.def (libm): Add GLIBC_2.1.3.
210         ISO C99 TR1 changes various fe* functions to return an error value.
211         * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag,
212         feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv.
213         * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias.
214         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
215         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
216         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
217         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
218         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
219         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
220         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
221         * sysdeps/arm/fpu/fegetenv.c: Likewise.
222         * sysdeps/arm/fpu/fesetenv.c: Likewise.
223         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
224         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
225         * sysdeps/generic/fclrexcpt.c: Likewise.
226         * sysdeps/generic/fegetenv.c: Likewise.
227         * sysdeps/generic/fesetenv.c: Likewise.
228         * sysdeps/generic/feupdateenv.c: Likewise.
229         * sysdeps/generic/fgetexcptflg.c: Likewise.
230         * sysdeps/generic/fraiseexcpt.c: Likewise.
231         * sysdeps/generic/fsetexcptflg.c: Likewise.
232         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
233         * sysdeps/i386/fpu/fegetenv.c: Likewise.
234         * sysdeps/i386/fpu/fesetenv.c: Likewise.
235         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
236         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
237         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
238         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
239         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
240         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
241         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
242         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
243         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
244         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
245         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
246         * sysdeps/mips/fclrexcpt.c: Likewise.
247         * sysdeps/mips/fegetenv.c: Likewise.
248         * sysdeps/mips/fesetenv.c: Likewise.
249         * sysdeps/mips/feupdateenv.c: Likewise.
250         * sysdeps/mips/fgetexcptflg.c: Likewise.
251         * sysdeps/powerpc/fclrexcpt.c: Likewise.
252         * sysdeps/powerpc/fegetenv.c: Likewise.
253         * sysdeps/powerpc/fesetenv.c: Likewise.
254         * sysdeps/powerpc/feupdateenv.c: Likewise.
255         * sysdeps/powerpc/fgetexcptflg.c: Likewise.
256         * sysdeps/powerpc/fraiseexcpt.c: Likewise.
257         * sysdeps/powerpc/fsetexcptflg.c: Likewise.
258         * sysdeps/sparc/fpu/fclrexcpt.c: Likewise.
259         * sysdeps/sparc/fpu/fegetenv.c: Likewise.
260         * sysdeps/sparc/fpu/fesetenv.c: Likewise.
261         * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
262         * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
263         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
264         * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
265         * math/fenv.h: Adjust prototypes.: Likewise.
266         * manual/arith.texi: Adjust documentation for these changes.
268         * manual/arith.texi: Document feraiseexcept.
270         * sysdeps/powerpc/fegetenv.c: Moved to...
271         * sysdeps/powerpc/fpu/fegetenv.c: ...here.
272         * sysdeps/powerpc/fegetround.c: Moved to...
273         * sysdeps/powerpc/fpu/fegetround.c: ...here.
274         * sysdeps/powerpc/feholdexcpt.c: Moved to...
275         * sysdeps/powerpc/fpu/feholdexcpt.c: ...here.
276         * sysdeps/powerpc/fesetenv.c: Moved to...
277         * sysdeps/powerpc/fpu/fesetenv.c: ...here.
278         * sysdeps/powerpc/fenv_libc.h: Moved to...
279         * sysdeps/powerpc/fpu/fenv_libc.h: ...here.
280         * sysdeps/powerpc/feupdateenv.c: Moved to...
281         * sysdeps/powerpc/fpu/feupdateenv.c: ...here.
282         * sysdeps/powerpc/fgetexcptflg.c: Moved to...
283         * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here.
284         * sysdeps/powerpc/fraiseexcpt.c: Moved to...
285         * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here.
286         * sysdeps/powerpc/fsetexcptflg.c: Moved to...
287         * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here.
288         * sysdeps/powerpc/ftestexcept.c: Moved to...
289         * sysdeps/powerpc/fpu/ftestexcept.c: ...here.
290         * sysdeps/powerpc/fesetround.c: Moved to...
291         * sysdeps/powerpc/fpu/fesetround.c: ...here
292         * sysdeps/powerpc/fenv_const.c: Moved to...
293         * sysdeps/powerpc/fpu/fenv_const.c: ...here.
295         * sysdeps/mips/fclrexcpt.c: Moved to...
296         * sysdeps/mips/fpu/fclrexcpt.c: ...here.
297         * sysdeps/mips/fegetenv.c: Moved to...
298         * sysdeps/mips/fpu/fegetenv.c: ...here.
299         * sysdeps/mips/fegetround.c: Moved to...
300         * sysdeps/mips/fpu/fegetround.c: ...here.
301         * sysdeps/mips/fesetenv.c: Moved to...
302         * sysdeps/mips/fpu/fesetenv.c: ...here.
303         * sysdeps/mips/fesetround.c: Moved to...
304         * sysdeps/mips/fpu/fesetround.c: ...here.
305         * sysdeps/mips/feupdateenv.c: Moved to...
306         * sysdeps/mips/fpu/feupdateenv.c: ...here.
307         * sysdeps/mips/fgetexcptflg.c: Moved to...
308         * sysdeps/mips/fpu/fgetexcptflg.c: ...here.
309         * sysdeps/mips/ftestexcept.c: Moved to...
310         * sysdeps/mips/fpu/ftestexcept.c: ...here.
312 1999-10-29  Jakub Jelinek  <jakub@redhat.com>
314         * stdlib/longlong.h: Avoid UDIV_TIME redefinition.
315         * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus
316         libraries from statically linked programs.
317         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309
318         fix for sigaction on SPARC.
319         Patches by David S. Miller <davem@redhat.com>.
321         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare
322         gregset_t and other required structures and defines for SPARC 64bit
323         ABI as well, not only 32bit ABI.
325 1999-10-31  Andreas Jaeger  <aj@suse.de>
327         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X
328         by __USE_ISOC99 and update comments.
330         * math/complex.h: Update comments for ISO C99.
331         * math/fenv.h: Likewise.
332         * math/test-fenv.c: Likewise.
333         * math/tgmath.h: Likewise.
334         * libio/stdio.h: Likewise.
335         * posix/sys/types.h: Likewise.
336         * sysdeps/generic/inttypes.h: Likewise.
337         * sysdeps/generic/stdint.h: Likewise.
339 1999-10-31  Ulrich Drepper  <drepper@cygnus.com>
341         * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE.
343         * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also
344         recognize _ISOC99_SOURCE.
345         * libio/stdio.h: Likewise.
346         * math/math.h: Likewise.
347         * math/bits/mathcalls.h: Likewise.
348         * math/stdio.h: Likewise.
349         * stdlib/stdlib.h: Likewise.
350         * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
351         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
352         * sysdeps/arm/bits/huge_val.h: Likewise.
353         * sysdeps/generic/bits/mathdef.h: Likewise.
354         * sysdeps/i386/bits/huge_val.h: Likewise.
355         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
356         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
357         * sysdeps/ieee754/bits/huge_val.h: Likewise.
358         * sysdeps/m68k/bits/huge_val.h: Likewise.
359         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
360         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
361         * sysdeps/powerpc/bits/mathdef.h: Likewise.
362         * sysdeps/powerpc/bits/mathinline.h: Likewise.
363         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
364         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
365         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
366         * wcsmbs/wchar.h: Likewise.
368         * sysdeps/powerpc/bits/mathdef.h: Moved to...
369         * sysdeps/powerpc/fpu/bits/mathdef.h: ...here.
370         * sysdeps/powerpc/bits/mathinline.h: Moved to...
371         * sysdeps/powerpc/fpu/bits/mathinline.h: ...here.
372         * sysdeps/powerpc/bits/fenv.h: Moved to...
373         * sysdeps/powerpc/fpu/bits/fenv.h: ...here.
375 1999-10-31  Andreas Jaeger  <aj@suse.de>
377         * manual/math.texi (Errors in Math Functions): Correct TeX code.
379 1999-10-31  Andreas Jaeger  <aj@suse.de>
381         * math/libm-test.inc:  Change comments to use ISO C99 instead of
382         ISO C9x.
383         * math/w_lgamma.c: Likewise.
384         * math/w_lgammaf.c: Likewise.
385         * math/w_lgammal.c: Likewise.
386         * math/test-fenv.c: Likewise.
387         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
388         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
389         * sysdeps/generic/printf_fphex.c: Likewise.
391 1999-10-31  Andreas Jaeger  <aj@suse.de>
393         * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment.
395         * manual/math.texi: Change ISO C9x to ISO C99.
396         * manual/startup.texi: Likewise.
397         * manual/stdio.texi: Likewise.
399 1999-10-31  Andreas Jaeger  <aj@suse.de>
401         * manual/arith.texi: Change ISO C9x to ISO C99.
402         * manual/time.texi (Low-Level Time String Parsing): Likewise.
404 1999-10-30  Ulrich Drepper  <drepper@cygnus.com>
406         * socket/Makefile (distribute): Add ifreq.h.
408         * manual/time.texi (Formatting Date and Time): Revise comments about
409         origins of the formats with ISO C99 references.
411 1999-10-30  Andreas Jaeger  <aj@suse.de>
413         * sysdeps/unix/sysv/linux/ifreq.h: New file.
415 1999-10-29  Andreas Jaeger  <aj@suse.de>
417         * manual/arith.texi (Parsing of Floats): Document the hexadecimal
418         input format; mention that strtof and strtold are part of ISO C99.
420 1999-10-29  Ulrich Drepper  <drepper@cygnus.com>
422         * manual/math.texi (Errors in Math Functions): New section.
423         * math/libm-err-tab.pl: Moved to...
424         * manual/libm-err-tab.pl: ...here.
425         * manual/Makefile: Add rules for math function error table generation.
427         * stdlib/tst-strtod.c: Add more hexadecimal tests.
429         * stdlib/strtod.c: Handle hexadecimal numbers with leading digit
430         != 1 correctly and more than one digit before decimal point..
432 1999-10-27  Andreas Jaeger  <aj@suse.de>
434         * sysdeps/generic/ifreq.h: New file.
436         * resolv/res_hconf.c: Add missing includes to get all prototypes.
437         (_res_hconf_reorder_addrs): Rewrite.  This never worked before.
438         Reported by John DiMarco <jdd@cs.toronto.edu>.
440         (_res_hconf_reorder_addrs): Made thread safe.
441         (free_mem): New function, needed for malloc debugging.
443 1999-10-29  Andreas Jaeger  <aj@suse.de>
445         * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ...
446         * sysdeps/generic/opensock.c (__opensock): ...here in a new file.
447         * sysdeps/unix/sysv/linux/if_index.c: Change all callers of
448         opensock to use __opensock.
450         * socket/Makefile (routines): Add opensock.
452         * include/sys/socket.h (__opensock): Add prototype declaration.
454 1999-10-29  Andreas Jaeger  <aj@suse.de>
456         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing
457         N_* constants.
458         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
460         * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added
461         new constant from Linux 2.3.25pre1.
463         * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added.
465 1999-10-29  Andreas Jaeger  <aj@suse.de>
467         * math/libm-err-tab.pl: New file to generate a table of
468         libm-test-ulps values.
470 1999-10-29  Ulrich Drepper  <drepper@cygnus.com>
472         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file.
473         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect
474         struct sigcontext* object as second parameter for profil_counter.
475         Patches by Jakub Jelinek <jakub@redhat.com>.
477 1999-10-29  Andreas Jaeger  <aj@suse.de>
479         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs.
480         * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
482         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts,
483         efs, qnx4 and reiser file systems.
485 1999-10-29  Andreas Jaeger  <aj@suse.de>
487         * locale/Makefile (others): Set to localedef and locale for make
488         clean.
490         * debug/Makefile (generated): Add xtrace for make clean to work.
492 1999-10-29  Andreas Jaeger  <aj@suse.de>
494         * stdlib/tst-strtod.c: Add two testcases for hexadecimal input.
496 1999-10-25  Andreas Jaeger  <aj@suse.de>
498         * math/libm-test.inc: Added code to ignore the given max ulps.
499         (print_max_error): Check for ignore_max_ulp.
500         (check_float_internal): Likewise.
501         (parse_opt): Parse --ignore-max-ulp.
502         (main): Initialize ignore_max_ulp.
504 1999-10-26  Andreas Jaeger  <aj@suse.de>
506         * stdlib/msort.c: Include <alloca.h> for prototype.
507         Remove K&R compatibility and _quicksort prototype.
509         * stdlib/qsort.c: Make code and comments 64 bit clean; clarify
510         some comments.
511         Reported by Bernd Loechner <loechner@informatik.uni-kl.de>.
512         Remove K&R compatibility.
513         Move prototype declaration to include/stdlib.h.
514         Include <alloca.h> for prototype; include <limits.h> for CHAR_BIT.
516         * include/stdlib.h: Prototype declaration for _quicksort.
518 1999-10-27  Andreas Jaeger  <aj@suse.de>
520         * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was
521         shifted a bit too much.
522         Reported by Eugen Dedu <dedu@ese-metz.fr>.
524 1999-10-25  Ulrich Drepper  <drepper@cygnus.com>
526         * resolv/gethnamaddr.c: Account bytes needed for alignment in
527         buflen.  Patch by Olaf Kirch <okir@lst.de>.
529         * md5-crypt/md5test.c: Correct names of MD5 functions after
530         removing of public names.
532         * configure.in: Don't allow --enable-kernel without parameter.
534 1999-10-25  Ulrich Drepper  <drepper@cygnus.com>
536         * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0
537         problems.
539 1999-10-25  Thorsten Kukuk  <kukuk@suse.de>
541         * md5-crypt/md5.h: Remove prototypes for public interface.  md5 is
542         only used internally.
543         * md5-crypt/md5-crypt.c: Use internal names for md5 functions,
544         remove weak alias for public names.
545         * md5-crypt/md5.c: Remove weak aliase.
547 1999-10-25  Andreas Jaeger  <aj@suse.de>
549         * math/README.libm-test: New file, documents libm-test.inc.
551 1999-10-25  Andreas Jaeger  <aj@suse.de>
553         * math/gen-libm-test.pl: Only generate a new ulps file when -n is
554         given.
555         (print_ulps_file): Fix loops to not read @tests and @functions
556         since those are not initialized with -n now.
557         (parse_ulps): Set $results{..}{"kind"}.
559 1999-10-25  Andreas Jaeger  <aj@suse.de>
561         * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.
563         * math/libm-test.inc (check_float_internal): Don't print ulps for
564         wrong sign of zero.
566 1999-10-20  Andreas Jaeger  <aj@suse.de>
568         * manual/socket.texi (Address Formats): Describe usage of AF_UNIX
569         versus AF_LOCAL.
570         Patch by Robert Bihlmeyer <robbe@orcus.priv.at>.
572 1999-10-24  Ulrich Drepper  <drepper@cygnus.com>
574         * math/libm-test.inc: Disable some boundary case tests for inline
575         function testing.
577         * math/math.h: Pretty printing.
579         * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN.
580         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
581         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
582         * sysdeps/i386/fpu/e_log10.S: Likewise.
583         * sysdeps/i386/fpu/e_log10f.S: Likewise.
584         * sysdeps/i386/fpu/e_log10l.S: Likewise.
585         * sysdeps/i386/fpu/s_log1p.S: Likewise.
586         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
587         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
588         * sysdeps/i386/fpu/s_log2.S: Likewise.
589         * sysdeps/i386/fpu/s_log2f.S: Likewise.
590         * sysdeps/i386/fpu/s_log2l.S: Likewise.
592         * sysdeps/i386/fpu/libm-test-ulps: New file.
594         * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return
595         value for x == 0.
596         (pow): Correct case x == 0.
597         (__sgn1l): Correct handling of -0.0.
599 1999-10-22  Andreas Jaeger  <aj@suse.de>
601         * math/libm-test.inc (asinh_test): Add test for NaN as input parameter.
602         (atan_test): Likewise.
603         (atanh_test): Likewise.
604         (atan2_test): Likewise.
605         (carg_test): Likewise.
606         (ceil_test): Likewise.
607         (cos_test): Likewise.
608         (cosh_test): Likewise.
609         (cpow_test): Likewise.
610         (erf_test): Likewise.
611         (erfc_test): Likewise.
612         (exp_test): Likewise.
613         (exp10_test): Likewise.
614         (exp2_test): Likewise.
615         (expm1_test): Likewise.
616         (fabs_test): Likewise.
617         (floor_test): Likewise.
618         (fmod_test): Likewise.
619         (gamma_test): Likewise.
620         (lgamma_test): Likewise.
621         (log10_test): Likewise.
622         (log1p_test): Likewise.
623         (log2_test): Likewise.
624         (logb_test): Likewise.
625         (nearbyint_test): Likewise.
626         (remainder_test): Likewise.
627         (remquo_test): Likewise.
628         (sin_test): Likewise.
629         (sincos_test): Likewise.
630         (sinh_test): Likewise.
631         (sqrt_test): Likewise.
632         (tan_test): Likewise.
633         (tanh_test): Likewise.
634         (tgamma_test): Likewise.
636 1999-10-21  Ulrich Drepper  <drepper@cygnus.com>
638         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y.
640         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special.
642         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check
643         for -Inf and return NaN.
645         * configure.in: Correct test for Cygnus gcc versions.
647 1999-10-21  Andreas Jaeger  <aj@suse.de>
649         * math/libm-test.inc (cimag_test): New function, tests cimag.
650         (creal_test): New function, tests creal.
651         (conj_test): New function, tests conj.
652         (main): Add new functions.
654 1999-10-20  Andreas Jaeger  <aj@suse.de>
656         * math/libm-test.inc: Rewrite to allow different deltas for real
657         and imaginary part of complex functions.
658         * math/gen-libm-test.pl: Likewise.
660 1999-10-19  Ulrich Drepper  <drepper@cygnus.com>
662         * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
663         aliases.
665         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.
667         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
668         for -Inf and return NaN.
670         * math/gen-libm-test.pl: Fix program name in help message.
672         * math/libm-test.inc (check_complex): It's Imaginary, not Complex.
674         * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.
676         * sysdeps/i386/Implies: Correct order of libm directories.
678 1999-10-19  Andreas Jaeger  <aj@suse.de>
680         * include/bits/ipc.h: Remove K&R compatibility.
681         * include/libintl.h: Likewise.
682         * include/math.h: Likewise.
683         * include/mntent.h: Likewise
684         * include/netdb.h: Likewise.
685         * include/pwd.h: Likewise.
686         * include/sched.h: Likewise.
687         * include/shadow.h: Likewise
688         * include/stdlib.h: Likewise.
689         * include/sys/file.h: Likewise.
690         * include/sys/gmon.h: Likewise.
691         * include/sys/ioctl.h: Likewise.
692         * include/sys/mman.h: Likewise.
693         * include/sys/resource.h: Likewise.
694         * include/sys/socket.h: Likewise.
695         * include/sys/stat.h: Likewise.
696         * include/sys/sysinfo.h: Likewise.
697         * include/sys/time.h: Likewise.
698         * include/sys/times.h: Likewise.
699         * include/sys/uio.h: Likewise.
700         * include/sys/wait.h: Likewise.
701         * include/termios.h: Likewise.
702         * include/time.h: Likewise.
703         * include/ulimit.h: Likewise.
704         * include/utmp.h: Likewise.
705         * include/wchar.h: Likewise.
706         * include/wctype.h: Likewise.
708 1999-10-19  Andreas Jaeger  <aj@suse.de>
710         * math/libm-test.inc: Remove one K&R compatibility.
711         (main): Enable nexttoward_test.
713         * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
714         libm-test-ulps.h; pretty print output a bit.
716 1999-10-19  Andreas Jaeger  <aj@suse.de>
718         * iconv/iconv_prog.c (main): Set exit value in case that reading
719         from stdin failed [PR libc/1404].
721 1999-10-18  Andreas Jaeger  <aj@suse.de>
723         Added improved math testsuite:
724         * math/libm-test.inc: New file, contains all tests from
725         libm-test.c but in a different form.
726         * math/libm-test.c: Removed.
727         * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file.
728         * math/gen-libm-test.pl: New file: Preprocessor.
729         * math/test-double.c: Adopted to new testsuite.
730         * math/test-idouble.c: Likewise.
731         * math/test-float.c: Likewise.
732         * math/test-ifloat.c: Likewise.
733         * math/test-ldouble.c: Likewise.
734         * math/test-ildoubl.c: Likewise.
735         * math/Makefile: Added rules to generate new suite.
737 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
739         * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
740         Patch by J. Richard Sladkey <jrs@world.std.com>.
742         * scripts/config.sub: Update from latest autoconf version.
743         * scripts/config.guess: Likewise.
745 1999-10-18  Andreas Jaeger  <aj@suse.de>
747         * inet/arpa/inet.h: Remove K&R compatibility.
748         * math/fenv.h: Likewise.
750 1999-10-18  Andreas Jaeger  <aj@suse.de>
752         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
753         kernel_sigaction): Remove K&R compatibility.
754         * sysdeps/unix/sysv/linux/net/if.h: Likewise.
755         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
756         * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
757         * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
758         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
759         * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
760         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
761         * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
762         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
763         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
764         * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
765         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
766         * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
767         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
768         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
769         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
770         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
772 1999-10-18  Andreas Jaeger  <aj@suse.de>
774         * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
775         Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
777 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
779         * po/gl.po: New file.
781 1999-10-18  Andreas Schwab  <schwab@suse.de>
783         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
784         namespace selection.
786 1999-10-18  Andreas Schwab  <schwab@suse.de>
788         * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
789         clash with the TERM environment variable.
791 1999-10-18  Andreas Jaeger  <aj@suse.de>
793         * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
794         returns now NaN + i NaN.
795         * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
796         * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
798 1999-10-18  Andreas Jaeger  <aj@suse.de>
800         * include/aio.h: Remove K&R compatiblity.
801         * include/alloca.h: Likewise.
802         * include/db.h: Likewise.
803         * include/dirent.h: Likewise.
804         * include/fcntl.h: Likewise.
805         * include/fpu_control.h: Likewise.
806         * include/glob.h: Likewise.
807         * include/grp.h: Likewise.
808         * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
809         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
810         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
811         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
813         * include/execinfo.h: Add __THROW.
815 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
817         * sysdeps/mips/Implies: Remove wordsize-32 reference.
818         * sysdeps/mips/mips3/Implies: Add it here.
820 1999-10-17  Ulrich Drepper  <drepper@cygnus.com>
822         * elf/elf.h: Add various platform and architecture extensions.
824         * locale/lc-collate.c (_nl_postload_collate): Disable code for now.
825         * locale/setlocale.c (setlocale): Don't call _nl_find_locale for
826         LC_ALL.
828         * socket/sys/socket.h: Remove K&R compatibility.
830 1999-10-16  Andreas Jaeger  <aj@suse.de>
832         * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
834 1999-10-15  Andreas Jaeger  <aj@suse.de>
836         * stdlib/Makefile (tests): Added tst-xpg-basename.
838         * stdlib/tst-xpg-basename.c: New test file.
840 1999-10-14  Cristian Gafton  <gafton@redhat.com>
842         * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
844 1999-10-14  Andreas Jaeger  <aj@suse.de>
846         * resolv/inet_addr.c (inet_aton): Fix last patch.  The little
847         endian version works for both endiannesses.
849         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
850         seconds.
852 1999-10-12  Ulrich Drepper  <drepper@cygnus.com>
854         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
855         register names unconditionally, only if __USE_GNU.
857         * debug/Makefile: Fix rules to generate pcprofiledump.
859         * include/ucontext.h: New file.
861         * locale/setlocale.c: Fix gcc warning about uninitialized variable.
863 1999-10-12  Andreas Jaeger  <aj@suse.de>
865         * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
867         * math/basic-test.c: Fix typo.
869         * locale/programs/xstrdup.c: Include string.h for glibc
870         compilation to get string prototypes.
872         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
873         gregset_t and fpregset_t.
875         * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
876         warnings.  Correct value for x == 0.
878         * argp/argp-help.c: Remove broken definition of flockfile and
879         funlockfile.
881 1999-10-12  Andreas Schwab  <schwab@suse.de>
883         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
884         generic Linux version.
886 1999-10-12  Ulrich Drepper  <drepper@cygnus.com>
888         * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
890 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
892         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
893         and fpregset_t definitions.
895         * malloc/memprof.c (GETSP): Define for PowerPC.
896         (GETTIME): Fix generic version.
898 1999-10-10  Philip Blundell  <philb@gnu.org>
900         * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
901         __BYTE_ORDER.
903 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
905         * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
906         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
907         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
908         * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
910         * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
912         * sysdeps/powerpc/e_sqrt.c: Moved to...
913         * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
914         * sysdeps/powerpc/e_sqrtf.c: Moved to...
915         * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
917         * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
918         * sysdeps/powerpc/sub_n.S: Likewise.
919         * sysdeps/powerpc/strlen.S: Likewise.
920         * sysdeps/powerpc/strcpy.S: Likewise.
921         * sysdeps/powerpc/strcmp.S: Likewise.
922         * sysdeps/powerpc/strchr.S: Likewise.
923         * sysdeps/powerpc/stpcpy.S: Likewise.
924         * sysdeps/powerpc/setjmp.S: Likewise.
925         * sysdeps/powerpc/rshift.S: Likewise.
926         * sysdeps/powerpc/ppc-mcount.S: Likewise.
927         * sysdeps/powerpc/mul_1.S: Likewise.
928         * sysdeps/powerpc/memset.S: Likewise.
929         * sysdeps/powerpc/lshift.S: Likewise.
930         * sysdeps/powerpc/dl-start.S: Likewise.
931         * sysdeps/powerpc/bzero.S: Likewise.
932         * sysdeps/powerpc/bsd-setjmp.S: Likewise.
933         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
934         * sysdeps/powerpc/addmul_1.S: Likewise.
935         * sysdeps/powerpc/add_n.S: Likewise.
936         * sysdeps/powerpc/__longjmp.S: Likewise.
937         * sysdeps/powerpc/elf/start.S: Likewise.
939 1999-10-11  Cristian Gafton  <gafton@redhat.com>
941         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
942         SA_SIGINFO.
944 1999-10-10  Ulrich Drepper  <drepper@cygnus.com>
946         * stdlib/atexit.c (initial): New variable.  Use to initialize
947         __exit_funcs.
948         * stdlib/exit.c (exit): Beware to not free statically allocated
949         list element [PR libc/1305].
951         * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
952         slash before the basename [PR libc/1383].
954         * argp/argp.h: Fix typo in last patch.
956         * sysdeps/powerpc/sysdep.h: New file.
957         * sysdeps/unix/powerpc/sysdep.h: New file.
958         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
959         sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
960         * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
961         instead of bare numbers.
962         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
963         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
964         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
966         * sysdeps/hppa/sysdep.h: New file.
968 1999-10-10  Andreas Jaeger  <aj@suse.de>
970         * misc/sgtty.h: Fix typo in last patch.
972 1999-10-09  Ulrich Drepper  <drepper@cygnus.com>
974         * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
975         * sysdeps/powerpc/s_copysign.S: Move to...
976         * sysdeps/powerpc/fpu/s_copysign.S: ...here.  Use portable asm syntax.
977         * sysdeps/powerpc/s_copysignf.S: Move to...
978         * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
979         * sysdeps/powerpc/s_fabs.S: Move to...
980         * sysdeps/powerpc/fpu/s_fabs.S: ...here.  Use portable asm syntax.
981         * sysdeps/powerpc/s_fabsf.S: Move to...
982         * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
983         * sysdeps/powerpc/s_fdim.c: Move to...
984         * sysdeps/powerpc/fpu/s_fdim.c: ...here.
985         * sysdeps/powerpc/s_fdimf.c: Move to...
986         * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
987         * sysdeps/powerpc/s_fmax.S: Move to...
988         * sysdeps/powerpc/fpu/s_fmax.S: ...here.  Use portable asm syntax.
989         * sysdeps/powerpc/s_fmaxf.S: Move to...
990         * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
991         * sysdeps/powerpc/s_fmin.S: Move to...
992         * sysdeps/powerpc/fpu/s_fmin.S: ...here.  Use portable asm syntax.
993         * sysdeps/powerpc/s_fminf.S: Move to...
994         * sysdeps/powerpc/fpu/s_fminf.S: ...here.
995         * sysdeps/powerpc/s_isnan.S: Move to...
996         * sysdeps/powerpc/fpu/s_isnan.c: ...here.
997         * sysdeps/powerpc/s_isnanf.S: Move to...
998         * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
999         * sysdeps/powerpc/s_llrint.c: Move to...
1000         * sysdeps/powerpc/fpu/s_llrint.c: ...here.
1001         * sysdeps/powerpc/s_llrintf.c: Move to...
1002         * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
1003         * sysdeps/powerpc/s_llround.c: Move to...
1004         * sysdeps/powerpc/fpu/s_llround.c: ...here.
1005         * sysdeps/powerpc/s_llroundf.c: Move to...
1006         * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
1007         * sysdeps/powerpc/s_lrint.c: Move to...
1008         * sysdeps/powerpc/fpu/s_lrint.c: ...here.
1009         * sysdeps/powerpc/s_lrintf.S: Move to...
1010         * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
1011         * sysdeps/powerpc/s_lround.c: Move to...
1012         * sysdeps/powerpc/fpu/s_lround.c: ...here.
1013         * sysdeps/powerpc/s_lroundf.c: Move to...
1014         * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
1015         * sysdeps/powerpc/s_rint.c: Move to...
1016         * sysdeps/powerpc/fpu/s_rint.c: ...here.
1017         * sysdeps/powerpc/s_rintf.c: Move to...
1018         * sysdeps/powerpc/fpu/s_rintf.c: ...here.
1019         * sysdeps/powerpc/t_sqrt.c: Move to...
1020         * sysdeps/powerpc/fpu/t_sqrt: ...here.
1021         * sysdeps/powerpc/w_sqrt.c: Move to...
1022         * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
1023         * sysdeps/powerpc/w_sqrtf.c: Move to...
1024         * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
1025         * configure.in: Support platforms which have no .text pseudo-op.
1026         Patches partly by Jimi X <jimix@pobox.com>.
1028         * Makeconfig: Look also in all subdirs for shlib-versions files.
1030         * malloc/memprof.sh: Fix --help string a bit.
1032         * argp/argp.h: Remove K&R compatiblity.
1033         * assert/assert.h: Likewise.
1034         * catgets/nl_types.h: Likewise.
1035         * ctype/ctype.h: Likewise.
1036         * db/db.h: Likewise.
1037         * db/ndbm.h: Likewise.
1038         * db2/db.h: Likewise.
1039         * db2/db_185.h: Likewise.
1040         * debug/execinfo.h: Likewise.
1041         * dirent/dirent.h: Likewise.
1042         * dlfcn/dlfcn.h: Likewise.
1043         * gmon/sys/gmon.h: Likewise.
1044         * grp/grp.h: Likewise.
1045         * iconv/gconv.h: Likewise.
1046         * iconv/iconv.h: Likewise.
1047         * include/execinfo.h: Likewise.
1048         * inet/aliases.h: Likewise.
1049         * inet/netinet/ether.h: Likewise.
1050         * inet/netinet/in.h: Likewise.
1051         * intl/libintl.h: Likewise.
1052         * io/fcntl.h: Likewise.
1053         * io/fts.h: Likewise.
1054         * io/ftw.h: Likewise.
1055         * io/utime.h: Likewise.
1056         * io/sys/poll.h: Likewise.
1057         * io/sys/stat.h: Likewise.
1058         * io/sys/statfs.h: Likewise.
1059         * io/sys/statvfs.h: Likewise.
1060         * libio/libio.h: Likewise.
1061         * libio/stdio.h: Likewise.
1062         * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
1063         * locale/locale.h: Likewise.
1064         * login/pty.h: Likewise.
1065         * login/utmp.h: Likewise.
1066         * malloc/mcheck.h: Likewise.
1067         * math/complex.h: Likewise.
1068         * math/math.h: Likewise.
1069         * math/math_private.h: Likewise.
1070         * misc/err.h: Likewise.
1071         * misc/fstab.h: Likewise.
1072         * misc/libgen.h: Likewise.
1073         * misc/mntent.h: Likewise.
1074         * misc/regexp.h: Likewise.
1075         * misc/search.h: Likewise.
1076         * misc/sgtty.h: Likewise.
1077         * misc/ttyent.h: Likewise.
1078         * misc/sys/cdefs.h: Likewise.
1079         * misc/sys/file.h: Likewise.
1080         * misc/sys/ioctl.h: Likewise.
1081         * misc/sys/mman.h: Likewise.
1082         * misc/sys/select.h: Likewise.
1083         * misc/sys/syslog.h: Likewise.
1084         * misc/sys/uio.h: Likewise.
1085         * misc/sys/ustat.h: Likewise.
1086         * nss/nss.h: Likewise.
1087         * posix/sched.h: Likewise.
1088         * posix/unistd.h: Likewise.
1089         * posix/wordexp.h: Likewise.
1090         * posix/sys/times.h: Likewise.
1091         * posix/sys/utsname.h: Likewise.
1092         * posix/sys/wait.h: Likewise.
1093         * pwd/pwd.h: Likewise.
1094         * resolv/netdb.h: Likewise.
1095         * resolv/resolv.h: Likewise.
1096         * resource/ulimit.h: Likewise.
1097         * resource/sys/resource.h: Likewise.
1098         * resource/sys/vlimit.h: Likewise.
1099         * resource/sys/vtimes.h: Likewise.
1100         * rt/aio.h: Likewise.
1101         * setjmp/setjmp.h: Likewise.
1102         * shadow/shadow.h: Likewise.
1103         * signal/signal.h: Likewise.
1104         * socket/socket.h: Likewise.
1105         * stdio/stdio.h: Likewise.
1106         * stdio-common/_itoa.h: Likewise.
1107         * stdio-common/_itowa.h: Likewise.
1108         * stdio-common/printf.h: Likewise.
1109         * stdlib/alloca.h: Likewise.
1110         * stdlib/fmtmsg.h: Likewise.
1111         * stdlib/monetary.h: Likewise.
1112         * stdlib/stdlib.h: Likewise.
1113         * stdlib/ucontext.h: Likewise.
1114         * streams/stropts.h: Likewise.
1115         * string/argz.h: Likewise.
1116         * string/envz.h: Likewise.
1117         * string/string.h: Likewise.
1118         * string/strings.h: Likewise.
1119         * string/bits/string2.h: Likewise.
1120         * sunrpc/rpc/auth.h: Likewise.
1121         * sunrpc/rpc/auth_des.h: Likewise.
1122         * sunrpc/rpc/auth_unix.h: Likewise.
1123         * sunrpc/rpc/clnt.h: Likewise.
1124         * sunrpc/rpc/des_crypt.h: Likewise.
1125         * sunrpc/rpc/netdb.h: Likewise.
1126         * sunrpc/rpc/pmap_clnt.h: Likewise.
1127         * sunrpc/rpc/pmap_prot.h: Likewise.
1128         * sunrpc/rpc/pmap_rmt.h: Likewise.
1129         * sunrpc/rpc/rpc_msg.h: Likewise.
1130         * sunrpc/rpc/svc.h: Likewise.
1131         * sunrpc/rpc/svc_auth.h: Likewise.
1132         * sunrpc/rpc/xdr.h: Likewise.
1133         * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
1134         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1135         * sysvipc/sys/ipc.h: Likewise.
1136         * sysvipc/sys/msg.h: Likewise.
1137         * sysvipc/sys/sem.h: Likewise.
1138         * sysvipc/sys/shm.h: Likewise.
1139         * termios/termios.h: Likewise.
1140         * time/time.h: Likewise.
1141         * time/sys/time.h: Likewise.
1142         * time/sys/timeb.h: Likewise.
1143         * wcsmbs/wchar.h: Likewise.
1144         * wctype/wctype.h: Likewise.
1146 1999-10-05  Roland McGrath  <roland@baalperazim.frob.com>
1148         * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
1149         _GNU_SOURCE be defined.
1151 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
1153         * ctype/ctype.h: Pretty print.
1155         * po/cs.po: Fix typos.
1157         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
1158         handling of empty entries.  [PR libc/1345]
1159         Patch by Thorsten Kukuk <kukuk@suse.de>.
1161 1999-10-08  Andreas Schwab  <schwab@suse.de>
1163         * debug/xtrace.sh: Fix quoting bugs.  Implement --help and --version.
1165 1999-10-08  Andreas Schwab  <schwab@suse.de>
1167         * debug/pcprofiledump.c: Fix typos.
1169 1999-10-07  Andreas Jaeger  <aj@suse.de>
1171         * math/Makefile (tests): Added basic-tests.
1173         * math/basic-test.c: New file.  Contains function basic_tests from
1174         libm-test.
1176 1999-10-07  Andreas Schwab  <schwab@suse.de>
1178         * malloc/memprof.sh: Fix quoting bugs.
1180 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
1182         * timezone/europe: Update from tzdata1999h.
1184 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
1186         * elf/elf.h: Update from last gABI draft.
1188         * elf/elf.h: Remove EM_486 entry.
1189         * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
1190         test for EM_486.
1192 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
1194         * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
1195         Add rules for both programs.
1196         * debug/pcprofiledump.c: New file.
1197         * debug/xtrace.sh: New file.
1198         * debug/pcprofile.c: Allow creating output file.  Add magic signature
1199         to let reader recognize file format.
1201 1999-10-06  Ulrich Drepper  <drepper@cygnus.com>
1203         * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
1205 1999-10-05  Andreas Jaeger  <aj@suse.de>
1207         * locale/programs/ld-identification.c: Fix typo in comment.
1208         * locale/programs/ld-messages.c: Likewise.
1209         * locale/programs/ld-monetary.c: Likewise.
1210         * locale/programs/ld-name.c: Likewise.
1212         * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
1213         (collate_read): Remove unnecessary comparisons with ignore_content.
1215         * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
1216         assigned elements.
1217         (ctype_read): Remove unnecessary comparisons with ignore_content.
1218         Fix typos in comments.
1220         * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
1221         comparisons with ignore_content.
1223 1999-10-05  Ulrich Drepper  <drepper@cygnus.com>
1225         * po/cs.po: Update.
1227         * time/time.h: Move __gmtime_r declaration to ...
1228         * include/time.h: ...here.
1230 1999-10-05  Andreas Jaeger  <aj@suse.de>
1232         * manual/message.texi (The message catalog files): Fix description
1233         to match gencat implementation and Unix98: Message fields are
1234         separated by a single blank space.
1236 1999-10-05  Andreas Jaeger  <aj@suse.de>
1238         * manual/string.texi (Search Functions): Add missing end for
1239         memrchr description.
1241 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
1243         * malloc/memprof.sh: Various small cleanups.  Add short options.
1244         Write error messages to stderr.
1246         * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
1248         * malloc/memprof.sh: Take options to control memprofstat.
1250         * malloc/Makefile: Add rule to generate memprof script.
1251         * malloc/memprof.sh: New file.
1253         * elf/ldd.bash.in: Add "Usage: " in help message to comply with
1254         GNU standard.
1256 1999-10-04  Andreas Jaeger  <aj@suse.de>
1258         * configure.in: Allow makeinfo 4.*.
1260 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
1262         * stdio-common/vfprintf.c: Correct last patch and use outchar
1263         instead of PUTC to output single characters.
1264         * stdio-common/Makefile (tests): Add bug13.
1265         * stdio-common/bug13.c: New file.
1267         * configure.in: Add additional options --with-gd-include and
1268         --with-gd-lib to help people with strange installations.
1270         * malloc/Makefile: Add libdl dependency to libmemprof.so.
1271         * malloc/Depend: New file.
1273 1999-10-04  Andreas Jaeger  <aj@suse.de>
1275         * timezone/README: Change wording to not mention the current
1276         version.  This way we can't forget to update the file.
1278 1999-10-04  Andreas Jaeger  <aj@suse.de>
1280         * manual/time.texi (Basic CPU Time): Fix typo.
1281         Reported by Ben Pfaff <pfaffben@msu.edu>.
1283 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
1285         * string/string.h: Move __memrchr declaration to ...
1286         * include/string.h: ...here.
1288 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
1290         * string/Makefile (routines): Add memrchr.
1292         * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
1293         Correct order of tests for matching bytes.
1295         * string/tester.c: Add tests for memrchr.
1297         * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
1298         Start from the last character and take decrement not increment
1299         into account for correction in return line.  Add memrchr alias.
1300         * sysdeps/i386/bits/string.h: Likewise.
1302 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
1304         * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
1306 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
1308         * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
1310         * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
1311         conventions.
1313         * string/Versions: Export memrchr.
1315 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
1317         * misc/Versions (GLIBC_2.2): Add getloadavg.
1318         * misc/Makefile (routines): Add getloadavg.
1319         * sysdeps/generic/getloadavg.c: New file.
1320         * sysdeps/mach/getloadavg.c: New file.
1321         * sysdeps/unix/sysv/linux/getloadavg.c: New file.
1323         * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
1324         * sysdeps/i386/bits/string.h (__memrchr): New function.
1325         * string/string.h: Declare memrchr, __memrchr.
1326         * manual/string.texi (Search Functions): Document memrchr.
1328 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
1330         * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
1331         CFLAGS-memprofstat.c, and LIBGD variables.
1332         * config.make.in: Add LIBGD.
1333         * malloc/Makefile: Add rules to generate libmemprof.so and
1334         memprofstat.
1335         * malloc/memprof.c: New file.
1336         * malloc/memprofstat.c: New file.
1338 1999-10-02  Ulrich Drepper  <drepper@cygnus.com>
1340         * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
1342         * resolv/inet_ntop.c (inet_ntop4): Little optimization.
1343         (inet_ntop6): Likewise.
1345         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
1346         overruns.
1348         * resolv/tst-aton.c (main): Add more tests.
1350         * resolv/inet_addr.c (inet_aton): Correct some problems with to
1351         large numbers.  Optimize a bit.
1353 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
1355         * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
1356         account for added '0'.
1358         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
1359         handling of IPv6 tunnel address handling with bind 8.2.1.  Allow
1360         len argument to be greater than needed address size.
1362 1999-10-01  Andreas Jaeger  <aj@suse.de>
1364         * locale/programs/ld-collate.c (insert_value): Add cast to avoid
1365         warning.
1366         * intl/finddomain.c (_nl_find_domain): Likewise.
1368 1999-09-30  Andreas Schwab  <schwab@suse.de>
1370         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
1372 1999-09-30  Andreas Jaeger  <aj@suse.de>
1374         * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
1375         * sysdeps/i386/rshift.S: Likewise.
1376         * sysdeps/i386/strchrnul.S: Likewise.
1377         * sysdeps/i386/strchr.S: Likewise.
1378         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
1379         PR libc/1339.
1381 1999-09-30  Andreas Jaeger  <aj@suse.de>
1383         * manual/examples/pipe.c: Close other end of pipe to make example work.
1385 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
1387         * timezone/checktab.awk: Update from tzcode1999g.
1388         * timezone/tzselect.ksh: Likewise.
1389         * timezone/africa: Update from tzdata1999g.
1390         * timezone/asia: Likewise.
1391         * timezone/australasia: Likewise.
1392         * timezone/europe: Likewise.
1393         * timezone/northamerica: Likewise.
1394         * timezone/southamerica: Likewise.
1395         * timezone/iso3166.tab: Likewise.
1396         * timezone/zone.tab: Likewise.
1398 1999-09-27  Andreas Jaeger  <aj@suse.de>
1400         * resolv/netdb.h: Remove declaration of getnodebyname.  It has
1401         been renamed to getipnodebyname.  Move flags around.
1403 1999-09-27  Andreas Schwab  <schwab@suse.de>
1405         * manual/message.texi (Locating gettext catalog): Fix typos.
1407 1999-09-27  Andreas Jaeger  <aj@suse.de>
1409         * manual/socket.texi (Out-of-Band Data): Correct example program,
1410         rename some variables for clarity.
1411         Reported by James Antill <james@and.org>, close PR libc/1329.
1413 1999-09-27  Ulrich Drepper  <drepper@cygnus.com>
1415         * locale/programs/ld-collate.c (insert_value): Add hack to not
1416         crash in incomplete collate implementation.
1418         * locale/programs/ld-collate.c (read_directions): Read new token
1419         after accepting sorting rule.
1421 1999-09-26  Ulrich Drepper  <drepper@cygnus.com>
1423         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
1424         error message printing.  Correctly test whether all characters of
1425         current token are used.
1426         (ctype_read): NUL terminate last_str.
1428 1999-09-26  Thorsten Kukuk  <kukuk@suse.de>
1430         * nscd/connections.c: Invalidate caches on request.
1431         * nscd/nscd-client.h: Add INVALIDATE to request_type.
1432         * nscd/nscd.c: Add invalidate cache option.
1433         * nscd/nscd.conf: Change log directory to /var/log (FHS).
1435 1999-09-24  Ulrich Drepper  <drepper@cygnus.com>
1437         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
1438         not ovverwrite last group member with NULL pointer.
1439         Reported by Thomas Winder <thomas.winder@newlogic.at>.
1441 1999-09-24  Andreas Jaeger  <aj@suse.de>
1443         * stdio-common/tst-printf.c (main): Add a testcase for large
1444         precision.  Reported by Tymm Twillman <tymm@coe.missouri.edu>.
1446 1999-09-24  Andreas Schwab  <schwab@suse.de>
1448         * math/bits/mathcalls.h: Fix last change.  Also declare __finite.
1450 1999-09-24  Andreas Jaeger  <aj@suse.de>
1452         * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
1453         normalized_codeset.  Reported by Belicky Zsolt <zsolt@prolan.hu>.
1455 1999-09-23  Mark Kettenis  <kettenis@gnu.org>
1457         * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
1458         variable.  Define MORECORE_CLEARS to 2.
1460         * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
1461         doesn't clear the contents of memory that is reallocated after
1462         decrementing the break value first.  Update comment about
1463         MORECORE_CLEARS, explaining the meaning of the values it can be
1464         set to.
1466 1999-09-23  Ulrich Drepper  <drepper@cygnus.com>
1468         * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
1469         one more case.
1471         * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
1472         (log): Likewise.
1473         (log10): Likewise.
1474         (log1p): Likewise.
1475         (log2): Likewise.
1477 1999-09-22  Andreas Jaeger  <aj@suse.de>
1479         * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
1480         reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
1482 1999-09-22  Andreas Schwab  <schwab@suse.de>
1484         * stdio-common/vfscanf.c: Fix width handling when scanning floats.
1486 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1488         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
1489         the source directory.  Fixes PR libc/1059.
1491 1999-09-21  Ulrich Drepper  <drepper@cygnus.com>
1493         * locale/programs/repertoire.c (repertoire_find_value): Abort if
1494         rep parameter is NULL.
1495         (repertoire_find_symbol): Likewise.
1496         (repertoire_find_seq): Likewise.
1498 1999-09-20  Jean-Louis Martineau  <martinea@IRO.UMontreal.CA>
1500         * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
1501         returned errno value in some cases.
1503 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
1505         * iconvdata/Makefile (modules): Add GBK.
1506         (distribute): Add gbk.c.
1507         * iconvdata/gbk.c: New file.
1508         * iconvdata/gconv-modules: Add GBK entry.
1509         Contributed by Sean Chen <sean.chen@turbolinux.com>.
1511         * locale/programs/ld-monetary.c (monetary_output): Remove
1512         byte-order code.
1514         * locale/programs/ld-time.c (time_output): Correct expected number
1515         of iov entries.
1517         * manual/filesys.texi (Testing File Access): Correct description of
1518         SUID.
1520 1999-080-25  H.J. Lu  <hjl@gnu.org>
1522         * csu/defs.awk (.end): Only match with leading white spaces.
1523         (.align): Likewise.
1525 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
1527         * stdlib/isomac.c: Add va_copy to allowed macros.
1529         * po/pl.po: Updated.
1531 1999-09-17  Andreas Schwab  <schwab@suse.de>
1533         * Makefile (clean): Also remove $(postclean) files.
1535 1999-09-15  Andreas Jaeger  <aj@suse.de>
1537         * pwd/Makefile (otherlibs): Add for building with static-nss.
1538         * inet/Makefile (otherlibs): Likewise.
1540 1999-09-15  Andreas Jaeger  <aj@suse.de>
1542         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
1543         function definition to avoid a compilation failure.
1545 1999-09-15  Andreas Jaeger  <aj@suse.de>
1547         * stdlib/tst-environ.c (main): Add getenv regression test for
1548         environment variable that's one character long.
1550 1999-09-15  Andreas Jaeger  <aj@suse.de>
1552         * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
1553         signal definitions to let glibc compile with older Linux versions
1554         (2.0.10 to 2.1.100 or so).
1556 1999-09-18  Roland McGrath  <roland@baalperazim.frob.com>
1558         * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
1559         return zero to indicate no children died yet (assuming WNOHANG).
1561         * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
1563 1999-09-17  Roland McGrath  <roland@baalperazim.frob.com>
1565         * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
1567         * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
1568         Return _hurd_pgrp instead of 0.
1570 1999-09-19  Roland McGrath  <roland@baalperazim.frob.com>
1572         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
1573         pages rather than just reprotecting them.  This way we don't hold on
1574         to the backing space.
1576         * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
1577         Use __munmap instead of __vm_deallocate.
1579 1999-09-18  Ulrich Drepper  <drepper@cygnus.com>
1581         * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
1582         returned errno value in some cases.
1584 1999-09-17  Andreas Jaeger  <aj@suse.de>
1586         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
1587         to override user settings.
1589 1999-09-17  Andreas Schwab  <schwab@suse.de>
1591         * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
1592         using a pointer to it.
1594 1999-09-16  Ulrich Drepper  <drepper@cygnus.com>
1596         * time/getdate.c (__getdate_r): Pass correct year to check_mday.
1597         Reported by Vern Staats <staatsvr@asc.hpc.mil>.
1599 1999-09-14  Ulrich Drepper  <drepper@cygnus.com>
1601         * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
1603         * elf/elf.h (PF_MASKOS): New definition.
1604         (EM_VAX): New definition.
1606 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
1608         * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
1609         'unsigned char ftype[8]', and 'unsigned int init_flag' to
1610         struct user_fp.  These were added in version 2.2.12 of the
1611         ARM Linux kernel.
1612         * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
1613         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
1614         The generic procfs.h included <asm/elf.h>.  This causes
1615         structure redefinition errors when <sys/user.h> and <sys/procfs.h>
1616         are included in the same source file.  Found when building GDB.
1618 1999-09-13  Ulrich Drepper  <drepper@cygnus.com>
1620         * locale/langinfo.h: Remove byte-order dependent names.
1621         * locale/categories.def: Update after removal of byte-order dependent
1622         names.
1623         * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
1624         with magic number in other byte order.
1625         * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
1626         * locale/C-collate.c: Remove initializers for other byte-order.
1627         * locale/C-ctype.c: Likewise.
1628         * locale/C-monetary.c: Likewise.
1629         * locale/C-paper.c: Likewise.
1630         * locale/C-time.c: Likewise.
1631         * locale/lc-collate.c: Remove byte-order oriented initialization.
1632         * locale/lc-ctype.c: Likewise.
1633         * locale/lc-monetary.c: Likewise.
1634         * locale/lc-time.c: Likewise.
1635         * locale/programs/ld-address.c: Don't generate output in both
1636         byte-orders.
1637         * locale/programs/ld-ctype.c: Likewise.
1638         * locale/programs/ld-paper.c: Likewise.
1639         * locale/programs/ld-time.c: Likewise.
1640         * time/strftime.c (NLW): Don't use different byte-orders.
1641         * wctype/cname-lookup.h (cname_lookup): Likewise.
1643         * Makeconfig (localedir): Define using libdir, not datadir.
1644         (msgcatdir): New variable.
1645         * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
1646         * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
1647         msgcatdir.
1648         * intl/Makefile (install-others): Install locale.alias in msgcatdir.
1649         (CPPFLAGS): Define paths using msgcatdir.
1650         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
1651         * po/Makefile (mo-installed): Define using msgcatdir.
1653         * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
1655 1999-09-12  Ulrich Drepper  <drepper@cygnus.com>
1657         * stdio-common/vfprintf.c: Remove limitation on size of precision
1658         for integers.
1660         * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
1661         glibc by defining internal_function if it isn't already.
1663         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
1664         fails don't rely on errno value.
1665         (getanswer_r): Set *ERRNOP in error cases.
1667         * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
1668         (gaih_inet_serv): Return EIA_NODATA if name is known but has no
1669         associated data.  Test for matching numeric address and family.
1670         (getaddrinfo): Remember EAI_NODATA result and return this in case
1671         everything fails.
1672         Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
1674         * locale/programs/ld-address.c: Fix handling of non-existing
1675         definitions for this category.  Correctly ignore content of this
1676         category is this is necessary.
1677         * locale/programs/ld-collate.c: Likewise.
1678         * locale/programs/ld-ctype.c: Likewise.
1679         * locale/programs/ld-identification.c: Likewise.
1680         * locale/programs/ld-measurement.c: Likewise.
1681         * locale/programs/ld-messages.c: Likewise.
1682         * locale/programs/ld-monetary.c: Likewise.
1683         * locale/programs/ld-name.c: Likewise.
1684         * locale/programs/ld-numeric.c: Likewise.
1685         * locale/programs/ld-paper.c: Likewise.
1686         * locale/programs/ld-telephone.c: Likewise.
1687         * locale/programs/ld-time.c: Likewise.
1688         * locale/programs/locfile.h (handle_copy): Take extra parameter
1689         with result pointer.  Fill in name of locale from which to copy.
1690         Correctly read token after `END'.
1692         * locale/programs/localedef.c (main): Correct handling copy.
1693         (add_to_readlist): Take extra parameter which says whether we
1694         are supposed to read the file or not.
1695         (find_locale): Call add_to_readlist with extra parameter set to 0.
1697         * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
1698         instead of wrong number in array definitions.
1699         (add_to_readlist): Update prototype.
1701         * locale/programs/locfile.c (locfile_read): Mark categories not
1702         available in source file as read.
1703         (write_all_categories): Fix typo.
1705         * locale/programs/locales.h: Removed.
1707 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
1709         * elf/elf.h (SHF_MASKOS): Added.
1711         * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
1713 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1715         * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
1717 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1719         * configure.in: Fix make version test for make 3.77.95 and later
1720         versions.
1721         Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
1723 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
1725         * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
1727         * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
1728         WINT_MAX values.
1730         * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
1732 1999-09-09  Andreas Schwab  <schwab@suse.de>
1734         * elf/link.h: Fix comment.
1736 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
1738         * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
1740         * math/math.h: Pretty print.
1742 1999-09-10  Andreas Schwab  <schwab@suse.de>
1744         * sysdeps/generic/getenv.c (getenv): Fix lookup for single
1745         character variable on bigendian platforms without unaligned memory
1746         access.
1748 1999-09-07  Cristian Gafton  <gafton@redhat.com>
1750         * sysdeps/unix/sysv/linux/sys/raw.h: New file
1751         * sysdeps/unix/sysv/linux/Dist: Add raw.h.
1752         * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
1754 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
1756         * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
1758         * time/ap.c: Removed.  It was not used.
1759         * time/date.c: Likewise.
1760         * sysdeps/unix/nlist.c: Likewise.
1761         * sysdeps/generic/nlist.c: Likewise.
1762         * sysdeps/generic/varargs.h: Likewise.
1763         * stdio-common/scanf11.c: Likewise.
1764         * stdio-common/scanf6.c: Likewise.
1765         * scripts/=__ify: Likewise.
1766         * scripts/printsources: Likewise.
1767         * resolv/getnetnamadr.c: Likewise.
1768         * posix/id.c: Likewise.
1769         * misc/ioctltst.c: Likewise.
1770         * misc/nlist.h: Likewise.
1771         * math/test-math.h: Likewise.
1772         * include/nlist.h: Likewise.
1774 1999-09-06  Andreas Schwab  <schwab@suse.de>
1776         * time/tzset.c (compute_change): Replace slow loop to compute T by
1777         simple algorithm.
1779 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
1781         * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
1782         escape sequences out even if the character itself does not fit
1783         into the buffer.
1785         * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
1787 1999-08-31  H.J. Lu  <hjl@gnu.org>
1789         * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
1791 1999-09-05  Roland McGrath  <roland@baalperazim.frob.com>
1793         * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
1794         it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
1795         (_hurd_priority_which_map):
1797 1999-09-04  Ulrich Drepper  <drepper@cygnus.com>
1799         * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
1801 1999-09-03  Andreas Schwab  <schwab@suse.de>
1803         * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
1804         fork from __syscall_fork to __libc_fork.
1805         * posix/Versions: Add __libc_fork and __vfork to version
1806         GLIBC_2.1.2.
1808 1999-08-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1810         * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
1811         dependencies in sort.
1813 1999-09-01  H.J. Lu  <hjl@gnu.org>
1815         * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
1817         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
1818         <sys/user.h> instead of <asm/user.h>.
1820 1999-09-02  Ulrich Drepper  <drepper@cygnus.com>
1822         * elf/elf.h: Update PARISC-specific flags and symbolic names.
1824 1999-09-01  Ulrich Drepper  <drepper@cygnus.com>
1826         * elf/elf.h: Update PARISC relocations.
1828 1999-08-31  Scott Bambrough  <scottb@netwinder.org>
1830         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
1831         #ifdef statement to prevent it from being included twice.
1832         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
1833         #include <bits/armsigctx.h>.
1835 1999-08-31  Andreas Schwab  <schwab@suse.de>
1837         * locale/C-collate.c: Add missing initialisations.
1838         * locale/C-ctype.c: Likewise.
1840 1999-08-31  Ulrich Drepper  <drepper@cygnus.com>
1842         * time/strftime.c (my_strftime): Remove unneeded variable len.
1844         * time/strptime.c: Undo last change.
1846 1999-08-30  Ulrich Drepper  <drepper@cygnus.com>
1848         * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
1849         Change charset.h to charmap.h.
1850         (categories): Add new categories.  Leave out collate for now.
1851         Update build rules.
1852         * locale/categories.def: Add definitions for new categories.
1853         * locale/langinfo.h: Likewise.
1854         * locale/locale.h: Likewise.
1855         * locale/C-address.c: New file.
1856         * locale/C-identification.c: New file.
1857         * locale/C-measurement.c: New file.
1858         * locale/C-name.c: New file.
1859         * locale/C-paper.c: New file.
1860         * locale/C-telephone.c: New file.
1861         * locale/lc-address.c: Likewise.
1862         * locale/lc-identification.c: Likewise.
1863         * locale/lc-measurement.c: Likewise.
1864         * locale/lc-name.c: Likewise.
1865         * locale/lc-paper.c: Likewise.
1866         * locale/lc-telephone.c: Likewise.
1867         * locale/C-ctype.c: Update for locale rewrite.
1868         * locale/C-messages.c: Likewise.
1869         * locale/C-monetary.c: Likewise.
1870         * locale/C-time.c: Likewise.
1871         * locale/lc-collate.c: Likewise.
1872         * locale/lc-ctype.c: Likewise.
1873         * locale/lc-monetary.c: Likewise.
1874         * locale/lc-time.c: Likewise.
1875         * locale/localeinfo.h: Likewise.
1876         * locale/newlocale.c: Likewise.
1877         * locale/setlocale.c: Likewise.
1878         * locale/weight.h: Likewise.
1879         * locale/findlocale.c: Unconditionally use mmap.
1880         Handle new categories.
1881         * locale/loadlocale.c: Likewise.
1882         * locale/iso-3166.def: New file.
1883         * locale/iso-639.def: New file.
1884         * locale/programs/charmap-kw.gperf: Add new keywords.
1885         * locale/programs/locfile-kw.gperf: Likewise.
1886         * locale/programs/locfile-token.h: Define new tokens.
1887         * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
1888         * locale/programs/charmap.h: New file.
1889         * locale/programs/charset.h: Removed.
1890         * locale/programs/config.h: Add __LC_LAST.
1891         * locale/programs/lc-address.c: New file.
1892         * locale/programs/lc-identification.c: New file.
1893         * locale/programs/lc-measurement.c: New file.
1894         * locale/programs/lc-name.c: New file.
1895         * locale/programs/lc-paper.c: New file.
1896         * locale/programs/lc-telephone.c: New file.
1897         * locale/programs/lc-collate.c: Update for locale rewrite.
1898         * locale/programs/lc-ctype.c: Likewise.
1899         * locale/programs/lc-messages.c: Likewise.
1900         * locale/programs/lc-monetary.c: Likewise.
1901         * locale/programs/lc-numeric.c: Likewise.
1902         * locale/programs/lc-time.c: Likewise.
1903         * locale/programs/locale.c: Likewise.
1904         * locale/programs/localedef.c: Likewise.
1905         * locale/programs/locfile.c: Likewise.
1906         * locale/programs/repertoire.c: Likewise.
1907         * locale/programs/repertoire.h: Likewise.
1908         * locale/programs/locfile.c: Update prototypes.
1909         Update handle_copy definition.
1910         * locale/programs/linereader.c: Add handling of wide char strings and
1911         new definition file syntax.
1912         * locale/programs/linereader.h (struct token): Add elements for wide
1913         character strings.
1914         * locale/programs/locale-spec.c: Disable handling of collation
1915         elements for now.
1916         * locale/programs/simple-hash.h: Cleanup.
1917         * locale/programs/stringtrans.h: Handle quite of end of line.
1918         * string/strcoll.c: Fall back on strcmp for now.
1919         * string/strxfrm.c: Fall back on strncpy/strlen for now.
1920         * time/strftime.c: Use new wide character data for wcsftime.
1921         * time/strptime.c: Remove _nl_C_LC_TIME declaration.
1922         * wctype/cname-lookup.h: Update for new LC_CTYPE data.
1924         * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
1925         compiling for i386 to avoid i686-like GOT pointer computation.
1927         * db2/db_int.h: Change tsl_t type to u_int32_t.
1928         * db2/mutex/mutex.c: Allow Alpha mutex definitions.
1929         * db2/mutex/alpha.h: New file.
1930         * db2/mutex/sparc.gcc: Fix store code for v9.  Simplify clear code.
1931         * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
1932         known.
1933         Patches by Richard Henderson.
1935         * stdlib/tst-environ.c: Add cast to avoid warning.
1936         * timezone/test-tz.c: Use setenv instead of putenv.
1938 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1940         * manual/libc.texinfo: Update version and date.
1942         * manual/locale.texi (Formatting Numbers): Fix @node pointers.
1944         * manual/filesys.texi (Working with Directory Trees): Add missing @code.
1945         (File System Interface): Correct entry.
1946         (Permission Bits): Add missing commata after @xref.
1948 1999-08-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1950         * timezone/tst-timezone.c (main): Don't pass const strings to
1951         putenv to avoid warnings.
1953         * posix/regexbug1.c: Include <stdio.h> for puts prototype.
1955 1999-08-29  Thorsten Kukuk  <kukuk@suse.de>
1957         * nis/Versions: Add _nss_*_getipnodebyname_r.
1958         * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
1959         * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
1960         * nss/Versions: Add _nss_files_getipnodebyname_r.
1962 1999-08-28  H.J. Lu  <hjl@gnu.org>
1964         * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
1965         memory for buffer.
1967 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
1969         * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
1970         kernel.
1971         * inet/netinet/in.h: Likewise.
1972         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1973         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1975 1999-08-28  Ulrich Drepper  <drepper@cygnus.com>
1977         * malloc/malloc.c (ptmalloc_init): Don't use variables to set
1978         thresholds for SUID binaries.  [PR libc/1277]
1980         * posix/regexbug1.c: Add one more similar case.
1982 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1984         * manual/install.texi (Running make install): Give examples for
1985         timezone and locale installation.
1987 1999-08-28  Zack Weinberg  <zack@bitmover.com>
1989         * glibcbug.in: Get CCVERSION from autoconf substitution.
1990         * configure.in: Calculate and substitute CCVERSION.
1992 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1994         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
1995         partially reverting a patch from 1998-12-29.  We just can't change
1996         the flags, kernels with different flags lead to
1997         incompatibilities.
1999 1999-08-26  Andreas Schwab  <schwab@suse.de>
2001         * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
2003 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
2005         * inet/rexec.c (rexec): Free memory if strings were allocated in
2006         ruserpass.  Reported by Andrew Morton <morton@nortelnetworks.com>.
2008 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
2010         * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
2012         * manual/argp.texi: Fixing language and typos.
2013         * manual/conf.texi: Likewise.
2014         * manual/contrib.texi: Likewise.
2015         * manual/ctype.texi: Likewise.
2016         * manual/filesys.texi: Likewise.
2017         * manual/install.texi: Likewise.
2018         * manual/job.texi: Likewise.
2019         * manual/lang.texi: Likewise.
2020         * manual/llio.texi: Likewise.
2021         * manual/locale.texi: Likewise.
2022         * manual/math.texi: Likewise.
2023         * manual/nss.texi: Likewise.
2024         * manual/pipe.texi: Likewise.
2025         * manual/signal.texi: Likewise.
2026         * manual/socket.texi: Likewise.
2027         * manual/stdio.texi: Likewise.
2028         * manual/sysinfo.texi: Likewise.
2029         * manual/users.texi: Likewise.
2030         Patches by Neil Booth <NeilB@earthling.net>.
2032 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
2034         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
2035         unsigned to avoid warning.  [PR libc/1271].
2037         * conform/conformtest.pl: Allow testing regex.h which requires
2038         sys/types.h being included.
2040         * conform/data/regex.h-data: Allow *_t types.
2041         * conform/data/pwd.h-data: Likewise.
2042         * conform/data/sched.h-data: Likewise.
2043         * conform/data/pthread.h-data: Likewise.
2044         * conform/data/search.h-data: Likewise.
2046         * misc/search.h: Avoid namespace pollution.
2048         * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
2049         pwd.h, and pthread.h.
2050         * conform/data/pthread.h-data: New file.
2051         * conform/data/pwd.h-data: New file.
2052         * conform/data/regex.h-data: New file.
2053         * conform/data/sched.h-data: New file.
2054         * conform/data/search.h-data: New file.
2056         * NAMESPACE: Add REG_ for regex.h.
2058         * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
2059         they are removed.
2061         * configure.in (libc_cv_asm_global_directive): Indent .text in
2062         test code so that the lame HPUX compiler recognizes it.
2063         * sysdeps/hppa/bits/endian.h: New file.
2064         * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
2065         * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
2066         * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
2067         * sysdeps/unix/sysv/hpux/bits/types.h: New file.
2069         * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
2070         Patch by John Tobey <jtobey@banta-im.com>.
2072         * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
2074         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
2075         old_siocfifconf definition to toplevel.
2076         (__protocol_available): Remove old_siocfifconf definition.
2078 1999-08-25  Mark Kettenis  <kettenis@gnu.org>
2080         * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
2081         really dealing with a master pseudo terminal, and really returning
2082         the name of the associated slave pseudo terminal by checking the
2083         device number.
2084         * sysdeps/unix/sysv/linux/pty-private.h: Removed.
2085         * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
2087 1999-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2089         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
2090         underscore in _llseek entry.
2092         * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
2093         entry.
2095         * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
2096         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
2098         * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
2099         Patch by Ralf Baechle <ralf@uni-koblenz.de>.
2101 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
2103         * inet/Makefile (routines): Add getipnodebynm.
2104         * inet/getipnodebynm.c: New file.
2105         * nss/digits_dots.c: If HAVE_TYPE is define type contains the
2106         interface type.
2107         * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
2108         EXTRA_ARGS_VALUE is not already done.
2109         (internal_getent): Allow extra parameters and pass them to parse_line.
2110         (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
2111         (_nss_files_get##name##_r): Likewise.
2112         * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
2113         and EXTRA_ARGS_VALUE to pass flags and type to parser.
2114         Add getipnodebyname function.
2115         * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
2116         EXTRA_ARGS_VALUE is not already done.
2117         (parse_line): Add EXTRA_ARGS_DECL to parameter list.
2118         * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
2119         to parse_line.
2120         (_nss_db_get##name##_r): Pass extra parameters to lookup.
2121         (_nss_db_get,ENTNAME_r): Likewise.
2122         * sysdeps/generic/if_index.c (__protocol_available): New function.
2123         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2125 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
2127         * login/pty-private.h: Move to...
2128         * sysdeps/generic/pty-private.h: ...here.
2129         * sysdeps/unix/sysv/linux/pty-private.h: New file.  Linux specific
2130         version.
2131         * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
2132         available.
2134         * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
2135         of __overflow.
2137         * conform/conformtest.pl (@headers): Add monetary.h-data,
2138         mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
2139         * conform/data/monetary.h-data: New file.
2140         * conform/data/mqueue.h-data: New file.
2141         * conform/data/ndbm.h-data: New file.
2142         * conform/data/nl_types.h.h-data: New file.
2143         * conform/data/poll.h-data: New file.
2145         * stdio-common/Makefile (test): Add tst-cookie.
2146         * stdio-common/tst-cookie.c: New file.
2148         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
2149         changed in last patch.  Reported by Ralf Baechle.
2151 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2153         * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
2155         * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
2156         Patches by Ralf Baechle <ralf@uni-koblenz.de>
2158 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2160         * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
2161         Linux 2.3.15.
2163 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
2165         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
2166         syscall.
2167         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2169         * misc/libgen.h: Don't take basename macro as taking arguments.
2171         * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
2172         for gcc >= 2.95.
2173         * sysdeps/i386/bits/huge_val.h: Likewise.
2174         * sysdeps/i386/bits/huge_val.h: Likewise.
2175         * sysdeps/ieee754/bits/huge_val.h: Likewise.
2176         * sysdeps/m68k/bits/huge_val.h: Likewise.
2177         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
2178         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
2180         * conform/Makefile: New file.
2181         * conform/conformtest.pl: New file.
2182         * conform/data/aio.h-data: New file.
2183         * conform/data/assert.h-data: New file.
2184         * conform/data/cpio.h-data: New file.
2185         * conform/data/ctype.h-data: New file.
2186         * conform/data/dirent.h-data: New file.
2187         * conform/data/dlfcn.h-data: New file.
2188         * conform/data/errno.h-data: New file.
2189         * conform/data/fcntl.h-data: New file.
2190         * conform/data/float.h-data: New file.
2191         * conform/data/fmtmsg.h-data: New file.
2192         * conform/data/fnmatch.h-data: New file.
2193         * conform/data/ftw.h-data: New file.
2194         * conform/data/glob.h-data: New file.
2195         * conform/data/grp.h-data: New file.
2196         * conform/data/iconv.h-data: New file.
2197         * conform/data/inttypes.h-data: New file.
2198         * conform/data/iso646.h-data: New file.
2199         * conform/data/langinfo.h-data: New file.
2200         * conform/data/libgen.h-data: New file.
2201         * conform/data/locale.h-data: New file.
2202         * conform/data/math.h-data: New file.
2204 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
2206         * posix/execvp.c (execvp): Correct copying of file name.
2208 1999-08-23  Mark Kettenis  <kettenis@gnu.org>
2210         * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
2212 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
2214         * stdio-common/Makefile: Move addition to routines to the right place.
2216 1999-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2218         * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file.  Neccessary
2219         since mips*-linux has ECANCELED.
2221 1999-08-23  Andreas Schwab  <schwab@suse.de>
2223         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
2224         SIGCONTEXT_EXTRA_ARGS.
2225         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
2226         * sysdeps/generic/sigcontextinfo.h: Likewise.
2227         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
2228         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
2229         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2230         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
2231         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
2232         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2234 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
2236         * posix/regexbug1.c: Make it an error if the test fails.
2238 1999-08-23  Andreas Schwab  <schwab@suse.de>
2240         * posix/regex.c (re_match_2_internal): Correct check for charset
2241         after exactn in loop.
2243 1999-08-22  Ulrich Drepper  <drepper@cygnus.com>
2245         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
2246         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2247         Patch by Joel Klecker.
2249         * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
2250         (__gconv_find_transform): Update prototype.
2251         (__gconv_open): Likewise.
2252         * iconv/gconv_open.c: Take extra parameter and pass it to
2253         __gconv_find_transform.
2254         * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
2255         flags.  If GCONV_AVOID_NOCONV flag is set don't return copying
2256         transformation.
2257         * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
2258         * wcsmbs/wcsmbsload.c: Likewise.
2259         * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
2260         iconv for glibc.
2261         * intl/gettextP.h: Likewise.
2262         * intl/loadmsgcat.c: Likewise.
2264         * posix/regexbug1.c: New file.
2265         * posix/Makefile (tests): Add regexbug1.
2267 1999-08-22  Mark Kettenis  <kettenis@gnu.org>
2269         * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
2270         * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
2271         installing PORT in the descriptor cell.
2273 1999-08-19  Roland McGrath  <roland@baalperazim.frob.com>
2275         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
2276         TIMEOUT as outputs of the asm to indicate that the signal thread
2277         might mutate them.
2278         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
2279         mach_msg if only sending or only receiving (i.e., not an RPC).  When
2280         making an RPC that might get interrupted, save OPTION and the portion
2281         of the message buffer that gets clobbered by an EINTR reply message,
2282         and properly restore them before attempting to retry the request
2283         message send.
2285 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
2287         * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
2288         definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
2289         CHAR_T, UCHAR_T and WIN_T to make the code compile again when
2290         stdio is used instead of libio.
2291         * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
2292         definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
2293         to make the code compile again when stdio is used instead of
2294         libio.
2295         (vfprintf): Only check for correct orientation if ORIENT is
2296         defined.
2297         * stdio-common/Makefile (routines): Only add vfwprintf and
2298         vfwscanf if we're using libio.
2300 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
2302         * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
2303         any additional prototype just as we do for libio.
2305 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
2307         * include/bits/xopen_lim.h: Do not define STREAM_MAX and
2308         TZNAME_MAX.  These limits are not X/Open specific.
2309         * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
2310         is defined.
2312 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
2314         * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
2315         UIO_MAXIOV is left undefined in sys/uio.h.
2316         * stdio-common/stdio_lim.h.in: Adapt for change above.
2318 1999-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2320         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
2321         * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
2322         Patches by Ralf Baechle <ralf@uni-koblenz.de>
2324 1999-08-21  Ulrich Drepper  <drepper@cygnus.com>
2326         * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
2328 1999-08-20  Ulrich Drepper  <drepper@cygnus.com>
2330         * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
2332         * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
2333         call.  It should not be necessary andis harmful for Alpha.
2335         * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
2336         type.  [PR libc/1269]
2338         * posix/execvp.c (execvp): Allocate array name of correct size.
2339         Optimize inner loop.  Use execve directly, not execv.
2341         * elf/elf.h: Corrected SHT_ values from new draft.
2343         * intl/gettextP.h (struct loaded_domain): Add conv element.
2344         * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
2345         Instead of returning found message directly convert it using iconv
2346         if a conversion was found when opening the file.
2347         * intl/loadinfo.h: Protect against multiple inclusion.
2348         Declare _nl_find_msg.
2349         * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
2350         in the message file and if necessary find approrpiate
2351         conversion to match currently selected charset.
2352         * include/libintl.h: Declare __dgettext and __dcgettext.
2353         * include/iconv.h: New file.
2355 1999-08-20  Andreas Schwab  <schwab@suse.de>
2357         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
2359 1999-08-19  Ulrich Drepper  <drepper@cygnus.com>
2361         * sysdeps/unix/sysv/linux/execve.c: New file.  This version terminates
2362         all threads [PR libc/1223].
2364         * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
2365         [PR libc/1165].
2367         * configure.in: Search for programs with prefix gnu* and g* first.
2368         [PR libc/1104].
2370         * dirent/Makefile (routines): Add getdents64.
2371         * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
2372         Remove getdents64.
2373         * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
2374         compiled with _FILE_OFFSET_BITS=64.
2375         * sysdeps/generic/getdents64.c: New file.
2376         * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
2377         __lseek for getdirentries64 definition.
2379         * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
2381         * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
2382         _FILE_OFFSET_BITS=64.
2384         * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
2385         parameter.
2387         * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
2388         after we have the lock.
2390         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
2391         Patch by Richard Henderson.
2393 1999-08-19  Andreas Schwab  <schwab@suse.de>
2395         * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
2396         and call _IO_fwide, to get the wide stream state initialized
2397         correctly.  Don't set _IO_JUMPS.
2398         * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
2399         * libio/vswprintf.c (_IO_vswprintf): Likewise.  Pass
2400         _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
2401         directly.
2403 1999-08-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2405         * math/libm-test.c (jn_test): Fix typo in description.
2406         (erfc_test): Add some more tests.
2407         (erf_test): Add some more tests.
2409 1999-08-19  Andreas Schwab  <schwab@suse.de>
2411         * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
2412         expression using $(exceptions).
2414 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
2416         * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
2418         * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
2419         allocated so far.  [PR libc/1261].
2421         * math/libm-test.c (j0_test): Adjust deltas for m68k.
2422         (jn_test): Likewise.
2424         * dirent/dirent.h: Only define ino64_t if not already done.
2425         * posix/sys/types.h: Likewise.
2427         * ctype/ctype.h: Avoid useless #endif #if pairs.
2429         * dirent/dirent.h: Define ino_t and ino64_t if not done already.
2430         (seekdir): Fix type of second parameter.
2431         * sysdeps/generic/seekdir.c: Likewise.
2432         * sysdeps/mach/hurd/seekdir.c: Likewise.
2433         * sysdeps/unix/seekdir.c: Likewise.
2435         * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
2437 1999-08-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2439         * manual/install.texi (Configuring and compiling): Clarify ix86
2440         situation.
2442 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
2444         * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
2445         * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
2446         * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
2447         stdio_lim.h.  Define LONG_BIT and WORD_BIT.
2449         * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
2451         * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
2453         * misc/search.h: Don't define NULL.
2455         * posix/sys/types.h: Define blksize_t if it hasn't happened.
2456         Only define key_t and blkcnt_t if it hasn't happened before.
2457         Define blksize_t if not happened before.
2458         * io/sys/stat.h: Don't define pid_t.  Define blkcnt_t and blksize_t.
2459         * sysdeps/generic/bits/types.h: Define __blksize_t.
2460         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2461         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2462         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2463         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2464         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2465         * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
2466         st_blksize member.
2467         (struct stat64): Likewise.
2468         * sysdeps/unix/bsd/bits/stat.h: Likewise.
2469         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
2470         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2471         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2472         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2473         * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
2474         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
2476         * stdlib/getsubopt.c: Correct type of second argument.
2477         * stdlib/stdlib.h: Likewise.
2479         * stdlib/monetary.h: Don't include sys/types.h.  Define only size_t
2480         and ssize_t.
2482         * sysdeps/generic/putenv.c: Correct type of parameter.
2483         * stdlib/stdlib.h: Likewise.
2485         * sysdeps/generic/msgsnd.c: Correct type of second parameter.
2486         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
2487         * sysvips/sys/msg.h: Likewise.
2489         * sysdeps/generic/semop.c: Correct type of third parameter.
2490         * sysdeps/unix/sysv/linux/semop.c: Likewise.
2491         * sysvipc/sys/sem.h: Likewise.  Don't include sys/types.h, define
2492         size_t.
2494         * sysdeps/generic/shmget.c: Correct type of second parameter.
2495         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
2496         * sysvips/sys/shm.h: Likewise.  Don't include unistd.h and sys/types.h.
2497         Declare __getpagesize here.
2499         * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
2500         sys/types.h.
2501         * sysdeps/gnu/bits/ipc.h: Likewise.
2502         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
2503         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
2504         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2505         * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
2506         already done.
2508         * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
2510         * debug/versions: Export __cyg_profile_func_enter and
2511         __cyg_profile_func_exit.
2513         * math/bits/mathcalls.h: Pretty print.
2515 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
2517         * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
2518         case for new tzdata.
2520         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
2521         unsigned.
2522         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2523         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2524         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2525         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2527         * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
2529         * sysdeps/generic/ualarm.c (ualarm): Change return value and
2530         parameter type to useconds_t.
2531         * sysdeps/unix/bsd/ualarm.c: Likewise.
2533         * sysdeps/generic/usleep.c (usleep): Change parameter type to
2534         useconds_t.
2535         * sysdeps/unix/sysv/linux/usleep.c: Likewise.
2536         * sysdeps/mach/usleep.c: Likewise.
2538         * locale/weight.h: Include <errno.h>.
2540         * posix/sys/types.h: Define type useconds_t if not done already.
2541         * posix/unistd.h: Likewise.  Use this in ualarm and usleep
2542         declarations.
2543         * sysdeps/generic/bits/types.h: Define type __useconds_t.
2544         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2545         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2546         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2547         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2548         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2550         * dirent/dirent.h (telldir): Change return type to long int.
2551         * sysdeps/generic/telldir.c: Likewise.
2552         * sysdeps/mach/hurd/telldir.c: Likewise.
2553         * sysdeps/unix/telldir.c: Likewise.
2554         * sysdeps/unix/bsd/telldir.c: Likewise.  Fix locking problem.
2556         * locale/weight.h: Set errno if an invalid character is found.
2558 1999-08-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2560         * math/libm-test.c (erfc_test): Add test for example from PR
2561         libc/1259.
2562         (erf_test): Likewise.
2564 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
2566         * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
2567         rewrite.  Patch by Alan Stern <stern@kitsilano.rowland.org>.
2569         * timezone/private.h: Update from tzcode1999e.
2570         * timezone/zic.c: Likewise.
2572         * timezone/africa: Update from tzdata1999e.
2573         * timezone/antarctica: Likewise.
2574         * timezone/asia: Likewise.
2575         * timezone/australasia: Likewise.
2576         * timezone/europe: Likewise.
2577         * timezone/leapseconds: Likewise.
2578         * timezone/northamerica: Likewise.
2579         * timezone/southamerica: Likewise.
2581         * stdio-common/vfprintf.c (process_string_arg): Correct last patch
2582         and write correct number of bytes in case of %ls with precision.
2583         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2585 1999-08-16  Ulrich Drepper  <drepper@cygnus.com>
2587         * nscd/nscd.init: Test for kernel version and make LSB compliant.
2588         Patch by Christian Gafton.
2590         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
2591         O_RSYNC.  Patch by Christian Gafton.
2593         * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
2594         possibly unterminated strings for %ls when a precision is
2595         specified.
2596         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
2598         * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
2599         update_conversion_ptrs.
2600         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2602 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
2604         * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
2605         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2607         * wcsmbs/Makefile (tests): Add tst-wcsnlen.
2608         * wcsmbs/tst-wcsnlen.c: New file.
2610 1999-08-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2612         * libio/ioputs.c (_IO_puts): Add missing brace.
2614 1999-07-20  Geoff Keating  <geoffk@cygnus.com>
2616         * math/libm-test.c: Tweak deltas for a clean run on ppc.
2618 1999-08-10  H.J. Lu  <hjl@gnu.org>
2620         * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
2621         (vfprintf): Likewise.
2622         * stdio-common/vfscanf.c (ORIENT): Likewise.
2623         * libio/genops.c (__underflow): Likewise.
2624         (__uflow): Likewise.
2625         * libio/iofputs.c (_IO_fputs): Likewise.
2626         * libio/ioftell.c (_IO_ftell): Likewise.
2627         * libio/iofwrite.c (_IO_fwrite): Likewise.
2628         * libio/ioputs.c (_IO_puts): Likewise.
2629         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
2630         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
2632 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
2634         * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
2636 1999-08-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2638         * manual/job.texi (Process Group Functions): Document getpgid,
2639         getsid.
2641 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
2643         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
2644         initialize si_pid from it.
2645         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
2646         parameter.
2647         * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
2648         * rt/aio_misc.h (struct waitlist): Add caller_pid element.
2649         (struct requestlist): Likewise.
2650         Adjust prototypes of __aio_notify_only and __aio_sigqueue.
2651         * rt/aio_notify.c (__aio_notify_only): Take extra parameter.  Pass it
2652         to __aio_sigqueue.
2653         (__aio_notify): Pass caller PID to __aio_notify_only.
2654         * rt/aio_suspend.c: Initialize caller_pid.
2655         * rt/lio_listio.c: Likewise.
2656         * rt/lio_listio64.c: Likewise.
2658         * rt/lio_listio.c: If nothing has to be done free mutex before
2659         signalling.
2660         * rt/lio_listio64.c: Likewise.
2662 1999-08-10  H.J. Lu  <hjl@gnu.org>
2664         * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
2665         handling.
2667 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
2669         * elf/elf.h: Define ElfXX_Versym.
2670         * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
2671         definition.
2673         * stdio-common/vfprintf.c (process_string_arg): Handle precisions
2674         for string output correctly in the wide character case.
2675         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
2677         * intl/locale.alias: Add catalan.
2679 1999-08-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2681         * manual/install.texi (Configuring and compiling): Mention CFLAGS.
2683 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
2685         * po/pt_BR.po: New file.
2687 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2689         * math/libm-test.c (yn_test): Adjust deltas for i386.
2690         (ccosh_test): Likewise.
2691         (jn_test): Likewise.
2693 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
2695         * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
2697 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
2699         * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
2700         problem.
2702 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2704         * configure.in: install-sh lives now in scripts subdir.
2705         PR libc/1255 (bug 4).
2707 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
2709         * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
2710         version.
2712         * po/fr.po: Update.
2714 1999-08-11  Thorsten Kukuk  <kukuk@suse.de>
2716         * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
2718 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
2720         * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
2721         exponent.
2723 1999-08-10  Andreas Schwab  <schwab@suse.de>
2725         * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
2726         header.
2728 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
2730         * elf/elf.h: Added definition of ELFOSABI_ARM.
2731         * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
2732         VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
2733         object's header and ABI values are acceptable.
2734         (VALID_ELF_HEADER): New macro; provide default definition.
2735         (VALID_ELF_OSABI): New macro; provide default definition.
2736         (VALID_ELF_ABIVERSION): New macro; provide default definition.
2737         * sysdeps/arm/dl-machine.h Define ARM specific versions of
2738         VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
2740 1999-08-09  Andreas Schwab  <schwab@suse.de>
2742         * inet/tst-ipnode.c (main): Don't compare integer with NULL.
2744 1999-08-09  Thorsten Kukuk  <kukuk@suse.de>
2746         * sunrpc/svc_run.c (svc_run): Free my_pollfd.
2748 1999-08-09  Andreas Schwab  <schwab@suse.de>
2750         * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
2752 1999-08-08  Ulrich Drepper  <drepper@cygnus.com>
2754         * sysdeps/ieee754/ieee754.h: Handle platforms with special
2755         __FLOAT_WORD_ORDER.  Patch by Joel Klecker <jk@espy.org>.
2757         * string/bits/string2.h: Mark void* operations as extensions.
2758         * sysdeps/i386/i486/bits/string.h: Likewise.
2760         * debug/Makefile (routines): Add noophooks.
2761         (extra-libs): Add libpcprofile.  Add rules to build libpcprofile.
2762         * debug/noophooks.c: New file.
2763         * debug/pcprofile.c: New file.
2765 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
2767         * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
2768         systems which allow using the functions also on non-seekable
2769         devices.
2771         * resolv/res_send.c (res_send): Recompute timeout for poll for
2772         each jump to `wait'.
2774         * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
2775         braces to avoid warnings.
2776         (IN6ADDR_LOOPBACK_INIT): Likewise.
2778         * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
2779         MSG_DONTWAIT).
2781 1999-08-06  H.J. Lu  <hjl@gnu.org>
2783         * malloc/malloc.c: Initialize __libc_pagesize early.
2785 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
2787         * string/string-inlines.c: Undefined __USE_STRING_INLINES before
2788         defining it.
2790         * inet/Makefile (tests): Add tst-ipnode.
2791         * inet/tst-ipnode.c: New file.
2793 1999-08-06  Andreas Schwab  <schwab@suse.de>
2795         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
2796         New definitions.
2797         (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
2798         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
2799         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
2800         New definitions.
2801         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
2802         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
2804 1999-08-06  Jakub Jelinek  <jj@ultra.linux.cz>
2806         * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
2807         * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
2808         * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
2810 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
2812         * resolv/res_send.c (res_send): Don't test file descriptor for
2813         range, we use poll now.  [PR libc/1240]
2815 1999-08-05  Ulrich Drepper  <drepper@cygnus.com>
2817         * libio/genops.c (_IO_flush_all): Don't access elements beyond what
2818         2.0 defined if they are not available.
2820 1999-08-05  Thorsten Kukuk  <kukuk@suse.de>
2822         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
2823         Define.
2825 1999-08-04  Ulrich Drepper  <drepper@cygnus.com>
2827         * rt/aio_read.c: Fix return value.
2828         * rt/aio_read64.c: Likewise.
2829         Reported by Christian Gafton.
2831         * rt/aio_write.c: Fix return value.
2832         * rt/aio_write64.c: Likewise.
2833         * rt/aio_fsync.c: Likewise.
2835         * rt/aio_misc.c: Set errno at correct place.
2837         * rt/aio_fsync.c: Test OP parameter for correct values.
2839         * hesiod/hesiod.c: Avoid emitting rcsid in object file.
2841 1999-08-04  Andreas Schwab  <schwab@suse.de>
2843         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
2844         Initialize result to one.
2845         (GET_NPROCS_CONF_PARSER): Likewise.
2847 1999-08-03  Ulrich Drepper  <drepper@cygnus.com>
2849         * inet/ether_hton.c: Pass errno pointer to NSS function.
2850         * inet/getnetgrent_r.c: Likewise.
2851         Reported by Marty Leisner <leisner@rochester.rr.com>.
2853 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
2855         * nis/nis_callback.c: Fix port problem on big-endian machines
2856         * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
2857         fields are always 32 bit.
2858         Patches from Paul Mackerras <paulus@cs.anu.edu.au>
2860         * nis/nss_nis/nis-service.c: Remove htons, port is always in
2861         network-byte-order.
2862         * nis/nss_nisplus/nisplus-service.c: Rename number to port.
2864 1999-08-03  Andreas Schwab  <schwab@suse.de>
2866         * sysdeps/posix/sigset.c: Unblock the signal after setting its
2867         disposition.  Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
2868         avoid two calls to sigprocmask.
2870 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
2872         * sysdeps/generic/s_nexttowardf.c: Fix typo.
2874 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
2876         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
2877         Only allow rt signal frames. No SA_SIGINFO signals will have the
2878         siginfo_t just not filled out with SI_NOINFO code.
2879         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
2880         (register_dump): Take the above change into account.
2881         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
2882         (rt_signal_frame): Likewise.
2884         * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
2886 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
2888         * nis/nis_callback.c (internal_nis_do_callback): Use poll()
2889         instead of select().
2891 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
2893         * sysdeps/generic/s_nextafter.c: Define __nexttoward and
2894         nexttoward so something else so that aliasing works.
2896 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
2898         * sysdeps/generic/math_ldbl.h: Fix typo.
2899         * sysdeps/generic/strtold.c: Remove unbalanced #endif.
2900         * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
2902 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
2904         * elf/resolvfail.c: Include stdio.h.  Also test dlerror.
2906 1999-08-01  Ulrich Drepper  <drepper@cygnus.com>
2908         * elf/Makefile (tests): Add resolvfail.  Add rules to build the
2909         program.
2910         * elf/resolvfail.c: New file.
2912         * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
2913         pass it to _dl_lookup_symbol.
2915         * elf/dl-error.c (_dl_signal_error): Optimize string generation a
2916         bit.  Reword message.
2918         * dlfcn/dlerror.c: Make code thread-safe.
2920 1999-07-31  Roland McGrath  <roland@baalperazim.frob.com>
2922         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
2923         initializer in CHECK: a bit size, not the type code repeated!
2925 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
2927         * string/tester.c: Add tests with constant arguments for strcpy
2928         and stpcpy.
2930 1999-07-31  H.J. Lu  <hjl@gnu.org>
2932         * string/bits/string2.h (__strcpy_small): Fix a typo.
2934 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
2936         * Makeconfig (link-libc): Always define it, not only for shared
2937         builds.
2939         * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
2940         * sysdeps/i386/fpu/e_powf.S: Likewise.
2941         * sysdeps/i386/fpu/e_powl.S: Likewise.  [PR libc/1213].
2943         * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
2944         * sysdeps/generic/e_gammal_r.c: Likewise.  [PR libc/1212].
2946 1999-07-30  Andreas Schwab  <schwab@suse.de>
2948         * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
2949         definition.
2950         (__get_nprocs): Use it.
2951         (__get_nprocs_conf): Define as separate function if
2952         GET_NPROCS_CONF_PARSER is defined.
2953         * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
2955         * include/sys/sysinfo.h: New file.
2956         * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
2957         interface.
2958         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
2960 1999-07-30  H.J. Lu  <hjl@gnu.org>
2962         * libio/iofflush.c (fflush_unlocked): Weak aliase if
2963         _IO_MTSAFE_IO is not defined.
2964         * libio/clearerr.c (clearerr_unlocked): Likewise.
2965         * libio/feof.c (feof_unlocked): Likewise.
2966         * libio/ferror.c (ferror_unlocked): Likewise.
2967         * libio/fputc.c (fputc_unlocked): Likewise.
2968         * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
2969         * libio/getchar.c (getchar_unlocked): Likewise.
2970         * libio/putc.c (putc_unlocked): Likewise.
2971         * libio/putchar.c (putchar_unlocked): Likewise.
2973 1999-07-30  Thorsten Kukuk  <kukuk@suse.de>
2975         * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
2976           svc_max_pollfd and svc_pollfd to GLIBC_2.2
2977         * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
2978           for svc_run/poll interface.
2979         * sunrpc/rpc/types.h: Add rpc*_t typedefs.
2980         * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
2981           global variable.
2982         * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
2983           rewrite other svc_getreq* functions to use svc_getreq_common.
2984         * sunrpc/svc_run.c: Use poll().
2986 1999-07-30  Andreas Schwab  <schwab@suse.de>
2988         * Makerules: Put sysd-versions and Versions.all on
2989         postclean-generated instead of common-generated.
2991 1999-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2993         * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
2994         around and CLOCKS_PER_SEC is 1e6.
2996 1999-07-30  Ulrich Drepper  <drepper@cygnus.com>
2998         * configure.in: Add test for local label subtraction.
2999         * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
3000         * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
3001         labels to reduce number of runtime relocations and move jump
3002         tables in read-only seciton.
3004         * malloc/malloc.c (ptmalloc_init): Correct last patch.  The
3005         assignment cannot be moved.
3007 1999-07-29  H.J. Lu  <hjl@gnu.org>
3009         * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
3010         if no threads are used.
3012         * libio/iofwrite.c: Add weak alias for _unlocked function if not
3013         _IO_MTSAFE_IO.
3014         * libio/iofread.c: Likewise.
3015         * libio/iofgets.c: Likewise.
3016         * libio/iofputs.c: Likewise.
3018         * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
3019         definition.
3021         * stdlib/mbtowc.c: Include <string.h>.
3022         * stdlib/wctomb.c: Likewise.
3023         * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
3024         * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
3026         * misc/mntent_r.c: Include <alloca.h>.
3027         * elf/dl-runtime.c: Likewise.
3029 1999-07-29  Andreas Schwab  <schwab@suse.de>
3031         * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
3032         all floating point formats supported by gcc.  Error out for
3033         unhandled precisions.
3034         * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
3035         * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
3036         * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
3038 1999-07-29  Ulrich Drepper  <drepper@cygnus.com>
3040         * sysdeps/generic/setenv.c: Move setenv code in new function
3041         __add_to_environ.  Add new parameter specifying already
3042         constructed string for the environment.
3043         (setenv): Call __add_to_environ with new parameter set to NULL.
3044         (unsetenv): Really test all elements for duplicated name.  Missed those
3045         cases where the two are following each other.
3046         * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
3047         * include/stdlib.h: Add prototype of __add_to_environ.
3048         * stdlib/tst-environ.c: New file.
3049         * stdlib/Makefile (tests): Add tst-environ.
3051         * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
3053         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
3054         argument in realloc call.
3055         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
3056         Likewise.
3057         Reported by Danny Braniss <danny@cs.huji.ac.il>.
3059 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
3061         * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
3062         to print.
3063         * misc/efgcvt_r.c: Likewise.
3064         * misc/qefgcvt.c: Likewise.
3065         * misc/qefgcvt_r.c: Likewise.
3066         * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
3067         anymore.
3069 1999-07-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3071         * manual/math.texi (FP Function Optimization): Mention drawbacks.
3073 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
3075         * stdlib/mblen.c: Use static state.
3076         Reported by Bruno Haible <haible@ilog.fr>.
3078         * stdlib/mbtowc.c: Reset state for s == NULL.
3079         * stdlib/wctomb.c: Likewise.
3080         Reported by Bruno Haible <haible@ilog.fr>.
3082         * stdlib/mbstowcs.c: Do not use global state.
3083         Reported by Bruno Haible <haible@ilog.fr>.
3085 1999-07-28  Andeas Schwab  <schwab@suse.de>
3087         * iconvdata/Makefile: Don't try to run iconv tests when cross
3088         compiling.
3090 1999-07-27  Mark Kettenis  <kettenis@gnu.org>
3092         * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
3093         assembler code to switch stacks and call init1 outside this
3094         function.  Inside `init' the code was optimized away by gcc
3095         2.95 since it was "clearly" unreachable.
3096         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
3097         Do something similar for the trampoline code.
3099 1999-07-27  Ulrich Drepper  <drepper@cygnus.com>
3101         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
3102         for the hinted protocol.
3104 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3106         * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
3108 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
3110         * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
3111         * elf/dl-lookup.c (_dl_setup_hash): Likewise.
3112         * elf/dl-load.c (_dl_map_object): Likewise.
3113         * elf/do-lookup.h (do_lookup*): Likewise.
3114         * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
3115         * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
3116         as uint64_t.
3117         * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
3119 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
3121         * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
3122         * sysdeps/generic/getpgrp.c: Likewise.
3123         * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
3124         * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
3125         Patch by John Tobey <jtobey@banta-im.com>.
3127         * sysdeps/posix/wait3.c: Help compiling in presence of
3128         __transparent_union__.  Reported by John Tobey <jtobey@banta-im.com>.
3130 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
3132         * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
3133         as much as possible. Declare them using .register pseudo-op if they
3134         are still used.
3135         * sysdeps/sparc/sparc64/lshift.S: Likewise.
3136         * sysdeps/sparc/sparc64/memchr.S: Likewise.
3137         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3138         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3139         * sysdeps/sparc/sparc64/memset.S: Likewise.
3140         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3141         * sysdeps/sparc/sparc64/rshift.S: Likewise.
3142         * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
3143         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3144         * sysdeps/sparc/sparc64/strcat.S: Likewise.
3145         * sysdeps/sparc/sparc64/strchr.S: Likewise.
3146         * sysdeps/sparc/sparc64/strcmp.S: Likewise.
3147         * sysdeps/sparc/sparc64/strcpy.S: Likewise.
3148         * sysdeps/sparc/sparc64/strcspn.S: Likewise.
3149         * sysdeps/sparc/sparc64/strlen.S: Likewise.
3150         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3151         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3152         * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
3153         * sysdeps/sparc/sparc64/strspn.S: Likewise.
3154         * sysdeps/sparc/sparc64/sub_n.S: Likewise.
3155         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3156         Optimize trampoline code for .plt4-.plt32767.
3157         Fix trampolines for .plt32768+.
3159 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
3161         * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
3162         -mcpu=v8.
3163         * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
3164         * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
3165         libc's private use (as assembly routine clobber it anyway).
3167 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3169         * README.template (configurations): The crypt add-on has a new
3170         ftp site.
3171         * manual/install.texi (Installation): Likewise.
3173 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
3175         * time/time.h: Add forward for struct sigevent.  Unix98 maybe
3176         requires to have a full definition but we wait for a bug report
3177         based on the test suite.
3179         * sysdeps/generic/clock_getres.c: New file.
3180         * sysdeps/generic/clock_gettime.c: New file.
3181         * sysdeps/generic/clock_settime.c: New file.
3182         * sysdeps/generic/timer_create.c: New file.
3183         * sysdeps/generic/timer_delete.c: New file.
3184         * sysdeps/generic/timer_getoverr.c: New file.
3185         * sysdeps/generic/timer_gettime.c: New file.
3186         * sysdeps/generic/timer_settime.c: New file.
3188         * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
3189         CLOCK_REALTIME, and TIMER_ABSTIME.
3190         * sysdeps/mach/hurd/bits/time.h: Likewise.
3191         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
3192         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
3194         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
3196         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
3197         si_timer2.
3199         * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
3201         * time/Makefile (routines): Add clock_getres, clock_gettime,
3202         clock_setres, timer_create, timer_delete, timer_getoverr,
3203         timer_gettime, and timer_settime.
3205         * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
3206         POSIX.1b.  Add prototypes for clock and timer functions.
3208 1999-07-26  Roland McGrath  <roland@baalperazim.frob.com>
3210         * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
3211         Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
3213 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
3215         * stdlib/wcstombs.c: Do not use global state.
3216         Reported by Bruno Haible <haible@ilog.fr>.
3218         * wcsmbs/wctob.c: Avoid sign extension when returning character.
3219         Reported by Bruno Haible <haible@ilog.fr>.
3221         * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
3222         of wide characters to convert do it right and don't overestimate
3223         by multiplying with MB_CUR_MAX.
3224         Reported by Bruno Haible <haible@ilog.fr>.
3226 1999-07-26  Jakub Jelinek  <jj@ultra.linux.jz>
3228         * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
3229         (__stpcpy_small): Likewise.
3230         Union has no __uc member but __c.
3232 1999-07-26  Andreas Schwab  <schwab@suse.de>
3234         * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
3236 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
3238         * libio/iofclose.c (_IO_new_fclose): Only fall back on
3239         _IO_old_fclose if doing versioning.
3241         * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
3242         them appropriately.
3243         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3245         * misc/mntent_r.c: Allow spaces and tabs in entry names by
3246         encoding these characters.
3247         * misc/tst-mntent.c: Add test case for addmntent and getmntent.
3249         * string/bits/string2.h: Fix aliasing problems.
3250         * sysdeps/i386/i486/bits/string.h: Likewise.
3251         * sysdeps/i386/bits/string.h: Likewise.
3253 1998-12-28  Geoff Keating  <geoffk@ozemail.com.au>
3255         * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
3256         * elf/rtld.c (dl_main): Don't call malloc() between
3257         re-relocating the dynamic linker and running the application's crt0.
3259 1999-07-21  Paul D. Smith  <psmith@gnu.org>
3261         * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
3262         glob.h to get __P() macro.
3264         * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
3265         not ANSI.
3266         (__strchrnul): This won't exist outside GLIBC, so create one.
3268 1999-07-25  Jakub Jelinek   <jj@ultra.linux.cz>
3270         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
3271         __ino64_t should be 32bit unsigned type on sparc32.
3272         Define __off64_t to __quad_t instead of __int64_t.
3273         Make __pic_pid_t unsigned on sparc32.
3275 1999-07-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3277         * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
3278         in bash 2.03.
3280 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
3282         * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
3283         of an error.  Patch by Changwoo Ryu <cwryu@debian.org>.
3285 1999-07-24  Ulrich Drepper  <drepper@cygnus.com>
3287         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
3288         accesses.
3290         * resolv/res_send.c: Add locks for res_send and res_close use.
3292         * elf/Makefile (dl-routines): Add preinit.
3293         * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
3294         * elf/link.h (struct link_map): Add new field l_preinitcount.
3295         * elf/dl-preinit.c: New file.
3296         * elf/dynamic-link.h: Initialize l_preinitcount.
3297         * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
3299         * elf/dl-fini.c: Handle DT_FINI_ARRAY.
3300         * elf/link.h (struct link_map): Remove l_init_running.  Add l_runcount
3301         and l_initcount.
3302         * elf/dl-init.c: Handle DT_INIT_ARRAY.
3303         * elf/dynamic-link.h: Change parameters.  Now only get link_map
3304         pointer.  Calculate l_initcount.
3306         * elf/link.h (struct link_map): Add l_runpath_dirs.
3307         * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
3308         * elf/dl-load.c: Pretty print.
3309         (decompose_rpath): Take new parameter with info from where the path
3310         comes.  Pass it the fillin_rpath.
3311         (_dl_init_paths): Initialize l_runpath_dirs.
3312         (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
3313         Search using RUNPATH after LD_LIBRARY_PATH.
3314         * elf/dl-support.c: Adjust comment.
3315         * elf/rtld.c: Adjust help message.
3317 1999-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3319         * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
3320         interface.
3322 1999-07-23  Roland McGrath  <roland@baalperazim.frob.com>
3324         * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
3325         match BSD value; previous value of 1<<8 was a typo.  I bet nothing
3326         ever used this, so I'm not going to worry about compatibility.
3327         [__USE_GNU] (IUCLC, OLCUC): New macros.
3329 1999-07-23  Ulrich Drepper  <drepper@cygnus.com>
3331         * include/libintl.h: Undefine N_ and _ first to avoid warnings.
3333         * elf/elf.h: Add ET_LOOS and ET_HIOS.
3334         Add various EM_* constants.
3335         Add SHN_LOOS and SHN_HIOS.
3336         Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
3337         Add SHF_MERGE and SHF_STRINGS.
3338         (ElfXX_Sym): Update description of st_other field.
3339         Add STT_COMMON.
3340         Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
3341         Add STV_* macros.
3342         Update comment on DT_RPATH.  Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
3343         DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
3344         Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
3346         * posix/unistd.h: Move declaration of __libc_enable_secure to...
3347         * include/unistd.h: ...here.
3349         * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
3350         * elf/dl-deps.c (expand_dst): Likewise.
3352         * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
3353         based on DT_FLAGS value.
3355         * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
3356         Add test for symbols marked STV_HIDDEN.
3357         * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
3358         add undef_map.  Compute reference_name locally.  Update call to
3359         do_lookup.
3360         (_dl_lookup_symbol_skip): Likewise.
3361         (_dl_lookup_versioned_symbol): Likewise.
3362         (_dl_lookup_versioned_symbol_skip): Likewise.
3363         * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
3364         * elf/dl-runtime.c: Likewise.
3365         * elf/dl-sym.c: Likewise.
3366         * elf/dl-symbol.c: Likewise.
3367         * elf/ldsodefs.h: Adjust prototypes.
3369         * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
3370         handle appropriately.  Add comment about DT_TEXTREL.
3371         * elf/dl-runtime.c: Likewise.
3373 1999-07-21  Roland McGrath  <roland@baalperazim.frob.com>
3375         * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
3376         * elf/ldsodefs.h: Declare it.
3377         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
3378         instead of assert.
3379         (elf_machine_lazy_rel): Likewise.  Take new arg MAP.
3380         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3381         (elf_machine_lazy_rel): Likewise.
3382         * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
3383         (elf_machine_lazy_rel): Likewise.
3384         * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
3385         (elf_machine_lazy_rel): Likewise.
3386         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
3387         (elf_machine_lazy_rel): Likewise.
3388         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3389         (elf_machine_lazy_rel): Likewise.
3390         * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
3391         * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
3392         (elf_machine_lazy_rel): Likewise.
3393         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
3394         (elf_machine_lazy_rel): Likewise.
3395         * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
3396         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
3397         _dl_reloc_bad_type instead of _dl_signal_error.
3398         * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
3400 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
3402         * sysdeps/mach/_strerror.c: Include <libintl.h>.
3404 1999-07-19  Roland McGrath  <roland@baalperazim.frob.com>
3406         * hurd/hurdsig.c (_hurd_internal_post_signal): If a
3407         hurd_signal_preemptor matches but its `preemptor' field is null, use
3408         its `handler' field directly.  This is to comply with behavior
3409         documented in <hurd/sigpreempt.h>.
3411 1999-07-21  Andreas Schwab  <schwab@suse.de>
3413         * libio/fileops.c (_IO_new_file_underflow): Set error indicator
3414         when reading from write-only stream.
3415         * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
3416         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3418 1999-07-21  Andreas Schwab  <schwab@suse.de>
3420         * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
3421         NULL.
3423 1999-07-21  Mark Kettenis  <kettenis@gnu.org>
3425         * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
3426         <hurd/fd.h>.
3427         * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
3428         <hurd/fd.h>.
3429         (__libc_write): Call __pwrite instead of __pread.
3431 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
3433         * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
3434         __vm_allocate calls.
3436         * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>.  Fix typo.
3437         * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
3439         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
3440         _hurd_fd_read with new OFFSET argument set to -1.
3441         (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
3442         to -1.
3444 1999-07-17  Roland McGrath  <roland@baalperazim.frob.com>
3446         * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
3447         descriptor table sent in the RPC.
3449 1999-07-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3451         * time/strptime.c [!_LIBC]: Fix __mon_day size.  Reported by
3452         bill@taniwha.org [PR libc/1211].
3454 1999-07-19  Andreas Schwab  <schwab@suse.de>
3456         * libio/Makefile (routines): Add fwprintf.
3458         PowerPC has own version of w_sqrt.c and w_sqrtf.c.
3459         * math/w_sqrt.c: Moved to ...
3460         * sysdeps/generic/w_sqrt.c: ... here.
3461         * math/w_sqrtf.c: Moved to ...
3462         * sysdeps/generic/w_sqrtf.c: ... here.
3464         * Make-dist (generic-dirs): New variable.
3465         (try-sysdeps, +sysdep-names): Use it.
3466         * extra-lib.mk (all-$(lib)-routines): New variable.  Use it
3467         instead of $(lib)-routines.
3468         * elf/Makefile (distribute): Add dl-cache.h.
3469         * db2/Makefile (distribute): Add all new files.
3470         * iconvdata/Makefile (distribute): Don't distribute CVS
3471         directory.
3472         * math/Makefile (distribute): Remove machine/endian.h, add
3473         math_ldbl.h.
3474         * stdio-common/Makefile (distribute): Add _itowa.h.
3475         * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
3476         * sysdeps/gnu/Dist: Add eval.c
3477         * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
3478         dlfcn]: Add to this instead of libdl-routines.
3479         * sysdeps/ieee754/ldbl-128/Dist: New file.
3480         * sysdeps/mach/hurd/Dist: Add siglist.h
3481         * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
3483 1999-07-18  Ulrich Drepper  <drepper@cygnus.com>
3485         * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
3487         * inet/Makefile (routines): Add getipnodebyad and freehostent.
3488         * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
3489         * inet/freehostent.c: New file.
3490         * inet/getipnodebyad.c: New file.
3491         * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
3492         and getipnodebyname.  The latter comes soon.
3493         * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
3494         Add support for getipnode* functions.
3496         * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
3497         Set h_aliases to NULL and not to a pointer to an array with a NULL
3498         pointer following XNS 5.2.
3500         * posix/sched.h: Remove internal interfaces.
3501         * include/sched.h: Add internal interfaces.
3503         * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
3505         * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
3507         * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
3508         and return an error in this case.
3509         * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
3510         available.
3512 1999-07-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3514         * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
3515         1999-07-17 and adjust len parameter.
3516         * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
3517         * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
3518         * manual/socket.texi (Host Names): Likewise.
3519         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
3520         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
3521         Likewise.
3522         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
3523         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
3524         (ht_gethostbyaddr): Likewise.
3525         (_gethtbyaddr): Likewise.
3527 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
3529         * resolv/netdb.h: Adjust parameters of gethostbyaddr and
3530         gethostbyaddr_r.
3531         * include/netdb.h: Likewise.
3532         * inet/gethstbyad.c: Correct type of len parameter.
3533         * inet/gethstbyad_r.c: Likewise.
3535         * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
3537 1999-07-17  Zack Weinberg  <zack@rabi.columbia.edu>
3539         * include/libc-symbol.h: Clean up definitions of weak_alias,
3540         strong_alias, symbol_version, etc. etc.
3541         * posix/getopt.h: Use ctype.h to get features.h included, and don't
3542         include it at all if __GNU_LIBRARY__ is already defined.
3544 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
3546         * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
3548         * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
3550         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
3551         type for tv_usec element.
3552         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
3553         * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
3554         * sysdeps/generic/bits/time.h: Likewise.
3555         * sysdeps/mach/hurd/bits/time.h: Likewise.
3556         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3557         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3558         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3559         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
3560         * sysdeps/generic/bits/types.h: Likewise.
3561         * posix/sys/types.h: Define suseconds_t for X/Open.
3563 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
3565         * stdio-common/bug1.c: Avoid memory leak.
3567         * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
3568         program deterministic.
3569         * sysdeps/i386/fpu/e_powf.S: Likewise.
3570         * sysdeps/i386/fpu/e_powl.S: Likewise.
3572 1999-07-15  Jakub Jelinek  <jj@ultra.linux.cz>
3574         * math/Makefile: Add t_sincosl and k_sincosl support routines.
3575         * math/math_private.h (__kernel_sincosl): New declaration.
3576         * sysdeps/generic/t_sincosl.c: New file.
3577         * sysdeps/generic/k_sincosl.c: New file.
3578         * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
3579         * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
3580         * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
3581         * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
3582         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
3583         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
3584         __kernel_sincosl.
3585         * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
3586         definition.
3588 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
3590         * posix/unistd.h: Use __PMT for exit.
3592 1999-07-15  Philip Blundell  <pb@nexus.co.uk>
3594         * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
3595         _outw, _outl): Added to GLIBC_2.1.2.
3597 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
3599         * posix/fnmatch.h: Use __name instead of __string in prototype to
3600         allow use outside glibc.
3602 1999-07-14  Ulrich Drepper  <drepper@cygnus.com>
3604         * time/tst-strptime.c (main): Add one more test case.  Produce
3605         output even when result is ok.
3607         * time/strptime.c (get_number): Handle number parsing more
3608         consistent with strftime.  Only parse a given number of digits.
3609         (get_alt_number):  Fix implementation.  Was broken.
3610         (strptime_internal): Add third parameter to get_number and
3611         get_alt_number calls.
3613 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
3615         * elf/ldd.bash.in: Add support for multiple dynamic linkers.
3616         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
3617         try both 32bit and 64bit dynamic linker.
3618         * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
3619         script on all sparc targets.
3621 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
3623         * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
3624         to int.
3626 1999-07-13  Andreas Schwab  <schwab@suse.de>
3628         * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
3629         inlining.  Fixes PR libc/1198.
3631 1999-07-14  Andreas Schwab  <schwab@suse.de>
3633         * Makerules (common-generated): Don't prepend $(common-objpfx).
3635 1999-07-12  Jakub Jelinek  <jj@ultra.linux.cz>
3637         * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
3638         as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
3639         * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
3640         quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
3641         macro.
3642         * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
3643         instead of ieee754.
3644         * sysdeps/arm/Implies: Likewise.
3645         * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
3646         ieee754/ldbl-96 instead of ieee754.
3647         * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
3648         * sysdeps/generic/e_atanhl.c: New file.
3649         * sysdeps/generic/e_coshl.c: New file.
3650         * sysdeps/generic/e_sinhl.c: New file.
3651         * sysdeps/generic/e_gammal_r.c: New file.
3652         * sysdeps/generic/e_hypotl.c: New file.
3653         * sysdeps/generic/s_cbrtl.c: New file.
3654         * sysdeps/generic/s_asinhl.c: New file.
3655         * sysdeps/generic/s_tanhl.c: New file.
3656         * sysdeps/generic/w_expl.c: New file.
3657         * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
3658         instead of ieee754.
3659         * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
3660         ieee754/ldbl-96 instead of ieee754.
3661         * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
3662         * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
3663         printf_fphex.
3664         * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
3665         instead of ieee754.
3666         * sysdeps/mips/mips64/Implies: Likewise.
3667         * sysdeps/powerpc/Implies: Likewise.
3668         * sysdeps/sparc/Implies: Remove.
3669         * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
3670         ieee754/dbl-64.
3671         * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
3672         and ieee754/ldbl-128.
3674         * sysdeps/sparc/bits/wordsize.h: Remove.
3675         * sysdeps/sparc/fpu/bits/mathinline.h: New file.
3676         * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
3677         only for sparc32.
3678         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
3679         * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
3680         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
3681         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
3682         * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
3683         support.
3685         * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
3686         of carries. Optimize.
3688         * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
3689         * sysdeps/generic/e_exp10.c: ...here.
3690         * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
3691         * sysdeps/generic/e_exp10f.c: ...here.
3692         * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
3693         * sysdeps/generic/e_exp10l.c: ...here.
3694         * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
3695         * sysdeps/generic/e_scalb.c: ...here.
3696         * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
3697         * sysdeps/generic/e_scalbf.c: ...here.
3698         * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
3699         * sysdeps/generic/e_scalbl.c: ...here.
3700         * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
3701         * sysdeps/generic/s_cacos.c: ...here.
3702         * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
3703         * sysdeps/generic/s_cacosf.c: ...here.
3704         * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
3705         * sysdeps/generic/s_cacosh.c: ...here.
3706         * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
3707         * sysdeps/generic/s_cacoshf.c: ...here.
3708         * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
3709         * sysdeps/generic/s_cacoshl.c: ...here.
3710         * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
3711         * sysdeps/generic/s_cacosl.c: ...here.
3712         * sysdeps/libm-ieee754/s_casin.c: Moved to ...
3713         * sysdeps/generic/s_casin.c: ...here.
3714         * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
3715         * sysdeps/generic/s_casinf.c: ...here.
3716         * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
3717         * sysdeps/generic/s_casinh.c: ...here.
3718         * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
3719         * sysdeps/generic/s_casinhf.c: ...here.
3720         * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
3721         * sysdeps/generic/s_casinhl.c: ...here.
3722         * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
3723         * sysdeps/generic/s_casinl.c: ...here.
3724         * sysdeps/libm-ieee754/s_catan.c: Moved to ...
3725         * sysdeps/generic/s_catan.c: ...here.
3726         * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
3727         * sysdeps/generic/s_catanf.c: ...here.
3728         * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
3729         * sysdeps/generic/s_catanh.c: ...here.
3730         * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
3731         * sysdeps/generic/s_catanhf.c: ...here.
3732         * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
3733         * sysdeps/generic/s_catanhl.c: ...here.
3734         * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
3735         * sysdeps/generic/s_catanl.c: ...here.
3736         * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
3737         * sysdeps/generic/s_ccos.c: ...here.
3738         * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
3739         * sysdeps/generic/s_ccosf.c: ...here.
3740         * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
3741         * sysdeps/generic/s_ccosh.c: ...here.
3742         * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
3743         * sysdeps/generic/s_ccoshf.c: ...here.
3744         * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
3745         * sysdeps/generic/s_ccoshl.c: ...here.
3746         * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
3747         * sysdeps/generic/s_ccosl.c: ...here.
3748         * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
3749         * sysdeps/generic/s_cexp.c: ...here.
3750         * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
3751         * sysdeps/generic/s_cexpf.c: ...here.
3752         * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
3753         * sysdeps/generic/s_cexpl.c: ...here.
3754         * sysdeps/libm-ieee754/s_clog.c: Moved to ...
3755         * sysdeps/generic/s_clog.c: ...here.
3756         * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
3757         * sysdeps/generic/s_clog10.c: ...here.
3758         * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
3759         * sysdeps/generic/s_clog10f.c: ...here.
3760         * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
3761         * sysdeps/generic/s_clog10l.c: ...here.
3762         * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
3763         * sysdeps/generic/s_clogf.c: ...here.
3764         * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
3765         * sysdeps/generic/s_clogl.c: ...here.
3766         * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
3767         * sysdeps/generic/s_cpow.c: ...here.
3768         * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
3769         * sysdeps/generic/s_cpowf.c: ...here.
3770         * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
3771         * sysdeps/generic/s_cpowl.c: ...here.
3772         * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
3773         * sysdeps/generic/s_cproj.c: ...here.
3774         * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
3775         * sysdeps/generic/s_cprojf.c: ...here.
3776         * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
3777         * sysdeps/generic/s_cprojl.c: ...here.
3778         * sysdeps/libm-ieee754/s_csin.c: Moved to ...
3779         * sysdeps/generic/s_csin.c: ...here.
3780         * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
3781         * sysdeps/generic/s_csinf.c: ...here.
3782         * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
3783         * sysdeps/generic/s_csinh.c: ...here.
3784         * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
3785         * sysdeps/generic/s_csinhf.c: ...here.
3786         * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
3787         * sysdeps/generic/s_csinhl.c: ...here.
3788         * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
3789         * sysdeps/generic/s_csinl.c: ...here.
3790         * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
3791         * sysdeps/generic/s_csqrt.c: ...here.
3792         * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
3793         * sysdeps/generic/s_csqrtf.c: ...here.
3794         * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
3795         * sysdeps/generic/s_csqrtl.c: ...here.
3796         * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
3797         * sysdeps/generic/s_ctan.c: ...here.
3798         * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
3799         * sysdeps/generic/s_ctanf.c: ...here.
3800         * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
3801         * sysdeps/generic/s_ctanh.c: ...here.
3802         * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
3803         * sysdeps/generic/s_ctanhf.c: ...here.
3804         * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
3805         * sysdeps/generic/s_ctanhl.c: ...here.
3806         * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
3807         * sysdeps/generic/s_ctanl.c: ...here.
3808         * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
3809         * sysdeps/generic/s_fdim.c: ...here.
3810         * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
3811         * sysdeps/generic/s_fdimf.c: ...here.
3812         * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
3813         * sysdeps/generic/s_fdiml.c: ...here.
3814         * sysdeps/libm-ieee754/s_fma.c: Moved to ...
3815         * sysdeps/generic/s_fma.c: ...here.
3816         * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
3817         * sysdeps/generic/s_fmaf.c: ...here.
3818         * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
3819         * sysdeps/generic/s_fmal.c: ...here.
3820         * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
3821         * sysdeps/generic/s_fmax.c: ...here.
3822         * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
3823         * sysdeps/generic/s_fmaxf.c: ...here.
3824         * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
3825         * sysdeps/generic/s_fmaxl.c: ...here.
3826         * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
3827         * sysdeps/generic/s_fmin.c: ...here.
3828         * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
3829         * sysdeps/generic/s_fminf.c: ...here.
3830         * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
3831         * sysdeps/generic/s_fminl.c: ...here.
3832         * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
3833         * sysdeps/generic/s_ldexp.c: ...here.
3834         * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
3835         * sysdeps/generic/s_ldexpf.c: ...here.
3836         * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
3837         * sysdeps/generic/s_ldexpl.c: ...here.
3838         * sysdeps/libm-ieee754/s_nan.c: Moved to ...
3839         * sysdeps/generic/s_nan.c: ...here.
3840         * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
3841         * sysdeps/generic/s_nanf.c: ...here.
3842         * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
3843         * sysdeps/generic/s_nanl.c: ...here.
3844         * sysdeps/libm-ieee754/s_significand.c: Moved to ...
3845         * sysdeps/generic/s_significand.c: ...here.
3846         * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
3847         * sysdeps/generic/s_significandf.c: ...here.
3848         * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
3849         * sysdeps/generic/s_significandl.c: ...here.
3850         Avoid conversion from int to double and then to long double.
3851         * sysdeps/libm-ieee754/w_acos.c: Moved to ...
3852         * math/w_acos.c: ...here.
3853         * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
3854         * math/w_acosf.c: ...here.
3855         * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
3856         * math/w_acosh.c: ...here.
3857         * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
3858         * math/w_acoshf.c: ...here.
3859         * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
3860         * math/w_acoshl.c: ...here.
3861         * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
3862         * math/w_acosl.c: ...here.
3863         * sysdeps/libm-ieee754/w_asin.c: Moved to ...
3864         * math/w_asin.c: ...here.
3865         * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
3866         * math/w_asinf.c: ...here.
3867         * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
3868         * math/w_asinl.c: ...here.
3869         * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
3870         * math/w_atan2.c: ...here.
3871         * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
3872         * math/w_atan2f.c: ...here.
3873         * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
3874         * math/w_atan2l.c: ...here.
3875         * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
3876         * math/w_atanh.c: ...here.
3877         * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
3878         * math/w_atanhf.c: ...here.
3879         * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
3880         * math/w_atanhl.c: ...here.
3881         * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
3882         * math/w_cosh.c: ...here.
3883         * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
3884         * math/w_coshf.c: ...here.
3885         * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
3886         * math/w_coshl.c: ...here.
3887         * sysdeps/libm-ieee754/w_drem.c: Moved to ...
3888         * math/w_drem.c: ...here.
3889         * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
3890         * math/w_dremf.c: ...here.
3891         * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
3892         * math/w_dreml.c: ...here.
3893         * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
3894         * math/w_exp10.c: ...here.
3895         * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
3896         * math/w_exp10f.c: ...here.
3897         * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
3898         * math/w_exp10l.c: ...here.
3899         * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
3900         * math/w_exp2.c: ...here.
3901         * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
3902         * math/w_exp2f.c: ...here.
3903         * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
3904         * math/w_exp2l.c: ...here.
3905         * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
3906         * math/w_fmod.c: ...here.
3907         * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
3908         * math/w_fmodf.c: ...here.
3909         * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
3910         * math/w_fmodl.c: ...here.
3911         * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
3912         * math/w_hypot.c: ...here.
3913         * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
3914         * math/w_hypotf.c: ...here.
3915         * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
3916         * math/w_hypotl.c: ...here.
3917         * sysdeps/libm-ieee754/w_j0.c: Moved to ...
3918         * math/w_j0.c: ...here.
3919         * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
3920         * math/w_j0f.c: ...here.
3921         * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
3922         * math/w_j0l.c: ...here.
3923         * sysdeps/libm-ieee754/w_j1.c: Moved to ...
3924         * math/w_j1.c: ...here.
3925         * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
3926         * math/w_j1f.c: ...here.
3927         * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
3928         * math/w_j1l.c: ...here.
3929         * sysdeps/libm-ieee754/w_jn.c: Moved to ...
3930         * math/w_jn.c: ...here.
3931         * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
3932         * math/w_jnf.c: ...here.
3933         * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
3934         * math/w_jnl.c: ...here.
3935         * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
3936         * math/w_lgamma.c: ...here.
3937         * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
3938         * math/w_lgamma_r.c: ...here.
3939         * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
3940         * math/w_lgammaf.c: ...here.
3941         * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
3942         * math/w_lgammaf_r.c: ...here.
3943         * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
3944         * math/w_lgammal.c: ...here.
3945         * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
3946         * math/w_lgammal_r.c: ...here.
3947         * sysdeps/libm-ieee754/w_log.c: Moved to ...
3948         * math/w_log.c: ...here.
3949         * sysdeps/libm-ieee754/w_log10.c: Moved to ...
3950         * math/w_log10.c: ...here.
3951         * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
3952         * math/w_log10f.c: ...here.
3953         * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
3954         * math/w_log10l.c: ...here.
3955         * sysdeps/libm-ieee754/w_logf.c: Moved to ...
3956         * math/w_logf.c: ...here.
3957         * sysdeps/libm-ieee754/w_logl.c: Moved to ...
3958         * math/w_logl.c: ...here.
3959         * sysdeps/libm-ieee754/w_pow.c: Moved to ...
3960         * math/w_pow.c: ...here.
3961         * sysdeps/libm-ieee754/w_powf.c: Moved to ...
3962         * math/w_powf.c: ...here.
3963         * sysdeps/libm-ieee754/w_powl.c: Moved to ...
3964         * math/w_powl.c: ...here.
3965         * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
3966         * math/w_remainder.c: ...here.
3967         * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
3968         * math/w_remainderf.c: ...here.
3969         * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
3970         * math/w_remainderl.c: ...here.
3971         * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
3972         * math/w_scalb.c: ...here.
3973         * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
3974         * math/w_scalbf.c: ...here.
3975         * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
3976         * math/w_scalbl.c: ...here.
3977         * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
3978         * math/w_sinh.c: ...here.
3979         * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
3980         * math/w_sinhf.c: ...here.
3981         * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
3982         * math/w_sinhl.c: ...here.
3983         * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
3984         * math/w_sqrt.c: ...here.
3985         * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
3986         * math/w_sqrtf.c: ...here.
3987         * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
3988         * math/w_sqrtl.c: ...here.
3989         * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
3990         * math/w_tgamma.c: ...here.
3991         * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
3992         * math/w_tgammaf.c: ...here.
3993         * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
3994         * math/w_tgammal.c: ...here.
3995         * sysdeps/libm-i387/e_acos.S: Moved to ...
3996         * sysdeps/i386/fpu/e_acos.S: ...here.
3997         * sysdeps/libm-i387/e_acosf.S: Moved to ...
3998         * sysdeps/i386/fpu/e_acosf.S: ...here.
3999         * sysdeps/libm-i387/e_acosh.S: Moved to ...
4000         * sysdeps/i386/fpu/e_acosh.S: ...here.
4001         * sysdeps/libm-i387/e_acoshf.S: Moved to ...
4002         * sysdeps/i386/fpu/e_acoshf.S: ...here.
4003         * sysdeps/libm-i387/e_acoshl.S: Moved to ...
4004         * sysdeps/i386/fpu/e_acoshl.S: ...here.
4005         * sysdeps/libm-i387/e_acosl.S: Moved to ...
4006         * sysdeps/i386/fpu/e_acosl.S: ...here.
4007         * sysdeps/libm-i387/e_asin.S: Moved to ...
4008         * sysdeps/i386/fpu/e_asin.S: ...here.
4009         * sysdeps/libm-i387/e_asinf.S: Moved to ...
4010         * sysdeps/i386/fpu/e_asinf.S: ...here.
4011         * sysdeps/libm-i387/e_asinl.S: Moved to ...
4012         * sysdeps/i386/fpu/e_asinl.S: ...here.
4013         * sysdeps/libm-i387/e_atan2.S: Moved to ...
4014         * sysdeps/i386/fpu/e_atan2.S: ...here.
4015         * sysdeps/libm-i387/e_atan2f.S: Moved to ...
4016         * sysdeps/i386/fpu/e_atan2f.S: ...here.
4017         * sysdeps/libm-i387/e_atan2l.S: Moved to ...
4018         * sysdeps/i386/fpu/e_atan2l.S: ...here.
4019         * sysdeps/libm-i387/e_atanh.S: Moved to ...
4020         * sysdeps/i386/fpu/e_atanh.S: ...here.
4021         * sysdeps/libm-i387/e_atanhf.S: Moved to ...
4022         * sysdeps/i386/fpu/e_atanhf.S: ...here.
4023         * sysdeps/libm-i387/e_atanhl.S: Moved to ...
4024         * sysdeps/i386/fpu/e_atanhl.S: ...here.
4025         * sysdeps/libm-i387/e_exp.S: Moved to ...
4026         * sysdeps/i386/fpu/e_exp.S: ...here.
4027         * sysdeps/libm-i387/e_exp10.S: Moved to ...
4028         * sysdeps/i386/fpu/e_exp10.S: ...here.
4029         * sysdeps/libm-i387/e_exp10f.S: Moved to ...
4030         * sysdeps/i386/fpu/e_exp10f.S: ...here.
4031         * sysdeps/libm-i387/e_exp10l.S: Moved to ...
4032         * sysdeps/i386/fpu/e_exp10l.S: ...here.
4033         * sysdeps/libm-i387/e_expf.S: Moved to ...
4034         * sysdeps/i386/fpu/e_expf.S: ...here.
4035         * sysdeps/libm-i387/e_expl.S: Moved to ...
4036         * sysdeps/i386/fpu/e_expl.S: ...here.
4037         * sysdeps/libm-i387/e_fmod.S: Moved to ...
4038         * sysdeps/i386/fpu/e_fmod.S: ...here.
4039         * sysdeps/libm-i387/e_fmodf.S: Moved to ...
4040         * sysdeps/i386/fpu/e_fmodf.S: ...here.
4041         * sysdeps/libm-i387/e_fmodl.S: Moved to ...
4042         * sysdeps/i386/fpu/e_fmodl.S: ...here.
4043         * sysdeps/libm-i387/e_hypot.S: Moved to ...
4044         * sysdeps/i386/fpu/e_hypot.S: ...here.
4045         * sysdeps/libm-i387/e_hypotf.S: Moved to ...
4046         * sysdeps/i386/fpu/e_hypotf.S: ...here.
4047         * sysdeps/libm-i387/e_log.S: Moved to ...
4048         * sysdeps/i386/fpu/e_log.S: ...here.
4049         * sysdeps/libm-i387/e_log10.S: Moved to ...
4050         * sysdeps/i386/fpu/e_log10.S: ...here.
4051         * sysdeps/libm-i387/e_log10f.S: Moved to ...
4052         * sysdeps/i386/fpu/e_log10f.S: ...here.
4053         * sysdeps/libm-i387/e_log10l.S: Moved to ...
4054         * sysdeps/i386/fpu/e_log10l.S: ...here.
4055         * sysdeps/libm-i387/e_logf.S: Moved to ...
4056         * sysdeps/i386/fpu/e_logf.S: ...here.
4057         * sysdeps/libm-i387/e_logl.S: Moved to ...
4058         * sysdeps/i386/fpu/e_logl.S: ...here.
4059         * sysdeps/libm-i387/e_pow.S: Moved to ...
4060         * sysdeps/i386/fpu/e_pow.S: ...here.
4061         * sysdeps/libm-i387/e_powf.S: Moved to ...
4062         * sysdeps/i386/fpu/e_powf.S: ...here.
4063         * sysdeps/libm-i387/e_powl.S: Moved to ...
4064         * sysdeps/i386/fpu/e_powl.S: ...here.
4065         * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
4066         * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
4067         * sysdeps/libm-i387/e_remainder.S: Moved to ...
4068         * sysdeps/i386/fpu/e_remainder.S: ...here.
4069         * sysdeps/libm-i387/e_remainderf.S: Moved to ...
4070         * sysdeps/i386/fpu/e_remainderf.S: ...here.
4071         * sysdeps/libm-i387/e_remainderl.S: Moved to ...
4072         * sysdeps/i386/fpu/e_remainderl.S: ...here.
4073         * sysdeps/libm-i387/e_scalb.S: Moved to ...
4074         * sysdeps/i386/fpu/e_scalb.S: ...here.
4075         * sysdeps/libm-i387/e_scalbf.S: Moved to ...
4076         * sysdeps/i386/fpu/e_scalbf.S: ...here.
4077         * sysdeps/libm-i387/e_scalbl.S: Moved to ...
4078         * sysdeps/i386/fpu/e_scalbl.S: ...here.
4079         * sysdeps/libm-i387/e_sqrt.S: Moved to ...
4080         * sysdeps/i386/fpu/e_sqrt.S: ...here.
4081         * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
4082         * sysdeps/i386/fpu/e_sqrtf.S: ...here.
4083         * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
4084         * sysdeps/i386/fpu/e_sqrtl.S: ...here.
4085         * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
4086         * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
4087         * sysdeps/libm-i387/s_asinh.S: Moved to ...
4088         * sysdeps/i386/fpu/s_asinh.S: ...here.
4089         * sysdeps/libm-i387/s_asinhf.S: Moved to ...
4090         * sysdeps/i386/fpu/s_asinhf.S: ...here.
4091         * sysdeps/libm-i387/s_asinhl.S: Moved to ...
4092         * sysdeps/i386/fpu/s_asinhl.S: ...here.
4093         * sysdeps/libm-i387/s_atan.S: Moved to ...
4094         * sysdeps/i386/fpu/s_atan.S: ...here.
4095         * sysdeps/libm-i387/s_atanf.S: Moved to ...
4096         * sysdeps/i386/fpu/s_atanf.S: ...here.
4097         * sysdeps/libm-i387/s_atanl.S: Moved to ...
4098         * sysdeps/i386/fpu/s_atanl.S: ...here.
4099         * sysdeps/libm-i387/s_cbrt.S: Moved to ...
4100         * sysdeps/i386/fpu/s_cbrt.S: ...here.
4101         * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
4102         * sysdeps/i386/fpu/s_cbrtf.S: ...here.
4103         * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
4104         * sysdeps/i386/fpu/s_cbrtl.S: ...here.
4105         * sysdeps/libm-i387/s_ceil.S: Moved to ...
4106         * sysdeps/i386/fpu/s_ceil.S: ...here.
4107         * sysdeps/libm-i387/s_ceilf.S: Moved to ...
4108         * sysdeps/i386/fpu/s_ceilf.S: ...here.
4109         * sysdeps/libm-i387/s_ceill.S: Moved to ...
4110         * sysdeps/i386/fpu/s_ceill.S: ...here.
4111         * sysdeps/libm-i387/s_cexp.S: Moved to ...
4112         * sysdeps/i386/fpu/s_cexp.S: ...here.
4113         * sysdeps/libm-i387/s_cexpf.S: Moved to ...
4114         * sysdeps/i386/fpu/s_cexpf.S: ...here.
4115         * sysdeps/libm-i387/s_cexpl.S: Moved to ...
4116         * sysdeps/i386/fpu/s_cexpl.S: ...here.
4117         * sysdeps/libm-i387/s_copysign.S: Moved to ...
4118         * sysdeps/i386/fpu/s_copysign.S: ...here.
4119         * sysdeps/libm-i387/s_copysignf.S: Moved to ...
4120         * sysdeps/i386/fpu/s_copysignf.S: ...here.
4121         * sysdeps/libm-i387/s_copysignl.S: Moved to ...
4122         * sysdeps/i386/fpu/s_copysignl.S: ...here.
4123         * sysdeps/libm-i387/s_cos.S: Moved to ...
4124         * sysdeps/i386/fpu/s_cos.S: ...here.
4125         * sysdeps/libm-i387/s_cosf.S: Moved to ...
4126         * sysdeps/i386/fpu/s_cosf.S: ...here.
4127         * sysdeps/libm-i387/s_cosl.S: Moved to ...
4128         * sysdeps/i386/fpu/s_cosl.S: ...here.
4129         * sysdeps/libm-i387/s_exp2.S: Moved to ...
4130         * sysdeps/i386/fpu/s_exp2.S: ...here.
4131         * sysdeps/libm-i387/s_exp2f.S: Moved to ...
4132         * sysdeps/i386/fpu/s_exp2f.S: ...here.
4133         * sysdeps/libm-i387/s_exp2l.S: Moved to ...
4134         * sysdeps/i386/fpu/s_exp2l.S: ...here.
4135         * sysdeps/libm-i387/s_expm1.S: Moved to ...
4136         * sysdeps/i386/fpu/s_expm1.S: ...here.
4137         * sysdeps/libm-i387/s_expm1f.S: Moved to ...
4138         * sysdeps/i386/fpu/s_expm1f.S: ...here.
4139         * sysdeps/libm-i387/s_expm1l.S: Moved to ...
4140         * sysdeps/i386/fpu/s_expm1l.S: ...here.
4141         * sysdeps/libm-i387/s_fdim.S: Moved to ...
4142         * sysdeps/i386/fpu/s_fdim.S: ...here.
4143         * sysdeps/libm-i387/s_fdimf.S: Moved to ...
4144         * sysdeps/i386/fpu/s_fdimf.S: ...here.
4145         * sysdeps/libm-i387/s_fdiml.S: Moved to ...
4146         * sysdeps/i386/fpu/s_fdiml.S: ...here.
4147         * sysdeps/libm-i387/s_finite.S: Moved to ...
4148         * sysdeps/i386/fpu/s_finite.S: ...here.
4149         * sysdeps/libm-i387/s_finitef.S: Moved to ...
4150         * sysdeps/i386/fpu/s_finitef.S: ...here.
4151         * sysdeps/libm-i387/s_finitel.S: Moved to ...
4152         * sysdeps/i386/fpu/s_finitel.S: ...here.
4153         * sysdeps/libm-i387/s_floor.S: Moved to ...
4154         * sysdeps/i386/fpu/s_floor.S: ...here.
4155         * sysdeps/libm-i387/s_floorf.S: Moved to ...
4156         * sysdeps/i386/fpu/s_floorf.S: ...here.
4157         * sysdeps/libm-i387/s_floorl.S: Moved to ...
4158         * sysdeps/i386/fpu/s_floorl.S: ...here.
4159         * sysdeps/libm-i387/s_fma.S: Moved to ...
4160         * sysdeps/i386/fpu/s_fma.S: ...here.
4161         * sysdeps/libm-i387/s_fmaf.S: Moved to ...
4162         * sysdeps/i386/fpu/s_fmaf.S: ...here.
4163         * sysdeps/libm-i387/s_fmal.S: Moved to ...
4164         * sysdeps/i386/fpu/s_fmal.S: ...here.
4165         * sysdeps/libm-i387/s_fmax.S: Moved to ...
4166         * sysdeps/i386/fpu/s_fmax.S: ...here.
4167         * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
4168         * sysdeps/i386/fpu/s_fmaxf.S: ...here.
4169         * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
4170         * sysdeps/i386/fpu/s_fmaxl.S: ...here.
4171         * sysdeps/libm-i387/s_fmin.S: Moved to ...
4172         * sysdeps/i386/fpu/s_fmin.S: ...here.
4173         * sysdeps/libm-i387/s_fminf.S: Moved to ...
4174         * sysdeps/i386/fpu/s_fminf.S: ...here.
4175         * sysdeps/libm-i387/s_fminl.S: Moved to ...
4176         * sysdeps/i386/fpu/s_fminl.S: ...here.
4177         * sysdeps/libm-i387/s_frexp.S: Moved to ...
4178         * sysdeps/i386/fpu/s_frexp.S: ...here.
4179         * sysdeps/libm-i387/s_frexpf.S: Moved to ...
4180         * sysdeps/i386/fpu/s_frexpf.S: ...here.
4181         * sysdeps/libm-i387/s_frexpl.S: Moved to ...
4182         * sysdeps/i386/fpu/s_frexpl.S: ...here.
4183         * sysdeps/libm-i387/s_ilogb.S: Moved to ...
4184         * sysdeps/i386/fpu/s_ilogb.S: ...here.
4185         * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
4186         * sysdeps/i386/fpu/s_ilogbf.S: ...here.
4187         * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
4188         * sysdeps/i386/fpu/s_ilogbl.S: ...here.
4189         * sysdeps/libm-i387/s_llrint.S: Moved to ...
4190         * sysdeps/i386/fpu/s_llrint.S: ...here.
4191         * sysdeps/libm-i387/s_llrintf.S: Moved to ...
4192         * sysdeps/i386/fpu/s_llrintf.S: ...here.
4193         * sysdeps/libm-i387/s_llrintl.S: Moved to ...
4194         * sysdeps/i386/fpu/s_llrintl.S: ...here.
4195         * sysdeps/libm-i387/s_log1p.S: Moved to ...
4196         * sysdeps/i386/fpu/s_log1p.S: ...here.
4197         * sysdeps/libm-i387/s_log1pf.S: Moved to ...
4198         * sysdeps/i386/fpu/s_log1pf.S: ...here.
4199         * sysdeps/libm-i387/s_log1pl.S: Moved to ...
4200         * sysdeps/i386/fpu/s_log1pl.S: ...here.
4201         * sysdeps/libm-i387/s_log2.S: Moved to ...
4202         * sysdeps/i386/fpu/s_log2.S: ...here.
4203         * sysdeps/libm-i387/s_log2f.S: Moved to ...
4204         * sysdeps/i386/fpu/s_log2f.S: ...here.
4205         * sysdeps/libm-i387/s_log2l.S: Moved to ...
4206         * sysdeps/i386/fpu/s_log2l.S: ...here.
4207         * sysdeps/libm-i387/s_logb.S: Moved to ...
4208         * sysdeps/i386/fpu/s_logb.S: ...here.
4209         * sysdeps/libm-i387/s_logbf.S: Moved to ...
4210         * sysdeps/i386/fpu/s_logbf.S: ...here.
4211         * sysdeps/libm-i387/s_logbl.S: Moved to ...
4212         * sysdeps/i386/fpu/s_logbl.S: ...here.
4213         * sysdeps/libm-i387/s_lrint.S: Moved to ...
4214         * sysdeps/i386/fpu/s_lrint.S: ...here.
4215         * sysdeps/libm-i387/s_lrintf.S: Moved to ...
4216         * sysdeps/i386/fpu/s_lrintf.S: ...here.
4217         * sysdeps/libm-i387/s_lrintl.S: Moved to ...
4218         * sysdeps/i386/fpu/s_lrintl.S: ...here.
4219         * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
4220         * sysdeps/i386/fpu/s_nearbyint.S: ...here.
4221         * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
4222         * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
4223         * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
4224         * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
4225         * sysdeps/libm-i387/s_remquo.S: Moved to ...
4226         * sysdeps/i386/fpu/s_remquo.S: ...here.
4227         * sysdeps/libm-i387/s_remquof.S: Moved to ...
4228         * sysdeps/i386/fpu/s_remquof.S: ...here.
4229         * sysdeps/libm-i387/s_remquol.S: Moved to ...
4230         * sysdeps/i386/fpu/s_remquol.S: ...here.
4231         * sysdeps/libm-i387/s_rint.S: Moved to ...
4232         * sysdeps/i386/fpu/s_rint.S: ...here.
4233         * sysdeps/libm-i387/s_rintf.S: Moved to ...
4234         * sysdeps/i386/fpu/s_rintf.S: ...here.
4235         * sysdeps/libm-i387/s_rintl.S: Moved to ...
4236         * sysdeps/i386/fpu/s_rintl.S: ...here.
4237         * sysdeps/libm-i387/s_scalbn.S: Moved to ...
4238         * sysdeps/i386/fpu/s_scalbn.S: ...here.
4239         * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
4240         * sysdeps/i386/fpu/s_scalbnf.S: ...here.
4241         * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
4242         * sysdeps/i386/fpu/s_scalbnl.S: ...here.
4243         * sysdeps/libm-i387/s_significand.S: Moved to ...
4244         * sysdeps/i386/fpu/s_significand.S: ...here.
4245         * sysdeps/libm-i387/s_significandf.S: Moved to ...
4246         * sysdeps/i386/fpu/s_significandf.S: ...here.
4247         * sysdeps/libm-i387/s_significandl.S: Moved to ...
4248         * sysdeps/i386/fpu/s_significandl.S: ...here.
4249         * sysdeps/libm-i387/s_sin.S: Moved to ...
4250         * sysdeps/i386/fpu/s_sin.S: ...here.
4251         * sysdeps/libm-i387/s_sincos.S: Moved to ...
4252         * sysdeps/i386/fpu/s_sincos.S: ...here.
4253         * sysdeps/libm-i387/s_sincosf.S: Moved to ...
4254         * sysdeps/i386/fpu/s_sincosf.S: ...here.
4255         * sysdeps/libm-i387/s_sincosl.S: Moved to ...
4256         * sysdeps/i386/fpu/s_sincosl.S: ...here.
4257         * sysdeps/libm-i387/s_sinf.S: Moved to ...
4258         * sysdeps/i386/fpu/s_sinf.S: ...here.
4259         * sysdeps/libm-i387/s_sinl.S: Moved to ...
4260         * sysdeps/i386/fpu/s_sinl.S: ...here.
4261         * sysdeps/libm-i387/s_tan.S: Moved to ...
4262         * sysdeps/i386/fpu/s_tan.S: ...here.
4263         * sysdeps/libm-i387/s_tanf.S: Moved to ...
4264         * sysdeps/i386/fpu/s_tanf.S: ...here.
4265         * sysdeps/libm-i387/s_tanl.S: Moved to ...
4266         * sysdeps/i386/fpu/s_tanl.S: ...here.
4267         * sysdeps/libm-i387/s_trunc.S: Moved to ...
4268         * sysdeps/i386/fpu/s_trunc.S: ...here.
4269         * sysdeps/libm-i387/s_truncf.S: Moved to ...
4270         * sysdeps/i386/fpu/s_truncf.S: ...here.
4271         * sysdeps/libm-i387/s_truncl.S: Moved to ...
4272         * sysdeps/i386/fpu/s_truncl.S: ...here.
4273         * sysdeps/libm-ieee754/k_standard.c: Moved to ...
4274         * sysdeps/ieee754/k_standard.c: ...here.
4275         * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
4276         * sysdeps/ieee754/s_lib_version.c: ...here.
4277         * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
4278         * sysdeps/ieee754/s_matherr.c: ...here.
4279         * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
4280         * sysdeps/ieee754/s_signgam.c: ...here.
4281         * sysdeps/ieee754/dbl2mpn.c: Moved to ...
4282         * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
4283         * sysdeps/ieee754/mpn2dbl.c: Moved to ...
4284         * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
4285         * sysdeps/libm-ieee754/e_acos.c: Moved to ...
4286         * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
4287         * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
4288         * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
4289         * sysdeps/libm-ieee754/e_asin.c: Moved to ...
4290         * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
4291         * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
4292         * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
4293         * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
4294         * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
4295         * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
4296         * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
4297         * sysdeps/libm-ieee754/e_exp.c: Moved to ...
4298         * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
4299         * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
4300         * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
4301         * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
4302         * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
4303         * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
4304         * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
4305         * sysdeps/libm-ieee754/e_j0.c: Moved to ...
4306         * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
4307         * sysdeps/libm-ieee754/e_j1.c: Moved to ...
4308         * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
4309         * sysdeps/libm-ieee754/e_jn.c: Moved to ...
4310         * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
4311         * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
4312         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
4313         * sysdeps/libm-ieee754/e_log.c: Moved to ...
4314         * sysdeps/ieee754/dbl-64/e_log.c: ...here.
4315         * sysdeps/libm-ieee754/e_log10.c: Moved to ...
4316         * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
4317         * sysdeps/libm-ieee754/e_pow.c: Moved to ...
4318         * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
4319         * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
4320         * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
4321         * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
4322         * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
4323         * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
4324         * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
4325         * sysdeps/libm-ieee754/k_cos.c: Moved to ...
4326         * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
4327         * sysdeps/libm-ieee754/k_sin.c: Moved to ...
4328         * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
4329         * sysdeps/libm-ieee754/k_tan.c: Moved to ...
4330         * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
4331         * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
4332         * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
4333         * sysdeps/libm-ieee754/s_atan.c: Moved to ...
4334         * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
4335         * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
4336         * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
4337         * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
4338         * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
4339         * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
4340         * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
4341         * sysdeps/libm-ieee754/s_cos.c: Moved to ...
4342         * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
4343         * sysdeps/libm-ieee754/s_erf.c: Moved to ...
4344         * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
4345         * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
4346         * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
4347         * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
4348         * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
4349         * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
4350         * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
4351         * sysdeps/libm-ieee754/s_finite.c: Moved to ...
4352         * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
4353         * sysdeps/libm-ieee754/s_floor.c: Moved to ...
4354         * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
4355         * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
4356         * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
4357         * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
4358         * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
4359         * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
4360         * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
4361         * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
4362         * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
4363         * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
4364         * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
4365         (__isnan): Comment above function says it returns 0 or 1, but it
4366         used to return 0 or -1.
4367         * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
4368         * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
4369         * sysdeps/libm-ieee754/s_llround.c: Moved to ...
4370         * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
4371         * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
4372         * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
4373         * sysdeps/libm-ieee754/s_log2.c: Moved to ...
4374         * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
4375         * sysdeps/libm-ieee754/s_logb.c: Moved to ...
4376         * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
4377         * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
4378         * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
4379         * sysdeps/libm-ieee754/s_lround.c: Moved to ...
4380         * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
4381         * sysdeps/libm-ieee754/s_modf.c: Moved to ...
4382         * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
4383         * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
4384         * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
4385         * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
4386         * sysdeps/generic/s_nextafter.c: ...here.
4387         Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
4388         * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
4389         * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
4390         * sysdeps/libm-ieee754/s_rint.c: Moved to ...
4391         * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
4392         * sysdeps/libm-ieee754/s_round.c: Moved to ...
4393         * sysdeps/ieee754/dbl-64/s_round.c: ...here.
4394         * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
4395         * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
4396         * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
4397         * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
4398         * sysdeps/libm-ieee754/s_sin.c: Moved to ...
4399         * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
4400         * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
4401         * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
4402         * sysdeps/libm-ieee754/s_tan.c: Moved to ...
4403         * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
4404         * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
4405         * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
4406         * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
4407         * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
4408         * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
4409         * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
4410         * sysdeps/libm-ieee754/w_exp.c: Moved to ...
4411         * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
4412         * sysdeps/ieee754/mpn2flt.c: Moved to ...
4413         * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
4414         * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
4415         * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
4416         * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
4417         * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
4418         * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
4419         * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
4420         * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
4421         * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
4422         * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
4423         * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
4424         * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
4425         * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
4426         * sysdeps/libm-ieee754/e_expf.c: Moved to ...
4427         * sysdeps/ieee754/flt-32/e_expf.c: ...here.
4428         * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
4429         * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
4430         * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
4431         * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
4432         * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
4433         * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
4434         * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
4435         * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
4436         * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
4437         * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
4438         * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
4439         * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
4440         * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
4441         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
4442         * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
4443         * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
4444         * sysdeps/libm-ieee754/e_logf.c: Moved to ...
4445         * sysdeps/ieee754/flt-32/e_logf.c: ...here.
4446         * sysdeps/libm-ieee754/e_powf.c: Moved to ...
4447         * sysdeps/ieee754/flt-32/e_powf.c: ...here.
4448         * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
4449         * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
4450         * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
4451         * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
4452         * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
4453         * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
4454         * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
4455         * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
4456         * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
4457         * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
4458         * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
4459         * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
4460         * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
4461         * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
4462         * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
4463         * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
4464         * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
4465         * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
4466         * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
4467         * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
4468         * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
4469         * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
4470         * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
4471         * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
4472         * sysdeps/libm-ieee754/s_erff.c: Moved to ...
4473         * sysdeps/ieee754/flt-32/s_erff.c: ...here.
4474         * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
4475         * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
4476         * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
4477         * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
4478         * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
4479         * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
4480         * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
4481         * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
4482         * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
4483         * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
4484         * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
4485         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
4486         * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
4487         * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
4488         * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
4489         * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
4490         * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
4491         * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
4492         * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
4493         * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
4494         * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
4495         * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
4496         * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
4497         * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
4498         * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
4499         * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
4500         * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
4501         * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
4502         * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
4503         * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
4504         * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
4505         * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
4506         * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
4507         * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
4508         * sysdeps/libm-ieee754/s_modff.c: Moved to ...
4509         * sysdeps/ieee754/flt-32/s_modff.c: ...here.
4510         * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
4511         * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
4512         * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
4513         * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
4514         * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
4515         * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
4516         * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
4517         * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
4518         * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
4519         * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
4520         * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
4521         * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
4522         * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
4523         * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
4524         * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
4525         * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
4526         * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
4527         * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
4528         * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
4529         * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
4530         * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
4531         * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
4532         * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
4533         * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
4534         * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
4535         * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
4536         * sysdeps/libm-ieee754/w_expf.c: Moved to ...
4537         * sysdeps/ieee754/flt-32/w_expf.c: ...here.
4538         * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
4539         * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
4540         * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
4541         * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
4542         * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
4543         * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
4544         * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
4545         * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
4546         * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
4547         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
4548         * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
4549         * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
4550         * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
4551         * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
4552         * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
4553         * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
4554         * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
4555         * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
4556         * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
4557         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
4558         * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
4559         * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
4560         * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
4561         * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
4562         * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
4563         * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
4564         * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
4565         * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
4566         * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
4567         * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
4568         * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
4569         * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
4570         * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
4571         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
4572         * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
4573         * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
4574         * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
4575         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
4576         * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
4577         * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
4578         * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
4579         * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
4580         * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
4581         * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
4582         * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
4583         * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
4584         * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
4585         * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
4586         * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
4587         * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
4588         (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
4589         INSERT_WORDS.
4590         * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
4591         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
4592         (__nearbyintl): Fix for exponents 2^30.
4593         * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
4594         * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
4595         * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
4596         * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
4597         (__rintl): Fix for exponents 2^30.
4598         * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
4599         * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
4600         * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
4601         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
4602         (__scalbnl): Fix exponent for subnormal result.
4603         * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
4604         * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
4605         * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
4606         * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
4607         * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
4608         * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
4609         * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
4610         * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
4611         * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
4612         * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
4613         * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
4614         * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
4615         * sysdeps/libm-ieee754/w_expl.c: Moved to ...
4616         * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
4617         * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
4618         * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
4619         * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
4620         * sysdeps/i386/fpu/s_scalblnf.c: ...here.
4621         * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
4622         * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
4623         * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
4624         * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
4625         * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
4626         * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
4627         * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
4628         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
4629         * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
4630         * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
4631         * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
4632         * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
4633         * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
4634         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
4635         * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
4636         * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
4637         * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
4638         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
4639         * sysdeps/libm-i387/s_scalbln.c: Moved to ...
4640         * sysdeps/i386/fpu/s_scalbln.c: ...here.
4641         * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
4642         * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
4643         * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
4644         * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
4645         * sysdeps/libm-i387/t_exp.c: Moved to ...
4646         * sysdeps/i386/fpu/t_exp.c: ...here.
4647         * sysdeps/libm-ieee754/t_exp.c: Moved to ...
4648         * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
4649         * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
4650         * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
4651         * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
4652         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
4653         * sysdeps/libm-i387/s_isinfl.c: Moved to ...
4654         * sysdeps/i386/fpu/s_isinfl.c: ...here.
4655         * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
4656         * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
4657         * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
4658         * sysdeps/i386/fpu/s_scalblnl.c: ...here.
4659         * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
4660         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
4661         Fix exponent for subnormal result.
4662         * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
4663         * sysdeps/generic/s_nexttowardl.c: ...here.
4664         * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
4665         * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
4666         * sysdeps/libm-i387/s_isnanl.c: Moved to ...
4667         * sysdeps/i386/fpu/s_isnanl.c: ...here.
4668         * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
4669         * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
4670         Comment above function says it returns 0 or 1, but it used to return
4671         0 or -1.
4672         * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
4673         * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
4674         * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
4675         * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
4676         * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
4677         * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
4678         * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
4679         * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
4680         * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
4681         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
4682         Cannot compare exponents with different biases without adjusting.
4683         * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
4684         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
4685         Cannot compare exponents with different biases without adjusting.
4686         * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
4687         * sysdeps/i386/fpu/s_nextafterl.c: ...here.
4688         * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
4689         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
4690         * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
4691         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
4692         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
4693         * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
4694         * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
4695         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
4696         * sysdeps/libm-ieee754/Dist: Split into ...
4697         * sysdeps/ieee754/dbl-64/Dist: ...this and ...
4698         * sysdeps/ieee754/flt-32/Dist: ...this file.
4700         * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
4701         * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
4702         * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
4703         * sysdeps/ieee754/ldbl-96/strtold.c: New file.
4704         * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
4705         * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
4706         * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
4707         * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
4708         * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
4709         * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
4710         * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
4711         * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
4712         * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
4713         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
4714         * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
4715         * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
4716         * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
4717         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
4718         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
4719         * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
4720         * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
4721         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
4722         * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
4723         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
4724         * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
4725         * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
4726         * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
4727         * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
4728         * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
4729         * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
4730         * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
4731         * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
4732         * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
4733         * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
4734         * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
4735         * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
4736         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
4737         * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
4738         * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
4739         * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
4740         * sysdeps/ieee754/ldbl-128/strtold.c: New file.
4741         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
4742         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
4743         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
4744         * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
4745         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
4746         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
4748         * sysdeps/generic/math_ldbl.h: New file.
4749         * sysdeps/generic/s_nexttowardf.c: New file.
4750         * sysdeps/generic/strtold.c: New file.
4751         * sysdeps/generic/ldbl2mpn.c: New file.
4753         * math/machine/endian.h: Remove.
4754         * sysdeps/i386/fpu/Implies: Remove.
4755         * sysdeps/ieee754/Implies: Remove.
4757         * math/math_private.h: Move long double macros to math_ldbl.h
4758         header.
4760 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
4762         * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
4763         connections without a hostname set address to localhost address.
4765 1999-07-11  H.J. Lu  <hjl@gnu.org>
4767         * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
4768         nscd's own strong version of the get[a-z]*_r function.
4769         * nscd/hstcache.c: Likewise.
4770         * nscd/pwdcache.c: Likewise.
4772 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
4774         * configure.in: Recognize 2.95 as gcc version number.
4775         Patch by Joel Klecker <jk@espy.org>.
4777 1999-07-12  Andreas Schwab  <schwab@suse.de>
4779         * elf/rtld.c (dl_main): When putting back the interpreter object
4780         handle the case where a missing object might occur in the list of
4781         objects but not in the search list when in trace mode.
4783 1999-07-11  Ulrich Drepper  <drepper@cygnus.com>
4785         * Versions.def (libnss_hesiod): Add GLIBC_2.2.
4786         * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
4787         _nss_hesiod_initgroups.
4789 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
4791         * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
4792         (_hurd_set_brk, init_brk): Use that instead of &__data_start.
4793         Initialize it from &__data_start if defined, or else &_end.
4795 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
4797         * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
4798         for MAP_ANON, prot==PROT_READ|PROT_WRITE.
4800 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
4802         * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
4804 1999-07-09  H.J. Lu  <hjl@gnu.org>
4806         * Versions.def (GLIBC_2.1.2): Added.
4808         * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
4809         old one as GLIBC_2.0.
4810         * nss/getXXbyYY_r.c: Likewise.
4812         * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
4813         GLIBC_2.1.2.
4814         * inet/Versions (getaliasbyname_r, getaliasent_r,
4815         gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
4816         gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
4817         getnetgrent_r, getprotobyname_r, getprotobynumber_r,
4818         getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
4819         getservbyname_r): Likewise.
4820         * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
4821         * shadow/Versions (getspent_r, getspnam_r): Likewise.
4823 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
4825         * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
4826         compilers.
4827         (__memset_cc): Likewise.
4829         * sysdeps/generic/libc-start.c: For SUID binaries check whether
4830         the standard file descriptors are open.
4831         Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
4833         * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
4834         * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
4835         range of mmap.  If not fail.
4836         Patches by Daniel Jacobowitz <dan@debian.org>.
4838         * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
4839         before the relocation happened.
4840         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4842         * Versions.def (libnsl): Add GLIBC_2.2.
4843         * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
4845 1999-07-08  Cristian Gafton  <gafton@redhat.com>
4847         * nis/yp_xdr.c (xdr_ypall): New function.
4849 1999-07-09  Andreas Schwab  <schwab@suse.de>
4851         * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
4853         * dlfcn/Makefile (headers): Add bits/dlfcn.h.
4855 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
4857         * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
4858         * hesiod/hesiod-grp.c: Add initgroups support.
4859         Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
4861 1999-07-08  Andreas Schwab  <schwab@suse.de>
4863         * libio/iofopncook.c (fopencookie): Set _fileno to -2.
4865         * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
4866         negative numbers.
4868         * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
4869         EOF.
4870         * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
4872 1999-07-08  Andreas Schwab  <schwab@suse.de>
4874         * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
4876 1999-07-08  Andreas Schwab  <schwab@suse.de>
4878         * libio/fileno.c: Return -1 instead of EOF and set errno if the
4879         stream is not a real file stream.
4881 1999-07-08  Andreas Schwab  <schwab@suse.de>
4883         * manual/charset.texi: Fix typos.
4885 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
4887         * sysdeps/gnu/Makefile (libdl-routines): Add eval.
4889 1999-07-06  Zack Weinberg  <zack@rabi.columbia.edu>
4891         * dlfcn: New directory.  Move the following files from elf:
4892         dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
4893         dlopenold.c, dlsym.c, dlvsym.c.
4894         * dlfcn/Makefile: New file.
4895         * dlfcn/Versions: New file.
4896         * dlfcn/dlsym.c: All ELF-specific code split out to new
4897         function _dl_sym.
4898         * dlfcn/dlvsym.c: All ELF-specific code split out to new
4899         function _dl_vsym.
4900         * elf/dl-sym.c: New file.  _dl_sym and _dl_vsym are
4901         implemented here.
4903         * dlfcn/dladdr.c: Remove all references to ELF data structures
4904         or headers.
4905         * dlfcn/dlclose.c: Likewise.
4906         * dlfcn/dlerror.c: Likewise.
4907         * dlfcn/dlopen.c: Likewise.
4908         * dlfcn/dlopenold.c: Likewise.
4910         * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
4911         yes, empty otherwise.
4912         (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
4913         depending on build-shared.
4914         (subdirs): Add $(dlfcn).
4915         (rpath-dirs): Add dlfcn.
4916         * elf/Makefile: Remove all references to libdl or its
4917         components, except the ones relating to the test cases.
4918         (routines): Add dl-sym.
4919         * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
4920         (libdl): Delete.
4922         * elf/dl-close.c (_dl_close): Change argument to void *.
4923         * elf/dl-open.c (_dl_open): Change return type to void *.
4924         * elf/eval.c: Removed.
4925         * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
4926         _dlerror_run, _dl_open, _dl_close, _dl_addr, and
4927         _dl_mcount_wrapper_check to include/dlfcn.h.  Delete
4928         _CALL_DL_FCT macro.
4929         * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
4930         Include real header from dlfcn directory.
4931         * include/ldsodefs.h: Removed.
4933         * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
4934         * nss/getXXbyYY_r.c: Likewise.
4935         * nss/getXXent_r.c: Likewise.
4936         * iconv/gconv.c: Likewise.  Don't include ldsodefs.h.
4937         * iconv/gconv_db.c: Likewise.  Don't include ldsodefs.h.
4938         * iconv/skeleton.c: Don't include ldsodefs.h.
4939         * nss/nsswitch.h: Don't include ldsodefs.h.  Include dlfcn.h.
4941 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
4943         * sysdeps/generic/setenv.c: Describe problem.
4945         * malloc/malloc.c (request2size): Also set errno if failing.
4947         * malloc/malloc.c (request2size): Take care of overflow in
4948         addition.
4950         * sysdeps/posix/getcwd.c: Correct last patch.  Handle getcwd
4951         (NULL, != 0) correctly.
4953         * elf/dl-load.c: Use a few more __builtin_expect.
4955         * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
4956         is large enough.
4958 1999-07-07  Andreas Schwab  <schwab@suse.de>
4960         * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
4961         (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
4962         (_PATH_DEVPTMX): Use _PATH_DEV.
4964 1999-07-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4966         * malloc/tst-malloc.c: New file.  Tests some basic functionality.
4967         * malloc/Makefile (tests): Add tst-malloc.
4969 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
4971         * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
4972         convention.
4974         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
4975         motherboards.
4976         Patch by Jay Estabrook.
4978         * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
4979         ldd for SPARC.
4980         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
4981         Patch by Cristian Gafton.
4983 1999-07-02  Cristian Gafton  <gafton@redhat.com>
4985         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
4986         instead of "return NULL" to make C++ happy.
4988 1999-07-04  Mark Kettenis  <kettenis@gnu.org>
4990         * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
4991         allowed by the file access mode of the open file.
4993 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
4995         * sysdeps/generic/setfpucw.c: Include math.h to get all needed
4996         macros defined.
4998 1999-07-03  Jakub Jelinek   <jj@ultra.linux.cz>
5000         * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
5001         * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
5002         * sysdeps/sparc/sparc64/rshift.S: Likewise.
5003         * sysdeps/sparc/sparc64/mul_1.S: Optimize.
5005 1999-07-04  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
5007         * malloc/malloc.c (request2size): Check for overflow and return
5008         NULL whenever it is encountered.
5010 1999-07-04  Zack Weinberg  <zack@rabi.columbia.edu>
5012         * sysdeps/posix/tempname.c (__gen_tempname):   Add
5013         ability to create directories.  Replace OPENIT and LARGEFILE
5014         args with a single flags parameter.
5015         * sysdeps/generic/tempname.c: Likewise.
5016         * include/stdio.h: Adjust prototype of __gen_tempname to
5017         match.  Define symbolic constants for second argument.
5019         * misc/mkdtemp.c: New file, provides new function mkdtemp().
5020         * stdlib/stdlib.h: Prototype it.
5021         * misc/Versions: Export it.
5022         * misc/Makefile (routines): Add mktemp.
5023         * manual/filesys.texi: Document it.
5025         * misc/mktemp.c: Adjust call of __gen_tempname to match new
5026         convention.
5027         * misc/mkstemp.c: Likewise.
5028         * stdio-common/tempnam.c: Likewise.
5029         * stdio-common/tmpfile.c: Likewise.
5030         * stdio-common/tmpfile64.c: Likewise.
5031         * stdio-common/tmpnam.c: Likewise.
5032         * stdio-common/tmpnam_r.c: Likewise.
5034 1999-07-05  Jakub Jelinek   <jj@ultra.linux.cz>
5036         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
5037         R_SPARC_OLO10 relocations.
5038         * elf/elf.h (R_SPARC_OLO10): Fix comment.
5040 1999-07-02  Tim Waugh  <tim@cyberelk.demon.co.uk>
5042         * posix/wordexp-test.c: Revert bogus 'unset IFS' change.  It
5043         doesn't belong in the tests, but in the wordexp implementation.
5045         * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
5046         split fields.
5048 1999-07-01  Cristian Gafton  <gafton@redhat.com>
5050         * time/strptime.c (strptime): Initialize the tm struct first to avoid
5051         returning bogus results on incomplete data.
5052         (strptime_internal): day_of_the_week() requres bith tm_mon and
5053         tm_mday to be initializaed.
5054         Computer them first if they are not given.
5055         (strptime_internal): (have_mon, have_mday): New variables.
5057 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5059         * inet/rcmd.c (__icheckhost): Fix typo in last patch.
5061 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5063         * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
5064         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5066 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5068         * posix/wordexp.c (parse_tilde): Handle failing call to
5069         get.*_r functions correctly for non-existing entry.
5070         * sysdeps/posix/cuserid.c (cuserid): Likewise.
5071         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
5073 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
5075         * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
5076         getxxbyYY_r functions correctly for non-existing entry.
5077         * sunrpc/getrpcport.c: Likewise.
5078         * sunrpc/clnt_simp.c: Likewise.
5079         * inet/rexec.c: Likewise.
5080         * sunrpc/clnt_gen.c: Likewise.
5081         * inet/rcmd.c: Likewise.
5082         * sysdeps/generic/glob.c: Likewise.
5084 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5086         * pwd/Makefile (tests): Add rules for tst-getpw.
5088         * pwd/tst-getpw.c: New program to test getpw.
5090 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5092         * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
5093         correctly.
5095 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5097         * manual/arith.texi (System V Number Conversion): Fix the
5098         description which confused pointer and value to pointer.
5099         Reported by Andries.Brouwer@cwi.nl.
5101 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5103         * pwd/getpw.c (__getpw): Check for NULL result pointer.
5105 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5107         * manual/users.texi (Lookup User): Document POSIX return
5108         semantics for getpwuid_r and getgrgid_r.
5110         * manual/socket.texi (Host Names): Document that the result
5111         pointer is null in case of error or host not found and fix a
5112         typo.  Give a small example.
5114 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
5116         * pwd/getpw.c: Add warning since no buffer size is given and
5117         therefore no overrun tests are possible.
5119 1999-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5121         * pwd/pwd.h: Add getpw prototype declaration.
5123 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
5125         * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
5126         * wcsmbs/wcschr.c: Likewise.
5128 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
5130         * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
5131         returns.
5132         * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
5133         * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
5134         Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
5136         * elf/dl-dst.h: Fix typo.
5137         * elf/dl-open.c: Likewise.
5139 1999-06-26  Zack Weinberg  <zack@rabi.columbia.edu>
5141         * elf/dl-libc.c: New file, provides three functions:
5142         __libc_dlopen, __libc_dlclose, __libc_dlsym.
5143         * include/dlfcn.h: Prototype them.  Prototype _dl_addr.
5144         * elf/Makefile (routines): Add dl-libc.c.
5145         * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
5146         argument to void *.
5147         * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
5149         * iconv/gconv.c: Include dlfcn.h.
5150         * iconv/gconv_db.c: Likewise.
5151         * malloc/mtrace.c: Likewise.  Don't include ldsodefs.h.
5153         * iconv/gconv_int.h (struct __gconv_loaded_object): Change
5154         `handle' to a void *.
5155         (__gconv_find_func): Delete prototype.
5157         * iconv/gconv_dl.c: Don't include ldsodefs.h.  Remove
5158         dlerror_run and related functions and structs.  Use
5159         __libc_dlopen, __libc_dlsym, __libc_dlclose.
5160         * nss/nsswitch.c: Likewise.
5162 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
5164         * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
5165         function correctly.
5167         * sunrpc/getrpcport.c: Test for gethostbyname_r function
5168         correctly.
5170         * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
5172         * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
5173         functions correctly.
5175         * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
5177         * inet/rcmd.c: Test for gethostbyname_r result correctly.  Optimize
5178         file reading a bit.
5180         * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
5182 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5184         * manual/string.texi (Copying and Concatenation): Mention that
5185         strndup is a GNU extension.
5187 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5189         * pwd/getpw.c (__getpw): Fix check for error return.
5191 1999-06-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5193         * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
5194         occurence of the aux object start with the current list entry, not
5195         the new one.  Adjust tail pointer in the unique list.  Explain how
5196         the meaning of the variables changes [PR libc/1168].
5198 1999-06-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5200         * sysdeps/m68k/fpu/Dist: New file.
5202 1999-06-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5204         * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
5205         definitions...
5206         * sysdeps/m68k/fpu/mathimpl.h: ... here.  New file.
5207         * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
5208         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
5209         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
5210         * sysdeps/m68k/fpu/e_pow.c: Likewise.
5211         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
5212         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
5213         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
5214         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
5215         * sysdeps/m68k/fpu/s_csin.c: Likewise.
5216         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
5217         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
5218         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
5219         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
5220         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
5221         * sysdeps/m68k/fpu/s_modf.c: Likewise.
5223 1999-06-25  Roland McGrath  <roland@baalperazim.frob.com>
5225         * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
5226         hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
5227         _EXTERN_INLINE, use a macro specific to each file,
5228         _HURD_FD_H_EXTERN_INLINE and the like.
5229         * hurd/Makefile (inline-headers): New variable.
5230         (routines): Remove hurdinline.  Add $(inlines).
5231         (inlines): New variable.
5232         ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
5233         (generated): Append those here.
5234         * hurd/hurdinline.c: File removed.
5236         * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
5238         * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
5240 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5242         * nscd/connections.c (nscd_run): Use correct type for optlen variable.
5244 1999-06-25  Ulrich Drepper  <drepper@cygnus.com>
5246         * string/bits/string2.h (strnlen): Remove extra prototype.
5248 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5250         * manual/filesys.texi (Working on Directory Trees): Fix typos.
5251         Reported by Andries.Brouwer@cwi.nl.
5253 1999-06-24  Ulrich Drepper  <drepper@cygnus.com>
5255         * nscd/connections.c (handle_request): Use correct type for optlen
5256         variable.
5258         * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
5259         * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
5261 1999-06-24  Thorsten Kukuk  <kukuk@suse.de>
5263         * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
5264         * nscd/pwdcache.c: Likewise.
5265         * nscd/hstcache.c: Likewise.
5267 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
5269         * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
5271         * posix/getopt.h: Include stdio.h.
5273         * manual/arith.texi: Document restriction of ndigit parameter of
5274         ecvt and friends.
5275         * misc/efgcvt.c: Define NDIGIT_MAX.
5276         (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
5277         Do not dynamically allocate the static buffers.  They are small enough.
5278         * misc/efgcvt_r.c: Define NDIGIT_MAX.
5279         (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
5280         * misc/qefgcvt.c: Define NDIGIT_MAX.
5281         * misc/qefgcvt_r.c: Likewise.
5282         * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
5284 1999-06-23  Zack Weinberg  <zack@rabi.columbia.edu>
5286         * libio/stdio.h: Define stdin, stdout, stderr as macros.
5287         * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
5288         These are *pragmas* not macros.
5289         * wcsmbs/wchar.h: Fix comment.
5291         * grp/grp.h: Use __foo_t_defined convention to typedef things
5292         only once.
5293         * io/sys/stat.h: Likewise.
5294         * libio/stdio.h: Likewise.
5295         * posix/unistd.h: Likewise.
5296         * posix/sys/types.h: Likewise.
5297         * posix/sys/wait.h: Likewise.
5298         * pwd/pwd.h: Likewise.
5299         * signal/signal.h: Likewise.
5300         * sysdeps/generic/stdint.h: Likewise.
5301         * sysdeps/gnu/utmpx.h: Likewise.
5302         * termios/termios.h: Likewise.
5304 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
5306         * stdio/fputc.c: Don't define alias if fputc is defined as a
5307         macro.
5308         * stdio/putc.c: Define weak alias here since it is not done
5309         anymore in fputc.c.
5311 1999-06-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5313         * assert/assert.h: Don't produce `defined' as part of macro
5314         expansion.
5316 1999-06-23  Roland McGrath  <roland@baalperazim.frob.com>
5318         * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
5319         OFFSET argument of (off_t) -1.
5320         * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
5321         OFFSET argument of (off_t) -1.
5323         * sysdeps/mach/hurd/pwrite.c: New file.
5324         * sysdeps/mach/hurd/pread.c: New file.
5326         * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
5327         pass it in the RPC instead of always -1.
5328         * hurd/fd-write.c (_hurd_fd_write): Likewise.
5329         * hurd/hurd/fd.h: Update decls.
5331 1999-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5333         * libio/wscanf.c: Include <wchar.h> for prototype.
5335 1999-06-22  Ulrich Drepper  <drepper@cygnus.com>
5337         * manual/io.texi. Fix typos.
5338         * manual/stdio.texi: Likewise.
5339         Patches by Brian Youmans <3diff@gnu.org>.
5341 1999-06-22  Geoff Keating  <geoffk@ozemail.com.au>
5343         * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
5344         bits of two words differ.
5346 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5348         * libio/Makefile (routines): Add putwchar and putwchar_u.
5350         * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
5351         * libio/putwchar_u.c: Likewise.  Use _IO_stdout instead of
5352         stdout.  Fix parameter name.
5354         * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
5355         * libio/getchar_u.c: Likewise.
5357         * libio/putchar_u.c: Use _IO_stdout instead of stdout.
5359 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5361         * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
5362         macro expansion---it's undefined.  Properly parenthesize
5363         substituted parameters.
5364         (__GLIBC_PREREQ): Likewise.
5366 1999-06-21  Ulrich Drepper  <drepper@cygnus.com>
5368         * Makeconfig (CPPFLAGS): Revert last change.  It has too many
5369         weird effects.
5371         * stdlib/longlong.h: Provide __P definition if not already
5372         defined.
5374         * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
5376 1999-06-18  Thorsten Kukuk  <kukuk@suse.de>
5378         * sysdeps/alpha/atomicity.h: Correct counting of subsections.
5380 1999-06-17  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5382         * stdlib/tst-strtoll.c: Avoid warning about huge constant.
5384 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5386         * stdio-common/vfprintf.c (group_member): Make parameters and
5387         return types pointers to CHAR_T instead of UCHAR_T.
5388         (vfprintf): Change type of work_buffer, workend and string to
5389         CHAR_T pointer/array.
5390         (process_arg, process_string_arg): Adjust/remove casts.  Add
5391         missing use of L_ macro.
5392         (printf_unknown): Add missing uses of L_ macro.
5394 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5396         * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
5397         warning.
5399 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5401         * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF.  Call
5402         _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
5403         (__wunderflow): Likewise.
5404         (_IO_switch_to_wget_mode): Likewise.
5405         (_IO_init_wmarker): Likewise.
5407         * libio/wfileops.c (_IO_wfile_seekoff): Call
5408         _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
5409         (_IO_wfile_jumps): Fix pbackfail entry.
5411         * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
5412         function if the stream is currently unoriented.
5414 1999-06-19  Zack Weinberg  <zack@rabi.columbia.edu>
5416         * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
5417         Wrap all wide stream functions with #ifdef __USE_ISOC9X.  Use
5418         __gnuc_va_list in v*w(printf|scanf) prototypes.
5420 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5422         * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
5423         1999-03-29 to iopopen also here.
5424         Reported by Richard Braakman <dark@xs4all.nl>.
5426 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5428         * include/features.h: Use __GNUC_PREREQ.
5429         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
5431 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5433         * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
5434         Change EOF to WEOF and remove cast.
5435         (UNGETC): Remove macro.
5436         (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
5437         * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
5438         Change ISASCII to isascii and MBRLEN to mbrlen.
5439         (parse_one_spec): Compare info.spec always against wchar_t
5440         values.
5441         * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
5442         (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
5443         (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
5445 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5447         * libio/Makefile (shared-only-routines): Add oldiofgetpos,
5448         oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
5449         (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
5450         oldiofsetpos64 only if doing versioning.
5452 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
5454         * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
5456 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5458         * libio/libio.h: Fix last patch.
5460 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
5462         * libio/libio.h (_IO_putwc): Correct type of first argument.
5463         * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
5464         putwc_unlocked, putwchar_unlocked): Likewise.
5465         * libio/fputwc.c: Likewise.
5466         * libio/fputwc_unlocked.c: Likewise.
5467         * libio/putwc.c: Likewise.
5468         * libio/putwc_unlocked.c: Likewise.
5469         * libio/putwchar.c: Likewise.
5470         * libio/putwchar_unlocked.c: Likewise.
5472 1999-06-19  Roland McGrath  <roland@baalperazim.frob.com>
5474         * sysdeps/gnu/siglist.h: File moved to ...
5475         * sysdeps/generic/siglist.h: ... here.  This file should be usable for
5476         any platform, since it just associates the SIG* macros with text names
5477         and descriptions. For any signal macros do not exist on every
5478         platform, we can use #ifdef tests here and still use this single
5479         common file for all platforms.
5480         * sysdeps/generic/siglist.c: Rewrite using <siglist.h>.  This file
5481         should be usable for all platforms after the binary compatibility
5482         stuff in the current sysdeps/gnu version is no longer required.
5483         * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
5484         * sysdeps/generic/make_siglist.c: File removed.
5485         * sysdeps/mach/hurd/siglist.h: Use #include_next.
5486         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
5488 1999-06-16  Roland McGrath  <roland@baalperazim.frob.com>
5490         * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
5491         * sysdeps/gnu/siglist.c: ... here.
5492         Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
5493         Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
5494         * sysdeps/gnu/siglist.h: New file, contents from linux version.
5495         Add entry for SIGLOST protected by #ifdef.
5496         * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
5497         and define OLD_SIGLIST_SIZE_STR.
5498         * sysdeps/mach/hurd/siglist.h: New file, likewise.
5500 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
5502         * include/features.h: Define new macros __GNUC_PREREQ and
5503         __GLIBC_PREREQ which can be used to test the version of gcc
5504         and glibc respectively.
5506         * assert/assert.h: Use __GNUC_PREREQ.
5507         * intl/libintl.h: Likewise.
5508         * math/complex.h: Likewise.
5509         * math/tgmath.h: Likewise.
5510         * misc/sys/cdefs.h: Likewise.
5511         * posix/sys/types.h: Likewise.
5512         * socket/sys/socket.h: Likewise.
5513         * string/bits/string2.h: Likewise.
5514         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
5515         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
5517 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
5519         * include/libintl.h: Declare _libc_intl_domainname here.
5520         Define _ and N_ here.
5521         * include/libc-symbols.h: Don't include <libintl.h>.  Don't
5522         define _ and N_.  Don't declare _libc_intl_domainname.
5523         * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
5525         * db2/config.h: Don't include sys/stat.h or define
5526         HAVE_ST_BLKSIZE here...
5527         * db2/compat.h: ...do it here.
5529         * linuxthreads/internals.h: Include bits/libc-tsd.h after all
5530         other headers.
5531         * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
5532         * iconv/iconv.c: Include stddef.h for NULL.
5533         * malloc/malloc.h: Include features.h.
5534         * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
5536         * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
5537         into the generated file.
5538         * sysdeps/gnu/errlist.awk: Likewise.
5539         * sysdeps/gnu/errlist.c: Rebuilt.
5541         * assert/assert-perr.c: Include libintl.h.
5542         * assert/assert.c: Likewise.
5543         * elf/dl-open.c: Likewise.
5544         * elf/dlsym.c: Likewise.
5545         * elf/dlvsym.c: Likewise.
5546         * iconv/iconv_prog.c: Likewise.
5547         * inet/rcmd.c: Likewise.
5548         * inet/ruserpass.c: Likewise.
5549         * locale/programs/charset.c: Likewise.
5550         * locale/programs/ld-collate.c: Likewise.
5551         * locale/programs/ld-ctype.c: Likewise.
5552         * locale/programs/ld-messages.c: Likewise.
5553         * locale/programs/ld-monetary.c: Likewise.
5554         * locale/programs/ld-numeric.c: Likewise.
5555         * locale/programs/ld-time.c: Likewise.
5556         * locale/programs/locfile.c: Likewise.
5557         * locale/programs/repertoire.c: Likewise.
5558         * login/programs/database.c: Likewise.
5559         * login/programs/request.c: Likewise.
5560         * malloc/mcheck.c: Likewise.
5561         * misc/error.c: Likewise.
5562         * nis/nis_call.c: Likewise.
5563         * nis/nis_callback.c: Likewise.
5564         * nis/nis_error.c: Likewise.
5565         * nis/nis_local_names.c: Likewise.
5566         * nis/nis_print.c: Likewise.
5567         * nis/nis_print_group_entry.c: Likewise.
5568         * nis/ypclnt.c: Likewise.
5569         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
5570         * nscd/cache.c: Likewise.
5571         * nscd/connections.c: Likewise.
5572         * nscd/grpcache.c: Likewise.
5573         * nscd/hstcache.c: Likewise.
5574         * nscd/nscd_conf.c: Likewise.
5575         * nscd/nscd_stat.c: Likewise.
5576         * nscd/pwdcache.c: Likewise.
5577         * posix/id.c: Likewise.
5578         * resolv/herror.c: Likewise.
5579         * stdio-common/psignal.c: Likewise.
5580         * string/strsignal.c: Likewise.
5581         * sunrpc/auth_unix.c: Likewise.
5582         * sunrpc/clnt_perr.c: Likewise.
5583         * sunrpc/clnt_raw.c: Likewise.
5584         * sunrpc/clnt_tcp.c: Likewise.
5585         * sunrpc/clnt_udp.c: Likewise.
5586         * sunrpc/clnt_unix.c: Likewise.
5587         * sunrpc/get_myaddr.c: Likewise.
5588         * sunrpc/pm_getmaps.c: Likewise.
5589         * sunrpc/pmap_clnt.c: Likewise.
5590         * sunrpc/pmap_rmt.c: Likewise.
5591         * sunrpc/rpc_main.c: Likewise.
5592         * sunrpc/rpc_scan.c: Likewise.
5593         * sunrpc/svc_run.c: Likewise.
5594         * sunrpc/svc_simple.c: Likewise.
5595         * sunrpc/svc_tcp.c: Likewise.
5596         * sunrpc/svc_udp.c: Likewise.
5597         * sunrpc/svc_unix.c: Likewise.
5598         * sunrpc/xdr_rec.c: Likewise.
5599         * sunrpc/xdr_ref.c: Likewise.
5600         * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
5601         * sysdeps/posix/gai_strerror.c: Likewise.
5602         * sysdeps/unix/siglist.c: Likewise.
5603         * sysdeps/unix/sysv/linux/siglist.c: Likewise.
5604         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
5605         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
5606         * timezone/zic.c: Likewise.
5608 1999-06-18  H.J. Lu  <hjl@gnu.org>
5610         * localedata/Makefile (charmaps): Exclude SCCS.
5611         (locales): Likewise.
5612         (repertoiremaps): Likewise.
5614 1999-06-18  Ulrich Drepper  <drepper@cygnus.com>
5616         * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
5617         * sysdeps/generic/bsd-setjmp.c: Likewise.
5619         * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
5621         * iconv/gconv_open.c: Include string.h for memset prototype.
5623         * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
5624         definitions.
5626         * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
5627         assignment to avoid warning on 64bit platforms.
5629 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
5631         * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
5633         * nss/getXXbyYY_r.c: Return error code not -1.
5634         * nss/getXXent_r.c: Likewise.
5635         * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
5636         small.
5637         * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
5638         value > 0 for error.
5639         * nscd/nscd_gethst_r.c: Likewise.
5640         * nscd/nscd_getpw_r.c: Likewise.
5642 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5644         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
5645         disciplines.
5647 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5649         * nscd/nscd_nischeck.c: Fix typos.
5651 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
5653         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
5654         always when oact is NULL.
5655         Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
5657 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5659         * math/libm-test.c (jn_test): Adjust delta.
5661 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5663         * libio/vwprintf.c: Include <wchar.h> for prototypes.
5664         * libio/wprintf.c: Likewise.
5666 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5668         * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
5669         to not write beyond allocated memory.
5670         Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
5672 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
5674         * malloc/mtrace.c: Keep lock while printing output lines.
5675         Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
5677 1999-06-16  Ulrich Drepper  <drepper@cygnus.com>
5679         * configure.in: Add warnings about broken code.
5681         * Versions.def: Add GLIBC_2.2 for libc.
5683         * iconv/gconv.h: Make header suitable for inclusion in public header
5684         by protecting all names with __.
5685         * iconv/gconv.c: Adapt for symbol name changes.
5686         * iconv/gconv.h: Likewise.
5687         * iconv/gconv_builtin.c: Likewise.
5688         * iconv/gconv_close.c: Likewise.
5689         * iconv/gconv_db.c: Likewise.
5690         * iconv/gconv_dl.c: Likewise.
5691         * iconv/gconv_int.h: Likewise.
5692         * iconv/gconv_open.c: Likewise.
5693         * iconv/gconv_simple.c: Likewise.
5694         * iconv/iconv.c: Likewise.
5695         * iconv/iconv_close.c: Likewise.
5696         * iconv/iconv_open.c: Likewise.
5697         * iconv/loop.c: Likewise.
5698         * iconv/skeleton.c: Likewise.
5699         * iconvdata/8bit-gap.c: Likewise.
5700         * iconvdata/8bit-generic.c: Likewise.
5701         * iconvdata/ansi_x3.110.c: Likewise.
5702         * iconvdata/big5.c: Likewise.
5703         * iconvdata/cns11643.h: Likewise.
5704         * iconvdata/cns11643l1.h: Likewise.
5705         * iconvdata/euc-cn.c: Likewise.
5706         * iconvdata/euc-jp.c: Likewise.
5707         * iconvdata/euc-kr.c: Likewise.
5708         * iconvdata/euc-tw.c: Likewise.
5709         * iconvdata/gb2312.h: Likewise.
5710         * iconvdata/iso-2022-jp.c: Likewise.
5711         * iconvdata/iso-2022-kr.c: Likewise.
5712         * iconvdata/iso646.c: Likewise.
5713         * iconvdata/iso8859-1.c: Likewise.
5714         * iconvdata/iso_6937-2.c: Likewise.
5715         * iconvdata/iso_6937.c: Likewise.
5716         * iconvdata/jis0201.h: Likewise.
5717         * iconvdata/jis0208.h: Likewise.
5718         * iconvdata/jis0212.h: Likewise.
5719         * iconvdata/johab.c: Likewise.
5720         * iconvdata/ksc5601.h: Likewise.
5721         * iconvdata/sjis.c: Likewise.
5722         * iconvdata/t.61.c: Likewise.
5723         * iconvdata/uhc.c: Likewise.
5724         * stdlib/mblen.c: Likewise.
5725         * stdlib/mbtowc.c: Likewise.
5726         * stdlib/wctomb.c: Likewise.
5727         * wcsmbs/btowc.c: Likewise.
5728         * wcsmbs/mbrtowc.c: Likewise.
5729         * wcsmbs/mbsnrtowcs.c: Likewise.
5730         * wcsmbs/mbsrtowcs.c: Likewise.
5731         * wcsmbs/wchar.h: Likewise.
5732         * wcsmbs/wcrtomb.c: Likewise.
5733         * wcsmbs/wcsmbsload.c: Likewise.
5734         * wcsmbs/wcsmbsload.h: Likewise.
5735         * wcsmbs/wcsnrtombs.c: Likewise.
5736         * wcsmbs/wcsrtombs.c: Likewise.
5737         * wcsmbs/wctob.c: Likewise.
5739         * include/limits.h (MB_LEN_MAX): Increase to 16.
5741         * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct.  Define
5742         _G_iconv_t.
5743         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
5744         * include/wchar.h: Change mbstate_t to __mbstate_t.
5746         * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
5747         oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
5748         getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
5749         iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
5750         putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
5751         vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
5752         and iofwide.
5753         (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
5754         * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
5755         _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
5756         fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
5757         fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
5758         getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
5759         putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
5760         vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
5761         GLIBC_2.2 for libc.
5762         * libio/libio.h: Define codecvt struct.  Define _IO_wide_data.
5763         Extend _IO_file contain pointer to codecvt, widedata and mode.
5764         (_IO_getwc_unlocked): New macro.
5765         (_IO_putwc_unlocked): New macro.
5766         (_IO_fwide): New macro.
5767         * libio/libioP.h: Add new prototypes and adjust existing declarations.
5768         * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
5769         buffers based on mode.
5770         (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
5771         oriented.
5772         (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
5773         flag to be enough to signal unallocated buffer.  For wide oriented
5774         stream don't make it linebuffered.  Don't use _IO_do_flush, use
5775         _IO_new_do_write directly.
5776         (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
5777         (_IO_file_seek): Likewise.
5778         * libio/genops.c (_IO_least_marker): Make global.
5779         (__underflow): Orient stream if not already done.
5780         (__uflow): Likewise.
5781         (_IO_default_seekpos): Change to type _IO_off64_t.
5782         (_IO_default_seekoff): Likewise.
5783         (_IO_default_seek): Likewise.
5784         (_IO_no_init): New function.  Similar to _IO_init but allows to orient
5785         in initialization.
5786         * libio/iolibio.h: Add prototype for _IO_vswprintf.  Change _IO_pos_BAD
5787         to use _IO_off64_t.
5788         * libio/ftello.c: Use _IO_off_t.  For now abort when use with wide
5789         char stream.
5790         * libio/ftello64.c: Likewise.
5791         * libio/ioftell.c: Likewise.
5792         * libio/iofopncook.c: Likewise.
5793         * libio/ioseekoff.c: Likewise.
5794         * libio/ioseekpos.c: Likewise.
5795         * libio/oldfileops.c: Likewise.
5796         * libio/iofgetpos.c: Store state of conversion if necessary.
5797         * libio/iofgetpos64.c: Likewise.
5798         * libio/iofsetpos.c: Restore conversion state if necessary.
5799         * libio/iofsetpos64.c: Likewise.
5800         * libio/iofdopen.c: Initialize so that stream can be wide oriented.
5801         * libio/iofopen.c: Likewise.
5802         * libio/iofopen64.c: Likewise.
5803         * libio/iopopen.c: Likewise.
5804         * libio/iovdprintf.c: Likewise.
5805         * libio/iovsprintf.c: Likewise.
5806         * libio/iovsscanf.c: Likewise.
5807         * libio/memstream.c: Likewise.
5808         * libio/obprintf.c: Likewise.
5809         * libio/iofputs.c: Orient stream if not already happened.
5810         * libio/iofputs_u.c: Likewise.
5811         * libio/iofwrite.c: Likewise.
5812         * libio/iofwrite_u.c: Likewise.
5813         * libio/ioputs.c: Likewise.
5814         * libio/iosetbuffer.c: Handle not yet oriented stream.
5815         * libio/iosetvbuf.c: Likewise.
5816         * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
5817         * libio/stdfiles.c: Likewise.
5818         * libio/strops.c (_IO_str_overflow): Correctly free buffer after
5819         failed allocation.
5820         (_IO_str_seekoff): Use _IO_off64_t.
5821         * libio/vasprintf.c: Pre-orient stream.
5822         * libio/vsnprintf.c: Likewise.
5823         * libio/fputwc.c: New file.
5824         * libio/fputwc_u.c: New file.
5825         * libio/fwprintf.c: New file.
5826         * libio/fwscanf.c: New file.
5827         * libio/getwc.c: New file.
5828         * libio/getwc_u.c: New file.
5829         * libio/getwchar.c: New file.
5830         * libio/getwchar_u.c: New file.
5831         * libio/iofgetws.c: New file.
5832         * libio/iofgetws_u.c: New file.
5833         * libio/iofputws.c: New file.
5834         * libio/iofputws_u.c: New file.
5835         * libio/iofwide.c: New file.
5836         * libio/iogetwline.c: New file.
5837         * libio/ioungetwc.c: New file.
5838         * libio/iovswscanf.c: New file.
5839         * libio/iowpadn.c: New file.
5840         * libio/oldiofgetpos.c: New file.
5841         * libio/oldiofgetpos64.c: New file.
5842         * libio/oldiofsetpos.c: New file.
5843         * libio/oldiofsetpos64.c: New file.
5844         * libio/putwc.c: New file.
5845         * libio/putwc_u.c: New file.
5846         * libio/putwchar.c: New file.
5847         * libio/putwchar_u.c: New file.
5848         * libio/swprintf.c: New file.
5849         * libio/swscanf.c: New file.
5850         * libio/tst_swprintf.c: New file.
5851         * libio/tst_swscanf.c: New file.
5852         * libio/tst_wprintf.c: New file.
5853         * libio/tst_wscanf.c: New file.
5854         * libio/tst_wscanf.input: New file.
5855         * libio/vswprintf.c: New file.
5856         * libio/vwprintf.c: New file.
5857         * libio/vwscanf.c: New file.
5858         * libio/wfiledoalloc.c: New file.
5859         * libio/wfileops.c: New file.
5860         * libio/wgenops.c: New file.
5861         * libio/wprintf.c: New file.
5862         * libio/wscanf.c: New file.
5863         * libio/wstrops.c: New file.
5864         * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
5865         vfwprintf, and vfwscanf.
5866         * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
5867         make global.
5868         * stdio-common/_itowa.c: New file.
5869         * stdio-common/_itowa.h: New file.
5870         * stdio-common/itoa-digits.c: Minimal optimization.
5871         * stdio-common/itowa-digits.c: New file.
5872         * stdio-common/printf-parse.h: Allow use in wide character context.
5873         * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
5874         * stdio-common/printf.h (printf_info): Add wide bit.
5875         * stdio-common/printf_fp.c: Determine from wide bit whether stream
5876         is wide oriented or not.
5877         * stdio-common/printf_size.c: Likewise.
5878         * sysdeps/generic/printf_fphex.c: Likewise.
5879         * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
5880         * stdio-common/vfprintf.c: Rewrite to allow use in wide character
5881         context.
5882         * stdio-common/vfscand.c: Likewise.
5883         * stdio-common/vfwprintf.c: New file.
5884         * stdio-common/vfwscanf.c: New file.
5886         * time/Makefile (routines): Add wcsftime.
5887         (tests): Add tst_wcsftime.
5888         * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
5889         * time/strftime.c: Make usable as wcsftime.
5890         * time/wcsftime.c: New file.
5891         * time/tst_wcsftime.c: New file.
5893         * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
5894         * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
5895         * wcsmbs/wcschrnul.c: New file.
5896         * wcsmbs/wmemcpy.c: New file.
5897         * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
5898         * wcsmbs/wmemmove.c: Likewise for wmemmove.
5900         * manual/stdio.texi: Document is_char and wide element if printf_info.
5902         * manual/time.texi: Document wcsftime.
5904         * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
5905         __wmemmove, __wcschrnul, and __vfwscanf.
5907         * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
5908         * locale/C-time.c: Adapt for above change.
5909         * locale/categories.def: Likewise.
5910         * locale/localeinfo.h: Likewise.
5911         * localedata/Makefile: Don't run tests for now.
5913         * manual/errno.texi: Fix typos.
5914         * manual/memory.texi: Likewise.
5915         * manual/ctype.texi: Likewise.
5916         Patches by Brian Youmans <3diff@gnu.org>.
5918 1999-06-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5920         * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
5922 1999-06-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5924         * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
5925         word order.
5926         * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
5927         * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
5929 1999-06-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5931         * db2/db/db.c: Restore __nss_db_open alias.
5932         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
5933         include.
5934         * db2/os/os_rw.c (__os_write): Maintain const correctness.
5935         * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
5937 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
5939         * stdio-common/printf-parse.h (parse_one_spec): Don't set
5940         is_longlong if not necessary.
5942 1999-06-15  H.J. Lu  <hjl@gnu.org>
5944         * Make-dist (sysdep_dirs): Exclude SCCS.
5945         * MakeTAGS (sysdep_dirs): Likewise.
5947 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
5949         * posix/regex.c (re_error_msgid): Remove extra commas.
5951 1999-06-14  Geoff Keating  <geoffk@ozemail.com.au>
5953         * stdlib/tst-strtoll.c: New file.
5954         * stdlib/Makefile (tests): Add tst-strtoll.c
5955         * stdlib/strtol.c: It is not generally true that if
5956         (unsigned)a*(unsigned)b overflows, then the result is
5957         less than 'a'.
5959 1999-06-14  Thorsten Kukuk  <kukuk@suse.de>
5961         * nscd/connections.c (handle_request): Only root is allowed to
5962         send GETSTAT request in non secure mode.
5963         * nscd/nscd.c: Print error message if other then root try to
5964         use getstat.
5966 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5968         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
5970 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5972         * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
5973         Closes PR libc/1164, reported by sascha@schumann.2ns.de.
5975 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5977         * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
5978         for character to search, to help the compiler.
5979         * sysdeps/generic/strchrnul.c: Likewise.
5980         * sysdeps/generic/memchr.c: Likewise.
5981         * sysdeps/generic/memccpy.c: Likewise.
5982         * sysdeps/generic/rawmemchr.c: Likewise.  Fix comment.
5984 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5986         * sysdeps/m68k/memchr.S: New file.
5987         * sysdeps/m68k/rawmemchr.S: New file.
5988         * sysdeps/m68k/strchr.S: New file.
5989         * sysdeps/m68k/strchrnul.S: New file.
5991 1999-06-13  Geoff Keating  <geoffk@ozemail.com.au>
5993         * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
5994         add `memory' clobber; optimise for constant `val'.
5995         (atomic_add): Likewise.
5996         (test_and_set): Remove `volatile'; add `memory' clobber; be more
5997         like the original `test_and_set'.
5998         (compare_and_swap): Remove `volatile'; add `memory' clobber;
5999         optimise for constant `oldval'.
6000         (always_swap): Remove `volatile'; add `memory' clobber.
6002 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6004         * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
6005         functions for gcc <= 2.7.x.
6007 1999-06-13  Roland McGrath  <roland@baalperazim.frob.com>
6009         * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
6010         change.
6012 1999-06-13  Ulrich Drepper  <drepper@cygnus.com>
6014         * db2/Makefile (distribute): Remove files which do not exist
6015         anymore.
6017         * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
6018         definitions to calm down gcc.
6020         * db2/db.h: Update from db 2.7.5.
6021         * db2/db_185.h: Likewise.
6022         * db2/db_int.h: Likewise.
6023         * db2/btree/bt_compare.c: Likewise.
6024         * db2/btree/bt_conv.c: Likewise.
6025         * db2/btree/bt_curadj.c: Likewise.
6026         * db2/btree/bt_cursor.c: Likewise.
6027         * db2/btree/bt_delete.c: Likewise.
6028         * db2/btree/bt_open.c: Likewise.
6029         * db2/btree/bt_page.c: Likewise.
6030         * db2/btree/bt_put.c: Likewise.
6031         * db2/btree/bt_rec.c: Likewise.
6032         * db2/btree/bt_recno.c: Likewise.
6033         * db2/btree/bt_rsearch.c: Likewise.
6034         * db2/btree/bt_search.c: Likewise.
6035         * db2/btree/bt_split.c: Likewise.
6036         * db2/btree/bt_stat.c: Likewise.
6037         * db2/btree/btree_auto.c: Likewise.
6038         * db2/common/db_appinit.c: Likewise.
6039         * db2/common/db_apprec.c: Likewise.
6040         * db2/common/db_err.c: Likewise.
6041         * db2/common/db_region.c: Likewise.
6042         * db2/common/db_salloc.c: Likewise.
6043         * db2/db/db.c: Likewise.
6044         * db2/db/db.src: Likewise.
6045         * db2/db/db_am.c: Likewise.
6046         * db2/db/db_auto.c: Likewise.
6047         * db2/db/db_dispatch.c: Likewise.
6048         * db2/db/db_dup.c: Likewise.
6049         * db2/db/db_iface.c: Likewise.
6050         * db2/db/db_join.c: Likewise.
6051         * db2/db/db_overflow.c: Likewise.
6052         * db2/db/db_pr.c: Likewise.
6053         * db2/db/db_rec.c: Likewise.
6054         * db2/db/db_ret.c: Likewise.
6055         * db2/db185/db185.c: Likewise.
6056         * db2/dbm/dbm.c: Likewise.
6057         * db2/hash/hash.c: Likewise.
6058         * db2/hash/hash_auto.c: Likewise.
6059         * db2/hash/hash_dup.c: Likewise.
6060         * db2/hash/hash_page.c: Likewise.
6061         * db2/hash/hash_rec.c: Likewise.
6062         * db2/hash/hash_stat.c: Likewise.
6063         * db2/include/btree.h: Likewise.
6064         * db2/include/btree_ext.h: Likewise.
6065         * db2/include/clib_ext.h: Likewise.
6066         * db2/include/common_ext.h: Likewise.
6067         * db2/include/db_am.h: Likewise.
6068         * db2/include/db_auto.h: Likewise.
6069         * db2/include/db_cxx.h: Likewise.
6070         * db2/include/db_ext.h: Likewise.
6071         * db2/include/db_join.h: Likewise.
6072         * db2/include/db_page.h: Likewise.
6073         * db2/include/hash.h: Likewise.
6074         * db2/include/hash_ext.h: Likewise.
6075         * db2/include/lock.h: Likewise.
6076         * db2/include/lock_ext.h: Likewise.
6077         * db2/include/log.h: Likewise.
6078         * db2/include/log_ext.h: Likewise.
6079         * db2/include/mp.h: Likewise.
6080         * db2/include/mp_ext.h: Likewise.
6081         * db2/include/os.h: Likewise.
6082         * db2/include/os_ext.h: Likewise.
6083         * db2/include/os_func.h: Likewise.
6084         * db2/include/txn.h: Likewise.
6085         * db2/include/txn_auto.h: Likewise.
6086         * db2/include/txn_ext.h: Likewise.
6087         * db2/include/xa.h: Likewise.
6088         * db2/include/xa_ext.h: Likewise.
6089         * db2/lock/lock.c: Likewise.
6090         * db2/lock/lock_conflict.c: Likewise.
6091         * db2/lock/lock_deadlock.c: Likewise.
6092         * db2/lock/lock_region.c: Likewise.
6093         * db2/lock/lock_util.c: Likewise.
6094         * db2/log/log.c: Likewise.
6095         * db2/log/log_archive.c: Likewise.
6096         * db2/log/log_auto.c: Likewise.
6097         * db2/log/log_findckp.c: Likewise.
6098         * db2/log/log_get.c: Likewise.
6099         * db2/log/log_put.c: Likewise.
6100         * db2/log/log_rec.c: Likewise.
6101         * db2/log/log_register.c: Likewise.
6102         * db2/mp/mp_bh.c: Likewise.
6103         * db2/mp/mp_fget.c: Likewise.
6104         * db2/mp/mp_fopen.c: Likewise.
6105         * db2/mp/mp_fput.c: Likewise.
6106         * db2/mp/mp_fset.c: Likewise.
6107         * db2/mp/mp_open.c: Likewise.
6108         * db2/mp/mp_pr.c: Likewise.
6109         * db2/mp/mp_region.c: Likewise.
6110         * db2/mp/mp_sync.c: Likewise.
6111         * db2/mutex/mutex.c: Likewise.
6112         * db2/mutex/uts4_cc.s: Likewise.
6113         * db2/os/os_abs.c: Likewise.
6114         * db2/os/os_alloc.c: Likewise.
6115         * db2/os/os_config.c: Likewise.
6116         * db2/os/os_dir.c: Likewise.
6117         * db2/os/os_fid.c: Likewise.
6118         * db2/os/os_fsync.c: Likewise.
6119         * db2/os/os_map.c: Likewise.
6120         * db2/os/os_oflags.c: Likewise.
6121         * db2/os/os_open.c: Likewise.
6122         * db2/os/os_rw.c: Likewise.
6123         * db2/os/os_seek.c: Likewise.
6124         * db2/os/os_sleep.c: Likewise.
6125         * db2/os/os_spin.c: Likewise.
6126         * db2/os/os_stat.c: Likewise.
6127         * db2/os/os_tmpdir.c: Likewise.
6128         * db2/os/os_unlink.c: Likewise.
6129         * db2/progs/db_archive/db_archive.c: Likewise.
6130         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
6131         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
6132         * db2/progs/db_dump/db_dump.c: Likewise.
6133         * db2/progs/db_load/db_load.c: Likewise.
6134         * db2/progs/db_printlog/README: Likewise.
6135         * db2/progs/db_printlog/commit.awk: Likewise.
6136         * db2/progs/db_printlog/count.awk: Likewise.
6137         * db2/progs/db_printlog/db_printlog.c: Likewise.
6138         * db2/progs/db_printlog/pgno.awk: Likewise.
6139         * db2/progs/db_printlog/range.awk: Likewise.
6140         * db2/progs/db_printlog/status.awk: Likewise.
6141         * db2/progs/db_printlog/txn.awk: Likewise.
6142         * db2/progs/db_recover/db_recover.c: Likewise.
6143         * db2/progs/db_stat/db_stat.c: Likewise.
6144         * db2/txn/txn.c: Likewise.
6145         * db2/txn/txn.src: Likewise.
6146         * db2/txn/txn_auto.c: Likewise.
6147         * db2/txn/txn_rec.c: Likewise.
6148         * db2/xa/xa.c: Likewise.
6149         * db2/xa/xa_db.c: Likewise.
6150         * db2/xa/xa_map.c: Likewise.
6152         * db2/btree/bt_close.c: Removed.
6153         * db2/db/db_thread.c: Likewise.
6154         * db2/hash/hash_debug.c: Likewise.
6155         * db2/include/db.h.src: Likewise.
6156         * db2/include/db_int.h.src: Likewise.
6157         * db2/include/os_jump.h: Likewise.
6158         * db2/mutex/alpha.dec: Likewise.
6159         * db2/mutex/alpha.gcc: Likewise.
6160         * db2/mutex/parisc.hp: Likewise.
6161         * db2/mutex/uts4.cc.s: Likewise.
6163         * db2/Makefile: Add new routines, remove old for 2.7.5.
6164         * db2/Versions: Add internal function names for the helper programs.
6165         * db2/makedb.c: Update for new cursor callback.
6166         * Versions.def: Define versions for libdb.
6168 1999-06-13  Thorsten Kukuk  <kukuk@suse.de>
6170         * nscd/connections.c (nscd_run): Get user ID for all non-db services.
6171         * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
6172         * nscd/nscd_nischeck.c: New file.
6173         * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
6175 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6177         * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
6178         MSG_* flags from Linux 2.2.9.
6180 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
6182         * Makeconfig (static-start-installed-name): Set to
6183         $(start-installed-name) if not defined.
6184         (+link-static): Use $(static-start-installed-name) instead of
6185         $(start-installed-name).
6186         * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
6187         Set to crt0.o.
6189 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
6191         * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
6192         inserting a send right into the child instead of unconditionally
6193         copying the send right.
6195 1999-06-12  Ulrich Drepper  <drepper@cygnus.com>
6197         * locale/lc-time.c: Add free_mem function to free if necessary
6198         statically allocated memory.
6200 1999-06-10  Jakub Jelinek  <jj@ultra.linux.cz>
6202         * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
6203         bias from the raw exponent.
6205 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
6207         * inet/arpa/tftp.h: Move attribute declaration in right position.
6209 1999-06-11  Thorsten Kukuk  <kukuk@suse.de>
6211         * nscd/nscd.c: Add -S options for separate caching of data for
6212         every user. So one user couldn't see the data another user
6213         has gotten with his credentials.
6214         * nscd/nscd.h: Add new prototypes.
6215         * nscd/cache.c: Compare owner of cache entry if in secure mode.
6216         * nscd/connections.c: Check on shutdown if caller really was root.
6217         In secure mode get uid of caller.
6218         * nscd/grpcache.c: Add support for new secure group mode.
6219         * nscd/hstcache.c: Add support for new secure hosts mode.
6220         * nscd/pwdcache.c: Add support for new secure passwd mode.
6222 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
6224         * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
6225         of user-provided buffer.
6227 1999-06-11  Mark Kettenis  <kettenis@gnu.org>
6229         * hurd/hurdsock.c (max_domain): Initialize to `-1'.
6230         (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
6232 1999-06-10  Ulrich Drepper  <drepper@cygnus.com>
6234         * stdio-common/printf-parse.h (parse_one_spec): Add support for a
6235         and A format.
6237         * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
6238         returning after last entry.
6239         * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
6241 1999-06-09  Ulrich Drepper  <drepper@cygnus.com>
6243         * misc/sysexits.h: Remove advertising clause of copyright.
6244         * resolv/getnetnamadr.c: Likewise.
6245         * sysdeps/vax/bcopy.s: Likewise.
6246         * sysdeps/vax/bzero.s: Likewise.
6247         * sysdeps/vax/ffs.s: Likewise.
6248         * sysdeps/vax/memchr.s: Likewise.
6249         * sysdeps/vax/memcmp.s: Likewise.
6250         * sysdeps/vax/memmove.s: Likewise.
6251         * sysdeps/vax/memset.s: Likewise.
6252         * sysdeps/vax/strcat.s: Likewise.
6253         * sysdeps/vax/strchr.s: Likewise.
6254         * sysdeps/vax/strcmp.s: Likewise.
6255         * sysdeps/vax/strcpy.s: Likewise.
6256         * sysdeps/vax/strcspn.s: Likewise.
6257         * sysdeps/vax/strlen.s: Likewise.
6258         * sysdeps/vax/strncat.s: Likewise.
6259         * sysdeps/vax/strncmp.s: Likewise.
6260         * sysdeps/vax/strncpy.s: Likewise.
6261         * sysdeps/vax/strpbrk.s: Likewise.
6262         * sysdeps/vax/strrchr.s: Likewise.
6263         * sysdeps/vax/strsep.s: Likewise.
6264         * sysdeps/vax/strspn.s: Likewise.
6265         * sysdeps/vax/strstr.s: Likewise.
6267         * libio/iofopncook.c: Adjust for renaming of structure elements.
6268         * libio/libio.h: Define cookie functions with all the names.
6270         * pwd/fgetpwent_r.c: Set errno in the correct way.
6271         * shadow/fgetspent_r.c: Likewise.
6272         * pwd/fgetpwent.c: Handle long lines correctly.  Little
6273         optimizations.  Free static buffer when debugging memory handling.
6274         * shadow/fgetspent.c: Likewise.
6276         * grp/fgetgrent.c: Little optimization in loop.
6278 1999-06-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6280         * grp/tst_fgetgrent.c (write_group): Fix generation of long line
6281         in a different way.
6283 1999-06-09  Jakub Jelinek   <jj@ultra.linux.cz>
6285         * stdlib/longlong.h: gas changed sethi handling when without
6286         %hi(). Fix assembly.
6287         * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
6288         port specific cache id checks.
6289         * sysdeps/generic/dl-cache.h: New file.
6290         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
6292 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
6294         * gmon/gmon.c: Remove advertising clause of copyright.
6295         * gmon/mcount.c: Likewise.
6296         * gmon/sys/gmon.h: Likewise.
6297         * inet/arpa/ftp.h: Likewise.
6298         * inet/arpa/telnet.h: Likewise.
6299         * inet/arpa/tftp.h: Likewise.
6300         * inet/inet_lnaof.c: Likewise.
6301         * inet/inet_mkadr.c: Likewise.
6302         * inet/inet_net.c: Likewise.
6303         * inet/inet_netof.c: Likewise.
6304         * inet/protocols/routed.h: Likewise.
6305         * inet/protocols/rwhod.h: Likewise.
6306         * inet/protocols/talkd.h: Likewise.
6307         * inet/protocols/timed.h: Likewise.
6308         * inet/rcmd.c: Likewise.
6309         * inet/rexec.c: Likewise.
6310         * inet/ruserpass.c: Likewise.
6311         * io/fts.c: Likewise.
6312         * io/fts.h: Likewise.
6313         * login/login_tty.c: Likewise.
6314         * misc/fstab.h: Likewise.
6315         * misc/getttyent.c: Likewise.
6316         * misc/getusershell.c: Likewise.
6317         * misc/sys/queue.h: Likewise.
6318         * misc/sys/syslog.h: Likewise.
6319         * misc/syslog.c: Likewise.
6320         * misc/ttyent.h: Likewise.
6321         * misc/ttyslot.c: Likewise.
6322         * resolv/arpa/nameser.h: Likewise.
6323         * resolv/gethnamaddr.c: Likewise.
6324         * resolv/herror.c: Likewise.
6325         * resolv/inet_addr.c: Likewise.
6326         * resolv/mapv4v6addr.h: Likewise.
6327         * resolv/mapv4v6hostent.h: Likewise.
6328         * resolv/nss_dns/dns-host.c: Likewise.
6329         * resolv/nss_dns/dns-network.c: Likewise.
6330         * resolv/res_comp.c: Likewise.
6331         * resolv/res_data.c: Likewise.
6332         * resolv/res_debug.c: Likewise.
6333         * resolv/res_init.c: Likewise.
6334         * resolv/res_mkquery.c: Likewise.
6335         * resolv/res_query.c: Likewise.
6336         * resolv/res_send.c: Likewise.
6337         * resolv/resolv.h: Likewise.
6338         * sysdeps/generic/div.c: Likewise.
6339         * sysdeps/generic/netinet/ip.h: Likewise.
6340         * sysdeps/generic/netinet/tcp.h: Likewise.
6341         * sysdeps/generic/paths.h: Likewise.
6342         * sysdeps/generic/prof-freq.c: Likewise.
6343         * sysdeps/generic/sys/ttydefaults.h: Likewise.
6344         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6345         * sysdeps/gnu/netinet/tcp.h: Likewise.
6346         * sysdeps/ieee754/support.c: Likewise.
6347         * sysdeps/mach/hurd/sys/param.h: Likewise.
6348         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
6349         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6350         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
6351         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6352         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
6353         * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
6354         * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
6355         * sysdeps/unix/sysv/linux/paths.h: Likewise.
6356         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
6357         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
6358         * sysdeps/vax/DEFS.h: Likewise.
6359         * termios/sys/ttychars.h: Likewise.
6360         * misc/daemon.c: Likewise.  Call fork.
6362         * grp/fgetgrent.c (buffer): Make file local variable.
6363         (free_mem): New function.  Call for malloc debugging.
6365         * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
6367 1999-06-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6369         * grp/Makefile: Add rules for tst_fgetgrent.
6371         * grp/tst_fgetgrent.c: Rewritten to read only one file.
6373         * grp/tst_fgetgrent.sh: New file.
6375 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
6377         * grp/Makefile (tests): Add tst_fgetgrent.
6378         * grp/tst_fgetgrent.c: New file.
6379         Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
6381 1999-06-07  Roland McGrath  <roland@baalperazim.frob.com>
6383         * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
6384         be POSIX compliant.  Prior definition was broken for Hurd.
6385         Reported by Mark Kettenis <kettenis@gnu.org>.
6387 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
6389         * ctype/ctype.h: Protect __tobody code by __extension__.
6391 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
6393         * grp/fgetgrent.c (fgetgrent): Remember position of stream before
6394         reading and reset in case the buffer was too small.
6396         * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
6397         of EOF.
6399 1999-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6401         * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
6402         another SIOGIFNAME typo.
6404 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
6406         * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
6408         * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
6409         bit.
6411 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6413         * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
6414         the precision if the mantissa is zero.
6416 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6418         * manual/lang.texi (Floating Point Parameters): GCC already
6419         supports long double for a long time.
6421 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6423         * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
6424         yn_test): Increase some epsilons.
6426 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
6428         * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
6429         parameters.
6431 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
6433         * sysdeps/unix/sysv/linux/kernel-features.h: Define
6434         __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
6435         * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
6436         SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
6438         * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
6439         * sysdeps/libm-ieee754/w_j0f.c: Likewise.
6440         * sysdeps/libm-ieee754/w_j0l.c: Likewise.
6441         * sysdeps/libm-ieee754/w_j1.c: Likewise.
6442         * sysdeps/libm-ieee754/w_j1f.c: Likewise.
6443         * sysdeps/libm-ieee754/w_j1l.c: Likewise.
6444         * sysdeps/libm-ieee754/w_jn.c: Likewise.
6445         * sysdeps/libm-ieee754/w_jnf.c: Likewise.
6446         * sysdeps/libm-ieee754/w_jnl.c: Likewise.
6448         * stdio-common/vfprintf.c: Correct typos.
6450         * math/libm-test.c (jn_test): Adjust delta.
6451         (y1_test): Likewise.
6452         (yn_test): Likewise.
6454         * elf/do-lookup.h: It should never happen that if we expect a versioned
6455         symbol from a file the file has no version table.  This should have
6456         been checked in dl-version.c.
6457         * elf/dl-lookup.c: Include assert.h.
6459         * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
6460         function handling.
6462         * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
6464 1999-06-06  Andi Kleen  <ak@muc.de>
6466         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
6467         SA_RESTORER flag.
6469 1999-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6471         * math/libm-test.c (yn_test): Change one delta.
6472         (jn_test): Likewise.
6473         (j1_test): Likewise.
6474         (y0_test): Likewise.
6476 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
6478         * malloc/malloc.c: Introduce local variable __libc_getpagesize to
6479         avoid multiple calls to getpagesize() which might be a syscall.
6481 1999-06-06  Philip Blundell  <philb@gnu.org>
6483         * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
6485 1999-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6487         * manual/install.texi (Running make install): Correct typo in
6488         dynamic linker invocation.
6490 1999-06-05  Philip Blundell  <philb@gnu.org>
6492         * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
6493         problems with GOT addressing.
6495 1999-06-05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
6497         * malloc/malloc.c (check_action): Change into bitmap so that both
6498         diagnostic and abort can be requested by setting it to 3.
6499         (mALLOC_SET_STATe): Disable malloc checking if necessary.
6501 1999-06-03  Ulrich Drepper  <drepper@cygnus.com>
6503         * configure.in: Few changes for HPUX.
6505         * scripts/config.guess: Update from latest version.
6506         * scripts/config.sub: Likewise.
6508 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6510         * Makerules: Set LC_ALL explicitly to archieve correct sorting of
6511         map files.  Closes PR libc/1147.
6513 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6515         * math/libm-test.c (main): Add new test functions.
6516         (jn_test): New tests.
6517         (j1_test): Add some more tests.
6518         (j0_test): Add some more tests.
6519         (y0_test): Add some more tests.
6520         (y1_test): Add some more tests.
6522 1999-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6524         * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
6525         Patch by mhagger@dera.gov.uk [PR libc/1145].
6527         * math/libm-test.c (y1_test): New tests.
6528         (y0_test): Likewise.
6529         (j1_test): Likewise.
6530         (j0_test): Likewise.
6531         (main): Added new tests.
6533 1999-06-02  Jakub Jelinek  <jj@ultra.linux.cz>
6535         * stdlib/longlong.h: Define UDIV_TIME on sparc64.
6536         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
6537         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
6538         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
6539         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
6540         * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
6542 1999-06-02  David S. Miller  <davem@redhat.com>
6544         * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
6545         pointers properly.
6547 1999-06-02  Ulrich Drepper  <drepper@cygnus.com>
6549         * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
6550         and elide compatibility code if possible.
6552 1999-06-01  Ulrich Drepper  <drepper@cygnus.com>
6554         * manual/llio.texi: Remove menu entry for removed section.
6556 1999-05-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6558         * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
6559         variables.
6561 1999-06-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6563         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
6564         (from Linux 2.3.4).
6566 1999-05-30  Ulrich Drepper  <drepper@cygnus.com>
6568         * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
6570 1999-05-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6572         * manual/stdio.texi: Fix some typos.
6574 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6576         * malloc/malloc.h: Properly handle future GCC versions.
6578 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6580         * sysdeps/unix/sysv/linux/configure.in: Change version checks to
6581         use AC_EGREP_CPP.  Change sed pattern to not use alternation.  Fix
6582         text of error message.
6584         * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
6586 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
6588         * manual/filesys.texi: Extend (f)truncate documentation.
6589         * manual/llio.texi: Remove duplicate (f)truncate definition.
6591 1999-05-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6593         * manual/stdio.texi (Formatted Output Functions): Mention
6594         semantics of snprintf in glibc 2.0.
6595         Reported by Ben Pfaff <pfaffben@msu.edu>.
6597 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
6599         * include/features.h (__GLIBC_MINOR__): Bump to 2.
6601 1999-05-27  Ulrich Drepper  <drepper@cygnus.com>
6603         * math/libm-test.c: Adjust a few more deltas for the poor ARM
6604         FPU emulator.
6606 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6608         * configure.in: Fix typo.
6610 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6612         * manual/socket.texi (Host Names): Remove statement that h_errno
6613         needs to be declared since this isn't true anymore.
6614         Closes PR libc/1138.
6616 1999-05-26  Ulrich Drepper  <drepper@cygnus.com>
6618         * config.h.in: Add __LINUX_KERNEL_VERSION.
6619         * configure.in: Recognize --enable-kernel.
6620         * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
6621         headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
6622         appropriately.
6623         * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
6624         given perform runtime test.
6626         * sysdeps/unix/sysv/linux/kernel-features.h: New file.
6627         * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
6628         minimal supported kernel is known to have the feature.
6629         * sysdeps/unix/sysv/linux/poll.c: Likewise.
6630         * sysdeps/unix/sysv/linux/pread.c: Likewise.
6631         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6632         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6633         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6634         * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
6635         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6636         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6637         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6638         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6639         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6640         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
6641         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
6642         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
6643         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
6645         * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
6647 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
6649         * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
6651 1999-05-26  Jakub Jelinek   <jj@ultra.linux.cz>
6653         * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
6654         Optimized sparc64 routines.
6656 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
6658         * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
6659         they are the same as ints.
6660         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
6662         * version.h (VERSION): Bump to 2.1.90.
6663         (RELEASE): Mark as development.
6665         * stdio-common/vfprintf.c (vfprintf): Don't implement special
6666         handling for long long if it is the same as long.
6667         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
6669         * stdlib/strtol.c: Moved to ...
6670         * sysdeps/generic/strtol.c: ...here.
6671         * stdlib/strtoul.c: Moved to ...
6672         * sysdeps/generic/strtoul.c: ...here.
6673         * stdlib/strtoll.c: Moved to ...
6674         * sysdeps/generic/strtoll.c: ...here.
6675         * stdlib/strtoull.c: Moved to ...
6676         * sysdeps/generic/strtoull.c: ...here.
6677         * stdlib/strtol_l.c: Moved to ...
6678         * sysdeps/generic/strtol_l.c: ...here.
6679         * stdlib/strtoul_l.c: Moved to ...
6680         * sysdeps/generic/strtoul_l.c: ...here.
6681         * stdlib/strtoll_l.c: Moved to ...
6682         * sysdeps/generic/strtoll_l.c: ...here.
6683         * stdlib/strtoull_l.c: Moved to ...
6684         * sysdeps/generic/strtoull_l.c: ...here.
6686         * sysdeps/wordsize-64/strtol.c: New file.
6687         * sysdeps/wordsize-64/strtoul.c: New file.
6688         * sysdeps/wordsize-64/strtoll.c: New file.
6689         * sysdeps/wordsize-64/strtoull.c: New file.
6690         * sysdeps/wordsize-64/strtol_l.c: New file.
6691         * sysdeps/wordsize-64/strtoul_l.c: New file.
6692         * sysdeps/wordsize-64/strtoll_l.c: New file.
6693         * sysdeps/wordsize-64/strtoull_l.c: New file.
6695         * wcsmbs/wcstol.c: Moved to ...
6696         * sysdeps/generic/wcstol.c: ...here.
6697         * wcsmbs/wcstoul.c: Moved to ...
6698         * sysdeps/generic/wcstoul.c: ...here.
6699         * wcsmbs/wcstoll.c: Moved to ...
6700         * sysdeps/generic/wcstoll.c: ...here.
6701         * wcsmbs/wcstoull.c: Moved to ...
6702         * sysdeps/generic/wcstoull.c: ...here.
6703         * wcsmbs/wcstol_l.c: Moved to ...
6704         * sysdeps/generic/wcstol_l.c: ...here.
6705         * wcsmbs/wcstoul_l.c: Moved to ...
6706         * sysdeps/generic/wcstoul_l.c: ...here.
6707         * wcsmbs/wcstoll_l.c: Moved to ...
6708         * sysdeps/generic/wcstoll_l.c: ...here.
6709         * wcsmbs/wcstoull_l.c: Moved to ...
6710         * sysdeps/generic/wcstoull_l.c: ...here.
6712         * sysdeps/wordsize-64/wcstol.c: New file.
6713         * sysdeps/wordsize-64/wcstoul.c: New file.
6714         * sysdeps/wordsize-64/wcstoll.c: New file.
6715         * sysdeps/wordsize-64/wcstoull.c: New file.
6716         * sysdeps/wordsize-64/wcstol_l.c: New file.
6717         * sysdeps/wordsize-64/wcstoul_l.c: New file.
6718         * sysdeps/wordsize-64/wcstoll_l.c: New file.
6719         * sysdeps/wordsize-64/wcstoull_l.c: New file.
6721 1999-05-24  Jakub Jelinek  <jj@ultra.linux.cz>
6723         * sysdeps/sparc/bits/wordsize.h: New file.
6724         * sysdeps/sparc/fpu/bits/fenv.h: New file.
6725         * sysdeps/sparc/fpu/fpu_control.h: New file.
6726         * sysdeps/sparc/gmp-mparam.h: New file.
6728         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
6729         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
6730         * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
6731         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
6732         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
6733         * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
6735         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
6736         * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
6737         * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
6738         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
6740         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
6741         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
6742         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
6743         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
6744         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
6746 1999-05-24  Ulrich Drepper  <drepper@cygnus.com>
6748         * login/openpty.c (openpty): Make sure pty does not because
6749         controlling TTY.
6751         * ctype/ctype.h: Don't optimize toupper/tolower for C++.
6753 1999-05-23  Roland McGrath  <roland@baalperazim.frob.com>
6755         * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
6756         Do proper error return.
6758 1999-05-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6760         * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
6761         of __P in the rest of glibc; define __MALLOC_PMT and use it.
6762         Reported by Stephan Kulow <coolo@kde.org>.
6764 1999-05-23  Ulrich Drepper  <drepper@cygnus.com>
6766         * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
6768         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
6770 1999-05-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6772         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
6773         names to protect from user's macro namespace.
6774         * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
6775         * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
6776         * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
6777         * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
6778         * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
6779         Adapted.
6780         * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
6781         sysdeps/arm/fpu/fesetenv.c: Likewise.
6782         * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
6783         sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
6784         sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
6785         * sysdeps/mips/fesetenv.c: Likewise.
6787 1999-05-22  Roland McGrath  <roland@baalperazim.frob.com>
6789         * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
6791 1999-05-20  Ulrich Drepper  <drepper@cygnus.com>
6793         * configure.in: Recognize and allow gcc 2.95.
6795 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
6797         * sysdeps/generic/bits/elfclass.h: Version common to
6798         wordsize-32 and wordsize-64.
6799         * sysdeps/generic/bits/environments.h: Ditto.
6800         * sysdeps/generic/stdint.h: Ditto.
6801         * sysdeps/generic/inttypes.h: Ditto.
6803         * sysdeps/generic/bits/wordsize.h: New file.
6804         * stdlib/Makefile: Add bits/wordsize.h to headers.
6806         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
6808         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
6809         headers to be used for 32bit and 64bit ABI compilations.
6810         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
6811         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
6812         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
6813         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
6814         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
6816         * sysdeps/wordsize-64/bits/elfclass.h: Remove.
6817         * sysdeps/wordsize-64/bits/environments.h: Remove.
6818         * sysdeps/wordsize-64/stdint.h: Remove.
6819         * sysdeps/wordsize-64/inttypes.h: Remove.
6820         * sysdeps/wordsize-64/bits/wordsize.h: New file.
6822         * sysdeps/wordsize-32/bits/elfclass.h: Remove.
6823         * sysdeps/wordsize-32/bits/environments.h: Remove.
6824         * sysdeps/wordsize-32/stdint.h: Remove.
6825         * sysdeps/wordsize-32/inttypes.h: Remove.
6826         * sysdeps/wordsize-32/bits/wordsize.h: New file.
6828 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
6830         * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
6831         __align_cpy_16): New functions.
6832         (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
6834         * sysdeps/sparc/sparc32/Versions: New file.
6835         * sysdeps/sparc/sparc64/Versions: New file.
6836         * sysdeps/sparc/Versions: Remove.
6838 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
6840         * sysdeps/unix/sysv/linux/configure.in:
6841         On sparc64-*-linux*, set slibdir to /lib64 if prefix
6842         is /usr, plus set libdir to ${exec_prefix}/lib64.
6843         * sysdeps/unix/sysv/linux/configure: Regenerated.
6844         * config.make.in: Propagate libdir settings from configure
6845         to the Makefiles.
6846         * shlib-versions: sparc64-*-linux* dynamic linker is
6847         /lib64/ld-linux.so.2.
6849 1999-05-18  Thorsten Kukuk  <kukuk@suse.de>
6851         * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
6852         RPC connection.
6854 1999-05-18  Jakub Jelinek  <jj@ultra.linux.cz>
6856         * sysdeps/sparc/sparc64/rawmemchr.S: New file.
6857         * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
6859         * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
6860         contains garbage in bits 8-63.
6861         * sysdeps/sparc/sparc64/memset.S: Ditto.
6862         * sysdeps/sparc/sparc64/strchr.S: Ditto.
6864 1999-05-18  Ulrich Drepper  <drepper@cygnus.com>
6866         * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
6868 1999-05-17  David S. Miller  <davem@redhat.com>
6870         * sysdeps/sparc/sparc32/atomicity.h: New file.
6871         * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
6872         * sysdeps/sparc/sparc64/atomicity.h: New file.
6873         * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
6874         sysdep-CFLAGS.
6876 1999-05-18  Richard Henderson  <rth@twiddle.net>
6878         * sysdeps/alpha/memchr.S: Zap high byte of length.  Reschedule.
6880 1999-05-04  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6882         * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
6883         posix/sys/types.h: Handle the case of __GNUC__=3,
6884         __GNUC_MINOR__=(anything).
6886 1999-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6888         * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
6889         if _FORCE_INLINES.
6891 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
6893         * elf/Makefile (distribute): Remove dl-origin.h.
6894         Add dl-dst.h and gen-trusted-dirs.awk.
6896 1999-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6898         * sysdeps/i386/i486/Versions: New file with inline functions from
6899         sysdeps/i386/i486/bits/string.h for now.
6901         * sysdeps/i386/Versions: Add inline functions from
6902         sysdeps/i386/bits/string.h.
6904         * string/Versions: Add inline functions from <bits/string2.h>.
6906         * string/Makefile (routines): Add string-inlines.
6907         * string/string-inlines.c: New file, used for implementation of
6908         extern inline functions.
6910         * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
6911         non inlined versions of functions.
6912         * string/bits/string2.h: Likewise.
6913         * sysdeps/i386/bits/string.h: Likewise.
6915 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
6917         * inet/arpa/tftp.h: Add second packed attribute.
6919 1999-05-16  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
6921         * malloc/malloc.c: Cleanup to bring in line with released
6922         stand-alone version `ptmalloc'.  Update some comments.
6923         (internal_function): Move fallback definition so that the source
6924         compiles outside of libc, and use it in more places.
6925         (malloc_atfork): Fix when malloc_check is in use.
6927 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6929         * stdlib/tst-strtod.c: Fix typo.
6931 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6933         * elf/dl-close.c (_dl_close): Add cast to avoid warning about
6934         const incorrectness.
6936 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
6938         * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
6940 1999-05-16  Thorsten Kukuk  <kukuk@suse.de>
6942         * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
6943         * sunrpc/key_call.c: Fix memory leak, close file handle.
6944         * nis/nis_creategroup.c: Use malloc instead of calloc,
6945         set ctime and mtime.
6946         * nis/nis_subr.c: Check for realloc result.
6947         * nis/nis_file.c: Fix memory leak.
6948         * nis/nis_table.c: Pretty print.
6949         * nis/nis_getservlist.c: Likewise.
6950         * nis/nis_ismember.c: Likewise.
6951         * nis/nis_lookup.c: Likewise.
6952         * nis/nis_ping.c: Likewise.
6953         * nis/nis_removemember.c: Likewise.
6954         * nis/nis_util.c: Likewise, check calloc result.
6956 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
6958         * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
6959         * sysdeps/generic/sys/socketvar.h: ... here.
6960         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
6961         * sysdeps/generic/netinet/in_systm.h: ... here.
6962         * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
6963         sys/socketvar.h.
6964         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
6965         * inet/Makefile (headers): Add netinet/in_systm.h here.
6966         * socket/Makefile (headers): Add sys/socketvar.h here.
6968 1999-05-15  Ulrich Drepper  <drepper@cygnus.com>
6970         * stdlib/strtol.c: Optimize inner loop of long long versions.
6972         * sysdeps/gnu/utmpx.h: Add needed type definitions according to
6973         Unix98.  Add forward declaration of struct utmp.
6975 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
6977         * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
6978         calloc.
6980         * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
6981         * nis/nis_addmember.c (nis_addmember): Fix memory leak.  Test
6982         memory allocation results.
6984 1999-05-14  Mark Kettenis  <kettenis@gnu.org>
6986         * sysdeps/generic/getutmp.c: Include <string.h>
6987         (getutmp): Rewrite to only copy those members that are really
6988         present in `struct utmp'.
6989         * sysdeps/generic/getutmpx.c: Likewise.
6991 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
6993         * nss/getXXbyYY.c: Add free_mem function which disposes all
6994         statically allocated memory when debugging.
6995         * nss/getXXent.c: Likewise.
6996         * nss/nsswitch.c: Likewise.
6998 1999-05-13  Ulrich Drepper  <drepper@cygnus.com>
7000         * sysdeps/gnu/getutmpx.c: New file.
7001         * sysdeps/gnu/getutmp.c: New file.
7003 1999-05-13  H.J. Lu  <hjl@gnu.org>
7005         * login/Versions (getutmpx): Added to GLIBC_2.1.1.
7006         (getutmp): Likewise.
7008         * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
7009         getutmpx for login.
7011         * sysdeps/gnu/utmpx.h (getutmp): Added.
7012         (getutmpx): Likewise.
7014         * sysdeps/generic/getutmp.c: New file.
7016         * sysdeps/generic/getutmpx.c: New file.
7018 1999-05-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7020         * glibcbug.in (BUGGLIBC): Change address to
7021         libc-alpha@sourceware.cygnus.com.
7023 1999-05-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7025         * resolv/arpa/nameser.h: Add C++ protectors.
7027 1999-05-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7029         * iconvdata/gconv-modules: Fix alias for CP1255.  Reported by
7030         Elad Tsur <eladts@post.tau.ac.il>.
7032 1999-05-11  Ulrich Drepper  <drepper@cygnus.com>
7034         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
7035         * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
7036         lazily if LD_BIND_NOW is not set.
7037         * elf/dl-support.c (_dl_lazy): New variable.
7038         (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
7039         * elf/rtld.c (_dl_lazy): new global variable.
7040         ( dl_main): Remove lazy, replace it by _dl_lazy.
7042 1999-05-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7044         * locale/setlocale.c (new_composite_name): Check also whether the
7045         first category name differs.
7047 1999-05-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7049         * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
7050         the generic one.
7052 1999-05-11  Philip Blundell  <pb@nexus.co.uk>
7054         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
7055         structure; storage suitable for any socket address.
7056         * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
7057         Likewise.
7058         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
7059         sockaddr_storage): Likewise.
7061         * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
7062         platform.
7064 1999-05-10  Ulrich Drepper  <drepper@cygnus.com>
7066         * hesiod/Versions: Change _nss_hesiod_getpwuid and
7067         _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
7068         _nss_hesiod_getgrgid_r respectively.  Fixes pr libc/1115.
7070 1999-05-09  Mark Kettenis  <kettenis@gnu.org>
7072         * hurd/get-host.c (_hurd_get_host_config): Return an empty value
7073         if the file is empty.
7075 1999-05-07  Ulrich Drepper  <drepper@cygnus.com>
7077         * elf/do-lookup.h: Fix typo in comment.
7079         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
7080         f_bsize to help some broken programs.
7082         * stdio-common/tst-printf.c: Add test case for last _itoa problem.
7084         * stdio-common/vfprintf.c: Fix typo.
7086 1999-05-06  Ulrich Drepper  <drepper@cygnus.com>
7088         * elf/link.h (struct link_map): New field l_phdr_allocated.
7089         * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
7090         the program header being part of any loaded segment.  If it is not
7091         allocate memory and set l_phdr_allocated flag.
7092         * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
7094         * nss/digits_dots.c: Correct return value interpretation of
7095         inet_ntoa.  Fix PR libc/1109.
7097 1999-05-06  Zack Weinberg  <zack@rabi.columbia.edu>
7099         * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
7101 1999-05-06  Thorsten Kukuk  <kukuk@suse.de>
7103         * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
7104         * stdlib/fpioconst.c: Move #endif before end of struct.
7106 1999-05-05  Ulrich Drepper  <drepper@cygnus.com>
7108         * Versions.def (ld.so): Add GLIBC_2.1.1.
7109         * elf/Makefile (routines): Add dl-origin.
7110         (tests): Add origtest.  Add dependencies for the program.
7111         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
7112         _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
7113         * elf/dl-deps.c (expand_dst): New macro.  Expand DSTs in filename.
7114         (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
7115         DT_AUXILIARY, and DT_FILTER filenames.
7116         * elf/dl-load.c (expand_dynamic_string_token): Explode into
7117         two functions and three macros.
7118         (_dl_dst_count, _dl_dst_substitute): New functions.
7119         * elf/dl-dst.h: New file.
7120         * elf/dl-open.c (_dl_open): Take extra parameter with address of
7121         caller.  Pass address in args structure.
7122         (dl_open_worker): Recognize and expand DSTs in filename.
7123         * elf/ldsodefs.h (_dl_open): Adapt prototype.
7124         * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
7125         (__dlopen_check): Pass caller address to dlopen_doit in args.
7126         * elf/dlopendoit.c: Likewise.
7127         * iconv/gconv_dl.c: Adapt call of _dl_open.
7128         * nss/nsswitch.c: Likewise.
7129         * elf/origtest.c: New file.
7130         * sysdeps/generic/dl-origin.h: Moved to...
7131         * sysdeps/generic/dl-origin.c: ...here.
7132         * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
7133         * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
7135         * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
7136         with specific bases and only few bits set in second word.
7138         * timezone/Makefile (install-others): Create target directory
7139         before creating tzfiles.
7141 1999-05-05  Thorsten Kukuk  <kukuk@suse.de>
7143         * nis/nis_file.c (readColdStartFile): Allocate memory only after
7144         the file is opened successfully.
7146         * nis/nis_table.c: Fix some memory leaks.
7148 1999-05-04  Ulrich Drepper  <drepper@cygnus.com>
7150         * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
7151         variable.
7153         * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
7154         around DST.  Correctly ignore ORIGIN IN SUID binaries.
7156 1999-05-03  Ulrich Drepper  <drepper@cygnus.com>
7158         * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
7159         * sysdeps/generic/strtok.c: Likewise.
7161         * string/tester.c: Add test of rawmemchr.
7163         * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
7164         specification.  It's not necessary.
7166         * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
7167         * elf/gen-trusted-dirs.awk: New file.
7168         * elf/dl-load.c (systems_dirs): Moved into file scope.  Initialize
7169         from SYSTEM_DIRS macro.
7170         (system_dirs_len): New variable.  Contains lengths of system_dirs
7171         strings.
7172         (fillin_rpath): Rewrite for systems_dirs being a simple string.
7173         Improve string comparisons.  Change parameter trusted to be a flag.
7174         Change all callers.
7175         (_dt_init_paths): Improve using new format for system_dirs.
7177         * elf/dl-load.c (expand_dynamic_string_token): Don't expand
7178         $ORIGIN for SUID binaries.
7180         * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
7182 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7184         * sunrpc/Makefile: Generate dependencies for all flavors of
7185         librpcsvc objects.
7186         (rpcgen-cmd): Pass -Y flag here and remove it from the macro
7187         invocations.
7189 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7191         * elf/dlopenold.c: Move #if down after includes to get
7192         dependencies right.
7194 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7196         * sysdeps/generic/bzero.c: Undefine __bzero.
7198 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
7200         * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
7201         * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
7202         * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
7203         Patch by Craig Small <csmall@scooter.eye-net.com.au>.
7205         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
7206         parameter to struct gaih_servtuple *.  Adapt appropriately.
7207         (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
7208         This fixes a memory leak.
7209         Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
7211         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
7212         and fpregset_t definition.  They are defined in ucontext.h.
7214 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
7216         * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
7217         and struct ether_header must be packed on the ARM.  The default
7218         alignment constraints add padding to the end of the structures.
7220 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
7222         * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM.  The
7223         default alignment constraints add padding to the end of the
7224         structure and between members.
7226 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
7228         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
7229         _dl_cache_libcmp instead of strcmp.
7231         * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
7232         fails on a file.
7233         Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
7235 1998-03-30  Joel Klecker  <espy@debian.org>
7237         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
7238         (sysdep-others,install-bin): Add lddlibc4.
7240 1999-05-02  H.J. Lu  <hjl@gnu.org>
7242         * timezone/zic.c (dolink): Remove the symlink destination first.
7244         * catgets/open_catalog.c (__open_catalog): Set catalog->status
7245         to "nonexisting" if failed to open the file.
7247 1999-05-01  Ulrich Drepper  <drepper@cygnus.com>
7249         * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
7250         gcc3.
7252         * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
7253         Prevent warnings from multiplication with 0x01010101 by another cast.
7255 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7257         * string/bits/string2.h (memset): Revert to previous version if
7258         unaligned writes are not available.
7260 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
7262         * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
7263         better code in presence of the asm.
7265 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7267         * stdlib/fmtmsg.c (keywords): Increase array size for faster
7268         indexing.
7270         * locale/localeinfo.h (_nl_category_names): Increase array element
7271         size for faster indexing.
7272         * locale/setlocale.c (_nl_category_names): Adjusted.
7274 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7276         * iconv/gconv_conf.c (add_alias): Remove wrong cast.
7278 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7280         * sysdeps/m68k/stackinfo.h: New file.
7282 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
7284         * string/tester.c (test_strchrnul): New function.
7285         (test_memset): Test one more special case.
7287         * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
7288         25% of all cases.
7290         * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
7291         base types.
7293         * string/bits/string2.h: Fix bugs I introduced in last change.
7295         * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
7296         register stall.
7297         Extend memset optimization.
7298         Correct i686 version of memchr.
7300 1999-04-30  Roland McGrath  <roland@baalperazim.frob.com>
7302         * sysdeps/i386/bzero.c: Add #undef __bzero.
7304         * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
7305         EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
7306         exec server simulated a SIGTRAP before we even started up, so gdb is
7307         already happy.
7309 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
7311         * nss/digits_dots.c: Always initialize not_ok.
7313 1999-04-30 09:02 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
7315         * string/bits/string2.h (memset): Avoid arithmetic overflow at
7316         compile time, which produces obnoxious warnings.  If GCCv2 is
7317         in use, map __bzero to __builtin_memset to enable that
7318         optimization.
7320 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
7322         * string/bits/string2.h: Add more memset optimizations.
7324         * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
7326         * resolv/inet_pton.c (inet_pton4): Little optimizations.
7327         (inet_pton6): Likewise.
7329         * nss/getXXbyYY_r.c: Include assert.h.
7330         * nss/getXXbyYY.c: Likewise.
7332 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7334         * termios/tcgetsid.c (tcgetsid): Rename variable to
7335         tiocgsid_does_not_work.
7337 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
7339         * inet/getnameinfo.c (nrl_domainname): Fix last patch.
7341 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7343         * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
7344         This allows e.g. gethostbyname to accept "10.1234".
7345         Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
7347         * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
7348         non quad IPv4 numbers.
7350 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7352         * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
7354 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
7356         * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
7357         * argp/argp-parse.c (_argp_hang): Likewise.
7358         * argp/argp-pv.c (argp_program_version): Likewise.
7359         * argp/argp-pvh.c (argp_program_version_hook): Likewise.
7360         * inet/ether_hton.c (ether_hton, startp): Likewise.
7361         * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
7362         * inet/getnetgrent_r.c (setup, startp): Likewise.
7363         * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
7364         * intl/localealias.c (string_space, string_space_act, string_space_max,
7365         nmap, maxmap): Likewise.
7366         * libio/iopopen.c (proc_file_chain): Likewise.
7367         * libio/oldiopopen.c (old_proc_file_chain): Likewise.
7368         * locale/lc-collate.c (__collate_table, __collate_extra,
7369         __collate_element_hash, __collate_element_strings,
7370         __collate_element_values): Likewise.
7371         * malloc/mcheck.c (mcheck_used): Likewise.
7372         * malloc/mtrace.c (added_atexit_handler): Likewise.
7373         * malloc/set-freeres.c (already_called): Likewise.
7374         * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
7375         * misc/syslog.c (LogStat, LogTag): Likewise.
7376         * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
7377         * nss/getXXbyYY_r.c (startp): Likewise.
7378         * posix/getopt.c (optarg, __getopt_initialized): Likewise.
7379         * posix/regex.c (init_syntax_once) [done]: Likewise.
7380         (debug): Likewise.
7381         * string/strfry.c (init): Likewise.
7382         * sunrpc/svc_run.c (svc_top): Likewise.
7383         * posix/euidaccess.c (have_ids): Likewise.
7384         * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
7385         * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
7386         * time/getdate.c (getdate_err): Likewise.
7387         * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
7388         Likewise.
7389         * time/tzset.c (old_tz, is_initialized): Likewise.
7391         * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
7392         of static data with zero.
7393         * signal/allocrtsig.c (init): Likewise.
7395         * string/Makefile (routines): Add strchrnul.
7396         * string/Versions [GLIBC_2.1.1]: Add strchrnul.
7397         * string/string.c: Add strchrnul prototype.
7398         * include/string.h: Add __strchrnul prototype.
7399         * sysdeps/generic/strchrnul.c: New file.
7400         * sysdeps/i386/strchrnul.S: New file.
7401         * sysdeps/i386/bits/string.c: Add strchrnul optimization.
7402         * sysdeps/i386/i486/bits/string.c: Likewise.
7403         * argp/argp-help.c (argp_args_usage): Use __strchrnul.
7404         * inet/ether_line.c (ether_line): Likewise.
7405         * nscd/nscd_conf.c (nscd_parse_file): Likewise.
7406         * nss/nsswitch.c (nss_parse_file): Likewise.
7407         * posix/execvp.c (execvp): Likewise.
7408         * posix/fnmatch.c (internal_fnmatch): Likewise.
7409         * resolv/res_hconf.c (_res_hconv_init): Likewise.
7410         * resolv/res_init.c (res_init): Likewise.
7411         * stdlib/fmtmsg.c (init): Likewise.
7412         * stdlib/getsubopt.c (getsubopt): Likewise.
7414         * catgets/catgets.c (catopen): Only allocate one memory block.
7415         (catclose): Only one free call necessary.
7417         * catgets/open_catalog.c (__open_catalog): Simplify handling of
7418         file descriptor.
7420         * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
7421         of real functions.  Simplify _tolower and _toupper.
7423         * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
7424         variable.
7426         * iconv/gconv.h (struct gconv_info): Change data element from pointer
7427         to array of size 0.
7428         * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
7429         * iconv/gconv_close.c (__gconv_close): Don't free data.
7431         * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
7432         insert new alias.
7434         * iconv/gconv_db.c (add_derivation): More efficient copying.  Check
7435         for error while inserting in tree.
7437         * include/time.h: Pretty print.
7439         * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
7440         in table and lots of relocations.
7441         * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
7442         string pointers in table and lots of relocations.
7444         * intl/finddomain.c: Remove definition of strchr macro.
7446         * io/ftw.c (nftw_arr, ftw_arr): Make const.
7448         * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
7450         * locale/localeinfo.h (_nl_category_names): Change into an array with
7451         fixed width char string elements.
7452         * locale/setlocale.c (_nl_category_names): Likewise.
7453         (_nl_current): Make global.
7454         * locale/nl_langinfo.c (nldata): Removed.  Use _nl_current now.
7456         * malloc/Makefile (distribute): Add stackinfo.h.
7457         * sysdeps/generic/stackinfo.h: New file.
7458         * sysdeps/i386/stackinfo.h: New file.
7459         * posix/execl.c: Use stackinfo.h in optimizing alloca use.
7460         * posix/execle.c: Likewise.
7461         * posix/execlp.c: Likewise.
7463         * nis/nis_table.c (__create_ib_request): Always use realloc.
7465         * posix/execvp.c (execute): Rename to script_execute and keep only
7466         code to execute using shell.
7467         (execvp): Call execv directly and only fall back on script_execute.
7469         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
7470         and always use xdigits instead.
7472         * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
7473         where appropriate.
7475         * stdlib/fpioconst.h (__tens): New declaration.
7476         (struct mp_power): Remove array, add arrayoff element.
7477         * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
7478         __tens array and add in _fpioconst_pow10 offsets into __tens.
7479         * stdio-common/printf_fp.c: Rewrite to use new __tens array.
7480         * stdlib/strtod.c: Likewise.
7482         * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
7484         * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
7485         of the list.
7486         * stdlib/atexit.c (__exit_funcs): Don't initialize.
7488         * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
7490         * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
7491         a single and an array with offsets.
7493         * sunrpc/des_soft.c (partab): Make it const.
7495         * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
7496         (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
7497         (__key_decryptsession_pk_LOCAL): Likewise.
7498         (__key_gendes_LOCAL): Likewise.
7499         (MESSENGER): Mark const.
7500         (key_call_private_main): Don't initialize with 0.
7501         (use_keyenvoy): Don't initialize with 0.
7502         (key_call): Rewrite to reverse logic of use_doors variable.
7504         * sunrpc/netname.c (OPSYS): Define as array, not pointer.
7505         (startp): Don't initialize with zero.
7507         * sunrpc/openchild.c (_openchild): Make first argument const.
7509         * sunrpc/pmap_rmt.c (timeout): Mark const.
7510         * sunrpc/xcrypt.c (hex): Likewise.
7512         * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
7513         initialization of global variables.
7514         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
7515         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7516         * termios/tcgetsid.c: Likewise.
7518         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
7519         fxsr to osfxsr.
7521         * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
7522         block.  Add function to free memory if wanted.
7523         * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
7525         * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
7527         * wcsmbs/wmemset.c: Little code optimization.
7529 1999-04-23  Paul Eggert  <eggert@twinsun.com>
7531         * stdlib/strtoull.c: Surround strong_alias and weak_alias with
7532         ifdef _LIBC.
7534 1999-04-28  Roland McGrath  <roland@baalperazim.frob.com>
7536         * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
7537         implementation and just always fail with ENOSYS.  This entry point is
7538         obsolete.  Add link warning to that effect.
7540 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
7542         * hurd/get-host.c: Include <hurd/lookup.h>.
7544 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
7546         * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
7547         is != NULL.
7549 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7551         * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
7552         ISO C9x and Unix98.
7554 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
7556         * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
7557         Patch by Peter Miller <millerp@canb.auug.org.au>.
7559 1999-04-27  Thorsten Kukuk  <kukuk@suse.de>
7561         * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
7562         prefers loopback device.
7564 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
7566         * posix/fnmatch.c (internal_fnmatch): Finish incomplete
7567         no_leading_period change.
7569         * posix/testfnm.c: More test cases.
7571 1999-04-27  Ulrich Drepper  <drepper@cygnus.com>
7573         * include/dirent.h: Remove __getdirentries declaration, add __getdents
7574         and __getdents64.
7575         * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
7576         * sysdeps/unix/readdir_r.c: Likewise.
7577         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7578         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
7579         * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
7580         __getdirentries.  Remove fourth argument.
7581         * sysdeps/unix/sysv/linux/getdirentries.c: New file.
7582         * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
7583         * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
7584         Add getdirentries and getdirentries64.
7585         * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
7587         * posix/fnmatch.c (internal_fnmatch): Correctly reset string
7588         pointer in case of an invalid [[: expression.
7590         * posix/testfnm.c: Add more test cases.
7592 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
7594         * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
7595         set, pass EXEC_SIGTRAP flag in exec RPC.
7597 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
7599         * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch.  Take
7600         extra parameter.  Fix several more bugs involving wildcard and
7601         ranges.
7602         (fnmatch): New function.  Call internal_fnmatch.
7604         * posix/testfnm.c: More test cases.
7606 1999-04-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7608         * manual/install.texi (Configuring and compiling): Explain that
7609         files are changed in the source directory.
7610         Closes PR libc/981.
7611         (Configuring and compiling): Explain situation with PARALLELMFLAGS
7612         in the source directory.
7614 1999-04-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7616         * locale/programs/ld-ctype.c: Spelling fixes.
7617         (ctype_finish): Fix argument of error message format.
7618         * locale/programs/ld-messages.c: Spelling fixes.
7619         * locale/programs/ld-monetary.c: Spelling fixes.
7620         * locale/programs/ld-time.c (time_finish): Make sure that name and
7621         format of era_entries are adjacent.
7622         (time_output): Reduce the size of the io vector.
7624 1999-04-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7626         * manual/filesys.texi (Attribute Meanings): Move a misplaced
7627         paragraph.
7629 1999-04-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7631         * locale/programs/ld-collate.c (collate_output): Convert
7632         undefined_offset to an array index.  Fix computation of other
7633         endian extra table.
7635 1999-04-26  Roland McGrath  <roland@baalperazim.frob.com>
7637         * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
7638         return success with empty value.
7640 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
7642         * posix/fnmatch.c: Include string.h also for glibc.
7643         (fnmatch, case '?'): Optimize if cascades a bit.
7644         (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
7646         * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
7648 1999-04-24  Ulrich Drepper  <drepper@cygnus.com>
7650         * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
7651         * iconv/gconv_int.h: Declare UTF16 functions.
7652         * iconv/gconv_simple.c: Add UTF16 conversion functions.
7654 1999-04-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7656         * posix/wordexp.c (parse_param): Fix type of offset to allow it to
7657         be used correctly as parameter for parse_dollars/parse_tilde.
7659 1999-04-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7661         * manual/conf.texi (Utility Limits): Remove duplicate description
7662         of BC_DIM_MAX.
7664 1999-04-19  Ulrich Drepper  <drepper@cygnus.com>
7666         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
7667         outbufend for dst==NULL.
7669 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
7671         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
7672         for dst==NULL.
7673         Fixes PR libc/1084.
7675         * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
7676         Fixes PR libc/1083.
7678 1999-04-18  Thorsten Kukuk  <kukuk@suse.de>
7680         * sunrpc/Makefile: Remove special handling of bootparam.x,
7681         add rpcsvc/bootparam.h to headers.
7682         * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
7683         * sunrpc/rpcsvc/bootparam.x: Renamed to...
7684         * sunrpc/rpcsvc/bootparam_prot.x: ...this.
7686 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
7688         * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
7689         detect and handle invalid descriptors.
7691 1999-04-17  Thorsten Kukuk  <kukuk@suse.de>
7693         * timezone/zic.c (dolink): Append complete path not only filename
7694         to ../ list.
7696 1999-04-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7698         * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
7700 1999-04-17  Ulrich Drepper  <drepper@cygnus.com>
7702         * iconvdata/gconv-modules: Rename CP874 to IBM874.
7703         * iconvdata/Makefile: Likewise.
7704         * iconvdata/cp874.h: Removed.
7705         * iconvdata/cp874.c: Renamed to...
7706         * iconvdata/ibm874.c: ...this.
7708 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
7710         * sysdeps/unix/sysv/linux/bits/types.h: Correct
7711         signed/unsigned-ness of blkcnt and fsblkcnt.
7712         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
7713         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
7715         * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
7716         SOL_AAL, and SOL_IRDA.
7718 1999-04-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7720         * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero.  Don't
7721         include "linux_fsinfo.h".
7722         Based on a patch by H.J. Lu <hjl@gnu.org>.
7724 1999-04-16  Thorsten Kukuk  <kukuk@suse.de>
7726         * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
7728 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
7730         * nscd/cache.c (prune_cache): Only disable file checking for
7731         future if the file does not exist.
7732         Update file_mtime if cache was flushed.
7734 1999-04-15  David S. Miller  <davem@redhat.com>
7736         * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
7737         * sysdeps/sparc/sparc32/strcpy.S: Likewise.
7739 1999-04-15  Scott Bambrough  <scottb@netwinder.org>
7741         * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
7742         compilation of file.
7744 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
7746         * Versions.def: Add GLIBC_2.1.1 to libpthread.
7748         * iconvdata/Makefile (modules): Add KOI8-U.
7749         (distribute): Add koi8-u.c.
7750         (gen-8bit-gap-modules): Add koi8-u.
7751         * iconvdata/gconv-modules: Add KOI8-U entries.
7752         * iconvdata/koi8-u.c: New file.
7754 1999-04-13  Thorsten Kukuk  <kukuk@suse.de>
7756         * sunrpc/auth_des.c: 64bit fixes, security fixes.
7757         * sunrpc/auth_none.c: Pretty print.
7758         * sunrpc/auth_unix.c: Likewise.
7759         * sunrpc/authdes_prot.c: Likewise.
7760         * sunrpc/authuxprot.c: Likewise.
7761         * sunrpc/bindrsvprt.c: Likewise.
7762         * sunrpc/clnt_gen.c: Likewise.
7763         * sunrpc/rpc/xdr.h: Likewise.
7764         * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
7765         * sunrpc/rpc_cmsg.c: Don't use *long pointers.
7766         * sunrpc/rtime.c: Use new rpc_timeval.
7767         * sunrpc/svc_authux.c: Don't use *long pointers.
7768         * sunrpc/svcauth_des.c: Likewise + security fixes.
7769         * sunrpc/xdr_mem.c: Don't use *long pointers.
7770         * sunrpc/xdr_rec.c: Likewise.
7771         * sunrpc/xdr_sizeof.c: Likewise.
7772         * sunrpc/xdr_stdio.c: Likewise.
7774 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
7776         * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
7777         so that it is redone for each sending.
7779 1999-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7781         * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
7783 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
7785         * iconv/gconv_db.c (__gconv_find_transform): If conversion is
7786         known to not exist don't try to load shared objects.
7787         Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
7789         * nscd/cache.c (prune_cache): The table might not be unused.  In
7790         this case do nothing.
7792         * catgets/gencat.c (read_input_file): Don't drop white spaces
7793         between number/identifier and string.
7794         Patch by Dima Barsky <dima@pwd.hp.com>.
7795         If no white space at all follows number/identifier remove existing
7796         message with the number/identifier.
7798 1999-04-14  H.J. Lu  <hjl@gnu.org>
7800         * sunrpc/clnt_udp.c (is_network_up): New function.
7801         (clntudp_call): Call is_network_up () to check if any network
7802         interface is up in case of timeout.
7804 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7806         * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
7807         * wctype/Makefile (tests): Add test_wcfuncs.
7809 1999-04-14  Jakub Jelinek  <jj@ultra.linux.cz>
7811         * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
7812         architectures.
7813         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
7814         instead of CFLAGS.
7815         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
7816         instead of CFLAGS. For gnulib and string directories use
7817         -Wa,-Av9a gcc ASFLAGS.
7818         * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
7819         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
7820         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
7821         * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
7822         the same way as sparc-*.
7824 1999-04-14  Ulrich Drepper  <drepper@cygnus.com>
7826         * locale/programs/locfile.c (locfile_read): Fix typo.
7827         Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
7829 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
7831         * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
7832         restarted after being interrupted by a signal.  The parameters on
7833         the stack were corrupted by the signal handler.
7835         * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
7836         restarted after being interrupted by a signal.  The parameters on
7837         the stack were corrupted by the signal handler.
7839 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7841         * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
7842         Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
7844 1999-04-12  Tim Waugh  <tim@cyberelk.demon.co.uk>
7846         * posix/wordexp-test.c: In field-splitting test cases where
7847         subshells were involved, unset IFS first: some shells (ash) use
7848         IFS even when no expansion is performed.
7850 1999-04-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7852         * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
7853         the real end of the chunk, not some random point inbetween.
7854         (_IO_obstack_xsputn): Likewise.  Actually copy the data into the
7855         obstack when growing.  Use fast version of obstack_blank when
7856         shrinking.
7857         (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
7858         allocating the vtable pointer.
7859         (_IO_obstack_vprintf): Adjust for above change and avoid
7860         unnecessary casts.  Use fast version of obstack_blank when
7861         shrinking.
7862         Fixes PR libc/1075.
7864 1999-04-12  Ulrich Drepper  <drepper@cygnus.com>
7866         * iconvdata/gconv-modules: Fix typo.  Add UJIS alias.
7867         Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
7869 1999-04-11  Tim Waugh  <tim@cyberelk.demon.co.uk>
7871         * posix/wordexp.c (wordexp): Fix a leak when an invalid character
7872         is seen, as well as fixing semantics.  Don't reset the word count
7873         to zero when an invalid character is seen, but leave it as it was
7874         (this makes a difference with WRDE_APPEND).
7876         * posix/wordexp-test.c: More test cases.
7878         * posix/wordexp.c (parse_param): In words like ${var#pattern},
7879         always expand pattern when it is needed.  Also, handle quoting in
7880         pattern properly.
7882 1999-04-12  Philip Blundell  <philb@gnu.org>
7884         * elf/elf.h: Update ARM definitions to match current gas2.
7886         * sysdeps/arm/bits/endian.h: Support big endian operation.
7888         * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
7889         Don't bother range checking the port number.
7891         * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
7893         * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
7894         the syscall name in assembler output for ease of debugging.
7896         * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
7897         compiler behaviour.
7898         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
7899         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
7900         (sysdep_routines): Add sigrestorer.
7902         * string/tester.c (test_strcpy): Add new tests for unaligned
7903         arguments.
7904         * sysdeps/arm/bits/string.h: Delete inline implementations of
7905         strcpy and stpcpy.
7907 1999-04-11  Ulrich Drepper  <drepper@cygnus.com>
7909         * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
7911 1999-04-10  Mark Kettenis  <kettenis@gnu.org>
7913         * sysdeps/mach/hurd/Dist: Add clk_tck.c.
7915 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
7917         * iconvdata/Makefile (modules): Add TIS-620.
7918         (distribute): Add tis-620.c.
7919         (gen-8bit-gap-modules): tis-620.
7920         * iconvdata/tis-620.c: New file.
7921         * iconvdata/gconv-modules: Add TIS-620 entries.
7923         * iconvdata/asmo_449.c: Correct comment.
7925 1999-04-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7927         * manual/install.texi (Configuring and compiling): Comment out
7928         description of --disable-static since this doesn't work currently
7929         (see change by Ulrich Drepper on 1998-12-07 for configure.in).
7931 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
7933         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
7934         use binary search.
7935         Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
7937 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7939         * scripts/test-installation.pl (installation_problem): Skip
7940         libnss1_* libraries from glibc-compat add-on.
7942 1999-04-07  H.J. Lu  <hjl@gnu.org>
7944         * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
7945         libstdc++ 2.7.2.
7946         * posix/Versions (__waitpid): Likewise.
7948 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7950         * manual/install.texi (Reporting Bugs): Add section about reported
7951         bugs and correct email address of glibcbug script.
7953 1999-04-01  Thorsten Kukuk  <kukuk@suse.de>
7955         * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
7956         * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
7957         xdr_u_longlong_t. Based on patch from Dan Shechter
7958         <damageboy@isdn.net.il>.
7959         * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
7960         * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
7962         * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
7964 1999-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7966         * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
7967         directly if getdents returns with error set.
7969 1999-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7971         * locale/langinfo.h (THOUSEP): Rename second occurence of
7972         THOUSANDS_SEP to THOUSEP.
7973         Reported by Roman Belenov <roman@nstl.nnov.ru>.
7975 1999-04-05  Roland McGrath  <roland@baalperazim.frob.com>
7977         * hurd/STATUS: File removed.  Moved items that are still relevant into
7978         TODO list in hurd source.
7980 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
7982         * sysdeps/mach/hurd/bits/time.h: New file.
7983         * sysdeps/mach/hurd/getrusage.c: New file.
7984         * sysdeps/mach/hurd/clk_tck.c: New file.
7985         * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
7986         * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
7987         (sysdep_routines): Add clk_tck.
7988         * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
7989         implemented.
7991 1999-04-02  Ulrich Drepper  <drepper@cygnus.com>
7993         * misc/syslog.c (closelog_internal): Do not reset LogTag here.
7994         (closelog): But instead here.
7995         Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
7997 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7999         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
8000         the source directory.  Fixes PR libc/1059.
8002 1999-04-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8004         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
8005         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8007 1999-04-01  Ulrich Drepper  <drepper@cygnus.com>
8009         * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
8010         * iconvdata/testdata/ISO-8859-14: New file.
8011         * iconvdata/testdata/ISO-8859-14..UTF8: New file.
8012         * iconvdata/testdata/ISO-8859-15: New file.
8013         * iconvdata/testdata/ISO-8859-15..UTF8: New file.
8015 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
8017         * iconvdata/testdata/CP1258: New file.
8018         * iconvdata/testdata/CP1258..UTF8: New file.
8019         * iconvdata/TESTS: Add CP1258 entry.
8021         * iconvdata/cp874.h (to_ucs4): Add Euro sign.
8023         * timezone/africa: Update from tzdata1999d.
8024         * timezone/europe: Likewise.
8025         * timezone/northamerica: Likewise.
8027 1999-03-31  Mark Kettenis  <kettenis@gnu.org>
8029         * login/programs/pt_chown.c (main): Save effective user ID before
8030         dropping priviliges and use this to check if the program is
8031         properly installed.
8033 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
8035         * iconvdata/testdata/CP1254: Update for charmap changes.
8036         * iconvdata/testdata/CP1254..UTF8: Likewise.
8037         * iconvdata/testdata/CP1255: Likewise.
8038         * iconvdata/testdata/CP1255..UTF8: Likewise.
8039         * iconvdata/testdata/CP1256: Likewise.
8040         * iconvdata/testdata/CP1256..UTF8: Likewise.
8041         * iconvdata/testdata/CP1257: Likewise.
8042         * iconvdata/testdata/CP1257..UTF8: Likewise.
8044         * iconvdata/Makefile (distribute): Remove cp1258.h.
8045         (gen-8bit-gap-modules): Add cp1258.
8046         * iconvdata/cp1258.h: Removed.
8048 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
8050         * timezone/tst-timezone.c (tests): Add more cases.
8051         (check_tzvars): Mark errors clearer.
8052         (main): Likewise.
8054 1999-03-30 20:59 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8056         * login/programs/pt_chown.c: Drop privileges if invoked with
8057         arguments.  Don't close the master pty.
8059 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
8061         * time/tzfile.c (__tzfile_read): Process transitions from the rear.
8062         Minor optimization.
8064 1999-03-29  Ulrich Drepper  <drepper@cygnus.com>
8066         * elf/rtld.c (process_envvars): Do not automatically prevent lazy
8067         relocation for SUID binaries.
8069 1999-03-29  Paul Eggert  <eggert@twinsun.com>
8071         * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
8072         while in child process.
8074 1999-03-29  Jakub Jelinek  <jj@ultra.linux.cz>
8076         * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
8077         * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
8078         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
8079         * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
8080         * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
8082         * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
8083         * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
8084         * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
8085         * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
8086         * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
8087         * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
8088         * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
8089         * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
8090         * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
8091         * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
8092         * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
8093         * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
8094         * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
8095         * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
8096         * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
8097         * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
8098         * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
8099         * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
8100         * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
8101         * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
8102         * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
8103         * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
8104         * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
8105         * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
8106         * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
8107         * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
8109         * sysdeps/sparc/sparc32/bcopy.c: New file.
8110         * sysdeps/sparc/sparc32/bzero.c: New file.
8111         * sysdeps/sparc/sparc32/memchr.S: New file.
8112         * sysdeps/sparc/sparc32/memcpy.S: New file.
8113         * sysdeps/sparc/sparc32/memmove.c: New file.
8114         * sysdeps/sparc/sparc32/memset.S: New file.
8115         * sysdeps/sparc/sparc32/stpcpy.S: New file.
8116         * sysdeps/sparc/sparc32/strchr.S: New file.
8117         * sysdeps/sparc/sparc32/strrchr.c: New file.
8118         * sysdeps/sparc/sparc32/strcpy.S: New file.
8119         * sysdeps/sparc/sparc32/strlen.S: New file.
8120         * sysdeps/sparc/sparc32/strcat.S: New file.
8121         * sysdeps/sparc/sparc32/strcmp.S: New file.
8123         * sysdeps/sparc/sparc64/bcopy.c: New file.
8124         * sysdeps/sparc/sparc64/bzero.c: New file.
8125         * sysdeps/sparc/sparc64/memchr.S: New file.
8126         * sysdeps/sparc/sparc64/memcmp.S: New file.
8127         * sysdeps/sparc/sparc64/memcpy.S: New file.
8128         * sysdeps/sparc/sparc64/memset.S: New file.
8129         * sysdeps/sparc/sparc64/stpcpy.S: New file.
8130         * sysdeps/sparc/sparc64/strcat.S: New file.
8131         * sysdeps/sparc/sparc64/strchr.S: New file.
8132         * sysdeps/sparc/sparc64/strcmp.S: New file.
8133         * sysdeps/sparc/sparc64/strcpy.S: New file.
8134         * sysdeps/sparc/sparc64/strcspn.S: New file.
8135         * sysdeps/sparc/sparc64/strlen.S: New file.
8136         * sysdeps/sparc/sparc64/strncpy.S: New file.
8137         * sysdeps/sparc/sparc64/strpbrk.S: New file.
8138         * sysdeps/sparc/sparc64/strrchr.c: New file.
8139         * sysdeps/sparc/sparc64/strspn.S: New file.
8140         * sysdeps/sparc/sparc64/stpncpy.S: New file.
8141         * sysdeps/sparc/sparc64/strncmp.S: New file.
8143         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
8144         Append -fPIC, don't replace.
8146         * configure.in: Recognize sparcv8plus / sparcv9.
8148 1999-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8150         * malloc/obstack.h (obstack_free): Explicitly convert __obj to
8151         char * to avoid C++ warning.
8152         Patch by yasushi@cs.washington.edu [PR libc/1035].
8154 1999-03-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8156         * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
8157         declared in stdlib.h, correct return value of mkstemp.
8158         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
8160         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
8161         from Linux 2.2.5.
8163 1999-03-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8165         * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
8166         C++ warning.
8168         * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
8169         inline functions.  Closes PR libc/1049.
8171 1999-03-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8173         * timezone/README: Update from tzdata1999c and tzcode1999c.
8175         * timezone/africa: Update from tzdata1999c.
8176         * timezone/antarctica: Likewise.
8177         * timezone/asia: Likewise.
8178         * timezone/australasia: Likewise.
8179         * timezone/europe: Likewise.
8180         * timezone/northamerica: Likewise.
8181         * timezone/southamerica: Likewise.
8182         * timezone/zone.tab: Likewise.
8184         * timezone/zic.c: Update from tzcode1999c.
8186 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8188         * Makerules: Add $(common-objpfx)Versions.all to common-generated
8189         outside of ifndef avoid-generated.
8191         * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
8192         in iofdopen.c.
8193         * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
8194         iofopen.c.
8195         * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
8196         in iofclose.c.
8197         * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
8198         _IO_old_file_seekoff): Bring over recent changes in fileops.c.
8200 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
8202         * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
8203         if we build the profiled library.
8205 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8207         * math/Makefile (gmp-objs): Add inlines.  Reported by Andreas
8208         Jaeger <aj@arthur.rhein-neckar.de>
8210 1999-03-25  Roland McGrath  <roland@yaumatei.ai.mit.edu>
8212         * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
8213         (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
8214         This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
8216 1999-03-24  Roland McGrath  <roland@baalperazim.frob.com>
8218         * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
8219         works properly in subdirs.
8221 1999-03-23  Roland McGrath  <roland@baalperazim.frob.com>
8223         * sysdeps/mach/hurd/Makefile: Undo last change.
8224         [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
8225         [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
8227         * mach/Machrules (+preinit, +postinit, +interp,
8228         LDFLAGS-$(interface.so)): Variables removed.  Interface libraries get
8229         linked just like other shared libraries.
8230         (interface.so): Fix typo in defn, so it works.
8231         ($(objpfx)$(interface.so)): Make it depend on libc.so.
8233 1999-03-21  Roland McGrath  <roland@baalperazim.frob.com>
8235         * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
8236         $(link-rpcuserlibs).
8238 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8240         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
8241         $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
8242         targets if not building shared libraries.
8244 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8246         * configure.in: Also look in $PATH when searching for
8247         install-info.  Remove autoconf bug workaround and require autoconf
8248         2.13.
8250 1999-03-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8252         * db/Makefile: Don't try to install shared library link if not
8253         building with shared libs.
8255 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8257         * rt/Makefile: Link against static library if no shared lib is
8258         available.
8260         * localedata/Makefile: The shells scripts implementing the test
8261         require the dynamic linker which is not available with
8262         --disable-shared.  Skip the test if --disable-shared is given.
8264         * linuxthreads/Makefile: Link test against static libpthread if no
8265         shared lib is available.
8267         * iconvdata/Makefile (tests): Run iconv-test only if we're
8268         building shared libraries.
8269         * elf/Makefile (tests): Likewise for elf tests.
8271         * posix/Makefile: The test frameworks globtest and wordexp-test
8272         require the dynamic linker which is not available with
8273         --disable-shared.  Skip the test if --disable-shared is given.
8275         * grp/Makefile (otherlibs): For static nss build link against
8276         necessary libs.
8278 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8280         * debug/Makefile (install-bin): Install and build catchsegv only
8281         if build-shared == yes.  Reported by jussi@jlaako.pp.fi [PR
8282         libc/965].
8284 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8286         * time/tzfile.c (__tzfile_read): Handle the case where there are
8287         transitions but no DST.
8289 1999-03-20  Roland McGrath  <roland@baalperazim.frob.com>
8291         * mach/Machrules (extra-libs-others): Add $(interface-library) here
8292         too, so it gets built in the others pass rather than the lib pass.
8293         This is necessary since the RPC libraries need to be linked against
8294         libc.
8296 1999-03-19  Roland McGrath  <roland@baalperazim.frob.com>
8298         * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
8299         _itoa_word decl.
8301         * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
8302         ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
8303         ($(link-rpcuserlibs)): New static pattern rule; link intermediate
8304         versions of lib{mach,hurd}user.so without reference to libc.so,
8305         then link libc.so against that to get deps and symbol versions, then
8306         finally link real lib*user.so against libc.so.
8308         * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
8309         Support whole-file locking (only) by using the file_lock RPC.  This
8310         has very wrong semantics, but is better than nothing for the time
8311         being.  (Correct POSIX.1 locking will require new RPCs in the Hurd
8312         protocols that will be somewhat hairy to specify.)
8314 1999-03-17  Mark Kettenis  <kettenis@gnu.org>
8316         * sysdeps/mach/hurd/ptsname.c: New file.
8318 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8320         * timezone/asia: Fix rule in Asia/Nicosia entry.
8322 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8324         * manual/getopt.texi (Using Getopt): Explain "::" in option
8325         string.  Reported by Yuri Niyazov <yuricake@geocities.com>.
8327 1999-03-18  Thorsten Kukuk  <kukuk@suse.de>
8329         * sunrpc/clnt_unix.c: Fix creation of parameters for
8330         sendmsg/recvmsg on non intel platforms.
8331         * sunrpc/svc_unix.c: Likewise.
8333 1999-03-18  Philip Blundell  <philb@gnu.org>
8335         * sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386
8336         implementation.
8338 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8340         * timezone/africa: Update from tzdata1999b.
8341         * timezone/asia: Likewise.
8342         * timezone/australasia: Likewise.
8343         * timezone/europe: Likewise.
8344         * timezone/northamerica: Likewise.
8345         * timezone/southamerica: Likewise.
8346         * timezone/zone.tab: Likewise.
8348         * timezone/README: Mention tzdata1999b.
8350 1999-03-17  Ulrich Drepper  <drepper@cygnus.com>
8352         * sysdeps/generic/segfault.c (write_strsignal): New function.
8353         (catch_segfault): Use it instead of calling strsignal.
8355 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8357         * iconv/gconv.c (__gconv): Change type of last_start to unsigned
8358         char to avoid warning.
8360 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
8362         * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
8364         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
8365         outbuf to unsigned char to avoid warning.
8367 1999-03-11  David S. Miller  <davem@redhat.com>
8369         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
8370         masks.
8371         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
8373 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
8375         * iconv/gconv.h (gconv_fct): Change parameter from `char' to
8376         `unsigned char'.
8377         (gconv_step_data): Likewise.
8378         * iconv/gconv_int.h (__gconv): Likewise.
8379         (__BUILINT_TRANS): Likewise.
8380         * iconv/gconv.c (__gconv): Likewise.
8381         * iconv/iconv.c (iconv): Add casts for call of __gconv.
8382         * iconv/skeleton.c: Change local parameters and variable from `char' to
8383         `unsigned char'.  Remove casts from calls into modules.
8384         * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
8385         `char' to `unsigned char'.
8386         * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
8387         * wcsmbs/mbrtowc.c: Likewise.
8388         * wcsmbs/mbsnrtowcs.c: Likewise.
8389         * wcsmbs/mbsrtowcs.c: Likewise.
8390         * wcsmbs/wcrtomb.c: Likewise.
8391         * wcsmbs/wcsnrtombs.c: Likewise.
8392         * wcsmbs/wcsrtombs.c: Likewise.
8393         * wcsmbs/wctob.c: Likewise.
8395 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
8397         * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
8398         __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
8399         __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
8400         __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
8401         __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
8402         __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
8404 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
8406         * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
8407         _hurd_select if TIMEMOUT is -1.
8409 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
8411         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
8413 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
8415         * elf/dl-load.c: Compute rtld_search_dir array size correctly.
8416         Reported by Yasushi Saito <yasushi@cs.washington.edu>.
8418 1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8420         * manual/libc.texinfo: Undo last change for now.
8422 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
8424         * intl/locale.alias: Add entries for Croatian.
8425         Patch by Tomislav Vujec <tvujec@CARNet.hr>.
8427 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
8429         * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
8430         if the opened master pty really is a pty.  `isatty' checks for
8431         tty-ness and a pty is not a tty.  Return ENOENT instead of ENFILE
8432         if we are out of pty's.
8434 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
8436         * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
8437         opened file is closed on exec.
8438         * login/utmp_daemon.c (setutent_daemon): Likewise for the just
8439         opened socket.
8441 1999-03-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8443         * manual/llio.texi (File Position Primitive): Reformat @end
8444         command.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
8446 1999-03-14  Ulrich Drepper  <drepper@cygnus.com>
8448         * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
8449         entry is found.
8450         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8451         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
8453         * locale/programs/localedef.c (main): Initialize `cat' to please
8454         the compiler.
8456 1999-03-14  Roland McGrath  <roland@baalperazim.frob.com>
8458         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
8459         check for root-owned symlinks and reject them too.
8461 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8463         * stdio-common/printf_fphex.c: Move to ...
8464         * sysdeps/generic/printf_fphex.c: ... here.  Fix exponent of
8465         extended precision number.
8466         * sysdeps/m68k/printf_fphex.c: New file.
8468 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8470         * manual/stdio.texi: Fix typos.
8472 1999-03-09  Ulrich Drepper  <drepper@cygnus.com>
8474         * version.h (VERSION): Bump to 2.1.1.
8476 1999-03-09  Thorsten Kukuk  <kukuk@suse.de>
8478         * nis/ypclnt.c: Try only twice to connect to NIS server.
8480 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
8482         * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
8484 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8486         * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
8487         (DENORM_EXP): New define.  Use it as the exponent for a denormal.
8488         * stdlib/strtold.c: Moved to ...
8489         * sysdeps/generic/strtold.c: ... here.
8490         * sysdeps/m68k/strtold.c: New file.
8492 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8494         * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
8495         point if the precision is zero, even if the mantissa is non-zero.
8497 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
8499         * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
8500         arguments into the request message buffer inside `send_rpc'
8501         subfunction.  We must repeat the marshalling when retrying the RPC
8502         after a SIGTTOU delivery.
8504         * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
8505         path when there is no ctty port.
8506         * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
8507         Move sigstate check inside loop so we recheck after handling a signal.
8509 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8511         * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
8512         O_EXLOCK are BSD extensions.
8513         Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
8515 1999-03-08  Ulrich Drepper  <drepper@cygnus.com>
8517         * manual/signal.texi (Termination in Handler): Correct example.
8518         Install default handler before reraising the signal.
8519         Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
8521 1999-03-08  Roland McGrath  <roland@baalperazim.frob.com>
8523         * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
8524         null, in which case send an empty string.
8526 1999-03-02  Mark Kettenis  <kettenis@gnu.org>
8528         * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
8529         backward compatibility EH functions to be linked when using
8530         gcc-2.8.1.  Patch by Zack Weinberg <zack@rabi.columbia.edu>.
8532 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8534         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
8535         /dev/pts status may change during runtime.
8537 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8539         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
8540         change.  /dev/pts status can change during runtime.
8542 1999-03-07  Thorsten Kukuk  <kukuk@suse.de>
8544         * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
8545         poll reports error.
8546         * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
8547         add some more sanity checks.
8548         * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
8549         parser prototype.
8551 1999-03-05  Thorsten Kukuk  <kukuk@suse.de>
8553         * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
8554         change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
8555         * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
8556         * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
8557         * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
8558         for x_getint32.
8559         * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
8560         * nis/nis_print.c: Fix ctime argument for platforms where
8561         sizeof (time_t) != sizeof (int).
8563 1999-03-07  Mark Kettenis  <kettenis@gnu.org>
8565         * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
8566         CLOCKS_PER_SEC instead of CLK_TCK.
8568 1999-03-05  Ulrich Drepper  <drepper@cygnus.com>
8570         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
8571         whether /dev/pts is available.
8572         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
8573         dev_pts_available.
8575         * posix/globtest.sh: Make common_objpfx path absolute and and db2
8576         and hesiod directory to library path [PR libc/1007].
8578 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8580         * resolv/inet_addr.c (inet_aton): Don't allow componets >
8581         255.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
8583 1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>
8585         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
8586         DT_PLTGOT has already been relocated.
8587         (__elf_machine_fixup_plt): Likewise.
8588         Minor cleanups.
8590 1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>
8592         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
8594 1999-03-03  Ulrich Drepper  <drepper@cygnus.com>
8596         * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
8597         and fold string to uppercase [PR libc/1005].
8599 1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8601         * elf/dl-load.c (lose): Fix return type.
8603 1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>
8605         * sysdeps/mach/hurd/bits/fcntl.h
8606         [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
8607         * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
8608         set O_NOTRANS as well.
8609         (__hurd_file_name_lookup_retry): At successful end of lookup,
8610         if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
8611         it is a translated node not owned by root.
8612         (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
8613         on the file name passed to LOOKUP.
8615 1999-03-02  Ulrich Drepper  <drepper@cygnus.com>
8617         * manual/time.texi (High Resolution Timer): Correct computation in
8618         example.  Reported by jjf@devel.cemsys.com.
8620 1999-03-02  Philip Blundell  <pb@nexus.co.uk>
8622         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
8623         entry is already relocated.
8625 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8627         * resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
8628         by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
8630 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8632         * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
8633         uc_link which is the right name according to Unix98.
8634         Reported by Craig Metz [PR libc/1001].
8635         * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
8636         * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
8637         * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
8638         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
8639         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise.
8640         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
8642 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8644         * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
8645         @ifinfo.
8647 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8649         * iconvdata/Makefile: Always include iconv-rules, but disable rule
8650         to regenerate it if avoid-generated.
8652         * Makeconfig: Always include sys-dirs, but disable rule to
8653         regenerate it when avoid-generated.
8655         * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
8656         rule to generate sysd-syscalls.
8658         * elf/Makefile (generated): Remove $(objpfx) from names.
8660 1999-02-28  Mark Kettenis  <kettenis@gnu.org>
8662         * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
8663         actual length if the adress length is smaller than the input
8664         value.  Change type of *LEN paramater to socklen_t.
8665         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
8666         * sysdeps/mach/hurd/accept.c (accept): Likewise.
8667         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
8668         * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
8669         paramater to socklen_t.
8671 1999-02-28  Roland McGrath  <roland@baalperazim.frob.com>
8673         * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
8674         msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
8675         with the RPC.
8677 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
8679         * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
8680         __get_phys_pages): Cast &HBI to silence warning.
8682         * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
8683         * hurd/hurdchdir.c: New file.
8684         * hurd/hurdfchdir.c: New file.
8685         * sysdeps/mach/hurd/chroot.c: Call
8686         _hurd_change_directory_port_from_name to do the work.
8687         * sysdeps/mach/hurd/chdir.c: Likewise.
8688         * sysdeps/mach/hurd/fchdir.c: Call
8689         _hurd_change_directory_port_from_fd to do the work.
8690         * hurd/fchroot.c: Likewise.
8691         * hurd/hurd.h: Declare them.
8693 1999-02-27  Ulrich Drepper  <drepper@cygnus.com>
8695         * elf/dl-load.c (lose): Add more comments to explain the `why'.
8696         (_dl_map_object): Remove redundant test.
8698 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
8700         * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
8701         try to _hurd_port_free a lower-numbered descriptor that was not in any
8702         fd_set.
8704 1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8706         * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
8707         declaration for ____wcstod_l_internal.
8709         * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
8710         __strtod_internal prototype.
8711         * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
8712         (____strtold_l_internal): Add prototype declaration.
8713         (__strtold_l): Call correct function.
8715 1999-02-24  Ulrich Drepper  <drepper@cygnus.com>
8717         * elf/elf.h: Add 32bit HPPA definitions.
8719 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8721         * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
8722         non-checked heap is restored when malloc checking was requested by
8723         the user.
8724         (struct malloc_state): Add using_malloc_checking.
8725         (MALLOC_STATE_VERSION): Increment minor.
8726         (using_malloc_checking, disallow_malloc_check): New variables.
8727         (__malloc_check_init): Use them.
8728         (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
8729         that it can the chunk is properly instrumented when malloc
8730         checking is enabled.  Set the new using_malloc_checking field.
8731         (malloc_hook_ini): Correct signature when _LIBC is not defined.
8733 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8735         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
8736         (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
8737         time.
8739         * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
8740         Don't call elf_get_dynamic_info and _dl_setup_hash a second time
8741         if ld.so is the main program.
8743 1999-02-23  Ulrich Drepper  <drepper@cygnus.com>
8745         * stdio-common/vfprintf.c (vfprintf): If precision or width is too
8746         large for work_buffer, allocate new buffer.
8747         (printf_unknown): Likewise.  [PR libc/988]
8749 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
8751         * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
8752         instead of stat and fstat.
8753         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8755 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8757         * elf/dl-error.c (_dl_signal_cerror): New function.
8758         (_dl_signal_error): Don't call receiver function.
8759         * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
8760         instead of _dl_signal_error when reporting references to undefined
8761         symbols or versions.
8762         (_dl_lookup_versioned_symbol): Likewise.
8763         (_dl_lookup_versioned_symbol_skip): Likewise.
8764         * elf/dl-version.c (match_symbol): Likewise.
8766         * elf/ldsodefs.h: Declare _dl_signal_cerror.
8768 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
8770         * misc/getttyent.c (getttyent): Release lock on stream later to
8771         also protect global variable zapchar.
8773         * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
8774         __times [PR libc/990].
8776 1999-02-21  David S. Miller  <davem@redhat.com>
8778         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
8779         parentheses in Feb 2 changes.
8780         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
8782 1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8784         * sysdeps/generic/glob.c (glob): Save previous errno.
8786 1999-02-21  Ulrich Drepper  <drepper@cygnus.com>
8788         * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
8789         lookup functions if it is too small.
8791 1999-02-20  Ulrich Drepper  <drepper@cygnus.com>
8793         * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
8794         for tracing to the scope lists.
8795         * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
8796         DT_SYMTAB is always available according to ELF spec.
8798         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
8799         call test whether there is any scope left.
8800         (_dl_lookup_versioned_symbol_skip): Likewise.
8802         * elf/Makefile (distribute): Add do-lookup.h.
8803         * elf/do-lookup.h: New file.  Split out from dl-lookup.c.
8804         * elf/dl-lookup.c: Move do_lookup function in separate file and
8805         include the file twice, for handling versioning and without it.
8807         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
8808         entry is already relocated.
8809         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
8810         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
8811         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
8812         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
8813         Likewise.
8814         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
8815         Likewise.
8816         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
8817         Likewise.
8819         * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
8820         load address.  Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
8821         DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
8822         (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
8823         rel and rela relocations can both happen and skip one test if this
8824         is not possible.
8825         (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
8826         appropriately.
8827         * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
8828         already relocated.
8829         * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
8830         relocated.
8831         * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
8832         (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
8833         (_dl_map_object): DT_STRTAB entry is already relocated.
8834         * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
8835         already relocated.
8836         * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
8837         relocated.
8838         * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
8839         DT_VERSYM entries are already relocated.
8840         (profile_fixup): Likewise.
8841         * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX.  Replace
8842         all users.
8843         (match_symbol): DT_STRTAB entry is already relocated.
8844         (_dl_check_map_versions): Likewise.  Also fo DT_VERSYM.
8845         * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
8846         relocated already.  DT_SYMTAB and DT_VERSYM entries are also relocated.
8847         * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
8848         (find_needed): DT_STRTAB entry is already relocated.
8849         (dl_main): Pass extra argument to elf_get_dynamic_info.
8850         DT_STRTAB entry is already relocated.
8851         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
8852         DT_PLTGOT entries are already relocated.
8853         (elf_machine_rela): Likewise for DT_SYMTAB.
8854         * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
8855         relocated.
8856         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8857         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
8858         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8859         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8860         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
8861         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
8862         (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
8863         * sysdeps/mips/mips64/dl-machine.h: Likewise.
8865         * grp/initgroups.c (initgroups): If function in current module was
8866         successful don't stop but continue to process to get all the groups.
8868         * elf/dl-load.c (_dl_map_object_from_fd): Use global
8869         _dl_pf_to_proot array to convert p_flags value.
8870         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8872         * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
8873         loop to clear `info'.
8875         * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
8876         do the work and don't use inline assembler.
8878 1999-02-19  Ulrich Drepper  <drepper@cygnus.com>
8880         * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
8881         * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
8882         noreturn, and prevent it from being inlined.
8883         Define LOSE appropriately.
8884         (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
8885         Optimize decoding of p_flags for certain platforms.
8887 1999-02-19  Philip Blundell  <pb@nexus.co.uk>
8889         * Makeconfig (link-libc): When doing a static link, make sure that
8890         libgcc.a is included both before and after libc.a.
8892 1999-02-18  Thorsten Kukuk  <kukuk@suse.de>
8894         * nis/nss_compat/compat-spwd.c: Fix handling of default values for
8895         sp_warn, sp_inact, sp_expire and sp_flag.
8897 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
8899         * elf/link.h (link_map): Add l_dev and l_ino.
8900         * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
8901         loaded shared object with all loaded objects.  Initialize l_ino
8902         and l_dev in case it's new.
8903         * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
8904         object.
8905         * elf/Makefile: Compile and run new test.
8906         * elf/multiload.c: New file.
8908         * nss/nsswitch.h (service_user): Change name field from const char *
8909         to char[0].
8910         (name_database_entry): Likewise.
8911         * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
8912         for change of `service_user'.
8913         (nss_getline): Adjust memory allocation for change of
8914         `name_database_entry'.
8916         * catgets/catgets.c: Correctly handle NLSPATH from environment
8917         [PR libc/980].
8919         * io/Makefile (routines): Add lock64.
8920         * io/Versions: Add lockf64 for GLIBC_2.1.1.
8921         * sysdeps/generic/lockf64.c: New file.
8923 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
8925         * string/bits/string2.h: Only use strncmp optimization if count
8926         argument is constant.
8928 1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>
8930         * sysdeps/mach/hurd/revoke.c: New file.
8932 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
8934         * wctype/wctype.h (_ISwbit): Cast result of shift operations to
8935         int to avoid warning about `ISO C restricts enumerator values to
8936         range of `int''.
8938 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8940         * elf/dlfcn.h: Fix typo.
8941         * sysdeps/generic/bits/dlfcn.h: Likewise.
8942         * sysdeps/mips/bits/dlfcn.h: Likewise.
8944 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
8946         * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
8947         for the case N == 0.
8949         * db2/Makefile (distribute): Add LICENSE.
8951 1999-02-03  Jeff Bailey  <jbailey@nisa.net>
8953         * sysdeps/unix/make_errlist.c: Add i18n and copyright to
8954         generated files.
8956         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
8958 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
8960         * time/mktime.c: Use ISO C form for function definitions and
8961         remove unnecessary prototypes.
8963         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
8965         * time/time.h: Avoid unneccesary #ifdef.
8967 1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
8969         * stdio-common/_itoa.c (_itoa): Correct parameters to
8970         udiv_qrnnd_preinv.
8972 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8974         * misc/sys/cdefs.h: Undefine __PMT since it might be defined
8975         before (e.g. in glob.h).
8976         Closes PR libc/959.
8978 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8980         * sysdeps/mips/fpu_control.h: Fix typo.
8981         Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
8982         Remove __setfpucw.
8984 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
8986         * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
8987         the "unused" ends of the sockets.  Let pipes be bidirectional.
8989 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
8991         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
8992         invalid ai_flags.
8994 1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8996         * manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
8997         Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
8999         * manual/setjmp.texi (Non-Local Exits and Signals): Fix
9000         typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
9002 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
9004         * string/Versions: Add __strverscmp to GLIBC_2.1.1.
9006 1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9008         * misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
9009         check for priority mask.
9011 1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
9013         * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
9014         Reported by Craig Metz <cmetz@inner.net> .
9016 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9018         * stdio-common/Makefile (tests): tllformat added.
9020         * stdio-common/tllformat.c: New program, based on tiformat.c with
9021         examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
9023 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9025         * posix/test-vfork.c: Fix exit status test.
9027 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9029         * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
9030         missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
9032 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9034         * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
9035         of separare explicit comparisons.
9037 1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9039         * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
9040         defined.
9042         * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
9043         defined.
9045 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
9047         * po/el.po: Update from translation team.
9049 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9051         * intl/locale.alias: Fix slovenian entry [PR libc/948].
9053 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9055         * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
9056         * inet/ruserpass.c: Likewise.
9057         * locale/programs/stringtrans.c: Likewise.
9058         * locale/programs/localedef.c: Likewise.
9059         * nscd/grpcache.c: Likewise.
9060         * nss/nss_files/files-XXX.c: Likewise.
9061         * stdlib/canonicalize.c: Likewise.
9062         * sysdeps/posix/sigwait.c: Likewise.
9064 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9066         * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
9067         even on 64 bit platforms.
9069         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
9070         Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
9072 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
9074         * intl/dcgettext.c: Include locale.h is available.
9076 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
9078         * po/nl.po: Update from translation team.
9080         * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
9082         * Makefile: Allow calling goals for po subdir.
9084         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
9085         signal definitions.
9087         * po/el.po: New file.
9089 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9091         * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
9092         when processing DT_SYMBOLIC objects.
9094 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9096         * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
9097         program headers without PT_PHDR only require that they are
9098         contained within one of the loaded segments.  Don't use assert,
9099         since that would be a bug in the object, not the dynamic linker.
9101 1999-02-08  Richard Henderson  <rth@cygnus.com>
9103         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
9104         restore all call-clobbered fp regs.
9106 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
9108         * po/cs.po: New file.
9110         * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
9111         SUID binaries.
9113 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
9115         * signal/signal.h: Don't declare __libc_allocate_rtsig.
9116         * include/signal.h: Declare __libc_allocate_rtsig here.
9118         * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
9119         point functions, not do_lookup since the later can be called more
9120         than once.
9122 1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>
9124         * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
9125         macro, so that architectures which need to add some special
9126         offset to stack pointer can share this file.
9128         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
9129         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
9130         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
9131         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
9133         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
9134         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
9135         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
9136         between sparc32 and sparc64.
9138         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
9139         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
9140         * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
9141         between sparc32 and sparc64.
9143         * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
9144         * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
9145         * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
9146         between sparc32 and sparc64.
9148         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
9149         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
9150         * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
9151         between sparc32 and sparc64.
9153 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
9155         * Versions.def: New version GLIBC_2.1.1 for libc.
9156         * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
9157         * stdlib/labs.c: Moved to...
9158         * sysdeps/generic/labs.c: ...here.
9159         * stdlib/llabs.c: Moved to...
9160         * sysdeps/generic/llabs.c: ...here.
9161         * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
9162         header.  Declare _Exit.
9163         * sysdeps/generic/_exit.c: Add alias _Exit.
9164         * sysdeps/mach/hurd/_exit.c: Likewise.
9165         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
9166         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
9167         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
9168         * sysdeps/unix/_exit.c: Likewise.
9169         * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
9170         imaxdiv and imaxabs.  Declare lldiv_t if necessary.
9171         * sysdeps/wordsize-64/inttypes.h: Likewise.
9172         * sysdeps/wordsize-32/llabs.c: New file.
9173         * sysdeps/wordsize-32/lldiv.c: New file.
9174         * sysdeps/wordsize-64/labs.c: New file.
9175         * sysdeps/wordsize-64/ldiv.c: New file.
9176         * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
9177         * manual/startup.texi: Document _Exit.
9179 1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9181         * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
9183 1999-02-06  Ulrich Drepper  <drepper@cygnus.com>
9185         * Versions.def: Add versions for ld.so.
9186         * csu/Versions: Remove __libc_stack_end here.
9187         * elf/Versions: Split libc definitions in libc and ld.so definitions.
9188         * elf/Makefile (ld-map): Change to ld.so.map.
9189         * scripts/versions.awk: Recognize dot in library names.
9191         * ctype/ctype.h: Remove definitions of __tolower and __toupper.
9192         Don't use __tolower and __toupper in inline functions.
9193         Add optimizing macros for tolower and toupper.
9194         * ctype/ctype-extn.c (_tolower): Don't use __tolower.
9195         (_toupper): Don't use __toupper.
9196         * ctype/ctype.c (tolower): Don't use __tolower.
9197         (toupper): Don't use toupper.
9199         * nscd/cache.c (prune_cache): Correct printing of debugging messages.
9201         * resolv/Versions (libresolv): Export __ns_name_unpack and
9202         __ns_name_ntop.
9203         * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
9204         make it global.  Change all users.  Similar for ns_name_ntop.
9205         * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
9206         user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
9207         directly to detect too small buffer.
9208         * resolv/nss_dns/dns-network.c: Likewise.
9210         * stdio-common/Makefile (tests): Add scanf12.
9211         * stdio-common/scanf12.c: New file.
9212         * stdio-common/scanf12.input: New file.
9213         * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
9214         floating-point correctly if the number is invalid.
9216         * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
9217         functions.
9218         * stdio-common/printf_fp.c: Likewise.
9219         * stdio-common/printf_fphex.c: Likewise.
9220         * stdio-common/vfprintf.c: Likewise.
9223 See ChangeLog.9 for earlier changes.