1 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
3 * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25.
5 * sysdeps/unix/sysv/linux/kernel-features.h
6 (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition.
7 * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file.
9 * manual/texinfo.tex: Updated.
11 1999-11-01 Andreas Jaeger <aj@suse.de>
13 * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility.
15 * inet/gethstbynm2_r.c: Reorder addresses.
17 1999-09-11 Paul Eggert <eggert@twinsun.com>
19 * posix/glob.h (glob): If #defining to glob64, do this before
20 declaring it, so that all declarations and uses match, and do not
21 declare glob64, to avoid a declaration clash.
22 (globfree): Likewise with globfree64.
24 1999-09-08 Eli Zaretskii <eliz@is.elta.co.il>
26 * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]:
27 Keep the trailing slash unless DIRNAME is just "x:/".
29 1999-10-11 Andreas Jaeger <aj@suse.de>
31 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added.
32 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
35 1999-10-20 Andreas Schwab <schwab@suse.de>
37 * math/Makefile (libm-tests-generated): Remove libm-test.stmp.
38 (generated): Add it here.
39 (before-compile): Add libm-test.c.
40 ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on
42 ($(objpfx)libm-test.stmp): Use $(objpfx) instead of
45 1999-10-31 Ulrich Drepper <drepper@cygnus.com>
47 * Makefile (pdf): New goal.
48 * manual/Makefile: Add definitions and rules for PDF generation.
50 * Versions.def (libm): Add GLIBC_2.1.3.
52 ISO C99 TR1 changes various fe* functions to return an error value.
53 * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag,
54 feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv.
55 * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias.
56 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
57 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
58 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
59 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
60 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
61 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
62 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
63 * sysdeps/arm/fpu/fegetenv.c: Likewise.
64 * sysdeps/arm/fpu/fesetenv.c: Likewise.
65 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
66 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
67 * sysdeps/generic/fclrexcpt.c: Likewise.
68 * sysdeps/generic/fegetenv.c: Likewise.
69 * sysdeps/generic/fesetenv.c: Likewise.
70 * sysdeps/generic/feupdateenv.c: Likewise.
71 * sysdeps/generic/fgetexcptflg.c: Likewise.
72 * sysdeps/generic/fraiseexcpt.c: Likewise.
73 * sysdeps/generic/fsetexcptflg.c: Likewise.
74 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
75 * sysdeps/i386/fpu/fegetenv.c: Likewise.
76 * sysdeps/i386/fpu/fesetenv.c: Likewise.
77 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
78 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
79 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
80 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
81 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
82 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
83 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
84 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
85 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
86 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
87 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
88 * sysdeps/mips/fclrexcpt.c: Likewise.
89 * sysdeps/mips/fegetenv.c: Likewise.
90 * sysdeps/mips/fesetenv.c: Likewise.
91 * sysdeps/mips/feupdateenv.c: Likewise.
92 * sysdeps/mips/fgetexcptflg.c: Likewise.
93 * sysdeps/powerpc/fclrexcpt.c: Likewise.
94 * sysdeps/powerpc/fegetenv.c: Likewise.
95 * sysdeps/powerpc/fesetenv.c: Likewise.
96 * sysdeps/powerpc/feupdateenv.c: Likewise.
97 * sysdeps/powerpc/fgetexcptflg.c: Likewise.
98 * sysdeps/powerpc/fraiseexcpt.c: Likewise.
99 * sysdeps/powerpc/fsetexcptflg.c: Likewise.
100 * sysdeps/sparc/fpu/fclrexcpt.c: Likewise.
101 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
102 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
103 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
104 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
105 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
106 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
107 * math/fenv.h: Adjust prototypes.: Likewise.
108 * manual/arith.texi: Adjust documentation for these changes.
110 * manual/arith.texi: Document feraiseexcept.
112 * sysdeps/powerpc/fegetenv.c: Moved to...
113 * sysdeps/powerpc/fpu/fegetenv.c: ...here.
114 * sysdeps/powerpc/fegetround.c: Moved to...
115 * sysdeps/powerpc/fpu/fegetround.c: ...here.
116 * sysdeps/powerpc/feholdexcpt.c: Moved to...
117 * sysdeps/powerpc/fpu/feholdexcpt.c: ...here.
118 * sysdeps/powerpc/fesetenv.c: Moved to...
119 * sysdeps/powerpc/fpu/fesetenv.c: ...here.
120 * sysdeps/powerpc/fenv_libc.h: Moved to...
121 * sysdeps/powerpc/fpu/fenv_libc.h: ...here.
122 * sysdeps/powerpc/feupdateenv.c: Moved to...
123 * sysdeps/powerpc/fpu/feupdateenv.c: ...here.
124 * sysdeps/powerpc/fgetexcptflg.c: Moved to...
125 * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here.
126 * sysdeps/powerpc/fraiseexcpt.c: Moved to...
127 * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here.
128 * sysdeps/powerpc/fsetexcptflg.c: Moved to...
129 * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here.
130 * sysdeps/powerpc/ftestexcept.c: Moved to...
131 * sysdeps/powerpc/fpu/ftestexcept.c: ...here.
132 * sysdeps/powerpc/fesetround.c: Moved to...
133 * sysdeps/powerpc/fpu/fesetround.c: ...here
134 * sysdeps/powerpc/fenv_const.c: Moved to...
135 * sysdeps/powerpc/fpu/fenv_const.c: ...here.
137 * sysdeps/mips/fclrexcpt.c: Moved to...
138 * sysdeps/mips/fpu/fclrexcpt.c: ...here.
139 * sysdeps/mips/fegetenv.c: Moved to...
140 * sysdeps/mips/fpu/fegetenv.c: ...here.
141 * sysdeps/mips/fegetround.c: Moved to...
142 * sysdeps/mips/fpu/fegetround.c: ...here.
143 * sysdeps/mips/fesetenv.c: Moved to...
144 * sysdeps/mips/fpu/fesetenv.c: ...here.
145 * sysdeps/mips/fesetround.c: Moved to...
146 * sysdeps/mips/fpu/fesetround.c: ...here.
147 * sysdeps/mips/feupdateenv.c: Moved to...
148 * sysdeps/mips/fpu/feupdateenv.c: ...here.
149 * sysdeps/mips/fgetexcptflg.c: Moved to...
150 * sysdeps/mips/fpu/fgetexcptflg.c: ...here.
151 * sysdeps/mips/ftestexcept.c: Moved to...
152 * sysdeps/mips/fpu/ftestexcept.c: ...here.
154 1999-10-29 Jakub Jelinek <jakub@redhat.com>
156 * stdlib/longlong.h: Avoid UDIV_TIME redefinition.
157 * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus
158 libraries from statically linked programs.
159 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309
160 fix for sigaction on SPARC.
161 Patches by David S. Miller <davem@redhat.com>.
163 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare
164 gregset_t and other required structures and defines for SPARC 64bit
165 ABI as well, not only 32bit ABI.
167 1999-10-31 Andreas Jaeger <aj@suse.de>
169 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X
170 by __USE_ISOC99 and update comments.
172 * math/complex.h: Update comments for ISO C99.
173 * math/fenv.h: Likewise.
174 * math/test-fenv.c: Likewise.
175 * math/tgmath.h: Likewise.
176 * libio/stdio.h: Likewise.
177 * posix/sys/types.h: Likewise.
178 * sysdeps/generic/inttypes.h: Likewise.
179 * sysdeps/generic/stdint.h: Likewise.
181 1999-10-31 Ulrich Drepper <drepper@cygnus.com>
183 * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE.
185 * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also
186 recognize _ISOC99_SOURCE.
187 * libio/stdio.h: Likewise.
188 * math/math.h: Likewise.
189 * math/bits/mathcalls.h: Likewise.
190 * math/stdio.h: Likewise.
191 * stdlib/stdlib.h: Likewise.
192 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
193 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
194 * sysdeps/arm/bits/huge_val.h: Likewise.
195 * sysdeps/generic/bits/mathdef.h: Likewise.
196 * sysdeps/i386/bits/huge_val.h: Likewise.
197 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
198 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
199 * sysdeps/ieee754/bits/huge_val.h: Likewise.
200 * sysdeps/m68k/bits/huge_val.h: Likewise.
201 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
202 * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
203 * sysdeps/powerpc/bits/mathdef.h: Likewise.
204 * sysdeps/powerpc/bits/mathinline.h: Likewise.
205 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
206 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
207 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
208 * wcsmbs/wchar.h: Likewise.
210 * sysdeps/powerpc/bits/mathdef.h: Moved to...
211 * sysdeps/powerpc/fpu/bits/mathdef.h: ...here.
212 * sysdeps/powerpc/bits/mathinline.h: Moved to...
213 * sysdeps/powerpc/fpu/bits/mathinline.h: ...here.
214 * sysdeps/powerpc/bits/fenv.h: Moved to...
215 * sysdeps/powerpc/fpu/bits/fenv.h: ...here.
217 1999-10-31 Andreas Jaeger <aj@suse.de>
219 * manual/math.texi (Errors in Math Functions): Correct TeX code.
221 1999-10-31 Andreas Jaeger <aj@suse.de>
223 * math/libm-test.inc: Change comments to use ISO C99 instead of
225 * math/w_lgamma.c: Likewise.
226 * math/w_lgammaf.c: Likewise.
227 * math/w_lgammal.c: Likewise.
228 * math/test-fenv.c: Likewise.
229 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
230 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
231 * sysdeps/generic/printf_fphex.c: Likewise.
233 1999-10-31 Andreas Jaeger <aj@suse.de>
235 * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment.
237 * manual/math.texi: Change ISO C9x to ISO C99.
238 * manual/startup.texi: Likewise.
239 * manual/stdio.texi: Likewise.
241 1999-10-31 Andreas Jaeger <aj@suse.de>
243 * manual/arith.texi: Change ISO C9x to ISO C99.
244 * manual/time.texi (Low-Level Time String Parsing): Likewise.
246 1999-10-30 Ulrich Drepper <drepper@cygnus.com>
248 * socket/Makefile (distribute): Add ifreq.h.
250 * manual/time.texi (Formatting Date and Time): Revise comments about
251 origins of the formats with ISO C99 references.
253 1999-10-30 Andreas Jaeger <aj@suse.de>
255 * sysdeps/unix/sysv/linux/ifreq.h: New file.
257 1999-10-29 Andreas Jaeger <aj@suse.de>
259 * manual/arith.texi (Parsing of Floats): Document the hexadecimal
260 input format; mention that strtof and strtold are part of ISO C99.
262 1999-10-29 Ulrich Drepper <drepper@cygnus.com>
264 * manual/math.texi (Errors in Math Functions): New section.
265 * math/libm-err-tab.pl: Moved to...
266 * manual/libm-err-tab.pl: ...here.
267 * manual/Makefile: Add rules for math function error table generation.
269 * stdlib/tst-strtod.c: Add more hexadecimal tests.
271 * stdlib/strtod.c: Handle hexadecimal numbers with leading digit
272 != 1 correctly and more than one digit before decimal point..
274 1999-10-27 Andreas Jaeger <aj@suse.de>
276 * sysdeps/generic/ifreq.h: New file.
278 * resolv/res_hconf.c: Add missing includes to get all prototypes.
279 (_res_hconf_reorder_addrs): Rewrite. This never worked before.
280 Reported by John DiMarco <jdd@cs.toronto.edu>.
282 (_res_hconf_reorder_addrs): Made thread safe.
283 (free_mem): New function, needed for malloc debugging.
285 1999-10-29 Andreas Jaeger <aj@suse.de>
287 * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ...
288 * sysdeps/generic/opensock.c (__opensock): ...here in a new file.
289 * sysdeps/unix/sysv/linux/if_index.c: Change all callers of
290 opensock to use __opensock.
292 * socket/Makefile (routines): Add opensock.
294 * include/sys/socket.h (__opensock): Add prototype declaration.
296 1999-10-29 Andreas Jaeger <aj@suse.de>
298 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing
300 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
302 * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added
303 new constant from Linux 2.3.25pre1.
305 * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added.
307 1999-10-29 Andreas Jaeger <aj@suse.de>
309 * math/libm-err-tab.pl: New file to generate a table of
310 libm-test-ulps values.
312 1999-10-29 Ulrich Drepper <drepper@cygnus.com>
314 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file.
315 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect
316 struct sigcontext* object as second parameter for profil_counter.
317 Patches by Jakub Jelinek <jakub@redhat.com>.
319 1999-10-29 Andreas Jaeger <aj@suse.de>
321 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs.
322 * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
324 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts,
325 efs, qnx4 and reiser file systems.
327 1999-10-29 Andreas Jaeger <aj@suse.de>
329 * locale/Makefile (others): Set to localedef and locale for make
332 * debug/Makefile (generated): Add xtrace for make clean to work.
334 1999-10-29 Andreas Jaeger <aj@suse.de>
336 * stdlib/tst-strtod.c: Add two testcases for hexadecimal input.
338 1999-10-25 Andreas Jaeger <aj@suse.de>
340 * math/libm-test.inc: Added code to ignore the given max ulps.
341 (print_max_error): Check for ignore_max_ulp.
342 (check_float_internal): Likewise.
343 (parse_opt): Parse --ignore-max-ulp.
344 (main): Initialize ignore_max_ulp.
346 1999-10-26 Andreas Jaeger <aj@suse.de>
348 * stdlib/msort.c: Include <alloca.h> for prototype.
349 Remove K&R compatibility and _quicksort prototype.
351 * stdlib/qsort.c: Make code and comments 64 bit clean; clarify
353 Reported by Bernd Loechner <loechner@informatik.uni-kl.de>.
354 Remove K&R compatibility.
355 Move prototype declaration to include/stdlib.h.
356 Include <alloca.h> for prototype; include <limits.h> for CHAR_BIT.
358 * include/stdlib.h: Prototype declaration for _quicksort.
360 1999-10-27 Andreas Jaeger <aj@suse.de>
362 * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was
363 shifted a bit too much.
364 Reported by Eugen Dedu <dedu@ese-metz.fr>.
366 1999-10-25 Ulrich Drepper <drepper@cygnus.com>
368 * resolv/gethnamaddr.c: Account bytes needed for alignment in
369 buflen. Patch by Olaf Kirch <okir@lst.de>.
371 * md5-crypt/md5test.c: Correct names of MD5 functions after
372 removing of public names.
374 * configure.in: Don't allow --enable-kernel without parameter.
376 1999-10-25 Ulrich Drepper <drepper@cygnus.com>
378 * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0
381 1999-10-25 Thorsten Kukuk <kukuk@suse.de>
383 * md5-crypt/md5.h: Remove prototypes for public interface. md5 is
384 only used internally.
385 * md5-crypt/md5-crypt.c: Use internal names for md5 functions,
386 remove weak alias for public names.
387 * md5-crypt/md5.c: Remove weak aliase.
389 1999-10-25 Andreas Jaeger <aj@suse.de>
391 * math/README.libm-test: New file, documents libm-test.inc.
393 1999-10-25 Andreas Jaeger <aj@suse.de>
395 * math/gen-libm-test.pl: Only generate a new ulps file when -n is
397 (print_ulps_file): Fix loops to not read @tests and @functions
398 since those are not initialized with -n now.
399 (parse_ulps): Set $results{..}{"kind"}.
401 1999-10-25 Andreas Jaeger <aj@suse.de>
403 * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.
405 * math/libm-test.inc (check_float_internal): Don't print ulps for
408 1999-10-20 Andreas Jaeger <aj@suse.de>
410 * manual/socket.texi (Address Formats): Describe usage of AF_UNIX
412 Patch by Robert Bihlmeyer <robbe@orcus.priv.at>.
414 1999-10-24 Ulrich Drepper <drepper@cygnus.com>
416 * math/libm-test.inc: Disable some boundary case tests for inline
419 * math/math.h: Pretty printing.
421 * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN.
422 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
423 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
424 * sysdeps/i386/fpu/e_log10.S: Likewise.
425 * sysdeps/i386/fpu/e_log10f.S: Likewise.
426 * sysdeps/i386/fpu/e_log10l.S: Likewise.
427 * sysdeps/i386/fpu/s_log1p.S: Likewise.
428 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
429 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
430 * sysdeps/i386/fpu/s_log2.S: Likewise.
431 * sysdeps/i386/fpu/s_log2f.S: Likewise.
432 * sysdeps/i386/fpu/s_log2l.S: Likewise.
434 * sysdeps/i386/fpu/libm-test-ulps: New file.
436 * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return
438 (pow): Correct case x == 0.
439 (__sgn1l): Correct handling of -0.0.
441 1999-10-22 Andreas Jaeger <aj@suse.de>
443 * math/libm-test.inc (asinh_test): Add test for NaN as input parameter.
444 (atan_test): Likewise.
445 (atanh_test): Likewise.
446 (atan2_test): Likewise.
447 (carg_test): Likewise.
448 (ceil_test): Likewise.
449 (cos_test): Likewise.
450 (cosh_test): Likewise.
451 (cpow_test): Likewise.
452 (erf_test): Likewise.
453 (erfc_test): Likewise.
454 (exp_test): Likewise.
455 (exp10_test): Likewise.
456 (exp2_test): Likewise.
457 (expm1_test): Likewise.
458 (fabs_test): Likewise.
459 (floor_test): Likewise.
460 (fmod_test): Likewise.
461 (gamma_test): Likewise.
462 (lgamma_test): Likewise.
463 (log10_test): Likewise.
464 (log1p_test): Likewise.
465 (log2_test): Likewise.
466 (logb_test): Likewise.
467 (nearbyint_test): Likewise.
468 (remainder_test): Likewise.
469 (remquo_test): Likewise.
470 (sin_test): Likewise.
471 (sincos_test): Likewise.
472 (sinh_test): Likewise.
473 (sqrt_test): Likewise.
474 (tan_test): Likewise.
475 (tanh_test): Likewise.
476 (tgamma_test): Likewise.
478 1999-10-21 Ulrich Drepper <drepper@cygnus.com>
480 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y.
482 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special.
484 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check
485 for -Inf and return NaN.
487 * configure.in: Correct test for Cygnus gcc versions.
489 1999-10-21 Andreas Jaeger <aj@suse.de>
491 * math/libm-test.inc (cimag_test): New function, tests cimag.
492 (creal_test): New function, tests creal.
493 (conj_test): New function, tests conj.
494 (main): Add new functions.
496 1999-10-20 Andreas Jaeger <aj@suse.de>
498 * math/libm-test.inc: Rewrite to allow different deltas for real
499 and imaginary part of complex functions.
500 * math/gen-libm-test.pl: Likewise.
502 1999-10-19 Ulrich Drepper <drepper@cygnus.com>
504 * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
507 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.
509 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
510 for -Inf and return NaN.
512 * math/gen-libm-test.pl: Fix program name in help message.
514 * math/libm-test.inc (check_complex): It's Imaginary, not Complex.
516 * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.
518 * sysdeps/i386/Implies: Correct order of libm directories.
520 1999-10-19 Andreas Jaeger <aj@suse.de>
522 * include/bits/ipc.h: Remove K&R compatibility.
523 * include/libintl.h: Likewise.
524 * include/math.h: Likewise.
525 * include/mntent.h: Likewise
526 * include/netdb.h: Likewise.
527 * include/pwd.h: Likewise.
528 * include/sched.h: Likewise.
529 * include/shadow.h: Likewise
530 * include/stdlib.h: Likewise.
531 * include/sys/file.h: Likewise.
532 * include/sys/gmon.h: Likewise.
533 * include/sys/ioctl.h: Likewise.
534 * include/sys/mman.h: Likewise.
535 * include/sys/resource.h: Likewise.
536 * include/sys/socket.h: Likewise.
537 * include/sys/stat.h: Likewise.
538 * include/sys/sysinfo.h: Likewise.
539 * include/sys/time.h: Likewise.
540 * include/sys/times.h: Likewise.
541 * include/sys/uio.h: Likewise.
542 * include/sys/wait.h: Likewise.
543 * include/termios.h: Likewise.
544 * include/time.h: Likewise.
545 * include/ulimit.h: Likewise.
546 * include/utmp.h: Likewise.
547 * include/wchar.h: Likewise.
548 * include/wctype.h: Likewise.
550 1999-10-19 Andreas Jaeger <aj@suse.de>
552 * math/libm-test.inc: Remove one K&R compatibility.
553 (main): Enable nexttoward_test.
555 * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
556 libm-test-ulps.h; pretty print output a bit.
558 1999-10-19 Andreas Jaeger <aj@suse.de>
560 * iconv/iconv_prog.c (main): Set exit value in case that reading
561 from stdin failed [PR libc/1404].
563 1999-10-18 Andreas Jaeger <aj@suse.de>
565 Added improved math testsuite:
566 * math/libm-test.inc: New file, contains all tests from
567 libm-test.c but in a different form.
568 * math/libm-test.c: Removed.
569 * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file.
570 * math/gen-libm-test.pl: New file: Preprocessor.
571 * math/test-double.c: Adopted to new testsuite.
572 * math/test-idouble.c: Likewise.
573 * math/test-float.c: Likewise.
574 * math/test-ifloat.c: Likewise.
575 * math/test-ldouble.c: Likewise.
576 * math/test-ildoubl.c: Likewise.
577 * math/Makefile: Added rules to generate new suite.
579 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
581 * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
582 Patch by J. Richard Sladkey <jrs@world.std.com>.
584 * scripts/config.sub: Update from latest autoconf version.
585 * scripts/config.guess: Likewise.
587 1999-10-18 Andreas Jaeger <aj@suse.de>
589 * inet/arpa/inet.h: Remove K&R compatibility.
590 * math/fenv.h: Likewise.
592 1999-10-18 Andreas Jaeger <aj@suse.de>
594 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
595 kernel_sigaction): Remove K&R compatibility.
596 * sysdeps/unix/sysv/linux/net/if.h: Likewise.
597 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
598 * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
599 * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
600 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
601 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
602 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
603 * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
604 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
605 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
606 * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
607 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
608 * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
609 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
610 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
611 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
612 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
614 1999-10-18 Andreas Jaeger <aj@suse.de>
616 * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
617 Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
619 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
621 * po/gl.po: New file.
623 1999-10-18 Andreas Schwab <schwab@suse.de>
625 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
628 1999-10-18 Andreas Schwab <schwab@suse.de>
630 * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
631 clash with the TERM environment variable.
633 1999-10-18 Andreas Jaeger <aj@suse.de>
635 * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
636 returns now NaN + i NaN.
637 * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
638 * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
640 1999-10-18 Andreas Jaeger <aj@suse.de>
642 * include/aio.h: Remove K&R compatiblity.
643 * include/alloca.h: Likewise.
644 * include/db.h: Likewise.
645 * include/dirent.h: Likewise.
646 * include/fcntl.h: Likewise.
647 * include/fpu_control.h: Likewise.
648 * include/glob.h: Likewise.
649 * include/grp.h: Likewise.
650 * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
651 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
652 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
653 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
655 * include/execinfo.h: Add __THROW.
657 1999-10-18 Ulrich Drepper <drepper@cygnus.com>
659 * sysdeps/mips/Implies: Remove wordsize-32 reference.
660 * sysdeps/mips/mips3/Implies: Add it here.
662 1999-10-17 Ulrich Drepper <drepper@cygnus.com>
664 * elf/elf.h: Add various platform and architecture extensions.
666 * locale/lc-collate.c (_nl_postload_collate): Disable code for now.
667 * locale/setlocale.c (setlocale): Don't call _nl_find_locale for
670 * socket/sys/socket.h: Remove K&R compatibility.
672 1999-10-16 Andreas Jaeger <aj@suse.de>
674 * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
676 1999-10-15 Andreas Jaeger <aj@suse.de>
678 * stdlib/Makefile (tests): Added tst-xpg-basename.
680 * stdlib/tst-xpg-basename.c: New test file.
682 1999-10-14 Cristian Gafton <gafton@redhat.com>
684 * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
686 1999-10-14 Andreas Jaeger <aj@suse.de>
688 * resolv/inet_addr.c (inet_aton): Fix last patch. The little
689 endian version works for both endiannesses.
691 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
694 1999-10-12 Ulrich Drepper <drepper@cygnus.com>
696 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
697 register names unconditionally, only if __USE_GNU.
699 * debug/Makefile: Fix rules to generate pcprofiledump.
701 * include/ucontext.h: New file.
703 * locale/setlocale.c: Fix gcc warning about uninitialized variable.
705 1999-10-12 Andreas Jaeger <aj@suse.de>
707 * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
709 * math/basic-test.c: Fix typo.
711 * locale/programs/xstrdup.c: Include string.h for glibc
712 compilation to get string prototypes.
714 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
715 gregset_t and fpregset_t.
717 * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
718 warnings. Correct value for x == 0.
720 * argp/argp-help.c: Remove broken definition of flockfile and
723 1999-10-12 Andreas Schwab <schwab@suse.de>
725 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
726 generic Linux version.
728 1999-10-12 Ulrich Drepper <drepper@cygnus.com>
730 * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
732 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
734 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
735 and fpregset_t definitions.
737 * malloc/memprof.c (GETSP): Define for PowerPC.
738 (GETTIME): Fix generic version.
740 1999-10-10 Philip Blundell <philb@gnu.org>
742 * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
745 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
747 * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
748 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
749 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
750 * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
752 * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
754 * sysdeps/powerpc/e_sqrt.c: Moved to...
755 * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
756 * sysdeps/powerpc/e_sqrtf.c: Moved to...
757 * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
759 * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
760 * sysdeps/powerpc/sub_n.S: Likewise.
761 * sysdeps/powerpc/strlen.S: Likewise.
762 * sysdeps/powerpc/strcpy.S: Likewise.
763 * sysdeps/powerpc/strcmp.S: Likewise.
764 * sysdeps/powerpc/strchr.S: Likewise.
765 * sysdeps/powerpc/stpcpy.S: Likewise.
766 * sysdeps/powerpc/setjmp.S: Likewise.
767 * sysdeps/powerpc/rshift.S: Likewise.
768 * sysdeps/powerpc/ppc-mcount.S: Likewise.
769 * sysdeps/powerpc/mul_1.S: Likewise.
770 * sysdeps/powerpc/memset.S: Likewise.
771 * sysdeps/powerpc/lshift.S: Likewise.
772 * sysdeps/powerpc/dl-start.S: Likewise.
773 * sysdeps/powerpc/bzero.S: Likewise.
774 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
775 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
776 * sysdeps/powerpc/addmul_1.S: Likewise.
777 * sysdeps/powerpc/add_n.S: Likewise.
778 * sysdeps/powerpc/__longjmp.S: Likewise.
779 * sysdeps/powerpc/elf/start.S: Likewise.
781 1999-10-11 Cristian Gafton <gafton@redhat.com>
783 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
786 1999-10-10 Ulrich Drepper <drepper@cygnus.com>
788 * stdlib/atexit.c (initial): New variable. Use to initialize
790 * stdlib/exit.c (exit): Beware to not free statically allocated
791 list element [PR libc/1305].
793 * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
794 slash before the basename [PR libc/1383].
796 * argp/argp.h: Fix typo in last patch.
798 * sysdeps/powerpc/sysdep.h: New file.
799 * sysdeps/unix/powerpc/sysdep.h: New file.
800 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
801 sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
802 * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
803 instead of bare numbers.
804 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
805 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
806 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
808 * sysdeps/hppa/sysdep.h: New file.
810 1999-10-10 Andreas Jaeger <aj@suse.de>
812 * misc/sgtty.h: Fix typo in last patch.
814 1999-10-09 Ulrich Drepper <drepper@cygnus.com>
816 * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
817 * sysdeps/powerpc/s_copysign.S: Move to...
818 * sysdeps/powerpc/fpu/s_copysign.S: ...here. Use portable asm syntax.
819 * sysdeps/powerpc/s_copysignf.S: Move to...
820 * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
821 * sysdeps/powerpc/s_fabs.S: Move to...
822 * sysdeps/powerpc/fpu/s_fabs.S: ...here. Use portable asm syntax.
823 * sysdeps/powerpc/s_fabsf.S: Move to...
824 * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
825 * sysdeps/powerpc/s_fdim.c: Move to...
826 * sysdeps/powerpc/fpu/s_fdim.c: ...here.
827 * sysdeps/powerpc/s_fdimf.c: Move to...
828 * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
829 * sysdeps/powerpc/s_fmax.S: Move to...
830 * sysdeps/powerpc/fpu/s_fmax.S: ...here. Use portable asm syntax.
831 * sysdeps/powerpc/s_fmaxf.S: Move to...
832 * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
833 * sysdeps/powerpc/s_fmin.S: Move to...
834 * sysdeps/powerpc/fpu/s_fmin.S: ...here. Use portable asm syntax.
835 * sysdeps/powerpc/s_fminf.S: Move to...
836 * sysdeps/powerpc/fpu/s_fminf.S: ...here.
837 * sysdeps/powerpc/s_isnan.S: Move to...
838 * sysdeps/powerpc/fpu/s_isnan.c: ...here.
839 * sysdeps/powerpc/s_isnanf.S: Move to...
840 * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
841 * sysdeps/powerpc/s_llrint.c: Move to...
842 * sysdeps/powerpc/fpu/s_llrint.c: ...here.
843 * sysdeps/powerpc/s_llrintf.c: Move to...
844 * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
845 * sysdeps/powerpc/s_llround.c: Move to...
846 * sysdeps/powerpc/fpu/s_llround.c: ...here.
847 * sysdeps/powerpc/s_llroundf.c: Move to...
848 * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
849 * sysdeps/powerpc/s_lrint.c: Move to...
850 * sysdeps/powerpc/fpu/s_lrint.c: ...here.
851 * sysdeps/powerpc/s_lrintf.S: Move to...
852 * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
853 * sysdeps/powerpc/s_lround.c: Move to...
854 * sysdeps/powerpc/fpu/s_lround.c: ...here.
855 * sysdeps/powerpc/s_lroundf.c: Move to...
856 * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
857 * sysdeps/powerpc/s_rint.c: Move to...
858 * sysdeps/powerpc/fpu/s_rint.c: ...here.
859 * sysdeps/powerpc/s_rintf.c: Move to...
860 * sysdeps/powerpc/fpu/s_rintf.c: ...here.
861 * sysdeps/powerpc/t_sqrt.c: Move to...
862 * sysdeps/powerpc/fpu/t_sqrt: ...here.
863 * sysdeps/powerpc/w_sqrt.c: Move to...
864 * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
865 * sysdeps/powerpc/w_sqrtf.c: Move to...
866 * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
867 * configure.in: Support platforms which have no .text pseudo-op.
868 Patches partly by Jimi X <jimix@pobox.com>.
870 * Makeconfig: Look also in all subdirs for shlib-versions files.
872 * malloc/memprof.sh: Fix --help string a bit.
874 * argp/argp.h: Remove K&R compatiblity.
875 * assert/assert.h: Likewise.
876 * catgets/nl_types.h: Likewise.
877 * ctype/ctype.h: Likewise.
879 * db/ndbm.h: Likewise.
880 * db2/db.h: Likewise.
881 * db2/db_185.h: Likewise.
882 * debug/execinfo.h: Likewise.
883 * dirent/dirent.h: Likewise.
884 * dlfcn/dlfcn.h: Likewise.
885 * gmon/sys/gmon.h: Likewise.
886 * grp/grp.h: Likewise.
887 * iconv/gconv.h: Likewise.
888 * iconv/iconv.h: Likewise.
889 * include/execinfo.h: Likewise.
890 * inet/aliases.h: Likewise.
891 * inet/netinet/ether.h: Likewise.
892 * inet/netinet/in.h: Likewise.
893 * intl/libintl.h: Likewise.
894 * io/fcntl.h: Likewise.
895 * io/fts.h: Likewise.
896 * io/ftw.h: Likewise.
897 * io/utime.h: Likewise.
898 * io/sys/poll.h: Likewise.
899 * io/sys/stat.h: Likewise.
900 * io/sys/statfs.h: Likewise.
901 * io/sys/statvfs.h: Likewise.
902 * libio/libio.h: Likewise.
903 * libio/stdio.h: Likewise.
904 * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
905 * locale/locale.h: Likewise.
906 * login/pty.h: Likewise.
907 * login/utmp.h: Likewise.
908 * malloc/mcheck.h: Likewise.
909 * math/complex.h: Likewise.
910 * math/math.h: Likewise.
911 * math/math_private.h: Likewise.
912 * misc/err.h: Likewise.
913 * misc/fstab.h: Likewise.
914 * misc/libgen.h: Likewise.
915 * misc/mntent.h: Likewise.
916 * misc/regexp.h: Likewise.
917 * misc/search.h: Likewise.
918 * misc/sgtty.h: Likewise.
919 * misc/ttyent.h: Likewise.
920 * misc/sys/cdefs.h: Likewise.
921 * misc/sys/file.h: Likewise.
922 * misc/sys/ioctl.h: Likewise.
923 * misc/sys/mman.h: Likewise.
924 * misc/sys/select.h: Likewise.
925 * misc/sys/syslog.h: Likewise.
926 * misc/sys/uio.h: Likewise.
927 * misc/sys/ustat.h: Likewise.
928 * nss/nss.h: Likewise.
929 * posix/sched.h: Likewise.
930 * posix/unistd.h: Likewise.
931 * posix/wordexp.h: Likewise.
932 * posix/sys/times.h: Likewise.
933 * posix/sys/utsname.h: Likewise.
934 * posix/sys/wait.h: Likewise.
935 * pwd/pwd.h: Likewise.
936 * resolv/netdb.h: Likewise.
937 * resolv/resolv.h: Likewise.
938 * resource/ulimit.h: Likewise.
939 * resource/sys/resource.h: Likewise.
940 * resource/sys/vlimit.h: Likewise.
941 * resource/sys/vtimes.h: Likewise.
942 * rt/aio.h: Likewise.
943 * setjmp/setjmp.h: Likewise.
944 * shadow/shadow.h: Likewise.
945 * signal/signal.h: Likewise.
946 * socket/socket.h: Likewise.
947 * stdio/stdio.h: Likewise.
948 * stdio-common/_itoa.h: Likewise.
949 * stdio-common/_itowa.h: Likewise.
950 * stdio-common/printf.h: Likewise.
951 * stdlib/alloca.h: Likewise.
952 * stdlib/fmtmsg.h: Likewise.
953 * stdlib/monetary.h: Likewise.
954 * stdlib/stdlib.h: Likewise.
955 * stdlib/ucontext.h: Likewise.
956 * streams/stropts.h: Likewise.
957 * string/argz.h: Likewise.
958 * string/envz.h: Likewise.
959 * string/string.h: Likewise.
960 * string/strings.h: Likewise.
961 * string/bits/string2.h: Likewise.
962 * sunrpc/rpc/auth.h: Likewise.
963 * sunrpc/rpc/auth_des.h: Likewise.
964 * sunrpc/rpc/auth_unix.h: Likewise.
965 * sunrpc/rpc/clnt.h: Likewise.
966 * sunrpc/rpc/des_crypt.h: Likewise.
967 * sunrpc/rpc/netdb.h: Likewise.
968 * sunrpc/rpc/pmap_clnt.h: Likewise.
969 * sunrpc/rpc/pmap_prot.h: Likewise.
970 * sunrpc/rpc/pmap_rmt.h: Likewise.
971 * sunrpc/rpc/rpc_msg.h: Likewise.
972 * sunrpc/rpc/svc.h: Likewise.
973 * sunrpc/rpc/svc_auth.h: Likewise.
974 * sunrpc/rpc/xdr.h: Likewise.
975 * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
976 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
977 * sysvipc/sys/ipc.h: Likewise.
978 * sysvipc/sys/msg.h: Likewise.
979 * sysvipc/sys/sem.h: Likewise.
980 * sysvipc/sys/shm.h: Likewise.
981 * termios/termios.h: Likewise.
982 * time/time.h: Likewise.
983 * time/sys/time.h: Likewise.
984 * time/sys/timeb.h: Likewise.
985 * wcsmbs/wchar.h: Likewise.
986 * wctype/wctype.h: Likewise.
988 1999-10-05 Roland McGrath <roland@baalperazim.frob.com>
990 * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
991 _GNU_SOURCE be defined.
993 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
995 * ctype/ctype.h: Pretty print.
997 * po/cs.po: Fix typos.
999 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
1000 handling of empty entries. [PR libc/1345]
1001 Patch by Thorsten Kukuk <kukuk@suse.de>.
1003 1999-10-08 Andreas Schwab <schwab@suse.de>
1005 * debug/xtrace.sh: Fix quoting bugs. Implement --help and --version.
1007 1999-10-08 Andreas Schwab <schwab@suse.de>
1009 * debug/pcprofiledump.c: Fix typos.
1011 1999-10-07 Andreas Jaeger <aj@suse.de>
1013 * math/Makefile (tests): Added basic-tests.
1015 * math/basic-test.c: New file. Contains function basic_tests from
1018 1999-10-07 Andreas Schwab <schwab@suse.de>
1020 * malloc/memprof.sh: Fix quoting bugs.
1022 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
1024 * timezone/europe: Update from tzdata1999h.
1026 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
1028 * elf/elf.h: Update from last gABI draft.
1030 * elf/elf.h: Remove EM_486 entry.
1031 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
1034 1999-10-07 Ulrich Drepper <drepper@cygnus.com>
1036 * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
1037 Add rules for both programs.
1038 * debug/pcprofiledump.c: New file.
1039 * debug/xtrace.sh: New file.
1040 * debug/pcprofile.c: Allow creating output file. Add magic signature
1041 to let reader recognize file format.
1043 1999-10-06 Ulrich Drepper <drepper@cygnus.com>
1045 * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
1047 1999-10-05 Andreas Jaeger <aj@suse.de>
1049 * locale/programs/ld-identification.c: Fix typo in comment.
1050 * locale/programs/ld-messages.c: Likewise.
1051 * locale/programs/ld-monetary.c: Likewise.
1052 * locale/programs/ld-name.c: Likewise.
1054 * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
1055 (collate_read): Remove unnecessary comparisons with ignore_content.
1057 * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
1059 (ctype_read): Remove unnecessary comparisons with ignore_content.
1060 Fix typos in comments.
1062 * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
1063 comparisons with ignore_content.
1065 1999-10-05 Ulrich Drepper <drepper@cygnus.com>
1069 * time/time.h: Move __gmtime_r declaration to ...
1070 * include/time.h: ...here.
1072 1999-10-05 Andreas Jaeger <aj@suse.de>
1074 * manual/message.texi (The message catalog files): Fix description
1075 to match gencat implementation and Unix98: Message fields are
1076 separated by a single blank space.
1078 1999-10-05 Andreas Jaeger <aj@suse.de>
1080 * manual/string.texi (Search Functions): Add missing end for
1081 memrchr description.
1083 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
1085 * malloc/memprof.sh: Various small cleanups. Add short options.
1086 Write error messages to stderr.
1088 * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
1090 * malloc/memprof.sh: Take options to control memprofstat.
1092 * malloc/Makefile: Add rule to generate memprof script.
1093 * malloc/memprof.sh: New file.
1095 * elf/ldd.bash.in: Add "Usage: " in help message to comply with
1098 1999-10-04 Andreas Jaeger <aj@suse.de>
1100 * configure.in: Allow makeinfo 4.*.
1102 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
1104 * stdio-common/vfprintf.c: Correct last patch and use outchar
1105 instead of PUTC to output single characters.
1106 * stdio-common/Makefile (tests): Add bug13.
1107 * stdio-common/bug13.c: New file.
1109 * configure.in: Add additional options --with-gd-include and
1110 --with-gd-lib to help people with strange installations.
1112 * malloc/Makefile: Add libdl dependency to libmemprof.so.
1113 * malloc/Depend: New file.
1115 1999-10-04 Andreas Jaeger <aj@suse.de>
1117 * timezone/README: Change wording to not mention the current
1118 version. This way we can't forget to update the file.
1120 1999-10-04 Andreas Jaeger <aj@suse.de>
1122 * manual/time.texi (Basic CPU Time): Fix typo.
1123 Reported by Ben Pfaff <pfaffben@msu.edu>.
1125 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
1127 * string/string.h: Move __memrchr declaration to ...
1128 * include/string.h: ...here.
1130 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
1132 * string/Makefile (routines): Add memrchr.
1134 * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
1135 Correct order of tests for matching bytes.
1137 * string/tester.c: Add tests for memrchr.
1139 * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
1140 Start from the last character and take decrement not increment
1141 into account for correction in return line. Add memrchr alias.
1142 * sysdeps/i386/bits/string.h: Likewise.
1144 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
1146 * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
1148 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
1150 * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
1152 * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
1155 * string/Versions: Export memrchr.
1157 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
1159 * misc/Versions (GLIBC_2.2): Add getloadavg.
1160 * misc/Makefile (routines): Add getloadavg.
1161 * sysdeps/generic/getloadavg.c: New file.
1162 * sysdeps/mach/getloadavg.c: New file.
1163 * sysdeps/unix/sysv/linux/getloadavg.c: New file.
1165 * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
1166 * sysdeps/i386/bits/string.h (__memrchr): New function.
1167 * string/string.h: Declare memrchr, __memrchr.
1168 * manual/string.texi (Search Functions): Document memrchr.
1170 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
1172 * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
1173 CFLAGS-memprofstat.c, and LIBGD variables.
1174 * config.make.in: Add LIBGD.
1175 * malloc/Makefile: Add rules to generate libmemprof.so and
1177 * malloc/memprof.c: New file.
1178 * malloc/memprofstat.c: New file.
1180 1999-10-02 Ulrich Drepper <drepper@cygnus.com>
1182 * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
1184 * resolv/inet_ntop.c (inet_ntop4): Little optimization.
1185 (inet_ntop6): Likewise.
1187 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
1190 * resolv/tst-aton.c (main): Add more tests.
1192 * resolv/inet_addr.c (inet_aton): Correct some problems with to
1193 large numbers. Optimize a bit.
1195 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
1197 * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
1198 account for added '0'.
1200 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
1201 handling of IPv6 tunnel address handling with bind 8.2.1. Allow
1202 len argument to be greater than needed address size.
1204 1999-10-01 Andreas Jaeger <aj@suse.de>
1206 * locale/programs/ld-collate.c (insert_value): Add cast to avoid
1208 * intl/finddomain.c (_nl_find_domain): Likewise.
1210 1999-09-30 Andreas Schwab <schwab@suse.de>
1212 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
1214 1999-09-30 Andreas Jaeger <aj@suse.de>
1216 * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
1217 * sysdeps/i386/rshift.S: Likewise.
1218 * sysdeps/i386/strchrnul.S: Likewise.
1219 * sysdeps/i386/strchr.S: Likewise.
1220 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
1223 1999-09-30 Andreas Jaeger <aj@suse.de>
1225 * manual/examples/pipe.c: Close other end of pipe to make example work.
1227 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
1229 * timezone/checktab.awk: Update from tzcode1999g.
1230 * timezone/tzselect.ksh: Likewise.
1231 * timezone/africa: Update from tzdata1999g.
1232 * timezone/asia: Likewise.
1233 * timezone/australasia: Likewise.
1234 * timezone/europe: Likewise.
1235 * timezone/northamerica: Likewise.
1236 * timezone/southamerica: Likewise.
1237 * timezone/iso3166.tab: Likewise.
1238 * timezone/zone.tab: Likewise.
1240 1999-09-27 Andreas Jaeger <aj@suse.de>
1242 * resolv/netdb.h: Remove declaration of getnodebyname. It has
1243 been renamed to getipnodebyname. Move flags around.
1245 1999-09-27 Andreas Schwab <schwab@suse.de>
1247 * manual/message.texi (Locating gettext catalog): Fix typos.
1249 1999-09-27 Andreas Jaeger <aj@suse.de>
1251 * manual/socket.texi (Out-of-Band Data): Correct example program,
1252 rename some variables for clarity.
1253 Reported by James Antill <james@and.org>, close PR libc/1329.
1255 1999-09-27 Ulrich Drepper <drepper@cygnus.com>
1257 * locale/programs/ld-collate.c (insert_value): Add hack to not
1258 crash in incomplete collate implementation.
1260 * locale/programs/ld-collate.c (read_directions): Read new token
1261 after accepting sorting rule.
1263 1999-09-26 Ulrich Drepper <drepper@cygnus.com>
1265 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
1266 error message printing. Correctly test whether all characters of
1267 current token are used.
1268 (ctype_read): NUL terminate last_str.
1270 1999-09-26 Thorsten Kukuk <kukuk@suse.de>
1272 * nscd/connections.c: Invalidate caches on request.
1273 * nscd/nscd-client.h: Add INVALIDATE to request_type.
1274 * nscd/nscd.c: Add invalidate cache option.
1275 * nscd/nscd.conf: Change log directory to /var/log (FHS).
1277 1999-09-24 Ulrich Drepper <drepper@cygnus.com>
1279 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
1280 not ovverwrite last group member with NULL pointer.
1281 Reported by Thomas Winder <thomas.winder@newlogic.at>.
1283 1999-09-24 Andreas Jaeger <aj@suse.de>
1285 * stdio-common/tst-printf.c (main): Add a testcase for large
1286 precision. Reported by Tymm Twillman <tymm@coe.missouri.edu>.
1288 1999-09-24 Andreas Schwab <schwab@suse.de>
1290 * math/bits/mathcalls.h: Fix last change. Also declare __finite.
1292 1999-09-24 Andreas Jaeger <aj@suse.de>
1294 * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
1295 normalized_codeset. Reported by Belicky Zsolt <zsolt@prolan.hu>.
1297 1999-09-23 Mark Kettenis <kettenis@gnu.org>
1299 * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
1300 variable. Define MORECORE_CLEARS to 2.
1302 * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
1303 doesn't clear the contents of memory that is reallocated after
1304 decrementing the break value first. Update comment about
1305 MORECORE_CLEARS, explaining the meaning of the values it can be
1308 1999-09-23 Ulrich Drepper <drepper@cygnus.com>
1310 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
1313 * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
1319 1999-09-22 Andreas Jaeger <aj@suse.de>
1321 * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
1322 reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
1324 1999-09-22 Andreas Schwab <schwab@suse.de>
1326 * stdio-common/vfscanf.c: Fix width handling when scanning floats.
1328 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1330 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
1331 the source directory. Fixes PR libc/1059.
1333 1999-09-21 Ulrich Drepper <drepper@cygnus.com>
1335 * locale/programs/repertoire.c (repertoire_find_value): Abort if
1336 rep parameter is NULL.
1337 (repertoire_find_symbol): Likewise.
1338 (repertoire_find_seq): Likewise.
1340 1999-09-20 Jean-Louis Martineau <martinea@IRO.UMontreal.CA>
1342 * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
1343 returned errno value in some cases.
1345 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
1347 * iconvdata/Makefile (modules): Add GBK.
1348 (distribute): Add gbk.c.
1349 * iconvdata/gbk.c: New file.
1350 * iconvdata/gconv-modules: Add GBK entry.
1351 Contributed by Sean Chen <sean.chen@turbolinux.com>.
1353 * locale/programs/ld-monetary.c (monetary_output): Remove
1356 * locale/programs/ld-time.c (time_output): Correct expected number
1359 * manual/filesys.texi (Testing File Access): Correct description of
1362 1999-080-25 H.J. Lu <hjl@gnu.org>
1364 * csu/defs.awk (.end): Only match with leading white spaces.
1367 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
1369 * stdlib/isomac.c: Add va_copy to allowed macros.
1371 * po/pl.po: Updated.
1373 1999-09-17 Andreas Schwab <schwab@suse.de>
1375 * Makefile (clean): Also remove $(postclean) files.
1377 1999-09-15 Andreas Jaeger <aj@suse.de>
1379 * pwd/Makefile (otherlibs): Add for building with static-nss.
1380 * inet/Makefile (otherlibs): Likewise.
1382 1999-09-15 Andreas Jaeger <aj@suse.de>
1384 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
1385 function definition to avoid a compilation failure.
1387 1999-09-15 Andreas Jaeger <aj@suse.de>
1389 * stdlib/tst-environ.c (main): Add getenv regression test for
1390 environment variable that's one character long.
1392 1999-09-15 Andreas Jaeger <aj@suse.de>
1394 * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
1395 signal definitions to let glibc compile with older Linux versions
1396 (2.0.10 to 2.1.100 or so).
1398 1999-09-18 Roland McGrath <roland@baalperazim.frob.com>
1400 * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
1401 return zero to indicate no children died yet (assuming WNOHANG).
1403 * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
1405 1999-09-17 Roland McGrath <roland@baalperazim.frob.com>
1407 * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
1409 * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
1410 Return _hurd_pgrp instead of 0.
1412 1999-09-19 Roland McGrath <roland@baalperazim.frob.com>
1414 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
1415 pages rather than just reprotecting them. This way we don't hold on
1416 to the backing space.
1418 * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
1419 Use __munmap instead of __vm_deallocate.
1421 1999-09-18 Ulrich Drepper <drepper@cygnus.com>
1423 * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
1424 returned errno value in some cases.
1426 1999-09-17 Andreas Jaeger <aj@suse.de>
1428 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
1429 to override user settings.
1431 1999-09-17 Andreas Schwab <schwab@suse.de>
1433 * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
1434 using a pointer to it.
1436 1999-09-16 Ulrich Drepper <drepper@cygnus.com>
1438 * time/getdate.c (__getdate_r): Pass correct year to check_mday.
1439 Reported by Vern Staats <staatsvr@asc.hpc.mil>.
1441 1999-09-14 Ulrich Drepper <drepper@cygnus.com>
1443 * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
1445 * elf/elf.h (PF_MASKOS): New definition.
1446 (EM_VAX): New definition.
1448 1999-08-09 Scott Bambrough <scottb@netwinder.org>
1450 * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
1451 'unsigned char ftype[8]', and 'unsigned int init_flag' to
1452 struct user_fp. These were added in version 2.2.12 of the
1454 * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
1455 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
1456 The generic procfs.h included <asm/elf.h>. This causes
1457 structure redefinition errors when <sys/user.h> and <sys/procfs.h>
1458 are included in the same source file. Found when building GDB.
1460 1999-09-13 Ulrich Drepper <drepper@cygnus.com>
1462 * locale/langinfo.h: Remove byte-order dependent names.
1463 * locale/categories.def: Update after removal of byte-order dependent
1465 * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
1466 with magic number in other byte order.
1467 * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
1468 * locale/C-collate.c: Remove initializers for other byte-order.
1469 * locale/C-ctype.c: Likewise.
1470 * locale/C-monetary.c: Likewise.
1471 * locale/C-paper.c: Likewise.
1472 * locale/C-time.c: Likewise.
1473 * locale/lc-collate.c: Remove byte-order oriented initialization.
1474 * locale/lc-ctype.c: Likewise.
1475 * locale/lc-monetary.c: Likewise.
1476 * locale/lc-time.c: Likewise.
1477 * locale/programs/ld-address.c: Don't generate output in both
1479 * locale/programs/ld-ctype.c: Likewise.
1480 * locale/programs/ld-paper.c: Likewise.
1481 * locale/programs/ld-time.c: Likewise.
1482 * time/strftime.c (NLW): Don't use different byte-orders.
1483 * wctype/cname-lookup.h (cname_lookup): Likewise.
1485 * Makeconfig (localedir): Define using libdir, not datadir.
1486 (msgcatdir): New variable.
1487 * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
1488 * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
1490 * intl/Makefile (install-others): Install locale.alias in msgcatdir.
1491 (CPPFLAGS): Define paths using msgcatdir.
1492 * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
1493 * po/Makefile (mo-installed): Define using msgcatdir.
1495 * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
1497 1999-09-12 Ulrich Drepper <drepper@cygnus.com>
1499 * stdio-common/vfprintf.c: Remove limitation on size of precision
1502 * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
1503 glibc by defining internal_function if it isn't already.
1505 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
1506 fails don't rely on errno value.
1507 (getanswer_r): Set *ERRNOP in error cases.
1509 * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
1510 (gaih_inet_serv): Return EIA_NODATA if name is known but has no
1511 associated data. Test for matching numeric address and family.
1512 (getaddrinfo): Remember EAI_NODATA result and return this in case
1514 Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
1516 * locale/programs/ld-address.c: Fix handling of non-existing
1517 definitions for this category. Correctly ignore content of this
1518 category is this is necessary.
1519 * locale/programs/ld-collate.c: Likewise.
1520 * locale/programs/ld-ctype.c: Likewise.
1521 * locale/programs/ld-identification.c: Likewise.
1522 * locale/programs/ld-measurement.c: Likewise.
1523 * locale/programs/ld-messages.c: Likewise.
1524 * locale/programs/ld-monetary.c: Likewise.
1525 * locale/programs/ld-name.c: Likewise.
1526 * locale/programs/ld-numeric.c: Likewise.
1527 * locale/programs/ld-paper.c: Likewise.
1528 * locale/programs/ld-telephone.c: Likewise.
1529 * locale/programs/ld-time.c: Likewise.
1530 * locale/programs/locfile.h (handle_copy): Take extra parameter
1531 with result pointer. Fill in name of locale from which to copy.
1532 Correctly read token after `END'.
1534 * locale/programs/localedef.c (main): Correct handling copy.
1535 (add_to_readlist): Take extra parameter which says whether we
1536 are supposed to read the file or not.
1537 (find_locale): Call add_to_readlist with extra parameter set to 0.
1539 * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
1540 instead of wrong number in array definitions.
1541 (add_to_readlist): Update prototype.
1543 * locale/programs/locfile.c (locfile_read): Mark categories not
1544 available in source file as read.
1545 (write_all_categories): Fix typo.
1547 * locale/programs/locales.h: Removed.
1549 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
1551 * elf/elf.h (SHF_MASKOS): Added.
1553 * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
1555 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1557 * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
1559 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1561 * configure.in: Fix make version test for make 3.77.95 and later
1563 Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
1565 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
1567 * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
1569 * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
1572 * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
1574 1999-09-09 Andreas Schwab <schwab@suse.de>
1576 * elf/link.h: Fix comment.
1578 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
1580 * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
1582 * math/math.h: Pretty print.
1584 1999-09-10 Andreas Schwab <schwab@suse.de>
1586 * sysdeps/generic/getenv.c (getenv): Fix lookup for single
1587 character variable on bigendian platforms without unaligned memory
1590 1999-09-07 Cristian Gafton <gafton@redhat.com>
1592 * sysdeps/unix/sysv/linux/sys/raw.h: New file
1593 * sysdeps/unix/sysv/linux/Dist: Add raw.h.
1594 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
1596 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
1598 * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
1600 * time/ap.c: Removed. It was not used.
1601 * time/date.c: Likewise.
1602 * sysdeps/unix/nlist.c: Likewise.
1603 * sysdeps/generic/nlist.c: Likewise.
1604 * sysdeps/generic/varargs.h: Likewise.
1605 * stdio-common/scanf11.c: Likewise.
1606 * stdio-common/scanf6.c: Likewise.
1607 * scripts/=__ify: Likewise.
1608 * scripts/printsources: Likewise.
1609 * resolv/getnetnamadr.c: Likewise.
1610 * posix/id.c: Likewise.
1611 * misc/ioctltst.c: Likewise.
1612 * misc/nlist.h: Likewise.
1613 * math/test-math.h: Likewise.
1614 * include/nlist.h: Likewise.
1616 1999-09-06 Andreas Schwab <schwab@suse.de>
1618 * time/tzset.c (compute_change): Replace slow loop to compute T by
1621 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
1623 * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
1624 escape sequences out even if the character itself does not fit
1627 * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
1629 1999-08-31 H.J. Lu <hjl@gnu.org>
1631 * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
1633 1999-09-05 Roland McGrath <roland@baalperazim.frob.com>
1635 * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
1636 it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
1637 (_hurd_priority_which_map):
1639 1999-09-04 Ulrich Drepper <drepper@cygnus.com>
1641 * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
1643 1999-09-03 Andreas Schwab <schwab@suse.de>
1645 * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
1646 fork from __syscall_fork to __libc_fork.
1647 * posix/Versions: Add __libc_fork and __vfork to version
1650 1999-08-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1652 * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
1653 dependencies in sort.
1655 1999-09-01 H.J. Lu <hjl@gnu.org>
1657 * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
1659 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
1660 <sys/user.h> instead of <asm/user.h>.
1662 1999-09-02 Ulrich Drepper <drepper@cygnus.com>
1664 * elf/elf.h: Update PARISC-specific flags and symbolic names.
1666 1999-09-01 Ulrich Drepper <drepper@cygnus.com>
1668 * elf/elf.h: Update PARISC relocations.
1670 1999-08-31 Scott Bambrough <scottb@netwinder.org>
1672 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
1673 #ifdef statement to prevent it from being included twice.
1674 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
1675 #include <bits/armsigctx.h>.
1677 1999-08-31 Andreas Schwab <schwab@suse.de>
1679 * locale/C-collate.c: Add missing initialisations.
1680 * locale/C-ctype.c: Likewise.
1682 1999-08-31 Ulrich Drepper <drepper@cygnus.com>
1684 * time/strftime.c (my_strftime): Remove unneeded variable len.
1686 * time/strptime.c: Undo last change.
1688 1999-08-30 Ulrich Drepper <drepper@cygnus.com>
1690 * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
1691 Change charset.h to charmap.h.
1692 (categories): Add new categories. Leave out collate for now.
1694 * locale/categories.def: Add definitions for new categories.
1695 * locale/langinfo.h: Likewise.
1696 * locale/locale.h: Likewise.
1697 * locale/C-address.c: New file.
1698 * locale/C-identification.c: New file.
1699 * locale/C-measurement.c: New file.
1700 * locale/C-name.c: New file.
1701 * locale/C-paper.c: New file.
1702 * locale/C-telephone.c: New file.
1703 * locale/lc-address.c: Likewise.
1704 * locale/lc-identification.c: Likewise.
1705 * locale/lc-measurement.c: Likewise.
1706 * locale/lc-name.c: Likewise.
1707 * locale/lc-paper.c: Likewise.
1708 * locale/lc-telephone.c: Likewise.
1709 * locale/C-ctype.c: Update for locale rewrite.
1710 * locale/C-messages.c: Likewise.
1711 * locale/C-monetary.c: Likewise.
1712 * locale/C-time.c: Likewise.
1713 * locale/lc-collate.c: Likewise.
1714 * locale/lc-ctype.c: Likewise.
1715 * locale/lc-monetary.c: Likewise.
1716 * locale/lc-time.c: Likewise.
1717 * locale/localeinfo.h: Likewise.
1718 * locale/newlocale.c: Likewise.
1719 * locale/setlocale.c: Likewise.
1720 * locale/weight.h: Likewise.
1721 * locale/findlocale.c: Unconditionally use mmap.
1722 Handle new categories.
1723 * locale/loadlocale.c: Likewise.
1724 * locale/iso-3166.def: New file.
1725 * locale/iso-639.def: New file.
1726 * locale/programs/charmap-kw.gperf: Add new keywords.
1727 * locale/programs/locfile-kw.gperf: Likewise.
1728 * locale/programs/locfile-token.h: Define new tokens.
1729 * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
1730 * locale/programs/charmap.h: New file.
1731 * locale/programs/charset.h: Removed.
1732 * locale/programs/config.h: Add __LC_LAST.
1733 * locale/programs/lc-address.c: New file.
1734 * locale/programs/lc-identification.c: New file.
1735 * locale/programs/lc-measurement.c: New file.
1736 * locale/programs/lc-name.c: New file.
1737 * locale/programs/lc-paper.c: New file.
1738 * locale/programs/lc-telephone.c: New file.
1739 * locale/programs/lc-collate.c: Update for locale rewrite.
1740 * locale/programs/lc-ctype.c: Likewise.
1741 * locale/programs/lc-messages.c: Likewise.
1742 * locale/programs/lc-monetary.c: Likewise.
1743 * locale/programs/lc-numeric.c: Likewise.
1744 * locale/programs/lc-time.c: Likewise.
1745 * locale/programs/locale.c: Likewise.
1746 * locale/programs/localedef.c: Likewise.
1747 * locale/programs/locfile.c: Likewise.
1748 * locale/programs/repertoire.c: Likewise.
1749 * locale/programs/repertoire.h: Likewise.
1750 * locale/programs/locfile.c: Update prototypes.
1751 Update handle_copy definition.
1752 * locale/programs/linereader.c: Add handling of wide char strings and
1753 new definition file syntax.
1754 * locale/programs/linereader.h (struct token): Add elements for wide
1756 * locale/programs/locale-spec.c: Disable handling of collation
1758 * locale/programs/simple-hash.h: Cleanup.
1759 * locale/programs/stringtrans.h: Handle quite of end of line.
1760 * string/strcoll.c: Fall back on strcmp for now.
1761 * string/strxfrm.c: Fall back on strncpy/strlen for now.
1762 * time/strftime.c: Use new wide character data for wcsftime.
1763 * time/strptime.c: Remove _nl_C_LC_TIME declaration.
1764 * wctype/cname-lookup.h: Update for new LC_CTYPE data.
1766 * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
1767 compiling for i386 to avoid i686-like GOT pointer computation.
1769 * db2/db_int.h: Change tsl_t type to u_int32_t.
1770 * db2/mutex/mutex.c: Allow Alpha mutex definitions.
1771 * db2/mutex/alpha.h: New file.
1772 * db2/mutex/sparc.gcc: Fix store code for v9. Simplify clear code.
1773 * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
1775 Patches by Richard Henderson.
1777 * stdlib/tst-environ.c: Add cast to avoid warning.
1778 * timezone/test-tz.c: Use setenv instead of putenv.
1780 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1782 * manual/libc.texinfo: Update version and date.
1784 * manual/locale.texi (Formatting Numbers): Fix @node pointers.
1786 * manual/filesys.texi (Working with Directory Trees): Add missing @code.
1787 (File System Interface): Correct entry.
1788 (Permission Bits): Add missing commata after @xref.
1790 1999-08-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1792 * timezone/tst-timezone.c (main): Don't pass const strings to
1793 putenv to avoid warnings.
1795 * posix/regexbug1.c: Include <stdio.h> for puts prototype.
1797 1999-08-29 Thorsten Kukuk <kukuk@suse.de>
1799 * nis/Versions: Add _nss_*_getipnodebyname_r.
1800 * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
1801 * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
1802 * nss/Versions: Add _nss_files_getipnodebyname_r.
1804 1999-08-28 H.J. Lu <hjl@gnu.org>
1806 * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
1809 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
1811 * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
1813 * inet/netinet/in.h: Likewise.
1814 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1815 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1817 1999-08-28 Ulrich Drepper <drepper@cygnus.com>
1819 * malloc/malloc.c (ptmalloc_init): Don't use variables to set
1820 thresholds for SUID binaries. [PR libc/1277]
1822 * posix/regexbug1.c: Add one more similar case.
1824 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1826 * manual/install.texi (Running make install): Give examples for
1827 timezone and locale installation.
1829 1999-08-28 Zack Weinberg <zack@bitmover.com>
1831 * glibcbug.in: Get CCVERSION from autoconf substitution.
1832 * configure.in: Calculate and substitute CCVERSION.
1834 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1836 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
1837 partially reverting a patch from 1998-12-29. We just can't change
1838 the flags, kernels with different flags lead to
1841 1999-08-26 Andreas Schwab <schwab@suse.de>
1843 * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
1845 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
1847 * inet/rexec.c (rexec): Free memory if strings were allocated in
1848 ruserpass. Reported by Andrew Morton <morton@nortelnetworks.com>.
1850 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
1852 * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
1854 * manual/argp.texi: Fixing language and typos.
1855 * manual/conf.texi: Likewise.
1856 * manual/contrib.texi: Likewise.
1857 * manual/ctype.texi: Likewise.
1858 * manual/filesys.texi: Likewise.
1859 * manual/install.texi: Likewise.
1860 * manual/job.texi: Likewise.
1861 * manual/lang.texi: Likewise.
1862 * manual/llio.texi: Likewise.
1863 * manual/locale.texi: Likewise.
1864 * manual/math.texi: Likewise.
1865 * manual/nss.texi: Likewise.
1866 * manual/pipe.texi: Likewise.
1867 * manual/signal.texi: Likewise.
1868 * manual/socket.texi: Likewise.
1869 * manual/stdio.texi: Likewise.
1870 * manual/sysinfo.texi: Likewise.
1871 * manual/users.texi: Likewise.
1872 Patches by Neil Booth <NeilB@earthling.net>.
1874 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
1876 * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
1877 unsigned to avoid warning. [PR libc/1271].
1879 * conform/conformtest.pl: Allow testing regex.h which requires
1880 sys/types.h being included.
1882 * conform/data/regex.h-data: Allow *_t types.
1883 * conform/data/pwd.h-data: Likewise.
1884 * conform/data/sched.h-data: Likewise.
1885 * conform/data/pthread.h-data: Likewise.
1886 * conform/data/search.h-data: Likewise.
1888 * misc/search.h: Avoid namespace pollution.
1890 * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
1891 pwd.h, and pthread.h.
1892 * conform/data/pthread.h-data: New file.
1893 * conform/data/pwd.h-data: New file.
1894 * conform/data/regex.h-data: New file.
1895 * conform/data/sched.h-data: New file.
1896 * conform/data/search.h-data: New file.
1898 * NAMESPACE: Add REG_ for regex.h.
1900 * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
1903 * configure.in (libc_cv_asm_global_directive): Indent .text in
1904 test code so that the lame HPUX compiler recognizes it.
1905 * sysdeps/hppa/bits/endian.h: New file.
1906 * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
1907 * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
1908 * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
1909 * sysdeps/unix/sysv/hpux/bits/types.h: New file.
1911 * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
1912 Patch by John Tobey <jtobey@banta-im.com>.
1914 * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
1916 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
1917 old_siocfifconf definition to toplevel.
1918 (__protocol_available): Remove old_siocfifconf definition.
1920 1999-08-25 Mark Kettenis <kettenis@gnu.org>
1922 * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
1923 really dealing with a master pseudo terminal, and really returning
1924 the name of the associated slave pseudo terminal by checking the
1926 * sysdeps/unix/sysv/linux/pty-private.h: Removed.
1927 * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
1929 1999-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1931 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
1932 underscore in _llseek entry.
1934 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
1937 * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
1938 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
1940 * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
1941 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
1943 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
1945 * inet/Makefile (routines): Add getipnodebynm.
1946 * inet/getipnodebynm.c: New file.
1947 * nss/digits_dots.c: If HAVE_TYPE is define type contains the
1949 * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
1950 EXTRA_ARGS_VALUE is not already done.
1951 (internal_getent): Allow extra parameters and pass them to parse_line.
1952 (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
1953 (_nss_files_get##name##_r): Likewise.
1954 * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
1955 and EXTRA_ARGS_VALUE to pass flags and type to parser.
1956 Add getipnodebyname function.
1957 * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
1958 EXTRA_ARGS_VALUE is not already done.
1959 (parse_line): Add EXTRA_ARGS_DECL to parameter list.
1960 * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
1962 (_nss_db_get##name##_r): Pass extra parameters to lookup.
1963 (_nss_db_get,ENTNAME_r): Likewise.
1964 * sysdeps/generic/if_index.c (__protocol_available): New function.
1965 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1967 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
1969 * login/pty-private.h: Move to...
1970 * sysdeps/generic/pty-private.h: ...here.
1971 * sysdeps/unix/sysv/linux/pty-private.h: New file. Linux specific
1973 * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
1976 * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
1979 * conform/conformtest.pl (@headers): Add monetary.h-data,
1980 mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
1981 * conform/data/monetary.h-data: New file.
1982 * conform/data/mqueue.h-data: New file.
1983 * conform/data/ndbm.h-data: New file.
1984 * conform/data/nl_types.h.h-data: New file.
1985 * conform/data/poll.h-data: New file.
1987 * stdio-common/Makefile (test): Add tst-cookie.
1988 * stdio-common/tst-cookie.c: New file.
1990 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
1991 changed in last patch. Reported by Ralf Baechle.
1993 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1995 * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
1997 * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
1998 Patches by Ralf Baechle <ralf@uni-koblenz.de>
2000 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2002 * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
2005 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
2007 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
2009 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2011 * misc/libgen.h: Don't take basename macro as taking arguments.
2013 * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
2015 * sysdeps/i386/bits/huge_val.h: Likewise.
2016 * sysdeps/i386/bits/huge_val.h: Likewise.
2017 * sysdeps/ieee754/bits/huge_val.h: Likewise.
2018 * sysdeps/m68k/bits/huge_val.h: Likewise.
2019 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
2020 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
2022 * conform/Makefile: New file.
2023 * conform/conformtest.pl: New file.
2024 * conform/data/aio.h-data: New file.
2025 * conform/data/assert.h-data: New file.
2026 * conform/data/cpio.h-data: New file.
2027 * conform/data/ctype.h-data: New file.
2028 * conform/data/dirent.h-data: New file.
2029 * conform/data/dlfcn.h-data: New file.
2030 * conform/data/errno.h-data: New file.
2031 * conform/data/fcntl.h-data: New file.
2032 * conform/data/float.h-data: New file.
2033 * conform/data/fmtmsg.h-data: New file.
2034 * conform/data/fnmatch.h-data: New file.
2035 * conform/data/ftw.h-data: New file.
2036 * conform/data/glob.h-data: New file.
2037 * conform/data/grp.h-data: New file.
2038 * conform/data/iconv.h-data: New file.
2039 * conform/data/inttypes.h-data: New file.
2040 * conform/data/iso646.h-data: New file.
2041 * conform/data/langinfo.h-data: New file.
2042 * conform/data/libgen.h-data: New file.
2043 * conform/data/locale.h-data: New file.
2044 * conform/data/math.h-data: New file.
2046 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
2048 * posix/execvp.c (execvp): Correct copying of file name.
2050 1999-08-23 Mark Kettenis <kettenis@gnu.org>
2052 * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
2054 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
2056 * stdio-common/Makefile: Move addition to routines to the right place.
2058 1999-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2060 * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file. Neccessary
2061 since mips*-linux has ECANCELED.
2063 1999-08-23 Andreas Schwab <schwab@suse.de>
2065 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
2066 SIGCONTEXT_EXTRA_ARGS.
2067 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
2068 * sysdeps/generic/sigcontextinfo.h: Likewise.
2069 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
2070 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
2071 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2072 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
2073 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
2074 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2076 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
2078 * posix/regexbug1.c: Make it an error if the test fails.
2080 1999-08-23 Andreas Schwab <schwab@suse.de>
2082 * posix/regex.c (re_match_2_internal): Correct check for charset
2083 after exactn in loop.
2085 1999-08-22 Ulrich Drepper <drepper@cygnus.com>
2087 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
2088 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2089 Patch by Joel Klecker.
2091 * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
2092 (__gconv_find_transform): Update prototype.
2093 (__gconv_open): Likewise.
2094 * iconv/gconv_open.c: Take extra parameter and pass it to
2095 __gconv_find_transform.
2096 * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
2097 flags. If GCONV_AVOID_NOCONV flag is set don't return copying
2099 * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
2100 * wcsmbs/wcsmbsload.c: Likewise.
2101 * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
2103 * intl/gettextP.h: Likewise.
2104 * intl/loadmsgcat.c: Likewise.
2106 * posix/regexbug1.c: New file.
2107 * posix/Makefile (tests): Add regexbug1.
2109 1999-08-22 Mark Kettenis <kettenis@gnu.org>
2111 * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
2112 * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
2113 installing PORT in the descriptor cell.
2115 1999-08-19 Roland McGrath <roland@baalperazim.frob.com>
2117 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
2118 TIMEOUT as outputs of the asm to indicate that the signal thread
2120 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
2121 mach_msg if only sending or only receiving (i.e., not an RPC). When
2122 making an RPC that might get interrupted, save OPTION and the portion
2123 of the message buffer that gets clobbered by an EINTR reply message,
2124 and properly restore them before attempting to retry the request
2127 1999-08-21 Mark Kettenis <kettenis@gnu.org>
2129 * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
2130 definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
2131 CHAR_T, UCHAR_T and WIN_T to make the code compile again when
2132 stdio is used instead of libio.
2133 * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
2134 definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
2135 to make the code compile again when stdio is used instead of
2137 (vfprintf): Only check for correct orientation if ORIENT is
2139 * stdio-common/Makefile (routines): Only add vfwprintf and
2140 vfwscanf if we're using libio.
2142 1999-08-21 Mark Kettenis <kettenis@gnu.org>
2144 * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
2145 any additional prototype just as we do for libio.
2147 1999-08-21 Mark Kettenis <kettenis@gnu.org>
2149 * include/bits/xopen_lim.h: Do not define STREAM_MAX and
2150 TZNAME_MAX. These limits are not X/Open specific.
2151 * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
2154 1999-08-21 Mark Kettenis <kettenis@gnu.org>
2156 * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
2157 UIO_MAXIOV is left undefined in sys/uio.h.
2158 * stdio-common/stdio_lim.h.in: Adapt for change above.
2160 1999-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2162 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
2163 * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
2164 Patches by Ralf Baechle <ralf@uni-koblenz.de>
2166 1999-08-21 Ulrich Drepper <drepper@cygnus.com>
2168 * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
2170 1999-08-20 Ulrich Drepper <drepper@cygnus.com>
2172 * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
2174 * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
2175 call. It should not be necessary andis harmful for Alpha.
2177 * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
2178 type. [PR libc/1269]
2180 * posix/execvp.c (execvp): Allocate array name of correct size.
2181 Optimize inner loop. Use execve directly, not execv.
2183 * elf/elf.h: Corrected SHT_ values from new draft.
2185 * intl/gettextP.h (struct loaded_domain): Add conv element.
2186 * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
2187 Instead of returning found message directly convert it using iconv
2188 if a conversion was found when opening the file.
2189 * intl/loadinfo.h: Protect against multiple inclusion.
2190 Declare _nl_find_msg.
2191 * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
2192 in the message file and if necessary find approrpiate
2193 conversion to match currently selected charset.
2194 * include/libintl.h: Declare __dgettext and __dcgettext.
2195 * include/iconv.h: New file.
2197 1999-08-20 Andreas Schwab <schwab@suse.de>
2199 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
2201 1999-08-19 Ulrich Drepper <drepper@cygnus.com>
2203 * sysdeps/unix/sysv/linux/execve.c: New file. This version terminates
2204 all threads [PR libc/1223].
2206 * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
2209 * configure.in: Search for programs with prefix gnu* and g* first.
2212 * dirent/Makefile (routines): Add getdents64.
2213 * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
2215 * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
2216 compiled with _FILE_OFFSET_BITS=64.
2217 * sysdeps/generic/getdents64.c: New file.
2218 * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
2219 __lseek for getdirentries64 definition.
2221 * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
2223 * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
2224 _FILE_OFFSET_BITS=64.
2226 * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
2229 * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
2230 after we have the lock.
2232 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
2233 Patch by Richard Henderson.
2235 1999-08-19 Andreas Schwab <schwab@suse.de>
2237 * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
2238 and call _IO_fwide, to get the wide stream state initialized
2239 correctly. Don't set _IO_JUMPS.
2240 * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
2241 * libio/vswprintf.c (_IO_vswprintf): Likewise. Pass
2242 _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
2245 1999-08-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2247 * math/libm-test.c (jn_test): Fix typo in description.
2248 (erfc_test): Add some more tests.
2249 (erf_test): Add some more tests.
2251 1999-08-19 Andreas Schwab <schwab@suse.de>
2253 * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
2254 expression using $(exceptions).
2256 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
2258 * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
2260 * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
2261 allocated so far. [PR libc/1261].
2263 * math/libm-test.c (j0_test): Adjust deltas for m68k.
2264 (jn_test): Likewise.
2266 * dirent/dirent.h: Only define ino64_t if not already done.
2267 * posix/sys/types.h: Likewise.
2269 * ctype/ctype.h: Avoid useless #endif #if pairs.
2271 * dirent/dirent.h: Define ino_t and ino64_t if not done already.
2272 (seekdir): Fix type of second parameter.
2273 * sysdeps/generic/seekdir.c: Likewise.
2274 * sysdeps/mach/hurd/seekdir.c: Likewise.
2275 * sysdeps/unix/seekdir.c: Likewise.
2277 * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
2279 1999-08-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2281 * manual/install.texi (Configuring and compiling): Clarify ix86
2284 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
2286 * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
2287 * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
2288 * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
2289 stdio_lim.h. Define LONG_BIT and WORD_BIT.
2291 * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
2293 * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
2295 * misc/search.h: Don't define NULL.
2297 * posix/sys/types.h: Define blksize_t if it hasn't happened.
2298 Only define key_t and blkcnt_t if it hasn't happened before.
2299 Define blksize_t if not happened before.
2300 * io/sys/stat.h: Don't define pid_t. Define blkcnt_t and blksize_t.
2301 * sysdeps/generic/bits/types.h: Define __blksize_t.
2302 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2303 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2304 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2305 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2306 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2307 * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
2309 (struct stat64): Likewise.
2310 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2311 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
2312 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2313 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2314 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2315 * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
2316 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
2318 * stdlib/getsubopt.c: Correct type of second argument.
2319 * stdlib/stdlib.h: Likewise.
2321 * stdlib/monetary.h: Don't include sys/types.h. Define only size_t
2324 * sysdeps/generic/putenv.c: Correct type of parameter.
2325 * stdlib/stdlib.h: Likewise.
2327 * sysdeps/generic/msgsnd.c: Correct type of second parameter.
2328 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
2329 * sysvips/sys/msg.h: Likewise.
2331 * sysdeps/generic/semop.c: Correct type of third parameter.
2332 * sysdeps/unix/sysv/linux/semop.c: Likewise.
2333 * sysvipc/sys/sem.h: Likewise. Don't include sys/types.h, define
2336 * sysdeps/generic/shmget.c: Correct type of second parameter.
2337 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
2338 * sysvips/sys/shm.h: Likewise. Don't include unistd.h and sys/types.h.
2339 Declare __getpagesize here.
2341 * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
2343 * sysdeps/gnu/bits/ipc.h: Likewise.
2344 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
2345 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
2346 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2347 * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
2350 * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
2352 * debug/versions: Export __cyg_profile_func_enter and
2353 __cyg_profile_func_exit.
2355 * math/bits/mathcalls.h: Pretty print.
2357 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
2359 * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
2360 case for new tzdata.
2362 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
2364 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2365 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2366 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2367 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2369 * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
2371 * sysdeps/generic/ualarm.c (ualarm): Change return value and
2372 parameter type to useconds_t.
2373 * sysdeps/unix/bsd/ualarm.c: Likewise.
2375 * sysdeps/generic/usleep.c (usleep): Change parameter type to
2377 * sysdeps/unix/sysv/linux/usleep.c: Likewise.
2378 * sysdeps/mach/usleep.c: Likewise.
2380 * locale/weight.h: Include <errno.h>.
2382 * posix/sys/types.h: Define type useconds_t if not done already.
2383 * posix/unistd.h: Likewise. Use this in ualarm and usleep
2385 * sysdeps/generic/bits/types.h: Define type __useconds_t.
2386 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2387 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2388 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2389 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2390 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2392 * dirent/dirent.h (telldir): Change return type to long int.
2393 * sysdeps/generic/telldir.c: Likewise.
2394 * sysdeps/mach/hurd/telldir.c: Likewise.
2395 * sysdeps/unix/telldir.c: Likewise.
2396 * sysdeps/unix/bsd/telldir.c: Likewise. Fix locking problem.
2398 * locale/weight.h: Set errno if an invalid character is found.
2400 1999-08-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2402 * math/libm-test.c (erfc_test): Add test for example from PR
2404 (erf_test): Likewise.
2406 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
2408 * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
2409 rewrite. Patch by Alan Stern <stern@kitsilano.rowland.org>.
2411 * timezone/private.h: Update from tzcode1999e.
2412 * timezone/zic.c: Likewise.
2414 * timezone/africa: Update from tzdata1999e.
2415 * timezone/antarctica: Likewise.
2416 * timezone/asia: Likewise.
2417 * timezone/australasia: Likewise.
2418 * timezone/europe: Likewise.
2419 * timezone/leapseconds: Likewise.
2420 * timezone/northamerica: Likewise.
2421 * timezone/southamerica: Likewise.
2423 * stdio-common/vfprintf.c (process_string_arg): Correct last patch
2424 and write correct number of bytes in case of %ls with precision.
2425 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2427 1999-08-16 Ulrich Drepper <drepper@cygnus.com>
2429 * nscd/nscd.init: Test for kernel version and make LSB compliant.
2430 Patch by Christian Gafton.
2432 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
2433 O_RSYNC. Patch by Christian Gafton.
2435 * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
2436 possibly unterminated strings for %ls when a precision is
2438 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
2440 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
2441 update_conversion_ptrs.
2442 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2444 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
2446 * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
2447 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2449 * wcsmbs/Makefile (tests): Add tst-wcsnlen.
2450 * wcsmbs/tst-wcsnlen.c: New file.
2452 1999-08-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2454 * libio/ioputs.c (_IO_puts): Add missing brace.
2456 1999-07-20 Geoff Keating <geoffk@cygnus.com>
2458 * math/libm-test.c: Tweak deltas for a clean run on ppc.
2460 1999-08-10 H.J. Lu <hjl@gnu.org>
2462 * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
2463 (vfprintf): Likewise.
2464 * stdio-common/vfscanf.c (ORIENT): Likewise.
2465 * libio/genops.c (__underflow): Likewise.
2466 (__uflow): Likewise.
2467 * libio/iofputs.c (_IO_fputs): Likewise.
2468 * libio/ioftell.c (_IO_ftell): Likewise.
2469 * libio/iofwrite.c (_IO_fwrite): Likewise.
2470 * libio/ioputs.c (_IO_puts): Likewise.
2471 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
2472 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
2474 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
2476 * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
2478 1999-08-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2480 * manual/job.texi (Process Group Functions): Document getpgid,
2483 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
2485 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
2486 initialize si_pid from it.
2487 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
2489 * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
2490 * rt/aio_misc.h (struct waitlist): Add caller_pid element.
2491 (struct requestlist): Likewise.
2492 Adjust prototypes of __aio_notify_only and __aio_sigqueue.
2493 * rt/aio_notify.c (__aio_notify_only): Take extra parameter. Pass it
2495 (__aio_notify): Pass caller PID to __aio_notify_only.
2496 * rt/aio_suspend.c: Initialize caller_pid.
2497 * rt/lio_listio.c: Likewise.
2498 * rt/lio_listio64.c: Likewise.
2500 * rt/lio_listio.c: If nothing has to be done free mutex before
2502 * rt/lio_listio64.c: Likewise.
2504 1999-08-10 H.J. Lu <hjl@gnu.org>
2506 * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
2509 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
2511 * elf/elf.h: Define ElfXX_Versym.
2512 * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
2515 * stdio-common/vfprintf.c (process_string_arg): Handle precisions
2516 for string output correctly in the wide character case.
2517 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
2519 * intl/locale.alias: Add catalan.
2521 1999-08-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2523 * manual/install.texi (Configuring and compiling): Mention CFLAGS.
2525 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
2527 * po/pt_BR.po: New file.
2529 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2531 * math/libm-test.c (yn_test): Adjust deltas for i386.
2532 (ccosh_test): Likewise.
2533 (jn_test): Likewise.
2535 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
2537 * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
2539 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
2541 * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
2544 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2546 * configure.in: install-sh lives now in scripts subdir.
2547 PR libc/1255 (bug 4).
2549 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
2551 * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
2556 1999-08-11 Thorsten Kukuk <kukuk@suse.de>
2558 * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
2560 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
2562 * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
2565 1999-08-10 Andreas Schwab <schwab@suse.de>
2567 * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
2570 1999-08-09 Scott Bambrough <scottb@netwinder.org>
2572 * elf/elf.h: Added definition of ELFOSABI_ARM.
2573 * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
2574 VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
2575 object's header and ABI values are acceptable.
2576 (VALID_ELF_HEADER): New macro; provide default definition.
2577 (VALID_ELF_OSABI): New macro; provide default definition.
2578 (VALID_ELF_ABIVERSION): New macro; provide default definition.
2579 * sysdeps/arm/dl-machine.h Define ARM specific versions of
2580 VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
2582 1999-08-09 Andreas Schwab <schwab@suse.de>
2584 * inet/tst-ipnode.c (main): Don't compare integer with NULL.
2586 1999-08-09 Thorsten Kukuk <kukuk@suse.de>
2588 * sunrpc/svc_run.c (svc_run): Free my_pollfd.
2590 1999-08-09 Andreas Schwab <schwab@suse.de>
2592 * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
2594 1999-08-08 Ulrich Drepper <drepper@cygnus.com>
2596 * sysdeps/ieee754/ieee754.h: Handle platforms with special
2597 __FLOAT_WORD_ORDER. Patch by Joel Klecker <jk@espy.org>.
2599 * string/bits/string2.h: Mark void* operations as extensions.
2600 * sysdeps/i386/i486/bits/string.h: Likewise.
2602 * debug/Makefile (routines): Add noophooks.
2603 (extra-libs): Add libpcprofile. Add rules to build libpcprofile.
2604 * debug/noophooks.c: New file.
2605 * debug/pcprofile.c: New file.
2607 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
2609 * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
2610 systems which allow using the functions also on non-seekable
2613 * resolv/res_send.c (res_send): Recompute timeout for poll for
2614 each jump to `wait'.
2616 * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
2617 braces to avoid warnings.
2618 (IN6ADDR_LOOPBACK_INIT): Likewise.
2620 * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
2623 1999-08-06 H.J. Lu <hjl@gnu.org>
2625 * malloc/malloc.c: Initialize __libc_pagesize early.
2627 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
2629 * string/string-inlines.c: Undefined __USE_STRING_INLINES before
2632 * inet/Makefile (tests): Add tst-ipnode.
2633 * inet/tst-ipnode.c: New file.
2635 1999-08-06 Andreas Schwab <schwab@suse.de>
2637 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
2639 (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
2640 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
2641 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
2643 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
2644 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
2646 1999-08-06 Jakub Jelinek <jj@ultra.linux.cz>
2648 * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
2649 * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
2650 * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
2652 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
2654 * resolv/res_send.c (res_send): Don't test file descriptor for
2655 range, we use poll now. [PR libc/1240]
2657 1999-08-05 Ulrich Drepper <drepper@cygnus.com>
2659 * libio/genops.c (_IO_flush_all): Don't access elements beyond what
2660 2.0 defined if they are not available.
2662 1999-08-05 Thorsten Kukuk <kukuk@suse.de>
2664 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
2667 1999-08-04 Ulrich Drepper <drepper@cygnus.com>
2669 * rt/aio_read.c: Fix return value.
2670 * rt/aio_read64.c: Likewise.
2671 Reported by Christian Gafton.
2673 * rt/aio_write.c: Fix return value.
2674 * rt/aio_write64.c: Likewise.
2675 * rt/aio_fsync.c: Likewise.
2677 * rt/aio_misc.c: Set errno at correct place.
2679 * rt/aio_fsync.c: Test OP parameter for correct values.
2681 * hesiod/hesiod.c: Avoid emitting rcsid in object file.
2683 1999-08-04 Andreas Schwab <schwab@suse.de>
2685 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
2686 Initialize result to one.
2687 (GET_NPROCS_CONF_PARSER): Likewise.
2689 1999-08-03 Ulrich Drepper <drepper@cygnus.com>
2691 * inet/ether_hton.c: Pass errno pointer to NSS function.
2692 * inet/getnetgrent_r.c: Likewise.
2693 Reported by Marty Leisner <leisner@rochester.rr.com>.
2695 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
2697 * nis/nis_callback.c: Fix port problem on big-endian machines
2698 * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
2699 fields are always 32 bit.
2700 Patches from Paul Mackerras <paulus@cs.anu.edu.au>
2702 * nis/nss_nis/nis-service.c: Remove htons, port is always in
2704 * nis/nss_nisplus/nisplus-service.c: Rename number to port.
2706 1999-08-03 Andreas Schwab <schwab@suse.de>
2708 * sysdeps/posix/sigset.c: Unblock the signal after setting its
2709 disposition. Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
2710 avoid two calls to sigprocmask.
2712 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
2714 * sysdeps/generic/s_nexttowardf.c: Fix typo.
2716 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
2718 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
2719 Only allow rt signal frames. No SA_SIGINFO signals will have the
2720 siginfo_t just not filled out with SI_NOINFO code.
2721 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
2722 (register_dump): Take the above change into account.
2723 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
2724 (rt_signal_frame): Likewise.
2726 * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
2728 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
2730 * nis/nis_callback.c (internal_nis_do_callback): Use poll()
2731 instead of select().
2733 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
2735 * sysdeps/generic/s_nextafter.c: Define __nexttoward and
2736 nexttoward so something else so that aliasing works.
2738 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
2740 * sysdeps/generic/math_ldbl.h: Fix typo.
2741 * sysdeps/generic/strtold.c: Remove unbalanced #endif.
2742 * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
2744 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
2746 * elf/resolvfail.c: Include stdio.h. Also test dlerror.
2748 1999-08-01 Ulrich Drepper <drepper@cygnus.com>
2750 * elf/Makefile (tests): Add resolvfail. Add rules to build the
2752 * elf/resolvfail.c: New file.
2754 * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
2755 pass it to _dl_lookup_symbol.
2757 * elf/dl-error.c (_dl_signal_error): Optimize string generation a
2758 bit. Reword message.
2760 * dlfcn/dlerror.c: Make code thread-safe.
2762 1999-07-31 Roland McGrath <roland@baalperazim.frob.com>
2764 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
2765 initializer in CHECK: a bit size, not the type code repeated!
2767 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
2769 * string/tester.c: Add tests with constant arguments for strcpy
2772 1999-07-31 H.J. Lu <hjl@gnu.org>
2774 * string/bits/string2.h (__strcpy_small): Fix a typo.
2776 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
2778 * Makeconfig (link-libc): Always define it, not only for shared
2781 * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
2782 * sysdeps/i386/fpu/e_powf.S: Likewise.
2783 * sysdeps/i386/fpu/e_powl.S: Likewise. [PR libc/1213].
2785 * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
2786 * sysdeps/generic/e_gammal_r.c: Likewise. [PR libc/1212].
2788 1999-07-30 Andreas Schwab <schwab@suse.de>
2790 * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
2792 (__get_nprocs): Use it.
2793 (__get_nprocs_conf): Define as separate function if
2794 GET_NPROCS_CONF_PARSER is defined.
2795 * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
2797 * include/sys/sysinfo.h: New file.
2798 * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
2800 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
2802 1999-07-30 H.J. Lu <hjl@gnu.org>
2804 * libio/iofflush.c (fflush_unlocked): Weak aliase if
2805 _IO_MTSAFE_IO is not defined.
2806 * libio/clearerr.c (clearerr_unlocked): Likewise.
2807 * libio/feof.c (feof_unlocked): Likewise.
2808 * libio/ferror.c (ferror_unlocked): Likewise.
2809 * libio/fputc.c (fputc_unlocked): Likewise.
2810 * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
2811 * libio/getchar.c (getchar_unlocked): Likewise.
2812 * libio/putc.c (putc_unlocked): Likewise.
2813 * libio/putchar.c (putchar_unlocked): Likewise.
2815 1999-07-30 Thorsten Kukuk <kukuk@suse.de>
2817 * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
2818 svc_max_pollfd and svc_pollfd to GLIBC_2.2
2819 * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
2820 for svc_run/poll interface.
2821 * sunrpc/rpc/types.h: Add rpc*_t typedefs.
2822 * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
2824 * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
2825 rewrite other svc_getreq* functions to use svc_getreq_common.
2826 * sunrpc/svc_run.c: Use poll().
2828 1999-07-30 Andreas Schwab <schwab@suse.de>
2830 * Makerules: Put sysd-versions and Versions.all on
2831 postclean-generated instead of common-generated.
2833 1999-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2835 * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
2836 around and CLOCKS_PER_SEC is 1e6.
2838 1999-07-30 Ulrich Drepper <drepper@cygnus.com>
2840 * configure.in: Add test for local label subtraction.
2841 * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
2842 * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
2843 labels to reduce number of runtime relocations and move jump
2844 tables in read-only seciton.
2846 * malloc/malloc.c (ptmalloc_init): Correct last patch. The
2847 assignment cannot be moved.
2849 1999-07-29 H.J. Lu <hjl@gnu.org>
2851 * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
2852 if no threads are used.
2854 * libio/iofwrite.c: Add weak alias for _unlocked function if not
2856 * libio/iofread.c: Likewise.
2857 * libio/iofgets.c: Likewise.
2858 * libio/iofputs.c: Likewise.
2860 * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
2863 * stdlib/mbtowc.c: Include <string.h>.
2864 * stdlib/wctomb.c: Likewise.
2865 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
2866 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
2868 * misc/mntent_r.c: Include <alloca.h>.
2869 * elf/dl-runtime.c: Likewise.
2871 1999-07-29 Andreas Schwab <schwab@suse.de>
2873 * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
2874 all floating point formats supported by gcc. Error out for
2875 unhandled precisions.
2876 * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
2877 * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
2878 * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
2880 1999-07-29 Ulrich Drepper <drepper@cygnus.com>
2882 * sysdeps/generic/setenv.c: Move setenv code in new function
2883 __add_to_environ. Add new parameter specifying already
2884 constructed string for the environment.
2885 (setenv): Call __add_to_environ with new parameter set to NULL.
2886 (unsetenv): Really test all elements for duplicated name. Missed those
2887 cases where the two are following each other.
2888 * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
2889 * include/stdlib.h: Add prototype of __add_to_environ.
2890 * stdlib/tst-environ.c: New file.
2891 * stdlib/Makefile (tests): Add tst-environ.
2893 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
2895 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
2896 argument in realloc call.
2897 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
2899 Reported by Danny Braniss <danny@cs.huji.ac.il>.
2901 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
2903 * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
2905 * misc/efgcvt_r.c: Likewise.
2906 * misc/qefgcvt.c: Likewise.
2907 * misc/qefgcvt_r.c: Likewise.
2908 * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
2911 1999-07-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2913 * manual/math.texi (FP Function Optimization): Mention drawbacks.
2915 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
2917 * stdlib/mblen.c: Use static state.
2918 Reported by Bruno Haible <haible@ilog.fr>.
2920 * stdlib/mbtowc.c: Reset state for s == NULL.
2921 * stdlib/wctomb.c: Likewise.
2922 Reported by Bruno Haible <haible@ilog.fr>.
2924 * stdlib/mbstowcs.c: Do not use global state.
2925 Reported by Bruno Haible <haible@ilog.fr>.
2927 1999-07-28 Andeas Schwab <schwab@suse.de>
2929 * iconvdata/Makefile: Don't try to run iconv tests when cross
2932 1999-07-27 Mark Kettenis <kettenis@gnu.org>
2934 * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
2935 assembler code to switch stacks and call init1 outside this
2936 function. Inside `init' the code was optimized away by gcc
2937 2.95 since it was "clearly" unreachable.
2938 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2939 Do something similar for the trampoline code.
2941 1999-07-27 Ulrich Drepper <drepper@cygnus.com>
2943 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
2944 for the hinted protocol.
2946 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2948 * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
2950 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
2952 * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
2953 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
2954 * elf/dl-load.c (_dl_map_object): Likewise.
2955 * elf/do-lookup.h (do_lookup*): Likewise.
2956 * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
2957 * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
2959 * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
2961 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
2963 * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
2964 * sysdeps/generic/getpgrp.c: Likewise.
2965 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
2966 * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
2967 Patch by John Tobey <jtobey@banta-im.com>.
2969 * sysdeps/posix/wait3.c: Help compiling in presence of
2970 __transparent_union__. Reported by John Tobey <jtobey@banta-im.com>.
2972 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
2974 * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
2975 as much as possible. Declare them using .register pseudo-op if they
2977 * sysdeps/sparc/sparc64/lshift.S: Likewise.
2978 * sysdeps/sparc/sparc64/memchr.S: Likewise.
2979 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
2980 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2981 * sysdeps/sparc/sparc64/memset.S: Likewise.
2982 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2983 * sysdeps/sparc/sparc64/rshift.S: Likewise.
2984 * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
2985 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2986 * sysdeps/sparc/sparc64/strcat.S: Likewise.
2987 * sysdeps/sparc/sparc64/strchr.S: Likewise.
2988 * sysdeps/sparc/sparc64/strcmp.S: Likewise.
2989 * sysdeps/sparc/sparc64/strcpy.S: Likewise.
2990 * sysdeps/sparc/sparc64/strcspn.S: Likewise.
2991 * sysdeps/sparc/sparc64/strlen.S: Likewise.
2992 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2993 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2994 * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
2995 * sysdeps/sparc/sparc64/strspn.S: Likewise.
2996 * sysdeps/sparc/sparc64/sub_n.S: Likewise.
2997 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2998 Optimize trampoline code for .plt4-.plt32767.
2999 Fix trampolines for .plt32768+.
3001 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
3003 * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
3005 * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
3006 * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
3007 libc's private use (as assembly routine clobber it anyway).
3009 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3011 * README.template (configurations): The crypt add-on has a new
3013 * manual/install.texi (Installation): Likewise.
3015 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
3017 * time/time.h: Add forward for struct sigevent. Unix98 maybe
3018 requires to have a full definition but we wait for a bug report
3019 based on the test suite.
3021 * sysdeps/generic/clock_getres.c: New file.
3022 * sysdeps/generic/clock_gettime.c: New file.
3023 * sysdeps/generic/clock_settime.c: New file.
3024 * sysdeps/generic/timer_create.c: New file.
3025 * sysdeps/generic/timer_delete.c: New file.
3026 * sysdeps/generic/timer_getoverr.c: New file.
3027 * sysdeps/generic/timer_gettime.c: New file.
3028 * sysdeps/generic/timer_settime.c: New file.
3030 * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
3031 CLOCK_REALTIME, and TIMER_ABSTIME.
3032 * sysdeps/mach/hurd/bits/time.h: Likewise.
3033 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
3034 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
3036 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
3038 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
3041 * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
3043 * time/Makefile (routines): Add clock_getres, clock_gettime,
3044 clock_setres, timer_create, timer_delete, timer_getoverr,
3045 timer_gettime, and timer_settime.
3047 * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
3048 POSIX.1b. Add prototypes for clock and timer functions.
3050 1999-07-26 Roland McGrath <roland@baalperazim.frob.com>
3052 * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
3053 Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
3055 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
3057 * stdlib/wcstombs.c: Do not use global state.
3058 Reported by Bruno Haible <haible@ilog.fr>.
3060 * wcsmbs/wctob.c: Avoid sign extension when returning character.
3061 Reported by Bruno Haible <haible@ilog.fr>.
3063 * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
3064 of wide characters to convert do it right and don't overestimate
3065 by multiplying with MB_CUR_MAX.
3066 Reported by Bruno Haible <haible@ilog.fr>.
3068 1999-07-26 Jakub Jelinek <jj@ultra.linux.jz>
3070 * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
3071 (__stpcpy_small): Likewise.
3072 Union has no __uc member but __c.
3074 1999-07-26 Andreas Schwab <schwab@suse.de>
3076 * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
3078 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
3080 * libio/iofclose.c (_IO_new_fclose): Only fall back on
3081 _IO_old_fclose if doing versioning.
3083 * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
3085 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3087 * misc/mntent_r.c: Allow spaces and tabs in entry names by
3088 encoding these characters.
3089 * misc/tst-mntent.c: Add test case for addmntent and getmntent.
3091 * string/bits/string2.h: Fix aliasing problems.
3092 * sysdeps/i386/i486/bits/string.h: Likewise.
3093 * sysdeps/i386/bits/string.h: Likewise.
3095 1998-12-28 Geoff Keating <geoffk@ozemail.com.au>
3097 * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
3098 * elf/rtld.c (dl_main): Don't call malloc() between
3099 re-relocating the dynamic linker and running the application's crt0.
3101 1999-07-21 Paul D. Smith <psmith@gnu.org>
3103 * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
3104 glob.h to get __P() macro.
3106 * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
3108 (__strchrnul): This won't exist outside GLIBC, so create one.
3110 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
3112 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
3113 __ino64_t should be 32bit unsigned type on sparc32.
3114 Define __off64_t to __quad_t instead of __int64_t.
3115 Make __pic_pid_t unsigned on sparc32.
3117 1999-07-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3119 * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
3122 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
3124 * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
3125 of an error. Patch by Changwoo Ryu <cwryu@debian.org>.
3127 1999-07-24 Ulrich Drepper <drepper@cygnus.com>
3129 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
3132 * resolv/res_send.c: Add locks for res_send and res_close use.
3134 * elf/Makefile (dl-routines): Add preinit.
3135 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
3136 * elf/link.h (struct link_map): Add new field l_preinitcount.
3137 * elf/dl-preinit.c: New file.
3138 * elf/dynamic-link.h: Initialize l_preinitcount.
3139 * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
3141 * elf/dl-fini.c: Handle DT_FINI_ARRAY.
3142 * elf/link.h (struct link_map): Remove l_init_running. Add l_runcount
3144 * elf/dl-init.c: Handle DT_INIT_ARRAY.
3145 * elf/dynamic-link.h: Change parameters. Now only get link_map
3146 pointer. Calculate l_initcount.
3148 * elf/link.h (struct link_map): Add l_runpath_dirs.
3149 * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
3150 * elf/dl-load.c: Pretty print.
3151 (decompose_rpath): Take new parameter with info from where the path
3152 comes. Pass it the fillin_rpath.
3153 (_dl_init_paths): Initialize l_runpath_dirs.
3154 (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
3155 Search using RUNPATH after LD_LIBRARY_PATH.
3156 * elf/dl-support.c: Adjust comment.
3157 * elf/rtld.c: Adjust help message.
3159 1999-07-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3161 * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
3164 1999-07-23 Roland McGrath <roland@baalperazim.frob.com>
3166 * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
3167 match BSD value; previous value of 1<<8 was a typo. I bet nothing
3168 ever used this, so I'm not going to worry about compatibility.
3169 [__USE_GNU] (IUCLC, OLCUC): New macros.
3171 1999-07-23 Ulrich Drepper <drepper@cygnus.com>
3173 * include/libintl.h: Undefine N_ and _ first to avoid warnings.
3175 * elf/elf.h: Add ET_LOOS and ET_HIOS.
3176 Add various EM_* constants.
3177 Add SHN_LOOS and SHN_HIOS.
3178 Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
3179 Add SHF_MERGE and SHF_STRINGS.
3180 (ElfXX_Sym): Update description of st_other field.
3182 Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
3184 Update comment on DT_RPATH. Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
3185 DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
3186 Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
3188 * posix/unistd.h: Move declaration of __libc_enable_secure to...
3189 * include/unistd.h: ...here.
3191 * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
3192 * elf/dl-deps.c (expand_dst): Likewise.
3194 * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
3195 based on DT_FLAGS value.
3197 * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
3198 Add test for symbols marked STV_HIDDEN.
3199 * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
3200 add undef_map. Compute reference_name locally. Update call to
3202 (_dl_lookup_symbol_skip): Likewise.
3203 (_dl_lookup_versioned_symbol): Likewise.
3204 (_dl_lookup_versioned_symbol_skip): Likewise.
3205 * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
3206 * elf/dl-runtime.c: Likewise.
3207 * elf/dl-sym.c: Likewise.
3208 * elf/dl-symbol.c: Likewise.
3209 * elf/ldsodefs.h: Adjust prototypes.
3211 * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
3212 handle appropriately. Add comment about DT_TEXTREL.
3213 * elf/dl-runtime.c: Likewise.
3215 1999-07-21 Roland McGrath <roland@baalperazim.frob.com>
3217 * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
3218 * elf/ldsodefs.h: Declare it.
3219 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
3221 (elf_machine_lazy_rel): Likewise. Take new arg MAP.
3222 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3223 (elf_machine_lazy_rel): Likewise.
3224 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
3225 (elf_machine_lazy_rel): Likewise.
3226 * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
3227 (elf_machine_lazy_rel): Likewise.
3228 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
3229 (elf_machine_lazy_rel): Likewise.
3230 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3231 (elf_machine_lazy_rel): Likewise.
3232 * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
3233 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
3234 (elf_machine_lazy_rel): Likewise.
3235 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
3236 (elf_machine_lazy_rel): Likewise.
3237 * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
3238 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
3239 _dl_reloc_bad_type instead of _dl_signal_error.
3240 * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
3242 1999-07-20 Mark Kettenis <kettenis@gnu.org>
3244 * sysdeps/mach/_strerror.c: Include <libintl.h>.
3246 1999-07-19 Roland McGrath <roland@baalperazim.frob.com>
3248 * hurd/hurdsig.c (_hurd_internal_post_signal): If a
3249 hurd_signal_preemptor matches but its `preemptor' field is null, use
3250 its `handler' field directly. This is to comply with behavior
3251 documented in <hurd/sigpreempt.h>.
3253 1999-07-21 Andreas Schwab <schwab@suse.de>
3255 * libio/fileops.c (_IO_new_file_underflow): Set error indicator
3256 when reading from write-only stream.
3257 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
3258 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3260 1999-07-21 Andreas Schwab <schwab@suse.de>
3262 * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
3265 1999-07-21 Mark Kettenis <kettenis@gnu.org>
3267 * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
3269 * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
3271 (__libc_write): Call __pwrite instead of __pread.
3273 1999-07-20 Mark Kettenis <kettenis@gnu.org>
3275 * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
3276 __vm_allocate calls.
3278 * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>. Fix typo.
3279 * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
3281 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
3282 _hurd_fd_read with new OFFSET argument set to -1.
3283 (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
3286 1999-07-17 Roland McGrath <roland@baalperazim.frob.com>
3288 * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
3289 descriptor table sent in the RPC.
3291 1999-07-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3293 * time/strptime.c [!_LIBC]: Fix __mon_day size. Reported by
3294 bill@taniwha.org [PR libc/1211].
3296 1999-07-19 Andreas Schwab <schwab@suse.de>
3298 * libio/Makefile (routines): Add fwprintf.
3300 PowerPC has own version of w_sqrt.c and w_sqrtf.c.
3301 * math/w_sqrt.c: Moved to ...
3302 * sysdeps/generic/w_sqrt.c: ... here.
3303 * math/w_sqrtf.c: Moved to ...
3304 * sysdeps/generic/w_sqrtf.c: ... here.
3306 * Make-dist (generic-dirs): New variable.
3307 (try-sysdeps, +sysdep-names): Use it.
3308 * extra-lib.mk (all-$(lib)-routines): New variable. Use it
3309 instead of $(lib)-routines.
3310 * elf/Makefile (distribute): Add dl-cache.h.
3311 * db2/Makefile (distribute): Add all new files.
3312 * iconvdata/Makefile (distribute): Don't distribute CVS
3314 * math/Makefile (distribute): Remove machine/endian.h, add
3316 * stdio-common/Makefile (distribute): Add _itowa.h.
3317 * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
3318 * sysdeps/gnu/Dist: Add eval.c
3319 * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
3320 dlfcn]: Add to this instead of libdl-routines.
3321 * sysdeps/ieee754/ldbl-128/Dist: New file.
3322 * sysdeps/mach/hurd/Dist: Add siglist.h
3323 * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
3325 1999-07-18 Ulrich Drepper <drepper@cygnus.com>
3327 * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
3329 * inet/Makefile (routines): Add getipnodebyad and freehostent.
3330 * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
3331 * inet/freehostent.c: New file.
3332 * inet/getipnodebyad.c: New file.
3333 * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
3334 and getipnodebyname. The latter comes soon.
3335 * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
3336 Add support for getipnode* functions.
3338 * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
3339 Set h_aliases to NULL and not to a pointer to an array with a NULL
3340 pointer following XNS 5.2.
3342 * posix/sched.h: Remove internal interfaces.
3343 * include/sched.h: Add internal interfaces.
3345 * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
3347 * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
3349 * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
3350 and return an error in this case.
3351 * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
3354 1999-07-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3356 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
3357 1999-07-17 and adjust len parameter.
3358 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
3359 * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
3360 * manual/socket.texi (Host Names): Likewise.
3361 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
3362 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
3364 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
3365 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
3366 (ht_gethostbyaddr): Likewise.
3367 (_gethtbyaddr): Likewise.
3369 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
3371 * resolv/netdb.h: Adjust parameters of gethostbyaddr and
3373 * include/netdb.h: Likewise.
3374 * inet/gethstbyad.c: Correct type of len parameter.
3375 * inet/gethstbyad_r.c: Likewise.
3377 * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
3379 1999-07-17 Zack Weinberg <zack@rabi.columbia.edu>
3381 * include/libc-symbol.h: Clean up definitions of weak_alias,
3382 strong_alias, symbol_version, etc. etc.
3383 * posix/getopt.h: Use ctype.h to get features.h included, and don't
3384 include it at all if __GNU_LIBRARY__ is already defined.
3386 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
3388 * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
3390 * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
3392 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
3393 type for tv_usec element.
3394 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
3395 * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
3396 * sysdeps/generic/bits/time.h: Likewise.
3397 * sysdeps/mach/hurd/bits/time.h: Likewise.
3398 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3399 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3400 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3401 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
3402 * sysdeps/generic/bits/types.h: Likewise.
3403 * posix/sys/types.h: Define suseconds_t for X/Open.
3405 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
3407 * stdio-common/bug1.c: Avoid memory leak.
3409 * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
3410 program deterministic.
3411 * sysdeps/i386/fpu/e_powf.S: Likewise.
3412 * sysdeps/i386/fpu/e_powl.S: Likewise.
3414 1999-07-15 Jakub Jelinek <jj@ultra.linux.cz>
3416 * math/Makefile: Add t_sincosl and k_sincosl support routines.
3417 * math/math_private.h (__kernel_sincosl): New declaration.
3418 * sysdeps/generic/t_sincosl.c: New file.
3419 * sysdeps/generic/k_sincosl.c: New file.
3420 * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
3421 * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
3422 * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
3423 * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
3424 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
3425 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
3427 * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
3430 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
3432 * posix/unistd.h: Use __PMT for exit.
3434 1999-07-15 Philip Blundell <pb@nexus.co.uk>
3436 * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
3437 _outw, _outl): Added to GLIBC_2.1.2.
3439 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
3441 * posix/fnmatch.h: Use __name instead of __string in prototype to
3442 allow use outside glibc.
3444 1999-07-14 Ulrich Drepper <drepper@cygnus.com>
3446 * time/tst-strptime.c (main): Add one more test case. Produce
3447 output even when result is ok.
3449 * time/strptime.c (get_number): Handle number parsing more
3450 consistent with strftime. Only parse a given number of digits.
3451 (get_alt_number): Fix implementation. Was broken.
3452 (strptime_internal): Add third parameter to get_number and
3453 get_alt_number calls.
3455 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
3457 * elf/ldd.bash.in: Add support for multiple dynamic linkers.
3458 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
3459 try both 32bit and 64bit dynamic linker.
3460 * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
3461 script on all sparc targets.
3463 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
3465 * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
3468 1999-07-13 Andreas Schwab <schwab@suse.de>
3470 * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
3471 inlining. Fixes PR libc/1198.
3473 1999-07-14 Andreas Schwab <schwab@suse.de>
3475 * Makerules (common-generated): Don't prepend $(common-objpfx).
3477 1999-07-12 Jakub Jelinek <jj@ultra.linux.cz>
3479 * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
3480 as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
3481 * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
3482 quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
3484 * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
3486 * sysdeps/arm/Implies: Likewise.
3487 * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
3488 ieee754/ldbl-96 instead of ieee754.
3489 * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
3490 * sysdeps/generic/e_atanhl.c: New file.
3491 * sysdeps/generic/e_coshl.c: New file.
3492 * sysdeps/generic/e_sinhl.c: New file.
3493 * sysdeps/generic/e_gammal_r.c: New file.
3494 * sysdeps/generic/e_hypotl.c: New file.
3495 * sysdeps/generic/s_cbrtl.c: New file.
3496 * sysdeps/generic/s_asinhl.c: New file.
3497 * sysdeps/generic/s_tanhl.c: New file.
3498 * sysdeps/generic/w_expl.c: New file.
3499 * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
3501 * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
3502 ieee754/ldbl-96 instead of ieee754.
3503 * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
3504 * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
3506 * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
3508 * sysdeps/mips/mips64/Implies: Likewise.
3509 * sysdeps/powerpc/Implies: Likewise.
3510 * sysdeps/sparc/Implies: Remove.
3511 * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
3513 * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
3514 and ieee754/ldbl-128.
3516 * sysdeps/sparc/bits/wordsize.h: Remove.
3517 * sysdeps/sparc/fpu/bits/mathinline.h: New file.
3518 * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
3520 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
3521 * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
3522 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
3523 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
3524 * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
3527 * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
3528 of carries. Optimize.
3530 * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
3531 * sysdeps/generic/e_exp10.c: ...here.
3532 * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
3533 * sysdeps/generic/e_exp10f.c: ...here.
3534 * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
3535 * sysdeps/generic/e_exp10l.c: ...here.
3536 * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
3537 * sysdeps/generic/e_scalb.c: ...here.
3538 * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
3539 * sysdeps/generic/e_scalbf.c: ...here.
3540 * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
3541 * sysdeps/generic/e_scalbl.c: ...here.
3542 * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
3543 * sysdeps/generic/s_cacos.c: ...here.
3544 * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
3545 * sysdeps/generic/s_cacosf.c: ...here.
3546 * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
3547 * sysdeps/generic/s_cacosh.c: ...here.
3548 * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
3549 * sysdeps/generic/s_cacoshf.c: ...here.
3550 * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
3551 * sysdeps/generic/s_cacoshl.c: ...here.
3552 * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
3553 * sysdeps/generic/s_cacosl.c: ...here.
3554 * sysdeps/libm-ieee754/s_casin.c: Moved to ...
3555 * sysdeps/generic/s_casin.c: ...here.
3556 * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
3557 * sysdeps/generic/s_casinf.c: ...here.
3558 * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
3559 * sysdeps/generic/s_casinh.c: ...here.
3560 * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
3561 * sysdeps/generic/s_casinhf.c: ...here.
3562 * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
3563 * sysdeps/generic/s_casinhl.c: ...here.
3564 * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
3565 * sysdeps/generic/s_casinl.c: ...here.
3566 * sysdeps/libm-ieee754/s_catan.c: Moved to ...
3567 * sysdeps/generic/s_catan.c: ...here.
3568 * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
3569 * sysdeps/generic/s_catanf.c: ...here.
3570 * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
3571 * sysdeps/generic/s_catanh.c: ...here.
3572 * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
3573 * sysdeps/generic/s_catanhf.c: ...here.
3574 * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
3575 * sysdeps/generic/s_catanhl.c: ...here.
3576 * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
3577 * sysdeps/generic/s_catanl.c: ...here.
3578 * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
3579 * sysdeps/generic/s_ccos.c: ...here.
3580 * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
3581 * sysdeps/generic/s_ccosf.c: ...here.
3582 * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
3583 * sysdeps/generic/s_ccosh.c: ...here.
3584 * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
3585 * sysdeps/generic/s_ccoshf.c: ...here.
3586 * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
3587 * sysdeps/generic/s_ccoshl.c: ...here.
3588 * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
3589 * sysdeps/generic/s_ccosl.c: ...here.
3590 * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
3591 * sysdeps/generic/s_cexp.c: ...here.
3592 * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
3593 * sysdeps/generic/s_cexpf.c: ...here.
3594 * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
3595 * sysdeps/generic/s_cexpl.c: ...here.
3596 * sysdeps/libm-ieee754/s_clog.c: Moved to ...
3597 * sysdeps/generic/s_clog.c: ...here.
3598 * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
3599 * sysdeps/generic/s_clog10.c: ...here.
3600 * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
3601 * sysdeps/generic/s_clog10f.c: ...here.
3602 * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
3603 * sysdeps/generic/s_clog10l.c: ...here.
3604 * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
3605 * sysdeps/generic/s_clogf.c: ...here.
3606 * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
3607 * sysdeps/generic/s_clogl.c: ...here.
3608 * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
3609 * sysdeps/generic/s_cpow.c: ...here.
3610 * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
3611 * sysdeps/generic/s_cpowf.c: ...here.
3612 * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
3613 * sysdeps/generic/s_cpowl.c: ...here.
3614 * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
3615 * sysdeps/generic/s_cproj.c: ...here.
3616 * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
3617 * sysdeps/generic/s_cprojf.c: ...here.
3618 * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
3619 * sysdeps/generic/s_cprojl.c: ...here.
3620 * sysdeps/libm-ieee754/s_csin.c: Moved to ...
3621 * sysdeps/generic/s_csin.c: ...here.
3622 * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
3623 * sysdeps/generic/s_csinf.c: ...here.
3624 * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
3625 * sysdeps/generic/s_csinh.c: ...here.
3626 * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
3627 * sysdeps/generic/s_csinhf.c: ...here.
3628 * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
3629 * sysdeps/generic/s_csinhl.c: ...here.
3630 * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
3631 * sysdeps/generic/s_csinl.c: ...here.
3632 * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
3633 * sysdeps/generic/s_csqrt.c: ...here.
3634 * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
3635 * sysdeps/generic/s_csqrtf.c: ...here.
3636 * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
3637 * sysdeps/generic/s_csqrtl.c: ...here.
3638 * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
3639 * sysdeps/generic/s_ctan.c: ...here.
3640 * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
3641 * sysdeps/generic/s_ctanf.c: ...here.
3642 * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
3643 * sysdeps/generic/s_ctanh.c: ...here.
3644 * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
3645 * sysdeps/generic/s_ctanhf.c: ...here.
3646 * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
3647 * sysdeps/generic/s_ctanhl.c: ...here.
3648 * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
3649 * sysdeps/generic/s_ctanl.c: ...here.
3650 * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
3651 * sysdeps/generic/s_fdim.c: ...here.
3652 * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
3653 * sysdeps/generic/s_fdimf.c: ...here.
3654 * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
3655 * sysdeps/generic/s_fdiml.c: ...here.
3656 * sysdeps/libm-ieee754/s_fma.c: Moved to ...
3657 * sysdeps/generic/s_fma.c: ...here.
3658 * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
3659 * sysdeps/generic/s_fmaf.c: ...here.
3660 * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
3661 * sysdeps/generic/s_fmal.c: ...here.
3662 * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
3663 * sysdeps/generic/s_fmax.c: ...here.
3664 * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
3665 * sysdeps/generic/s_fmaxf.c: ...here.
3666 * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
3667 * sysdeps/generic/s_fmaxl.c: ...here.
3668 * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
3669 * sysdeps/generic/s_fmin.c: ...here.
3670 * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
3671 * sysdeps/generic/s_fminf.c: ...here.
3672 * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
3673 * sysdeps/generic/s_fminl.c: ...here.
3674 * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
3675 * sysdeps/generic/s_ldexp.c: ...here.
3676 * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
3677 * sysdeps/generic/s_ldexpf.c: ...here.
3678 * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
3679 * sysdeps/generic/s_ldexpl.c: ...here.
3680 * sysdeps/libm-ieee754/s_nan.c: Moved to ...
3681 * sysdeps/generic/s_nan.c: ...here.
3682 * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
3683 * sysdeps/generic/s_nanf.c: ...here.
3684 * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
3685 * sysdeps/generic/s_nanl.c: ...here.
3686 * sysdeps/libm-ieee754/s_significand.c: Moved to ...
3687 * sysdeps/generic/s_significand.c: ...here.
3688 * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
3689 * sysdeps/generic/s_significandf.c: ...here.
3690 * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
3691 * sysdeps/generic/s_significandl.c: ...here.
3692 Avoid conversion from int to double and then to long double.
3693 * sysdeps/libm-ieee754/w_acos.c: Moved to ...
3694 * math/w_acos.c: ...here.
3695 * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
3696 * math/w_acosf.c: ...here.
3697 * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
3698 * math/w_acosh.c: ...here.
3699 * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
3700 * math/w_acoshf.c: ...here.
3701 * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
3702 * math/w_acoshl.c: ...here.
3703 * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
3704 * math/w_acosl.c: ...here.
3705 * sysdeps/libm-ieee754/w_asin.c: Moved to ...
3706 * math/w_asin.c: ...here.
3707 * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
3708 * math/w_asinf.c: ...here.
3709 * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
3710 * math/w_asinl.c: ...here.
3711 * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
3712 * math/w_atan2.c: ...here.
3713 * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
3714 * math/w_atan2f.c: ...here.
3715 * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
3716 * math/w_atan2l.c: ...here.
3717 * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
3718 * math/w_atanh.c: ...here.
3719 * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
3720 * math/w_atanhf.c: ...here.
3721 * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
3722 * math/w_atanhl.c: ...here.
3723 * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
3724 * math/w_cosh.c: ...here.
3725 * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
3726 * math/w_coshf.c: ...here.
3727 * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
3728 * math/w_coshl.c: ...here.
3729 * sysdeps/libm-ieee754/w_drem.c: Moved to ...
3730 * math/w_drem.c: ...here.
3731 * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
3732 * math/w_dremf.c: ...here.
3733 * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
3734 * math/w_dreml.c: ...here.
3735 * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
3736 * math/w_exp10.c: ...here.
3737 * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
3738 * math/w_exp10f.c: ...here.
3739 * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
3740 * math/w_exp10l.c: ...here.
3741 * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
3742 * math/w_exp2.c: ...here.
3743 * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
3744 * math/w_exp2f.c: ...here.
3745 * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
3746 * math/w_exp2l.c: ...here.
3747 * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
3748 * math/w_fmod.c: ...here.
3749 * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
3750 * math/w_fmodf.c: ...here.
3751 * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
3752 * math/w_fmodl.c: ...here.
3753 * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
3754 * math/w_hypot.c: ...here.
3755 * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
3756 * math/w_hypotf.c: ...here.
3757 * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
3758 * math/w_hypotl.c: ...here.
3759 * sysdeps/libm-ieee754/w_j0.c: Moved to ...
3760 * math/w_j0.c: ...here.
3761 * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
3762 * math/w_j0f.c: ...here.
3763 * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
3764 * math/w_j0l.c: ...here.
3765 * sysdeps/libm-ieee754/w_j1.c: Moved to ...
3766 * math/w_j1.c: ...here.
3767 * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
3768 * math/w_j1f.c: ...here.
3769 * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
3770 * math/w_j1l.c: ...here.
3771 * sysdeps/libm-ieee754/w_jn.c: Moved to ...
3772 * math/w_jn.c: ...here.
3773 * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
3774 * math/w_jnf.c: ...here.
3775 * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
3776 * math/w_jnl.c: ...here.
3777 * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
3778 * math/w_lgamma.c: ...here.
3779 * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
3780 * math/w_lgamma_r.c: ...here.
3781 * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
3782 * math/w_lgammaf.c: ...here.
3783 * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
3784 * math/w_lgammaf_r.c: ...here.
3785 * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
3786 * math/w_lgammal.c: ...here.
3787 * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
3788 * math/w_lgammal_r.c: ...here.
3789 * sysdeps/libm-ieee754/w_log.c: Moved to ...
3790 * math/w_log.c: ...here.
3791 * sysdeps/libm-ieee754/w_log10.c: Moved to ...
3792 * math/w_log10.c: ...here.
3793 * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
3794 * math/w_log10f.c: ...here.
3795 * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
3796 * math/w_log10l.c: ...here.
3797 * sysdeps/libm-ieee754/w_logf.c: Moved to ...
3798 * math/w_logf.c: ...here.
3799 * sysdeps/libm-ieee754/w_logl.c: Moved to ...
3800 * math/w_logl.c: ...here.
3801 * sysdeps/libm-ieee754/w_pow.c: Moved to ...
3802 * math/w_pow.c: ...here.
3803 * sysdeps/libm-ieee754/w_powf.c: Moved to ...
3804 * math/w_powf.c: ...here.
3805 * sysdeps/libm-ieee754/w_powl.c: Moved to ...
3806 * math/w_powl.c: ...here.
3807 * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
3808 * math/w_remainder.c: ...here.
3809 * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
3810 * math/w_remainderf.c: ...here.
3811 * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
3812 * math/w_remainderl.c: ...here.
3813 * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
3814 * math/w_scalb.c: ...here.
3815 * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
3816 * math/w_scalbf.c: ...here.
3817 * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
3818 * math/w_scalbl.c: ...here.
3819 * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
3820 * math/w_sinh.c: ...here.
3821 * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
3822 * math/w_sinhf.c: ...here.
3823 * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
3824 * math/w_sinhl.c: ...here.
3825 * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
3826 * math/w_sqrt.c: ...here.
3827 * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
3828 * math/w_sqrtf.c: ...here.
3829 * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
3830 * math/w_sqrtl.c: ...here.
3831 * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
3832 * math/w_tgamma.c: ...here.
3833 * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
3834 * math/w_tgammaf.c: ...here.
3835 * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
3836 * math/w_tgammal.c: ...here.
3837 * sysdeps/libm-i387/e_acos.S: Moved to ...
3838 * sysdeps/i386/fpu/e_acos.S: ...here.
3839 * sysdeps/libm-i387/e_acosf.S: Moved to ...
3840 * sysdeps/i386/fpu/e_acosf.S: ...here.
3841 * sysdeps/libm-i387/e_acosh.S: Moved to ...
3842 * sysdeps/i386/fpu/e_acosh.S: ...here.
3843 * sysdeps/libm-i387/e_acoshf.S: Moved to ...
3844 * sysdeps/i386/fpu/e_acoshf.S: ...here.
3845 * sysdeps/libm-i387/e_acoshl.S: Moved to ...
3846 * sysdeps/i386/fpu/e_acoshl.S: ...here.
3847 * sysdeps/libm-i387/e_acosl.S: Moved to ...
3848 * sysdeps/i386/fpu/e_acosl.S: ...here.
3849 * sysdeps/libm-i387/e_asin.S: Moved to ...
3850 * sysdeps/i386/fpu/e_asin.S: ...here.
3851 * sysdeps/libm-i387/e_asinf.S: Moved to ...
3852 * sysdeps/i386/fpu/e_asinf.S: ...here.
3853 * sysdeps/libm-i387/e_asinl.S: Moved to ...
3854 * sysdeps/i386/fpu/e_asinl.S: ...here.
3855 * sysdeps/libm-i387/e_atan2.S: Moved to ...
3856 * sysdeps/i386/fpu/e_atan2.S: ...here.
3857 * sysdeps/libm-i387/e_atan2f.S: Moved to ...
3858 * sysdeps/i386/fpu/e_atan2f.S: ...here.
3859 * sysdeps/libm-i387/e_atan2l.S: Moved to ...
3860 * sysdeps/i386/fpu/e_atan2l.S: ...here.
3861 * sysdeps/libm-i387/e_atanh.S: Moved to ...
3862 * sysdeps/i386/fpu/e_atanh.S: ...here.
3863 * sysdeps/libm-i387/e_atanhf.S: Moved to ...
3864 * sysdeps/i386/fpu/e_atanhf.S: ...here.
3865 * sysdeps/libm-i387/e_atanhl.S: Moved to ...
3866 * sysdeps/i386/fpu/e_atanhl.S: ...here.
3867 * sysdeps/libm-i387/e_exp.S: Moved to ...
3868 * sysdeps/i386/fpu/e_exp.S: ...here.
3869 * sysdeps/libm-i387/e_exp10.S: Moved to ...
3870 * sysdeps/i386/fpu/e_exp10.S: ...here.
3871 * sysdeps/libm-i387/e_exp10f.S: Moved to ...
3872 * sysdeps/i386/fpu/e_exp10f.S: ...here.
3873 * sysdeps/libm-i387/e_exp10l.S: Moved to ...
3874 * sysdeps/i386/fpu/e_exp10l.S: ...here.
3875 * sysdeps/libm-i387/e_expf.S: Moved to ...
3876 * sysdeps/i386/fpu/e_expf.S: ...here.
3877 * sysdeps/libm-i387/e_expl.S: Moved to ...
3878 * sysdeps/i386/fpu/e_expl.S: ...here.
3879 * sysdeps/libm-i387/e_fmod.S: Moved to ...
3880 * sysdeps/i386/fpu/e_fmod.S: ...here.
3881 * sysdeps/libm-i387/e_fmodf.S: Moved to ...
3882 * sysdeps/i386/fpu/e_fmodf.S: ...here.
3883 * sysdeps/libm-i387/e_fmodl.S: Moved to ...
3884 * sysdeps/i386/fpu/e_fmodl.S: ...here.
3885 * sysdeps/libm-i387/e_hypot.S: Moved to ...
3886 * sysdeps/i386/fpu/e_hypot.S: ...here.
3887 * sysdeps/libm-i387/e_hypotf.S: Moved to ...
3888 * sysdeps/i386/fpu/e_hypotf.S: ...here.
3889 * sysdeps/libm-i387/e_log.S: Moved to ...
3890 * sysdeps/i386/fpu/e_log.S: ...here.
3891 * sysdeps/libm-i387/e_log10.S: Moved to ...
3892 * sysdeps/i386/fpu/e_log10.S: ...here.
3893 * sysdeps/libm-i387/e_log10f.S: Moved to ...
3894 * sysdeps/i386/fpu/e_log10f.S: ...here.
3895 * sysdeps/libm-i387/e_log10l.S: Moved to ...
3896 * sysdeps/i386/fpu/e_log10l.S: ...here.
3897 * sysdeps/libm-i387/e_logf.S: Moved to ...
3898 * sysdeps/i386/fpu/e_logf.S: ...here.
3899 * sysdeps/libm-i387/e_logl.S: Moved to ...
3900 * sysdeps/i386/fpu/e_logl.S: ...here.
3901 * sysdeps/libm-i387/e_pow.S: Moved to ...
3902 * sysdeps/i386/fpu/e_pow.S: ...here.
3903 * sysdeps/libm-i387/e_powf.S: Moved to ...
3904 * sysdeps/i386/fpu/e_powf.S: ...here.
3905 * sysdeps/libm-i387/e_powl.S: Moved to ...
3906 * sysdeps/i386/fpu/e_powl.S: ...here.
3907 * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
3908 * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
3909 * sysdeps/libm-i387/e_remainder.S: Moved to ...
3910 * sysdeps/i386/fpu/e_remainder.S: ...here.
3911 * sysdeps/libm-i387/e_remainderf.S: Moved to ...
3912 * sysdeps/i386/fpu/e_remainderf.S: ...here.
3913 * sysdeps/libm-i387/e_remainderl.S: Moved to ...
3914 * sysdeps/i386/fpu/e_remainderl.S: ...here.
3915 * sysdeps/libm-i387/e_scalb.S: Moved to ...
3916 * sysdeps/i386/fpu/e_scalb.S: ...here.
3917 * sysdeps/libm-i387/e_scalbf.S: Moved to ...
3918 * sysdeps/i386/fpu/e_scalbf.S: ...here.
3919 * sysdeps/libm-i387/e_scalbl.S: Moved to ...
3920 * sysdeps/i386/fpu/e_scalbl.S: ...here.
3921 * sysdeps/libm-i387/e_sqrt.S: Moved to ...
3922 * sysdeps/i386/fpu/e_sqrt.S: ...here.
3923 * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
3924 * sysdeps/i386/fpu/e_sqrtf.S: ...here.
3925 * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
3926 * sysdeps/i386/fpu/e_sqrtl.S: ...here.
3927 * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
3928 * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
3929 * sysdeps/libm-i387/s_asinh.S: Moved to ...
3930 * sysdeps/i386/fpu/s_asinh.S: ...here.
3931 * sysdeps/libm-i387/s_asinhf.S: Moved to ...
3932 * sysdeps/i386/fpu/s_asinhf.S: ...here.
3933 * sysdeps/libm-i387/s_asinhl.S: Moved to ...
3934 * sysdeps/i386/fpu/s_asinhl.S: ...here.
3935 * sysdeps/libm-i387/s_atan.S: Moved to ...
3936 * sysdeps/i386/fpu/s_atan.S: ...here.
3937 * sysdeps/libm-i387/s_atanf.S: Moved to ...
3938 * sysdeps/i386/fpu/s_atanf.S: ...here.
3939 * sysdeps/libm-i387/s_atanl.S: Moved to ...
3940 * sysdeps/i386/fpu/s_atanl.S: ...here.
3941 * sysdeps/libm-i387/s_cbrt.S: Moved to ...
3942 * sysdeps/i386/fpu/s_cbrt.S: ...here.
3943 * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
3944 * sysdeps/i386/fpu/s_cbrtf.S: ...here.
3945 * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
3946 * sysdeps/i386/fpu/s_cbrtl.S: ...here.
3947 * sysdeps/libm-i387/s_ceil.S: Moved to ...
3948 * sysdeps/i386/fpu/s_ceil.S: ...here.
3949 * sysdeps/libm-i387/s_ceilf.S: Moved to ...
3950 * sysdeps/i386/fpu/s_ceilf.S: ...here.
3951 * sysdeps/libm-i387/s_ceill.S: Moved to ...
3952 * sysdeps/i386/fpu/s_ceill.S: ...here.
3953 * sysdeps/libm-i387/s_cexp.S: Moved to ...
3954 * sysdeps/i386/fpu/s_cexp.S: ...here.
3955 * sysdeps/libm-i387/s_cexpf.S: Moved to ...
3956 * sysdeps/i386/fpu/s_cexpf.S: ...here.
3957 * sysdeps/libm-i387/s_cexpl.S: Moved to ...
3958 * sysdeps/i386/fpu/s_cexpl.S: ...here.
3959 * sysdeps/libm-i387/s_copysign.S: Moved to ...
3960 * sysdeps/i386/fpu/s_copysign.S: ...here.
3961 * sysdeps/libm-i387/s_copysignf.S: Moved to ...
3962 * sysdeps/i386/fpu/s_copysignf.S: ...here.
3963 * sysdeps/libm-i387/s_copysignl.S: Moved to ...
3964 * sysdeps/i386/fpu/s_copysignl.S: ...here.
3965 * sysdeps/libm-i387/s_cos.S: Moved to ...
3966 * sysdeps/i386/fpu/s_cos.S: ...here.
3967 * sysdeps/libm-i387/s_cosf.S: Moved to ...
3968 * sysdeps/i386/fpu/s_cosf.S: ...here.
3969 * sysdeps/libm-i387/s_cosl.S: Moved to ...
3970 * sysdeps/i386/fpu/s_cosl.S: ...here.
3971 * sysdeps/libm-i387/s_exp2.S: Moved to ...
3972 * sysdeps/i386/fpu/s_exp2.S: ...here.
3973 * sysdeps/libm-i387/s_exp2f.S: Moved to ...
3974 * sysdeps/i386/fpu/s_exp2f.S: ...here.
3975 * sysdeps/libm-i387/s_exp2l.S: Moved to ...
3976 * sysdeps/i386/fpu/s_exp2l.S: ...here.
3977 * sysdeps/libm-i387/s_expm1.S: Moved to ...
3978 * sysdeps/i386/fpu/s_expm1.S: ...here.
3979 * sysdeps/libm-i387/s_expm1f.S: Moved to ...
3980 * sysdeps/i386/fpu/s_expm1f.S: ...here.
3981 * sysdeps/libm-i387/s_expm1l.S: Moved to ...
3982 * sysdeps/i386/fpu/s_expm1l.S: ...here.
3983 * sysdeps/libm-i387/s_fdim.S: Moved to ...
3984 * sysdeps/i386/fpu/s_fdim.S: ...here.
3985 * sysdeps/libm-i387/s_fdimf.S: Moved to ...
3986 * sysdeps/i386/fpu/s_fdimf.S: ...here.
3987 * sysdeps/libm-i387/s_fdiml.S: Moved to ...
3988 * sysdeps/i386/fpu/s_fdiml.S: ...here.
3989 * sysdeps/libm-i387/s_finite.S: Moved to ...
3990 * sysdeps/i386/fpu/s_finite.S: ...here.
3991 * sysdeps/libm-i387/s_finitef.S: Moved to ...
3992 * sysdeps/i386/fpu/s_finitef.S: ...here.
3993 * sysdeps/libm-i387/s_finitel.S: Moved to ...
3994 * sysdeps/i386/fpu/s_finitel.S: ...here.
3995 * sysdeps/libm-i387/s_floor.S: Moved to ...
3996 * sysdeps/i386/fpu/s_floor.S: ...here.
3997 * sysdeps/libm-i387/s_floorf.S: Moved to ...
3998 * sysdeps/i386/fpu/s_floorf.S: ...here.
3999 * sysdeps/libm-i387/s_floorl.S: Moved to ...
4000 * sysdeps/i386/fpu/s_floorl.S: ...here.
4001 * sysdeps/libm-i387/s_fma.S: Moved to ...
4002 * sysdeps/i386/fpu/s_fma.S: ...here.
4003 * sysdeps/libm-i387/s_fmaf.S: Moved to ...
4004 * sysdeps/i386/fpu/s_fmaf.S: ...here.
4005 * sysdeps/libm-i387/s_fmal.S: Moved to ...
4006 * sysdeps/i386/fpu/s_fmal.S: ...here.
4007 * sysdeps/libm-i387/s_fmax.S: Moved to ...
4008 * sysdeps/i386/fpu/s_fmax.S: ...here.
4009 * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
4010 * sysdeps/i386/fpu/s_fmaxf.S: ...here.
4011 * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
4012 * sysdeps/i386/fpu/s_fmaxl.S: ...here.
4013 * sysdeps/libm-i387/s_fmin.S: Moved to ...
4014 * sysdeps/i386/fpu/s_fmin.S: ...here.
4015 * sysdeps/libm-i387/s_fminf.S: Moved to ...
4016 * sysdeps/i386/fpu/s_fminf.S: ...here.
4017 * sysdeps/libm-i387/s_fminl.S: Moved to ...
4018 * sysdeps/i386/fpu/s_fminl.S: ...here.
4019 * sysdeps/libm-i387/s_frexp.S: Moved to ...
4020 * sysdeps/i386/fpu/s_frexp.S: ...here.
4021 * sysdeps/libm-i387/s_frexpf.S: Moved to ...
4022 * sysdeps/i386/fpu/s_frexpf.S: ...here.
4023 * sysdeps/libm-i387/s_frexpl.S: Moved to ...
4024 * sysdeps/i386/fpu/s_frexpl.S: ...here.
4025 * sysdeps/libm-i387/s_ilogb.S: Moved to ...
4026 * sysdeps/i386/fpu/s_ilogb.S: ...here.
4027 * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
4028 * sysdeps/i386/fpu/s_ilogbf.S: ...here.
4029 * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
4030 * sysdeps/i386/fpu/s_ilogbl.S: ...here.
4031 * sysdeps/libm-i387/s_llrint.S: Moved to ...
4032 * sysdeps/i386/fpu/s_llrint.S: ...here.
4033 * sysdeps/libm-i387/s_llrintf.S: Moved to ...
4034 * sysdeps/i386/fpu/s_llrintf.S: ...here.
4035 * sysdeps/libm-i387/s_llrintl.S: Moved to ...
4036 * sysdeps/i386/fpu/s_llrintl.S: ...here.
4037 * sysdeps/libm-i387/s_log1p.S: Moved to ...
4038 * sysdeps/i386/fpu/s_log1p.S: ...here.
4039 * sysdeps/libm-i387/s_log1pf.S: Moved to ...
4040 * sysdeps/i386/fpu/s_log1pf.S: ...here.
4041 * sysdeps/libm-i387/s_log1pl.S: Moved to ...
4042 * sysdeps/i386/fpu/s_log1pl.S: ...here.
4043 * sysdeps/libm-i387/s_log2.S: Moved to ...
4044 * sysdeps/i386/fpu/s_log2.S: ...here.
4045 * sysdeps/libm-i387/s_log2f.S: Moved to ...
4046 * sysdeps/i386/fpu/s_log2f.S: ...here.
4047 * sysdeps/libm-i387/s_log2l.S: Moved to ...
4048 * sysdeps/i386/fpu/s_log2l.S: ...here.
4049 * sysdeps/libm-i387/s_logb.S: Moved to ...
4050 * sysdeps/i386/fpu/s_logb.S: ...here.
4051 * sysdeps/libm-i387/s_logbf.S: Moved to ...
4052 * sysdeps/i386/fpu/s_logbf.S: ...here.
4053 * sysdeps/libm-i387/s_logbl.S: Moved to ...
4054 * sysdeps/i386/fpu/s_logbl.S: ...here.
4055 * sysdeps/libm-i387/s_lrint.S: Moved to ...
4056 * sysdeps/i386/fpu/s_lrint.S: ...here.
4057 * sysdeps/libm-i387/s_lrintf.S: Moved to ...
4058 * sysdeps/i386/fpu/s_lrintf.S: ...here.
4059 * sysdeps/libm-i387/s_lrintl.S: Moved to ...
4060 * sysdeps/i386/fpu/s_lrintl.S: ...here.
4061 * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
4062 * sysdeps/i386/fpu/s_nearbyint.S: ...here.
4063 * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
4064 * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
4065 * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
4066 * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
4067 * sysdeps/libm-i387/s_remquo.S: Moved to ...
4068 * sysdeps/i386/fpu/s_remquo.S: ...here.
4069 * sysdeps/libm-i387/s_remquof.S: Moved to ...
4070 * sysdeps/i386/fpu/s_remquof.S: ...here.
4071 * sysdeps/libm-i387/s_remquol.S: Moved to ...
4072 * sysdeps/i386/fpu/s_remquol.S: ...here.
4073 * sysdeps/libm-i387/s_rint.S: Moved to ...
4074 * sysdeps/i386/fpu/s_rint.S: ...here.
4075 * sysdeps/libm-i387/s_rintf.S: Moved to ...
4076 * sysdeps/i386/fpu/s_rintf.S: ...here.
4077 * sysdeps/libm-i387/s_rintl.S: Moved to ...
4078 * sysdeps/i386/fpu/s_rintl.S: ...here.
4079 * sysdeps/libm-i387/s_scalbn.S: Moved to ...
4080 * sysdeps/i386/fpu/s_scalbn.S: ...here.
4081 * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
4082 * sysdeps/i386/fpu/s_scalbnf.S: ...here.
4083 * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
4084 * sysdeps/i386/fpu/s_scalbnl.S: ...here.
4085 * sysdeps/libm-i387/s_significand.S: Moved to ...
4086 * sysdeps/i386/fpu/s_significand.S: ...here.
4087 * sysdeps/libm-i387/s_significandf.S: Moved to ...
4088 * sysdeps/i386/fpu/s_significandf.S: ...here.
4089 * sysdeps/libm-i387/s_significandl.S: Moved to ...
4090 * sysdeps/i386/fpu/s_significandl.S: ...here.
4091 * sysdeps/libm-i387/s_sin.S: Moved to ...
4092 * sysdeps/i386/fpu/s_sin.S: ...here.
4093 * sysdeps/libm-i387/s_sincos.S: Moved to ...
4094 * sysdeps/i386/fpu/s_sincos.S: ...here.
4095 * sysdeps/libm-i387/s_sincosf.S: Moved to ...
4096 * sysdeps/i386/fpu/s_sincosf.S: ...here.
4097 * sysdeps/libm-i387/s_sincosl.S: Moved to ...
4098 * sysdeps/i386/fpu/s_sincosl.S: ...here.
4099 * sysdeps/libm-i387/s_sinf.S: Moved to ...
4100 * sysdeps/i386/fpu/s_sinf.S: ...here.
4101 * sysdeps/libm-i387/s_sinl.S: Moved to ...
4102 * sysdeps/i386/fpu/s_sinl.S: ...here.
4103 * sysdeps/libm-i387/s_tan.S: Moved to ...
4104 * sysdeps/i386/fpu/s_tan.S: ...here.
4105 * sysdeps/libm-i387/s_tanf.S: Moved to ...
4106 * sysdeps/i386/fpu/s_tanf.S: ...here.
4107 * sysdeps/libm-i387/s_tanl.S: Moved to ...
4108 * sysdeps/i386/fpu/s_tanl.S: ...here.
4109 * sysdeps/libm-i387/s_trunc.S: Moved to ...
4110 * sysdeps/i386/fpu/s_trunc.S: ...here.
4111 * sysdeps/libm-i387/s_truncf.S: Moved to ...
4112 * sysdeps/i386/fpu/s_truncf.S: ...here.
4113 * sysdeps/libm-i387/s_truncl.S: Moved to ...
4114 * sysdeps/i386/fpu/s_truncl.S: ...here.
4115 * sysdeps/libm-ieee754/k_standard.c: Moved to ...
4116 * sysdeps/ieee754/k_standard.c: ...here.
4117 * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
4118 * sysdeps/ieee754/s_lib_version.c: ...here.
4119 * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
4120 * sysdeps/ieee754/s_matherr.c: ...here.
4121 * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
4122 * sysdeps/ieee754/s_signgam.c: ...here.
4123 * sysdeps/ieee754/dbl2mpn.c: Moved to ...
4124 * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
4125 * sysdeps/ieee754/mpn2dbl.c: Moved to ...
4126 * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
4127 * sysdeps/libm-ieee754/e_acos.c: Moved to ...
4128 * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
4129 * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
4130 * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
4131 * sysdeps/libm-ieee754/e_asin.c: Moved to ...
4132 * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
4133 * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
4134 * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
4135 * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
4136 * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
4137 * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
4138 * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
4139 * sysdeps/libm-ieee754/e_exp.c: Moved to ...
4140 * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
4141 * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
4142 * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
4143 * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
4144 * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
4145 * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
4146 * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
4147 * sysdeps/libm-ieee754/e_j0.c: Moved to ...
4148 * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
4149 * sysdeps/libm-ieee754/e_j1.c: Moved to ...
4150 * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
4151 * sysdeps/libm-ieee754/e_jn.c: Moved to ...
4152 * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
4153 * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
4154 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
4155 * sysdeps/libm-ieee754/e_log.c: Moved to ...
4156 * sysdeps/ieee754/dbl-64/e_log.c: ...here.
4157 * sysdeps/libm-ieee754/e_log10.c: Moved to ...
4158 * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
4159 * sysdeps/libm-ieee754/e_pow.c: Moved to ...
4160 * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
4161 * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
4162 * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
4163 * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
4164 * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
4165 * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
4166 * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
4167 * sysdeps/libm-ieee754/k_cos.c: Moved to ...
4168 * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
4169 * sysdeps/libm-ieee754/k_sin.c: Moved to ...
4170 * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
4171 * sysdeps/libm-ieee754/k_tan.c: Moved to ...
4172 * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
4173 * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
4174 * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
4175 * sysdeps/libm-ieee754/s_atan.c: Moved to ...
4176 * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
4177 * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
4178 * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
4179 * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
4180 * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
4181 * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
4182 * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
4183 * sysdeps/libm-ieee754/s_cos.c: Moved to ...
4184 * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
4185 * sysdeps/libm-ieee754/s_erf.c: Moved to ...
4186 * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
4187 * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
4188 * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
4189 * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
4190 * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
4191 * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
4192 * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
4193 * sysdeps/libm-ieee754/s_finite.c: Moved to ...
4194 * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
4195 * sysdeps/libm-ieee754/s_floor.c: Moved to ...
4196 * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
4197 * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
4198 * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
4199 * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
4200 * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
4201 * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
4202 * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
4203 * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
4204 * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
4205 * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
4206 * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
4207 (__isnan): Comment above function says it returns 0 or 1, but it
4208 used to return 0 or -1.
4209 * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
4210 * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
4211 * sysdeps/libm-ieee754/s_llround.c: Moved to ...
4212 * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
4213 * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
4214 * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
4215 * sysdeps/libm-ieee754/s_log2.c: Moved to ...
4216 * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
4217 * sysdeps/libm-ieee754/s_logb.c: Moved to ...
4218 * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
4219 * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
4220 * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
4221 * sysdeps/libm-ieee754/s_lround.c: Moved to ...
4222 * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
4223 * sysdeps/libm-ieee754/s_modf.c: Moved to ...
4224 * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
4225 * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
4226 * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
4227 * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
4228 * sysdeps/generic/s_nextafter.c: ...here.
4229 Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
4230 * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
4231 * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
4232 * sysdeps/libm-ieee754/s_rint.c: Moved to ...
4233 * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
4234 * sysdeps/libm-ieee754/s_round.c: Moved to ...
4235 * sysdeps/ieee754/dbl-64/s_round.c: ...here.
4236 * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
4237 * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
4238 * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
4239 * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
4240 * sysdeps/libm-ieee754/s_sin.c: Moved to ...
4241 * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
4242 * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
4243 * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
4244 * sysdeps/libm-ieee754/s_tan.c: Moved to ...
4245 * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
4246 * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
4247 * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
4248 * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
4249 * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
4250 * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
4251 * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
4252 * sysdeps/libm-ieee754/w_exp.c: Moved to ...
4253 * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
4254 * sysdeps/ieee754/mpn2flt.c: Moved to ...
4255 * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
4256 * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
4257 * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
4258 * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
4259 * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
4260 * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
4261 * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
4262 * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
4263 * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
4264 * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
4265 * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
4266 * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
4267 * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
4268 * sysdeps/libm-ieee754/e_expf.c: Moved to ...
4269 * sysdeps/ieee754/flt-32/e_expf.c: ...here.
4270 * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
4271 * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
4272 * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
4273 * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
4274 * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
4275 * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
4276 * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
4277 * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
4278 * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
4279 * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
4280 * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
4281 * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
4282 * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
4283 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
4284 * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
4285 * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
4286 * sysdeps/libm-ieee754/e_logf.c: Moved to ...
4287 * sysdeps/ieee754/flt-32/e_logf.c: ...here.
4288 * sysdeps/libm-ieee754/e_powf.c: Moved to ...
4289 * sysdeps/ieee754/flt-32/e_powf.c: ...here.
4290 * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
4291 * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
4292 * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
4293 * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
4294 * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
4295 * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
4296 * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
4297 * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
4298 * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
4299 * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
4300 * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
4301 * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
4302 * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
4303 * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
4304 * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
4305 * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
4306 * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
4307 * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
4308 * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
4309 * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
4310 * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
4311 * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
4312 * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
4313 * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
4314 * sysdeps/libm-ieee754/s_erff.c: Moved to ...
4315 * sysdeps/ieee754/flt-32/s_erff.c: ...here.
4316 * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
4317 * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
4318 * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
4319 * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
4320 * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
4321 * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
4322 * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
4323 * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
4324 * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
4325 * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
4326 * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
4327 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
4328 * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
4329 * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
4330 * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
4331 * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
4332 * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
4333 * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
4334 * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
4335 * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
4336 * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
4337 * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
4338 * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
4339 * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
4340 * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
4341 * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
4342 * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
4343 * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
4344 * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
4345 * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
4346 * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
4347 * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
4348 * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
4349 * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
4350 * sysdeps/libm-ieee754/s_modff.c: Moved to ...
4351 * sysdeps/ieee754/flt-32/s_modff.c: ...here.
4352 * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
4353 * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
4354 * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
4355 * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
4356 * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
4357 * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
4358 * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
4359 * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
4360 * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
4361 * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
4362 * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
4363 * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
4364 * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
4365 * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
4366 * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
4367 * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
4368 * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
4369 * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
4370 * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
4371 * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
4372 * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
4373 * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
4374 * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
4375 * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
4376 * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
4377 * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
4378 * sysdeps/libm-ieee754/w_expf.c: Moved to ...
4379 * sysdeps/ieee754/flt-32/w_expf.c: ...here.
4380 * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
4381 * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
4382 * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
4383 * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
4384 * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
4385 * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
4386 * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
4387 * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
4388 * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
4389 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
4390 * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
4391 * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
4392 * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
4393 * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
4394 * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
4395 * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
4396 * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
4397 * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
4398 * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
4399 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
4400 * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
4401 * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
4402 * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
4403 * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
4404 * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
4405 * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
4406 * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
4407 * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
4408 * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
4409 * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
4410 * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
4411 * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
4412 * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
4413 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
4414 * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
4415 * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
4416 * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
4417 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
4418 * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
4419 * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
4420 * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
4421 * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
4422 * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
4423 * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
4424 * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
4425 * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
4426 * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
4427 * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
4428 * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
4429 * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
4430 (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
4432 * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
4433 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
4434 (__nearbyintl): Fix for exponents 2^30.
4435 * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
4436 * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
4437 * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
4438 * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
4439 (__rintl): Fix for exponents 2^30.
4440 * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
4441 * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
4442 * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
4443 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
4444 (__scalbnl): Fix exponent for subnormal result.
4445 * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
4446 * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
4447 * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
4448 * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
4449 * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
4450 * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
4451 * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
4452 * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
4453 * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
4454 * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
4455 * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
4456 * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
4457 * sysdeps/libm-ieee754/w_expl.c: Moved to ...
4458 * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
4459 * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
4460 * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
4461 * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
4462 * sysdeps/i386/fpu/s_scalblnf.c: ...here.
4463 * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
4464 * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
4465 * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
4466 * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
4467 * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
4468 * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
4469 * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
4470 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
4471 * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
4472 * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
4473 * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
4474 * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
4475 * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
4476 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
4477 * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
4478 * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
4479 * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
4480 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
4481 * sysdeps/libm-i387/s_scalbln.c: Moved to ...
4482 * sysdeps/i386/fpu/s_scalbln.c: ...here.
4483 * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
4484 * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
4485 * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
4486 * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
4487 * sysdeps/libm-i387/t_exp.c: Moved to ...
4488 * sysdeps/i386/fpu/t_exp.c: ...here.
4489 * sysdeps/libm-ieee754/t_exp.c: Moved to ...
4490 * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
4491 * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
4492 * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
4493 * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
4494 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
4495 * sysdeps/libm-i387/s_isinfl.c: Moved to ...
4496 * sysdeps/i386/fpu/s_isinfl.c: ...here.
4497 * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
4498 * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
4499 * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
4500 * sysdeps/i386/fpu/s_scalblnl.c: ...here.
4501 * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
4502 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
4503 Fix exponent for subnormal result.
4504 * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
4505 * sysdeps/generic/s_nexttowardl.c: ...here.
4506 * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
4507 * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
4508 * sysdeps/libm-i387/s_isnanl.c: Moved to ...
4509 * sysdeps/i386/fpu/s_isnanl.c: ...here.
4510 * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
4511 * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
4512 Comment above function says it returns 0 or 1, but it used to return
4514 * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
4515 * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
4516 * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
4517 * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
4518 * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
4519 * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
4520 * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
4521 * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
4522 * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
4523 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
4524 Cannot compare exponents with different biases without adjusting.
4525 * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
4526 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
4527 Cannot compare exponents with different biases without adjusting.
4528 * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
4529 * sysdeps/i386/fpu/s_nextafterl.c: ...here.
4530 * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
4531 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
4532 * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
4533 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
4534 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
4535 * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
4536 * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
4537 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
4538 * sysdeps/libm-ieee754/Dist: Split into ...
4539 * sysdeps/ieee754/dbl-64/Dist: ...this and ...
4540 * sysdeps/ieee754/flt-32/Dist: ...this file.
4542 * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
4543 * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
4544 * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
4545 * sysdeps/ieee754/ldbl-96/strtold.c: New file.
4546 * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
4547 * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
4548 * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
4549 * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
4550 * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
4551 * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
4552 * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
4553 * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
4554 * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
4555 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
4556 * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
4557 * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
4558 * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
4559 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
4560 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
4561 * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
4562 * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
4563 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
4564 * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
4565 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
4566 * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
4567 * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
4568 * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
4569 * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
4570 * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
4571 * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
4572 * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
4573 * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
4574 * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
4575 * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
4576 * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
4577 * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
4578 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
4579 * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
4580 * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
4581 * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
4582 * sysdeps/ieee754/ldbl-128/strtold.c: New file.
4583 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
4584 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
4585 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
4586 * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
4587 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
4588 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
4590 * sysdeps/generic/math_ldbl.h: New file.
4591 * sysdeps/generic/s_nexttowardf.c: New file.
4592 * sysdeps/generic/strtold.c: New file.
4593 * sysdeps/generic/ldbl2mpn.c: New file.
4595 * math/machine/endian.h: Remove.
4596 * sysdeps/i386/fpu/Implies: Remove.
4597 * sysdeps/ieee754/Implies: Remove.
4599 * math/math_private.h: Move long double macros to math_ldbl.h
4602 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
4604 * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
4605 connections without a hostname set address to localhost address.
4607 1999-07-11 H.J. Lu <hjl@gnu.org>
4609 * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
4610 nscd's own strong version of the get[a-z]*_r function.
4611 * nscd/hstcache.c: Likewise.
4612 * nscd/pwdcache.c: Likewise.
4614 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
4616 * configure.in: Recognize 2.95 as gcc version number.
4617 Patch by Joel Klecker <jk@espy.org>.
4619 1999-07-12 Andreas Schwab <schwab@suse.de>
4621 * elf/rtld.c (dl_main): When putting back the interpreter object
4622 handle the case where a missing object might occur in the list of
4623 objects but not in the search list when in trace mode.
4625 1999-07-11 Ulrich Drepper <drepper@cygnus.com>
4627 * Versions.def (libnss_hesiod): Add GLIBC_2.2.
4628 * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
4629 _nss_hesiod_initgroups.
4631 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
4633 * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
4634 (_hurd_set_brk, init_brk): Use that instead of &__data_start.
4635 Initialize it from &__data_start if defined, or else &_end.
4637 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
4639 * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
4640 for MAP_ANON, prot==PROT_READ|PROT_WRITE.
4642 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
4644 * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
4646 1999-07-09 H.J. Lu <hjl@gnu.org>
4648 * Versions.def (GLIBC_2.1.2): Added.
4650 * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
4651 old one as GLIBC_2.0.
4652 * nss/getXXbyYY_r.c: Likewise.
4654 * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
4656 * inet/Versions (getaliasbyname_r, getaliasent_r,
4657 gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
4658 gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
4659 getnetgrent_r, getprotobyname_r, getprotobynumber_r,
4660 getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
4661 getservbyname_r): Likewise.
4662 * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
4663 * shadow/Versions (getspent_r, getspnam_r): Likewise.
4665 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
4667 * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
4669 (__memset_cc): Likewise.
4671 * sysdeps/generic/libc-start.c: For SUID binaries check whether
4672 the standard file descriptors are open.
4673 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
4675 * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
4676 * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
4677 range of mmap. If not fail.
4678 Patches by Daniel Jacobowitz <dan@debian.org>.
4680 * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
4681 before the relocation happened.
4682 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4684 * Versions.def (libnsl): Add GLIBC_2.2.
4685 * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
4687 1999-07-08 Cristian Gafton <gafton@redhat.com>
4689 * nis/yp_xdr.c (xdr_ypall): New function.
4691 1999-07-09 Andreas Schwab <schwab@suse.de>
4693 * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
4695 * dlfcn/Makefile (headers): Add bits/dlfcn.h.
4697 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
4699 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
4700 * hesiod/hesiod-grp.c: Add initgroups support.
4701 Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
4703 1999-07-08 Andreas Schwab <schwab@suse.de>
4705 * libio/iofopncook.c (fopencookie): Set _fileno to -2.
4707 * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
4710 * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
4712 * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
4714 1999-07-08 Andreas Schwab <schwab@suse.de>
4716 * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
4718 1999-07-08 Andreas Schwab <schwab@suse.de>
4720 * libio/fileno.c: Return -1 instead of EOF and set errno if the
4721 stream is not a real file stream.
4723 1999-07-08 Andreas Schwab <schwab@suse.de>
4725 * manual/charset.texi: Fix typos.
4727 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
4729 * sysdeps/gnu/Makefile (libdl-routines): Add eval.
4731 1999-07-06 Zack Weinberg <zack@rabi.columbia.edu>
4733 * dlfcn: New directory. Move the following files from elf:
4734 dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
4735 dlopenold.c, dlsym.c, dlvsym.c.
4736 * dlfcn/Makefile: New file.
4737 * dlfcn/Versions: New file.
4738 * dlfcn/dlsym.c: All ELF-specific code split out to new
4740 * dlfcn/dlvsym.c: All ELF-specific code split out to new
4742 * elf/dl-sym.c: New file. _dl_sym and _dl_vsym are
4745 * dlfcn/dladdr.c: Remove all references to ELF data structures
4747 * dlfcn/dlclose.c: Likewise.
4748 * dlfcn/dlerror.c: Likewise.
4749 * dlfcn/dlopen.c: Likewise.
4750 * dlfcn/dlopenold.c: Likewise.
4752 * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
4753 yes, empty otherwise.
4754 (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
4755 depending on build-shared.
4756 (subdirs): Add $(dlfcn).
4757 (rpath-dirs): Add dlfcn.
4758 * elf/Makefile: Remove all references to libdl or its
4759 components, except the ones relating to the test cases.
4760 (routines): Add dl-sym.
4761 * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
4764 * elf/dl-close.c (_dl_close): Change argument to void *.
4765 * elf/dl-open.c (_dl_open): Change return type to void *.
4766 * elf/eval.c: Removed.
4767 * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
4768 _dlerror_run, _dl_open, _dl_close, _dl_addr, and
4769 _dl_mcount_wrapper_check to include/dlfcn.h. Delete
4771 * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
4772 Include real header from dlfcn directory.
4773 * include/ldsodefs.h: Removed.
4775 * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
4776 * nss/getXXbyYY_r.c: Likewise.
4777 * nss/getXXent_r.c: Likewise.
4778 * iconv/gconv.c: Likewise. Don't include ldsodefs.h.
4779 * iconv/gconv_db.c: Likewise. Don't include ldsodefs.h.
4780 * iconv/skeleton.c: Don't include ldsodefs.h.
4781 * nss/nsswitch.h: Don't include ldsodefs.h. Include dlfcn.h.
4783 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
4785 * sysdeps/generic/setenv.c: Describe problem.
4787 * malloc/malloc.c (request2size): Also set errno if failing.
4789 * malloc/malloc.c (request2size): Take care of overflow in
4792 * sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd
4793 (NULL, != 0) correctly.
4795 * elf/dl-load.c: Use a few more __builtin_expect.
4797 * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
4800 1999-07-07 Andreas Schwab <schwab@suse.de>
4802 * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
4803 (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
4804 (_PATH_DEVPTMX): Use _PATH_DEV.
4806 1999-07-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4808 * malloc/tst-malloc.c: New file. Tests some basic functionality.
4809 * malloc/Makefile (tests): Add tst-malloc.
4811 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
4813 * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
4816 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
4818 Patch by Jay Estabrook.
4820 * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
4822 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
4823 Patch by Cristian Gafton.
4825 1999-07-02 Cristian Gafton <gafton@redhat.com>
4827 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
4828 instead of "return NULL" to make C++ happy.
4830 1999-07-04 Mark Kettenis <kettenis@gnu.org>
4832 * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
4833 allowed by the file access mode of the open file.
4835 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
4837 * sysdeps/generic/setfpucw.c: Include math.h to get all needed
4840 1999-07-03 Jakub Jelinek <jj@ultra.linux.cz>
4842 * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
4843 * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
4844 * sysdeps/sparc/sparc64/rshift.S: Likewise.
4845 * sysdeps/sparc/sparc64/mul_1.S: Optimize.
4847 1999-07-04 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
4849 * malloc/malloc.c (request2size): Check for overflow and return
4850 NULL whenever it is encountered.
4852 1999-07-04 Zack Weinberg <zack@rabi.columbia.edu>
4854 * sysdeps/posix/tempname.c (__gen_tempname): Add
4855 ability to create directories. Replace OPENIT and LARGEFILE
4856 args with a single flags parameter.
4857 * sysdeps/generic/tempname.c: Likewise.
4858 * include/stdio.h: Adjust prototype of __gen_tempname to
4859 match. Define symbolic constants for second argument.
4861 * misc/mkdtemp.c: New file, provides new function mkdtemp().
4862 * stdlib/stdlib.h: Prototype it.
4863 * misc/Versions: Export it.
4864 * misc/Makefile (routines): Add mktemp.
4865 * manual/filesys.texi: Document it.
4867 * misc/mktemp.c: Adjust call of __gen_tempname to match new
4869 * misc/mkstemp.c: Likewise.
4870 * stdio-common/tempnam.c: Likewise.
4871 * stdio-common/tmpfile.c: Likewise.
4872 * stdio-common/tmpfile64.c: Likewise.
4873 * stdio-common/tmpnam.c: Likewise.
4874 * stdio-common/tmpnam_r.c: Likewise.
4876 1999-07-05 Jakub Jelinek <jj@ultra.linux.cz>
4878 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
4879 R_SPARC_OLO10 relocations.
4880 * elf/elf.h (R_SPARC_OLO10): Fix comment.
4882 1999-07-02 Tim Waugh <tim@cyberelk.demon.co.uk>
4884 * posix/wordexp-test.c: Revert bogus 'unset IFS' change. It
4885 doesn't belong in the tests, but in the wordexp implementation.
4887 * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
4890 1999-07-01 Cristian Gafton <gafton@redhat.com>
4892 * time/strptime.c (strptime): Initialize the tm struct first to avoid
4893 returning bogus results on incomplete data.
4894 (strptime_internal): day_of_the_week() requres bith tm_mon and
4895 tm_mday to be initializaed.
4896 Computer them first if they are not given.
4897 (strptime_internal): (have_mon, have_mday): New variables.
4899 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4901 * inet/rcmd.c (__icheckhost): Fix typo in last patch.
4903 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4905 * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
4906 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4908 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4910 * posix/wordexp.c (parse_tilde): Handle failing call to
4911 get.*_r functions correctly for non-existing entry.
4912 * sysdeps/posix/cuserid.c (cuserid): Likewise.
4913 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
4915 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
4917 * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
4918 getxxbyYY_r functions correctly for non-existing entry.
4919 * sunrpc/getrpcport.c: Likewise.
4920 * sunrpc/clnt_simp.c: Likewise.
4921 * inet/rexec.c: Likewise.
4922 * sunrpc/clnt_gen.c: Likewise.
4923 * inet/rcmd.c: Likewise.
4924 * sysdeps/generic/glob.c: Likewise.
4926 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4928 * pwd/Makefile (tests): Add rules for tst-getpw.
4930 * pwd/tst-getpw.c: New program to test getpw.
4932 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4934 * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
4937 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4939 * manual/arith.texi (System V Number Conversion): Fix the
4940 description which confused pointer and value to pointer.
4941 Reported by Andries.Brouwer@cwi.nl.
4943 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4945 * pwd/getpw.c (__getpw): Check for NULL result pointer.
4947 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4949 * manual/users.texi (Lookup User): Document POSIX return
4950 semantics for getpwuid_r and getgrgid_r.
4952 * manual/socket.texi (Host Names): Document that the result
4953 pointer is null in case of error or host not found and fix a
4954 typo. Give a small example.
4956 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
4958 * pwd/getpw.c: Add warning since no buffer size is given and
4959 therefore no overrun tests are possible.
4961 1999-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4963 * pwd/pwd.h: Add getpw prototype declaration.
4965 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
4967 * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
4968 * wcsmbs/wcschr.c: Likewise.
4970 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
4972 * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
4974 * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
4975 * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
4976 Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
4978 * elf/dl-dst.h: Fix typo.
4979 * elf/dl-open.c: Likewise.
4981 1999-06-26 Zack Weinberg <zack@rabi.columbia.edu>
4983 * elf/dl-libc.c: New file, provides three functions:
4984 __libc_dlopen, __libc_dlclose, __libc_dlsym.
4985 * include/dlfcn.h: Prototype them. Prototype _dl_addr.
4986 * elf/Makefile (routines): Add dl-libc.c.
4987 * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
4989 * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
4991 * iconv/gconv.c: Include dlfcn.h.
4992 * iconv/gconv_db.c: Likewise.
4993 * malloc/mtrace.c: Likewise. Don't include ldsodefs.h.
4995 * iconv/gconv_int.h (struct __gconv_loaded_object): Change
4996 `handle' to a void *.
4997 (__gconv_find_func): Delete prototype.
4999 * iconv/gconv_dl.c: Don't include ldsodefs.h. Remove
5000 dlerror_run and related functions and structs. Use
5001 __libc_dlopen, __libc_dlsym, __libc_dlclose.
5002 * nss/nsswitch.c: Likewise.
5004 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
5006 * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
5009 * sunrpc/getrpcport.c: Test for gethostbyname_r function
5012 * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
5014 * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
5015 functions correctly.
5017 * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
5019 * inet/rcmd.c: Test for gethostbyname_r result correctly. Optimize
5022 * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
5024 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5026 * manual/string.texi (Copying and Concatenation): Mention that
5027 strndup is a GNU extension.
5029 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5031 * pwd/getpw.c (__getpw): Fix check for error return.
5033 1999-06-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5035 * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
5036 occurence of the aux object start with the current list entry, not
5037 the new one. Adjust tail pointer in the unique list. Explain how
5038 the meaning of the variables changes [PR libc/1168].
5040 1999-06-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5042 * sysdeps/m68k/fpu/Dist: New file.
5044 1999-06-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5046 * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
5048 * sysdeps/m68k/fpu/mathimpl.h: ... here. New file.
5049 * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
5050 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
5051 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
5052 * sysdeps/m68k/fpu/e_pow.c: Likewise.
5053 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
5054 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
5055 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
5056 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
5057 * sysdeps/m68k/fpu/s_csin.c: Likewise.
5058 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
5059 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
5060 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
5061 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
5062 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
5063 * sysdeps/m68k/fpu/s_modf.c: Likewise.
5065 1999-06-25 Roland McGrath <roland@baalperazim.frob.com>
5067 * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
5068 hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
5069 _EXTERN_INLINE, use a macro specific to each file,
5070 _HURD_FD_H_EXTERN_INLINE and the like.
5071 * hurd/Makefile (inline-headers): New variable.
5072 (routines): Remove hurdinline. Add $(inlines).
5073 (inlines): New variable.
5074 ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
5075 (generated): Append those here.
5076 * hurd/hurdinline.c: File removed.
5078 * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
5080 * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
5082 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5084 * nscd/connections.c (nscd_run): Use correct type for optlen variable.
5086 1999-06-25 Ulrich Drepper <drepper@cygnus.com>
5088 * string/bits/string2.h (strnlen): Remove extra prototype.
5090 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5092 * manual/filesys.texi (Working on Directory Trees): Fix typos.
5093 Reported by Andries.Brouwer@cwi.nl.
5095 1999-06-24 Ulrich Drepper <drepper@cygnus.com>
5097 * nscd/connections.c (handle_request): Use correct type for optlen
5100 * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
5101 * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
5103 1999-06-24 Thorsten Kukuk <kukuk@suse.de>
5105 * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
5106 * nscd/pwdcache.c: Likewise.
5107 * nscd/hstcache.c: Likewise.
5109 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
5111 * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
5113 * posix/getopt.h: Include stdio.h.
5115 * manual/arith.texi: Document restriction of ndigit parameter of
5117 * misc/efgcvt.c: Define NDIGIT_MAX.
5118 (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
5119 Do not dynamically allocate the static buffers. They are small enough.
5120 * misc/efgcvt_r.c: Define NDIGIT_MAX.
5121 (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
5122 * misc/qefgcvt.c: Define NDIGIT_MAX.
5123 * misc/qefgcvt_r.c: Likewise.
5124 * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
5126 1999-06-23 Zack Weinberg <zack@rabi.columbia.edu>
5128 * libio/stdio.h: Define stdin, stdout, stderr as macros.
5129 * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
5130 These are *pragmas* not macros.
5131 * wcsmbs/wchar.h: Fix comment.
5133 * grp/grp.h: Use __foo_t_defined convention to typedef things
5135 * io/sys/stat.h: Likewise.
5136 * libio/stdio.h: Likewise.
5137 * posix/unistd.h: Likewise.
5138 * posix/sys/types.h: Likewise.
5139 * posix/sys/wait.h: Likewise.
5140 * pwd/pwd.h: Likewise.
5141 * signal/signal.h: Likewise.
5142 * sysdeps/generic/stdint.h: Likewise.
5143 * sysdeps/gnu/utmpx.h: Likewise.
5144 * termios/termios.h: Likewise.
5146 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
5148 * stdio/fputc.c: Don't define alias if fputc is defined as a
5150 * stdio/putc.c: Define weak alias here since it is not done
5153 1999-06-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5155 * assert/assert.h: Don't produce `defined' as part of macro
5158 1999-06-23 Roland McGrath <roland@baalperazim.frob.com>
5160 * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
5161 OFFSET argument of (off_t) -1.
5162 * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
5163 OFFSET argument of (off_t) -1.
5165 * sysdeps/mach/hurd/pwrite.c: New file.
5166 * sysdeps/mach/hurd/pread.c: New file.
5168 * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
5169 pass it in the RPC instead of always -1.
5170 * hurd/fd-write.c (_hurd_fd_write): Likewise.
5171 * hurd/hurd/fd.h: Update decls.
5173 1999-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5175 * libio/wscanf.c: Include <wchar.h> for prototype.
5177 1999-06-22 Ulrich Drepper <drepper@cygnus.com>
5179 * manual/io.texi. Fix typos.
5180 * manual/stdio.texi: Likewise.
5181 Patches by Brian Youmans <3diff@gnu.org>.
5183 1999-06-22 Geoff Keating <geoffk@ozemail.com.au>
5185 * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
5186 bits of two words differ.
5188 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5190 * libio/Makefile (routines): Add putwchar and putwchar_u.
5192 * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
5193 * libio/putwchar_u.c: Likewise. Use _IO_stdout instead of
5194 stdout. Fix parameter name.
5196 * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
5197 * libio/getchar_u.c: Likewise.
5199 * libio/putchar_u.c: Use _IO_stdout instead of stdout.
5201 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5203 * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
5204 macro expansion---it's undefined. Properly parenthesize
5205 substituted parameters.
5206 (__GLIBC_PREREQ): Likewise.
5208 1999-06-21 Ulrich Drepper <drepper@cygnus.com>
5210 * Makeconfig (CPPFLAGS): Revert last change. It has too many
5213 * stdlib/longlong.h: Provide __P definition if not already
5216 * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
5218 1999-06-18 Thorsten Kukuk <kukuk@suse.de>
5220 * sysdeps/alpha/atomicity.h: Correct counting of subsections.
5222 1999-06-17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5224 * stdlib/tst-strtoll.c: Avoid warning about huge constant.
5226 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5228 * stdio-common/vfprintf.c (group_member): Make parameters and
5229 return types pointers to CHAR_T instead of UCHAR_T.
5230 (vfprintf): Change type of work_buffer, workend and string to
5231 CHAR_T pointer/array.
5232 (process_arg, process_string_arg): Adjust/remove casts. Add
5233 missing use of L_ macro.
5234 (printf_unknown): Add missing uses of L_ macro.
5236 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5238 * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
5241 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5243 * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF. Call
5244 _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
5245 (__wunderflow): Likewise.
5246 (_IO_switch_to_wget_mode): Likewise.
5247 (_IO_init_wmarker): Likewise.
5249 * libio/wfileops.c (_IO_wfile_seekoff): Call
5250 _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
5251 (_IO_wfile_jumps): Fix pbackfail entry.
5253 * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
5254 function if the stream is currently unoriented.
5256 1999-06-19 Zack Weinberg <zack@rabi.columbia.edu>
5258 * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
5259 Wrap all wide stream functions with #ifdef __USE_ISOC9X. Use
5260 __gnuc_va_list in v*w(printf|scanf) prototypes.
5262 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5264 * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
5265 1999-03-29 to iopopen also here.
5266 Reported by Richard Braakman <dark@xs4all.nl>.
5268 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5270 * include/features.h: Use __GNUC_PREREQ.
5271 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
5273 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5275 * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
5276 Change EOF to WEOF and remove cast.
5277 (UNGETC): Remove macro.
5278 (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
5279 * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
5280 Change ISASCII to isascii and MBRLEN to mbrlen.
5281 (parse_one_spec): Compare info.spec always against wchar_t
5283 * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
5284 (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
5285 (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
5287 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5289 * libio/Makefile (shared-only-routines): Add oldiofgetpos,
5290 oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
5291 (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
5292 oldiofsetpos64 only if doing versioning.
5294 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
5296 * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
5298 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5300 * libio/libio.h: Fix last patch.
5302 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
5304 * libio/libio.h (_IO_putwc): Correct type of first argument.
5305 * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
5306 putwc_unlocked, putwchar_unlocked): Likewise.
5307 * libio/fputwc.c: Likewise.
5308 * libio/fputwc_unlocked.c: Likewise.
5309 * libio/putwc.c: Likewise.
5310 * libio/putwc_unlocked.c: Likewise.
5311 * libio/putwchar.c: Likewise.
5312 * libio/putwchar_unlocked.c: Likewise.
5314 1999-06-19 Roland McGrath <roland@baalperazim.frob.com>
5316 * sysdeps/gnu/siglist.h: File moved to ...
5317 * sysdeps/generic/siglist.h: ... here. This file should be usable for
5318 any platform, since it just associates the SIG* macros with text names
5319 and descriptions. For any signal macros do not exist on every
5320 platform, we can use #ifdef tests here and still use this single
5321 common file for all platforms.
5322 * sysdeps/generic/siglist.c: Rewrite using <siglist.h>. This file
5323 should be usable for all platforms after the binary compatibility
5324 stuff in the current sysdeps/gnu version is no longer required.
5325 * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
5326 * sysdeps/generic/make_siglist.c: File removed.
5327 * sysdeps/mach/hurd/siglist.h: Use #include_next.
5328 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
5330 1999-06-16 Roland McGrath <roland@baalperazim.frob.com>
5332 * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
5333 * sysdeps/gnu/siglist.c: ... here.
5334 Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
5335 Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
5336 * sysdeps/gnu/siglist.h: New file, contents from linux version.
5337 Add entry for SIGLOST protected by #ifdef.
5338 * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
5339 and define OLD_SIGLIST_SIZE_STR.
5340 * sysdeps/mach/hurd/siglist.h: New file, likewise.
5342 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
5344 * include/features.h: Define new macros __GNUC_PREREQ and
5345 __GLIBC_PREREQ which can be used to test the version of gcc
5346 and glibc respectively.
5348 * assert/assert.h: Use __GNUC_PREREQ.
5349 * intl/libintl.h: Likewise.
5350 * math/complex.h: Likewise.
5351 * math/tgmath.h: Likewise.
5352 * misc/sys/cdefs.h: Likewise.
5353 * posix/sys/types.h: Likewise.
5354 * socket/sys/socket.h: Likewise.
5355 * string/bits/string2.h: Likewise.
5356 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
5357 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
5359 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
5361 * include/libintl.h: Declare _libc_intl_domainname here.
5362 Define _ and N_ here.
5363 * include/libc-symbols.h: Don't include <libintl.h>. Don't
5364 define _ and N_. Don't declare _libc_intl_domainname.
5365 * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
5367 * db2/config.h: Don't include sys/stat.h or define
5368 HAVE_ST_BLKSIZE here...
5369 * db2/compat.h: ...do it here.
5371 * linuxthreads/internals.h: Include bits/libc-tsd.h after all
5373 * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
5374 * iconv/iconv.c: Include stddef.h for NULL.
5375 * malloc/malloc.h: Include features.h.
5376 * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
5378 * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
5379 into the generated file.
5380 * sysdeps/gnu/errlist.awk: Likewise.
5381 * sysdeps/gnu/errlist.c: Rebuilt.
5383 * assert/assert-perr.c: Include libintl.h.
5384 * assert/assert.c: Likewise.
5385 * elf/dl-open.c: Likewise.
5386 * elf/dlsym.c: Likewise.
5387 * elf/dlvsym.c: Likewise.
5388 * iconv/iconv_prog.c: Likewise.
5389 * inet/rcmd.c: Likewise.
5390 * inet/ruserpass.c: Likewise.
5391 * locale/programs/charset.c: Likewise.
5392 * locale/programs/ld-collate.c: Likewise.
5393 * locale/programs/ld-ctype.c: Likewise.
5394 * locale/programs/ld-messages.c: Likewise.
5395 * locale/programs/ld-monetary.c: Likewise.
5396 * locale/programs/ld-numeric.c: Likewise.
5397 * locale/programs/ld-time.c: Likewise.
5398 * locale/programs/locfile.c: Likewise.
5399 * locale/programs/repertoire.c: Likewise.
5400 * login/programs/database.c: Likewise.
5401 * login/programs/request.c: Likewise.
5402 * malloc/mcheck.c: Likewise.
5403 * misc/error.c: Likewise.
5404 * nis/nis_call.c: Likewise.
5405 * nis/nis_callback.c: Likewise.
5406 * nis/nis_error.c: Likewise.
5407 * nis/nis_local_names.c: Likewise.
5408 * nis/nis_print.c: Likewise.
5409 * nis/nis_print_group_entry.c: Likewise.
5410 * nis/ypclnt.c: Likewise.
5411 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
5412 * nscd/cache.c: Likewise.
5413 * nscd/connections.c: Likewise.
5414 * nscd/grpcache.c: Likewise.
5415 * nscd/hstcache.c: Likewise.
5416 * nscd/nscd_conf.c: Likewise.
5417 * nscd/nscd_stat.c: Likewise.
5418 * nscd/pwdcache.c: Likewise.
5419 * posix/id.c: Likewise.
5420 * resolv/herror.c: Likewise.
5421 * stdio-common/psignal.c: Likewise.
5422 * string/strsignal.c: Likewise.
5423 * sunrpc/auth_unix.c: Likewise.
5424 * sunrpc/clnt_perr.c: Likewise.
5425 * sunrpc/clnt_raw.c: Likewise.
5426 * sunrpc/clnt_tcp.c: Likewise.
5427 * sunrpc/clnt_udp.c: Likewise.
5428 * sunrpc/clnt_unix.c: Likewise.
5429 * sunrpc/get_myaddr.c: Likewise.
5430 * sunrpc/pm_getmaps.c: Likewise.
5431 * sunrpc/pmap_clnt.c: Likewise.
5432 * sunrpc/pmap_rmt.c: Likewise.
5433 * sunrpc/rpc_main.c: Likewise.
5434 * sunrpc/rpc_scan.c: Likewise.
5435 * sunrpc/svc_run.c: Likewise.
5436 * sunrpc/svc_simple.c: Likewise.
5437 * sunrpc/svc_tcp.c: Likewise.
5438 * sunrpc/svc_udp.c: Likewise.
5439 * sunrpc/svc_unix.c: Likewise.
5440 * sunrpc/xdr_rec.c: Likewise.
5441 * sunrpc/xdr_ref.c: Likewise.
5442 * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
5443 * sysdeps/posix/gai_strerror.c: Likewise.
5444 * sysdeps/unix/siglist.c: Likewise.
5445 * sysdeps/unix/sysv/linux/siglist.c: Likewise.
5446 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
5447 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
5448 * timezone/zic.c: Likewise.
5450 1999-06-18 H.J. Lu <hjl@gnu.org>
5452 * localedata/Makefile (charmaps): Exclude SCCS.
5453 (locales): Likewise.
5454 (repertoiremaps): Likewise.
5456 1999-06-18 Ulrich Drepper <drepper@cygnus.com>
5458 * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
5459 * sysdeps/generic/bsd-setjmp.c: Likewise.
5461 * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
5463 * iconv/gconv_open.c: Include string.h for memset prototype.
5465 * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
5468 * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
5469 assignment to avoid warning on 64bit platforms.
5471 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
5473 * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
5475 * nss/getXXbyYY_r.c: Return error code not -1.
5476 * nss/getXXent_r.c: Likewise.
5477 * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
5479 * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
5480 value > 0 for error.
5481 * nscd/nscd_gethst_r.c: Likewise.
5482 * nscd/nscd_getpw_r.c: Likewise.
5484 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5486 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
5489 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5491 * nscd/nscd_nischeck.c: Fix typos.
5493 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
5495 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
5496 always when oact is NULL.
5497 Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
5499 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5501 * math/libm-test.c (jn_test): Adjust delta.
5503 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5505 * libio/vwprintf.c: Include <wchar.h> for prototypes.
5506 * libio/wprintf.c: Likewise.
5508 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5510 * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
5511 to not write beyond allocated memory.
5512 Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
5514 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
5516 * malloc/mtrace.c: Keep lock while printing output lines.
5517 Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
5519 1999-06-16 Ulrich Drepper <drepper@cygnus.com>
5521 * configure.in: Add warnings about broken code.
5523 * Versions.def: Add GLIBC_2.2 for libc.
5525 * iconv/gconv.h: Make header suitable for inclusion in public header
5526 by protecting all names with __.
5527 * iconv/gconv.c: Adapt for symbol name changes.
5528 * iconv/gconv.h: Likewise.
5529 * iconv/gconv_builtin.c: Likewise.
5530 * iconv/gconv_close.c: Likewise.
5531 * iconv/gconv_db.c: Likewise.
5532 * iconv/gconv_dl.c: Likewise.
5533 * iconv/gconv_int.h: Likewise.
5534 * iconv/gconv_open.c: Likewise.
5535 * iconv/gconv_simple.c: Likewise.
5536 * iconv/iconv.c: Likewise.
5537 * iconv/iconv_close.c: Likewise.
5538 * iconv/iconv_open.c: Likewise.
5539 * iconv/loop.c: Likewise.
5540 * iconv/skeleton.c: Likewise.
5541 * iconvdata/8bit-gap.c: Likewise.
5542 * iconvdata/8bit-generic.c: Likewise.
5543 * iconvdata/ansi_x3.110.c: Likewise.
5544 * iconvdata/big5.c: Likewise.
5545 * iconvdata/cns11643.h: Likewise.
5546 * iconvdata/cns11643l1.h: Likewise.
5547 * iconvdata/euc-cn.c: Likewise.
5548 * iconvdata/euc-jp.c: Likewise.
5549 * iconvdata/euc-kr.c: Likewise.
5550 * iconvdata/euc-tw.c: Likewise.
5551 * iconvdata/gb2312.h: Likewise.
5552 * iconvdata/iso-2022-jp.c: Likewise.
5553 * iconvdata/iso-2022-kr.c: Likewise.
5554 * iconvdata/iso646.c: Likewise.
5555 * iconvdata/iso8859-1.c: Likewise.
5556 * iconvdata/iso_6937-2.c: Likewise.
5557 * iconvdata/iso_6937.c: Likewise.
5558 * iconvdata/jis0201.h: Likewise.
5559 * iconvdata/jis0208.h: Likewise.
5560 * iconvdata/jis0212.h: Likewise.
5561 * iconvdata/johab.c: Likewise.
5562 * iconvdata/ksc5601.h: Likewise.
5563 * iconvdata/sjis.c: Likewise.
5564 * iconvdata/t.61.c: Likewise.
5565 * iconvdata/uhc.c: Likewise.
5566 * stdlib/mblen.c: Likewise.
5567 * stdlib/mbtowc.c: Likewise.
5568 * stdlib/wctomb.c: Likewise.
5569 * wcsmbs/btowc.c: Likewise.
5570 * wcsmbs/mbrtowc.c: Likewise.
5571 * wcsmbs/mbsnrtowcs.c: Likewise.
5572 * wcsmbs/mbsrtowcs.c: Likewise.
5573 * wcsmbs/wchar.h: Likewise.
5574 * wcsmbs/wcrtomb.c: Likewise.
5575 * wcsmbs/wcsmbsload.c: Likewise.
5576 * wcsmbs/wcsmbsload.h: Likewise.
5577 * wcsmbs/wcsnrtombs.c: Likewise.
5578 * wcsmbs/wcsrtombs.c: Likewise.
5579 * wcsmbs/wctob.c: Likewise.
5581 * include/limits.h (MB_LEN_MAX): Increase to 16.
5583 * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct. Define
5585 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
5586 * include/wchar.h: Change mbstate_t to __mbstate_t.
5588 * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
5589 oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
5590 getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
5591 iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
5592 putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
5593 vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
5595 (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
5596 * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
5597 _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
5598 fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
5599 fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
5600 getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
5601 putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
5602 vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
5604 * libio/libio.h: Define codecvt struct. Define _IO_wide_data.
5605 Extend _IO_file contain pointer to codecvt, widedata and mode.
5606 (_IO_getwc_unlocked): New macro.
5607 (_IO_putwc_unlocked): New macro.
5608 (_IO_fwide): New macro.
5609 * libio/libioP.h: Add new prototypes and adjust existing declarations.
5610 * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
5611 buffers based on mode.
5612 (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
5614 (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
5615 flag to be enough to signal unallocated buffer. For wide oriented
5616 stream don't make it linebuffered. Don't use _IO_do_flush, use
5617 _IO_new_do_write directly.
5618 (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
5619 (_IO_file_seek): Likewise.
5620 * libio/genops.c (_IO_least_marker): Make global.
5621 (__underflow): Orient stream if not already done.
5622 (__uflow): Likewise.
5623 (_IO_default_seekpos): Change to type _IO_off64_t.
5624 (_IO_default_seekoff): Likewise.
5625 (_IO_default_seek): Likewise.
5626 (_IO_no_init): New function. Similar to _IO_init but allows to orient
5628 * libio/iolibio.h: Add prototype for _IO_vswprintf. Change _IO_pos_BAD
5630 * libio/ftello.c: Use _IO_off_t. For now abort when use with wide
5632 * libio/ftello64.c: Likewise.
5633 * libio/ioftell.c: Likewise.
5634 * libio/iofopncook.c: Likewise.
5635 * libio/ioseekoff.c: Likewise.
5636 * libio/ioseekpos.c: Likewise.
5637 * libio/oldfileops.c: Likewise.
5638 * libio/iofgetpos.c: Store state of conversion if necessary.
5639 * libio/iofgetpos64.c: Likewise.
5640 * libio/iofsetpos.c: Restore conversion state if necessary.
5641 * libio/iofsetpos64.c: Likewise.
5642 * libio/iofdopen.c: Initialize so that stream can be wide oriented.
5643 * libio/iofopen.c: Likewise.
5644 * libio/iofopen64.c: Likewise.
5645 * libio/iopopen.c: Likewise.
5646 * libio/iovdprintf.c: Likewise.
5647 * libio/iovsprintf.c: Likewise.
5648 * libio/iovsscanf.c: Likewise.
5649 * libio/memstream.c: Likewise.
5650 * libio/obprintf.c: Likewise.
5651 * libio/iofputs.c: Orient stream if not already happened.
5652 * libio/iofputs_u.c: Likewise.
5653 * libio/iofwrite.c: Likewise.
5654 * libio/iofwrite_u.c: Likewise.
5655 * libio/ioputs.c: Likewise.
5656 * libio/iosetbuffer.c: Handle not yet oriented stream.
5657 * libio/iosetvbuf.c: Likewise.
5658 * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
5659 * libio/stdfiles.c: Likewise.
5660 * libio/strops.c (_IO_str_overflow): Correctly free buffer after
5662 (_IO_str_seekoff): Use _IO_off64_t.
5663 * libio/vasprintf.c: Pre-orient stream.
5664 * libio/vsnprintf.c: Likewise.
5665 * libio/fputwc.c: New file.
5666 * libio/fputwc_u.c: New file.
5667 * libio/fwprintf.c: New file.
5668 * libio/fwscanf.c: New file.
5669 * libio/getwc.c: New file.
5670 * libio/getwc_u.c: New file.
5671 * libio/getwchar.c: New file.
5672 * libio/getwchar_u.c: New file.
5673 * libio/iofgetws.c: New file.
5674 * libio/iofgetws_u.c: New file.
5675 * libio/iofputws.c: New file.
5676 * libio/iofputws_u.c: New file.
5677 * libio/iofwide.c: New file.
5678 * libio/iogetwline.c: New file.
5679 * libio/ioungetwc.c: New file.
5680 * libio/iovswscanf.c: New file.
5681 * libio/iowpadn.c: New file.
5682 * libio/oldiofgetpos.c: New file.
5683 * libio/oldiofgetpos64.c: New file.
5684 * libio/oldiofsetpos.c: New file.
5685 * libio/oldiofsetpos64.c: New file.
5686 * libio/putwc.c: New file.
5687 * libio/putwc_u.c: New file.
5688 * libio/putwchar.c: New file.
5689 * libio/putwchar_u.c: New file.
5690 * libio/swprintf.c: New file.
5691 * libio/swscanf.c: New file.
5692 * libio/tst_swprintf.c: New file.
5693 * libio/tst_swscanf.c: New file.
5694 * libio/tst_wprintf.c: New file.
5695 * libio/tst_wscanf.c: New file.
5696 * libio/tst_wscanf.input: New file.
5697 * libio/vswprintf.c: New file.
5698 * libio/vwprintf.c: New file.
5699 * libio/vwscanf.c: New file.
5700 * libio/wfiledoalloc.c: New file.
5701 * libio/wfileops.c: New file.
5702 * libio/wgenops.c: New file.
5703 * libio/wprintf.c: New file.
5704 * libio/wscanf.c: New file.
5705 * libio/wstrops.c: New file.
5706 * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
5707 vfwprintf, and vfwscanf.
5708 * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
5710 * stdio-common/_itowa.c: New file.
5711 * stdio-common/_itowa.h: New file.
5712 * stdio-common/itoa-digits.c: Minimal optimization.
5713 * stdio-common/itowa-digits.c: New file.
5714 * stdio-common/printf-parse.h: Allow use in wide character context.
5715 * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
5716 * stdio-common/printf.h (printf_info): Add wide bit.
5717 * stdio-common/printf_fp.c: Determine from wide bit whether stream
5718 is wide oriented or not.
5719 * stdio-common/printf_size.c: Likewise.
5720 * sysdeps/generic/printf_fphex.c: Likewise.
5721 * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
5722 * stdio-common/vfprintf.c: Rewrite to allow use in wide character
5724 * stdio-common/vfscand.c: Likewise.
5725 * stdio-common/vfwprintf.c: New file.
5726 * stdio-common/vfwscanf.c: New file.
5728 * time/Makefile (routines): Add wcsftime.
5729 (tests): Add tst_wcsftime.
5730 * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
5731 * time/strftime.c: Make usable as wcsftime.
5732 * time/wcsftime.c: New file.
5733 * time/tst_wcsftime.c: New file.
5735 * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
5736 * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
5737 * wcsmbs/wcschrnul.c: New file.
5738 * wcsmbs/wmemcpy.c: New file.
5739 * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
5740 * wcsmbs/wmemmove.c: Likewise for wmemmove.
5742 * manual/stdio.texi: Document is_char and wide element if printf_info.
5744 * manual/time.texi: Document wcsftime.
5746 * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
5747 __wmemmove, __wcschrnul, and __vfwscanf.
5749 * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
5750 * locale/C-time.c: Adapt for above change.
5751 * locale/categories.def: Likewise.
5752 * locale/localeinfo.h: Likewise.
5753 * localedata/Makefile: Don't run tests for now.
5755 * manual/errno.texi: Fix typos.
5756 * manual/memory.texi: Likewise.
5757 * manual/ctype.texi: Likewise.
5758 Patches by Brian Youmans <3diff@gnu.org>.
5760 1999-06-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5762 * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
5764 1999-06-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5766 * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
5768 * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
5769 * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
5771 1999-06-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5773 * db2/db/db.c: Restore __nss_db_open alias.
5774 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
5776 * db2/os/os_rw.c (__os_write): Maintain const correctness.
5777 * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
5779 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
5781 * stdio-common/printf-parse.h (parse_one_spec): Don't set
5782 is_longlong if not necessary.
5784 1999-06-15 H.J. Lu <hjl@gnu.org>
5786 * Make-dist (sysdep_dirs): Exclude SCCS.
5787 * MakeTAGS (sysdep_dirs): Likewise.
5789 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
5791 * posix/regex.c (re_error_msgid): Remove extra commas.
5793 1999-06-14 Geoff Keating <geoffk@ozemail.com.au>
5795 * stdlib/tst-strtoll.c: New file.
5796 * stdlib/Makefile (tests): Add tst-strtoll.c
5797 * stdlib/strtol.c: It is not generally true that if
5798 (unsigned)a*(unsigned)b overflows, then the result is
5801 1999-06-14 Thorsten Kukuk <kukuk@suse.de>
5803 * nscd/connections.c (handle_request): Only root is allowed to
5804 send GETSTAT request in non secure mode.
5805 * nscd/nscd.c: Print error message if other then root try to
5808 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5810 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
5812 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5814 * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
5815 Closes PR libc/1164, reported by sascha@schumann.2ns.de.
5817 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5819 * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
5820 for character to search, to help the compiler.
5821 * sysdeps/generic/strchrnul.c: Likewise.
5822 * sysdeps/generic/memchr.c: Likewise.
5823 * sysdeps/generic/memccpy.c: Likewise.
5824 * sysdeps/generic/rawmemchr.c: Likewise. Fix comment.
5826 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5828 * sysdeps/m68k/memchr.S: New file.
5829 * sysdeps/m68k/rawmemchr.S: New file.
5830 * sysdeps/m68k/strchr.S: New file.
5831 * sysdeps/m68k/strchrnul.S: New file.
5833 1999-06-13 Geoff Keating <geoffk@ozemail.com.au>
5835 * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
5836 add `memory' clobber; optimise for constant `val'.
5837 (atomic_add): Likewise.
5838 (test_and_set): Remove `volatile'; add `memory' clobber; be more
5839 like the original `test_and_set'.
5840 (compare_and_swap): Remove `volatile'; add `memory' clobber;
5841 optimise for constant `oldval'.
5842 (always_swap): Remove `volatile'; add `memory' clobber.
5844 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5846 * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
5847 functions for gcc <= 2.7.x.
5849 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
5851 * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
5854 1999-06-13 Ulrich Drepper <drepper@cygnus.com>
5856 * db2/Makefile (distribute): Remove files which do not exist
5859 * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
5860 definitions to calm down gcc.
5862 * db2/db.h: Update from db 2.7.5.
5863 * db2/db_185.h: Likewise.
5864 * db2/db_int.h: Likewise.
5865 * db2/btree/bt_compare.c: Likewise.
5866 * db2/btree/bt_conv.c: Likewise.
5867 * db2/btree/bt_curadj.c: Likewise.
5868 * db2/btree/bt_cursor.c: Likewise.
5869 * db2/btree/bt_delete.c: Likewise.
5870 * db2/btree/bt_open.c: Likewise.
5871 * db2/btree/bt_page.c: Likewise.
5872 * db2/btree/bt_put.c: Likewise.
5873 * db2/btree/bt_rec.c: Likewise.
5874 * db2/btree/bt_recno.c: Likewise.
5875 * db2/btree/bt_rsearch.c: Likewise.
5876 * db2/btree/bt_search.c: Likewise.
5877 * db2/btree/bt_split.c: Likewise.
5878 * db2/btree/bt_stat.c: Likewise.
5879 * db2/btree/btree_auto.c: Likewise.
5880 * db2/common/db_appinit.c: Likewise.
5881 * db2/common/db_apprec.c: Likewise.
5882 * db2/common/db_err.c: Likewise.
5883 * db2/common/db_region.c: Likewise.
5884 * db2/common/db_salloc.c: Likewise.
5885 * db2/db/db.c: Likewise.
5886 * db2/db/db.src: Likewise.
5887 * db2/db/db_am.c: Likewise.
5888 * db2/db/db_auto.c: Likewise.
5889 * db2/db/db_dispatch.c: Likewise.
5890 * db2/db/db_dup.c: Likewise.
5891 * db2/db/db_iface.c: Likewise.
5892 * db2/db/db_join.c: Likewise.
5893 * db2/db/db_overflow.c: Likewise.
5894 * db2/db/db_pr.c: Likewise.
5895 * db2/db/db_rec.c: Likewise.
5896 * db2/db/db_ret.c: Likewise.
5897 * db2/db185/db185.c: Likewise.
5898 * db2/dbm/dbm.c: Likewise.
5899 * db2/hash/hash.c: Likewise.
5900 * db2/hash/hash_auto.c: Likewise.
5901 * db2/hash/hash_dup.c: Likewise.
5902 * db2/hash/hash_page.c: Likewise.
5903 * db2/hash/hash_rec.c: Likewise.
5904 * db2/hash/hash_stat.c: Likewise.
5905 * db2/include/btree.h: Likewise.
5906 * db2/include/btree_ext.h: Likewise.
5907 * db2/include/clib_ext.h: Likewise.
5908 * db2/include/common_ext.h: Likewise.
5909 * db2/include/db_am.h: Likewise.
5910 * db2/include/db_auto.h: Likewise.
5911 * db2/include/db_cxx.h: Likewise.
5912 * db2/include/db_ext.h: Likewise.
5913 * db2/include/db_join.h: Likewise.
5914 * db2/include/db_page.h: Likewise.
5915 * db2/include/hash.h: Likewise.
5916 * db2/include/hash_ext.h: Likewise.
5917 * db2/include/lock.h: Likewise.
5918 * db2/include/lock_ext.h: Likewise.
5919 * db2/include/log.h: Likewise.
5920 * db2/include/log_ext.h: Likewise.
5921 * db2/include/mp.h: Likewise.
5922 * db2/include/mp_ext.h: Likewise.
5923 * db2/include/os.h: Likewise.
5924 * db2/include/os_ext.h: Likewise.
5925 * db2/include/os_func.h: Likewise.
5926 * db2/include/txn.h: Likewise.
5927 * db2/include/txn_auto.h: Likewise.
5928 * db2/include/txn_ext.h: Likewise.
5929 * db2/include/xa.h: Likewise.
5930 * db2/include/xa_ext.h: Likewise.
5931 * db2/lock/lock.c: Likewise.
5932 * db2/lock/lock_conflict.c: Likewise.
5933 * db2/lock/lock_deadlock.c: Likewise.
5934 * db2/lock/lock_region.c: Likewise.
5935 * db2/lock/lock_util.c: Likewise.
5936 * db2/log/log.c: Likewise.
5937 * db2/log/log_archive.c: Likewise.
5938 * db2/log/log_auto.c: Likewise.
5939 * db2/log/log_findckp.c: Likewise.
5940 * db2/log/log_get.c: Likewise.
5941 * db2/log/log_put.c: Likewise.
5942 * db2/log/log_rec.c: Likewise.
5943 * db2/log/log_register.c: Likewise.
5944 * db2/mp/mp_bh.c: Likewise.
5945 * db2/mp/mp_fget.c: Likewise.
5946 * db2/mp/mp_fopen.c: Likewise.
5947 * db2/mp/mp_fput.c: Likewise.
5948 * db2/mp/mp_fset.c: Likewise.
5949 * db2/mp/mp_open.c: Likewise.
5950 * db2/mp/mp_pr.c: Likewise.
5951 * db2/mp/mp_region.c: Likewise.
5952 * db2/mp/mp_sync.c: Likewise.
5953 * db2/mutex/mutex.c: Likewise.
5954 * db2/mutex/uts4_cc.s: Likewise.
5955 * db2/os/os_abs.c: Likewise.
5956 * db2/os/os_alloc.c: Likewise.
5957 * db2/os/os_config.c: Likewise.
5958 * db2/os/os_dir.c: Likewise.
5959 * db2/os/os_fid.c: Likewise.
5960 * db2/os/os_fsync.c: Likewise.
5961 * db2/os/os_map.c: Likewise.
5962 * db2/os/os_oflags.c: Likewise.
5963 * db2/os/os_open.c: Likewise.
5964 * db2/os/os_rw.c: Likewise.
5965 * db2/os/os_seek.c: Likewise.
5966 * db2/os/os_sleep.c: Likewise.
5967 * db2/os/os_spin.c: Likewise.
5968 * db2/os/os_stat.c: Likewise.
5969 * db2/os/os_tmpdir.c: Likewise.
5970 * db2/os/os_unlink.c: Likewise.
5971 * db2/progs/db_archive/db_archive.c: Likewise.
5972 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
5973 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
5974 * db2/progs/db_dump/db_dump.c: Likewise.
5975 * db2/progs/db_load/db_load.c: Likewise.
5976 * db2/progs/db_printlog/README: Likewise.
5977 * db2/progs/db_printlog/commit.awk: Likewise.
5978 * db2/progs/db_printlog/count.awk: Likewise.
5979 * db2/progs/db_printlog/db_printlog.c: Likewise.
5980 * db2/progs/db_printlog/pgno.awk: Likewise.
5981 * db2/progs/db_printlog/range.awk: Likewise.
5982 * db2/progs/db_printlog/status.awk: Likewise.
5983 * db2/progs/db_printlog/txn.awk: Likewise.
5984 * db2/progs/db_recover/db_recover.c: Likewise.
5985 * db2/progs/db_stat/db_stat.c: Likewise.
5986 * db2/txn/txn.c: Likewise.
5987 * db2/txn/txn.src: Likewise.
5988 * db2/txn/txn_auto.c: Likewise.
5989 * db2/txn/txn_rec.c: Likewise.
5990 * db2/xa/xa.c: Likewise.
5991 * db2/xa/xa_db.c: Likewise.
5992 * db2/xa/xa_map.c: Likewise.
5994 * db2/btree/bt_close.c: Removed.
5995 * db2/db/db_thread.c: Likewise.
5996 * db2/hash/hash_debug.c: Likewise.
5997 * db2/include/db.h.src: Likewise.
5998 * db2/include/db_int.h.src: Likewise.
5999 * db2/include/os_jump.h: Likewise.
6000 * db2/mutex/alpha.dec: Likewise.
6001 * db2/mutex/alpha.gcc: Likewise.
6002 * db2/mutex/parisc.hp: Likewise.
6003 * db2/mutex/uts4.cc.s: Likewise.
6005 * db2/Makefile: Add new routines, remove old for 2.7.5.
6006 * db2/Versions: Add internal function names for the helper programs.
6007 * db2/makedb.c: Update for new cursor callback.
6008 * Versions.def: Define versions for libdb.
6010 1999-06-13 Thorsten Kukuk <kukuk@suse.de>
6012 * nscd/connections.c (nscd_run): Get user ID for all non-db services.
6013 * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
6014 * nscd/nscd_nischeck.c: New file.
6015 * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
6017 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6019 * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
6020 MSG_* flags from Linux 2.2.9.
6022 1999-06-12 Mark Kettenis <kettenis@gnu.org>
6024 * Makeconfig (static-start-installed-name): Set to
6025 $(start-installed-name) if not defined.
6026 (+link-static): Use $(static-start-installed-name) instead of
6027 $(start-installed-name).
6028 * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
6031 1999-06-12 Mark Kettenis <kettenis@gnu.org>
6033 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
6034 inserting a send right into the child instead of unconditionally
6035 copying the send right.
6037 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
6039 * locale/lc-time.c: Add free_mem function to free if necessary
6040 statically allocated memory.
6042 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
6044 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
6045 bias from the raw exponent.
6047 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
6049 * inet/arpa/tftp.h: Move attribute declaration in right position.
6051 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
6053 * nscd/nscd.c: Add -S options for separate caching of data for
6054 every user. So one user couldn't see the data another user
6055 has gotten with his credentials.
6056 * nscd/nscd.h: Add new prototypes.
6057 * nscd/cache.c: Compare owner of cache entry if in secure mode.
6058 * nscd/connections.c: Check on shutdown if caller really was root.
6059 In secure mode get uid of caller.
6060 * nscd/grpcache.c: Add support for new secure group mode.
6061 * nscd/hstcache.c: Add support for new secure hosts mode.
6062 * nscd/pwdcache.c: Add support for new secure passwd mode.
6064 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
6066 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
6067 of user-provided buffer.
6069 1999-06-11 Mark Kettenis <kettenis@gnu.org>
6071 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
6072 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
6074 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
6076 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
6079 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
6080 returning after last entry.
6081 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
6083 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
6085 * misc/sysexits.h: Remove advertising clause of copyright.
6086 * resolv/getnetnamadr.c: Likewise.
6087 * sysdeps/vax/bcopy.s: Likewise.
6088 * sysdeps/vax/bzero.s: Likewise.
6089 * sysdeps/vax/ffs.s: Likewise.
6090 * sysdeps/vax/memchr.s: Likewise.
6091 * sysdeps/vax/memcmp.s: Likewise.
6092 * sysdeps/vax/memmove.s: Likewise.
6093 * sysdeps/vax/memset.s: Likewise.
6094 * sysdeps/vax/strcat.s: Likewise.
6095 * sysdeps/vax/strchr.s: Likewise.
6096 * sysdeps/vax/strcmp.s: Likewise.
6097 * sysdeps/vax/strcpy.s: Likewise.
6098 * sysdeps/vax/strcspn.s: Likewise.
6099 * sysdeps/vax/strlen.s: Likewise.
6100 * sysdeps/vax/strncat.s: Likewise.
6101 * sysdeps/vax/strncmp.s: Likewise.
6102 * sysdeps/vax/strncpy.s: Likewise.
6103 * sysdeps/vax/strpbrk.s: Likewise.
6104 * sysdeps/vax/strrchr.s: Likewise.
6105 * sysdeps/vax/strsep.s: Likewise.
6106 * sysdeps/vax/strspn.s: Likewise.
6107 * sysdeps/vax/strstr.s: Likewise.
6109 * libio/iofopncook.c: Adjust for renaming of structure elements.
6110 * libio/libio.h: Define cookie functions with all the names.
6112 * pwd/fgetpwent_r.c: Set errno in the correct way.
6113 * shadow/fgetspent_r.c: Likewise.
6114 * pwd/fgetpwent.c: Handle long lines correctly. Little
6115 optimizations. Free static buffer when debugging memory handling.
6116 * shadow/fgetspent.c: Likewise.
6118 * grp/fgetgrent.c: Little optimization in loop.
6120 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6122 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
6125 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
6127 * stdlib/longlong.h: gas changed sethi handling when without
6128 %hi(). Fix assembly.
6129 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
6130 port specific cache id checks.
6131 * sysdeps/generic/dl-cache.h: New file.
6132 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
6134 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
6136 * gmon/gmon.c: Remove advertising clause of copyright.
6137 * gmon/mcount.c: Likewise.
6138 * gmon/sys/gmon.h: Likewise.
6139 * inet/arpa/ftp.h: Likewise.
6140 * inet/arpa/telnet.h: Likewise.
6141 * inet/arpa/tftp.h: Likewise.
6142 * inet/inet_lnaof.c: Likewise.
6143 * inet/inet_mkadr.c: Likewise.
6144 * inet/inet_net.c: Likewise.
6145 * inet/inet_netof.c: Likewise.
6146 * inet/protocols/routed.h: Likewise.
6147 * inet/protocols/rwhod.h: Likewise.
6148 * inet/protocols/talkd.h: Likewise.
6149 * inet/protocols/timed.h: Likewise.
6150 * inet/rcmd.c: Likewise.
6151 * inet/rexec.c: Likewise.
6152 * inet/ruserpass.c: Likewise.
6153 * io/fts.c: Likewise.
6154 * io/fts.h: Likewise.
6155 * login/login_tty.c: Likewise.
6156 * misc/fstab.h: Likewise.
6157 * misc/getttyent.c: Likewise.
6158 * misc/getusershell.c: Likewise.
6159 * misc/sys/queue.h: Likewise.
6160 * misc/sys/syslog.h: Likewise.
6161 * misc/syslog.c: Likewise.
6162 * misc/ttyent.h: Likewise.
6163 * misc/ttyslot.c: Likewise.
6164 * resolv/arpa/nameser.h: Likewise.
6165 * resolv/gethnamaddr.c: Likewise.
6166 * resolv/herror.c: Likewise.
6167 * resolv/inet_addr.c: Likewise.
6168 * resolv/mapv4v6addr.h: Likewise.
6169 * resolv/mapv4v6hostent.h: Likewise.
6170 * resolv/nss_dns/dns-host.c: Likewise.
6171 * resolv/nss_dns/dns-network.c: Likewise.
6172 * resolv/res_comp.c: Likewise.
6173 * resolv/res_data.c: Likewise.
6174 * resolv/res_debug.c: Likewise.
6175 * resolv/res_init.c: Likewise.
6176 * resolv/res_mkquery.c: Likewise.
6177 * resolv/res_query.c: Likewise.
6178 * resolv/res_send.c: Likewise.
6179 * resolv/resolv.h: Likewise.
6180 * sysdeps/generic/div.c: Likewise.
6181 * sysdeps/generic/netinet/ip.h: Likewise.
6182 * sysdeps/generic/netinet/tcp.h: Likewise.
6183 * sysdeps/generic/paths.h: Likewise.
6184 * sysdeps/generic/prof-freq.c: Likewise.
6185 * sysdeps/generic/sys/ttydefaults.h: Likewise.
6186 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6187 * sysdeps/gnu/netinet/tcp.h: Likewise.
6188 * sysdeps/ieee754/support.c: Likewise.
6189 * sysdeps/mach/hurd/sys/param.h: Likewise.
6190 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
6191 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6192 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
6193 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6194 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
6195 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
6196 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
6197 * sysdeps/unix/sysv/linux/paths.h: Likewise.
6198 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
6199 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
6200 * sysdeps/vax/DEFS.h: Likewise.
6201 * termios/sys/ttychars.h: Likewise.
6202 * misc/daemon.c: Likewise. Call fork.
6204 * grp/fgetgrent.c (buffer): Make file local variable.
6205 (free_mem): New function. Call for malloc debugging.
6207 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
6209 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6211 * grp/Makefile: Add rules for tst_fgetgrent.
6213 * grp/tst_fgetgrent.c: Rewritten to read only one file.
6215 * grp/tst_fgetgrent.sh: New file.
6217 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
6219 * grp/Makefile (tests): Add tst_fgetgrent.
6220 * grp/tst_fgetgrent.c: New file.
6221 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
6223 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
6225 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
6226 be POSIX compliant. Prior definition was broken for Hurd.
6227 Reported by Mark Kettenis <kettenis@gnu.org>.
6229 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
6231 * ctype/ctype.h: Protect __tobody code by __extension__.
6233 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
6235 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
6236 reading and reset in case the buffer was too small.
6238 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
6241 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6243 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
6244 another SIOGIFNAME typo.
6246 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
6248 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
6250 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
6253 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6255 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
6256 the precision if the mantissa is zero.
6258 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6260 * manual/lang.texi (Floating Point Parameters): GCC already
6261 supports long double for a long time.
6263 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6265 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
6266 yn_test): Increase some epsilons.
6268 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
6270 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
6273 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
6275 * sysdeps/unix/sysv/linux/kernel-features.h: Define
6276 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
6277 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
6278 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
6280 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
6281 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
6282 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
6283 * sysdeps/libm-ieee754/w_j1.c: Likewise.
6284 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
6285 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
6286 * sysdeps/libm-ieee754/w_jn.c: Likewise.
6287 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
6288 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
6290 * stdio-common/vfprintf.c: Correct typos.
6292 * math/libm-test.c (jn_test): Adjust delta.
6293 (y1_test): Likewise.
6294 (yn_test): Likewise.
6296 * elf/do-lookup.h: It should never happen that if we expect a versioned
6297 symbol from a file the file has no version table. This should have
6298 been checked in dl-version.c.
6299 * elf/dl-lookup.c: Include assert.h.
6301 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
6304 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
6306 1999-06-06 Andi Kleen <ak@muc.de>
6308 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
6311 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6313 * math/libm-test.c (yn_test): Change one delta.
6314 (jn_test): Likewise.
6315 (j1_test): Likewise.
6316 (y0_test): Likewise.
6318 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
6320 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
6321 avoid multiple calls to getpagesize() which might be a syscall.
6323 1999-06-06 Philip Blundell <philb@gnu.org>
6325 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
6327 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6329 * manual/install.texi (Running make install): Correct typo in
6330 dynamic linker invocation.
6332 1999-06-05 Philip Blundell <philb@gnu.org>
6334 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
6335 problems with GOT addressing.
6337 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
6339 * malloc/malloc.c (check_action): Change into bitmap so that both
6340 diagnostic and abort can be requested by setting it to 3.
6341 (mALLOC_SET_STATe): Disable malloc checking if necessary.
6343 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
6345 * configure.in: Few changes for HPUX.
6347 * scripts/config.guess: Update from latest version.
6348 * scripts/config.sub: Likewise.
6350 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6352 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
6353 map files. Closes PR libc/1147.
6355 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6357 * math/libm-test.c (main): Add new test functions.
6358 (jn_test): New tests.
6359 (j1_test): Add some more tests.
6360 (j0_test): Add some more tests.
6361 (y0_test): Add some more tests.
6362 (y1_test): Add some more tests.
6364 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6366 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
6367 Patch by mhagger@dera.gov.uk [PR libc/1145].
6369 * math/libm-test.c (y1_test): New tests.
6370 (y0_test): Likewise.
6371 (j1_test): Likewise.
6372 (j0_test): Likewise.
6373 (main): Added new tests.
6375 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
6377 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
6378 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
6379 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
6380 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
6381 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
6382 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
6384 1999-06-02 David S. Miller <davem@redhat.com>
6386 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
6389 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
6391 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
6392 and elide compatibility code if possible.
6394 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
6396 * manual/llio.texi: Remove menu entry for removed section.
6398 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6400 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
6403 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6405 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
6408 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
6410 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
6412 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6414 * manual/stdio.texi: Fix some typos.
6416 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6418 * malloc/malloc.h: Properly handle future GCC versions.
6420 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6422 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
6423 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
6424 text of error message.
6426 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
6428 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
6430 * manual/filesys.texi: Extend (f)truncate documentation.
6431 * manual/llio.texi: Remove duplicate (f)truncate definition.
6433 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6435 * manual/stdio.texi (Formatted Output Functions): Mention
6436 semantics of snprintf in glibc 2.0.
6437 Reported by Ben Pfaff <pfaffben@msu.edu>.
6439 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
6441 * include/features.h (__GLIBC_MINOR__): Bump to 2.
6443 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
6445 * math/libm-test.c: Adjust a few more deltas for the poor ARM
6448 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6450 * configure.in: Fix typo.
6452 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6454 * manual/socket.texi (Host Names): Remove statement that h_errno
6455 needs to be declared since this isn't true anymore.
6456 Closes PR libc/1138.
6458 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
6460 * config.h.in: Add __LINUX_KERNEL_VERSION.
6461 * configure.in: Recognize --enable-kernel.
6462 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
6463 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
6465 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
6466 given perform runtime test.
6468 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
6469 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
6470 minimal supported kernel is known to have the feature.
6471 * sysdeps/unix/sysv/linux/poll.c: Likewise.
6472 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6473 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6474 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6475 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6476 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
6477 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6478 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6479 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6480 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6481 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6482 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
6483 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
6484 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
6485 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
6487 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
6489 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
6491 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
6493 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
6495 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
6496 Optimized sparc64 routines.
6498 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
6500 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
6501 they are the same as ints.
6502 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
6504 * version.h (VERSION): Bump to 2.1.90.
6505 (RELEASE): Mark as development.
6507 * stdio-common/vfprintf.c (vfprintf): Don't implement special
6508 handling for long long if it is the same as long.
6509 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
6511 * stdlib/strtol.c: Moved to ...
6512 * sysdeps/generic/strtol.c: ...here.
6513 * stdlib/strtoul.c: Moved to ...
6514 * sysdeps/generic/strtoul.c: ...here.
6515 * stdlib/strtoll.c: Moved to ...
6516 * sysdeps/generic/strtoll.c: ...here.
6517 * stdlib/strtoull.c: Moved to ...
6518 * sysdeps/generic/strtoull.c: ...here.
6519 * stdlib/strtol_l.c: Moved to ...
6520 * sysdeps/generic/strtol_l.c: ...here.
6521 * stdlib/strtoul_l.c: Moved to ...
6522 * sysdeps/generic/strtoul_l.c: ...here.
6523 * stdlib/strtoll_l.c: Moved to ...
6524 * sysdeps/generic/strtoll_l.c: ...here.
6525 * stdlib/strtoull_l.c: Moved to ...
6526 * sysdeps/generic/strtoull_l.c: ...here.
6528 * sysdeps/wordsize-64/strtol.c: New file.
6529 * sysdeps/wordsize-64/strtoul.c: New file.
6530 * sysdeps/wordsize-64/strtoll.c: New file.
6531 * sysdeps/wordsize-64/strtoull.c: New file.
6532 * sysdeps/wordsize-64/strtol_l.c: New file.
6533 * sysdeps/wordsize-64/strtoul_l.c: New file.
6534 * sysdeps/wordsize-64/strtoll_l.c: New file.
6535 * sysdeps/wordsize-64/strtoull_l.c: New file.
6537 * wcsmbs/wcstol.c: Moved to ...
6538 * sysdeps/generic/wcstol.c: ...here.
6539 * wcsmbs/wcstoul.c: Moved to ...
6540 * sysdeps/generic/wcstoul.c: ...here.
6541 * wcsmbs/wcstoll.c: Moved to ...
6542 * sysdeps/generic/wcstoll.c: ...here.
6543 * wcsmbs/wcstoull.c: Moved to ...
6544 * sysdeps/generic/wcstoull.c: ...here.
6545 * wcsmbs/wcstol_l.c: Moved to ...
6546 * sysdeps/generic/wcstol_l.c: ...here.
6547 * wcsmbs/wcstoul_l.c: Moved to ...
6548 * sysdeps/generic/wcstoul_l.c: ...here.
6549 * wcsmbs/wcstoll_l.c: Moved to ...
6550 * sysdeps/generic/wcstoll_l.c: ...here.
6551 * wcsmbs/wcstoull_l.c: Moved to ...
6552 * sysdeps/generic/wcstoull_l.c: ...here.
6554 * sysdeps/wordsize-64/wcstol.c: New file.
6555 * sysdeps/wordsize-64/wcstoul.c: New file.
6556 * sysdeps/wordsize-64/wcstoll.c: New file.
6557 * sysdeps/wordsize-64/wcstoull.c: New file.
6558 * sysdeps/wordsize-64/wcstol_l.c: New file.
6559 * sysdeps/wordsize-64/wcstoul_l.c: New file.
6560 * sysdeps/wordsize-64/wcstoll_l.c: New file.
6561 * sysdeps/wordsize-64/wcstoull_l.c: New file.
6563 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
6565 * sysdeps/sparc/bits/wordsize.h: New file.
6566 * sysdeps/sparc/fpu/bits/fenv.h: New file.
6567 * sysdeps/sparc/fpu/fpu_control.h: New file.
6568 * sysdeps/sparc/gmp-mparam.h: New file.
6570 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
6571 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
6572 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
6573 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
6574 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
6575 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
6577 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
6578 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
6579 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
6580 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
6582 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
6583 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
6584 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
6585 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
6586 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
6588 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
6590 * login/openpty.c (openpty): Make sure pty does not because
6593 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
6595 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
6597 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
6598 Do proper error return.
6600 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6602 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
6603 of __P in the rest of glibc; define __MALLOC_PMT and use it.
6604 Reported by Stephan Kulow <coolo@kde.org>.
6606 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
6608 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
6610 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
6612 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6614 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
6615 names to protect from user's macro namespace.
6616 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
6617 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
6618 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
6619 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
6620 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
6622 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
6623 sysdeps/arm/fpu/fesetenv.c: Likewise.
6624 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
6625 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
6626 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
6627 * sysdeps/mips/fesetenv.c: Likewise.
6629 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
6631 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
6633 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
6635 * configure.in: Recognize and allow gcc 2.95.
6637 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
6639 * sysdeps/generic/bits/elfclass.h: Version common to
6640 wordsize-32 and wordsize-64.
6641 * sysdeps/generic/bits/environments.h: Ditto.
6642 * sysdeps/generic/stdint.h: Ditto.
6643 * sysdeps/generic/inttypes.h: Ditto.
6645 * sysdeps/generic/bits/wordsize.h: New file.
6646 * stdlib/Makefile: Add bits/wordsize.h to headers.
6648 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
6650 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
6651 headers to be used for 32bit and 64bit ABI compilations.
6652 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
6653 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
6654 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
6655 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
6656 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
6658 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
6659 * sysdeps/wordsize-64/bits/environments.h: Remove.
6660 * sysdeps/wordsize-64/stdint.h: Remove.
6661 * sysdeps/wordsize-64/inttypes.h: Remove.
6662 * sysdeps/wordsize-64/bits/wordsize.h: New file.
6664 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
6665 * sysdeps/wordsize-32/bits/environments.h: Remove.
6666 * sysdeps/wordsize-32/stdint.h: Remove.
6667 * sysdeps/wordsize-32/inttypes.h: Remove.
6668 * sysdeps/wordsize-32/bits/wordsize.h: New file.
6670 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
6672 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
6673 __align_cpy_16): New functions.
6674 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
6676 * sysdeps/sparc/sparc32/Versions: New file.
6677 * sysdeps/sparc/sparc64/Versions: New file.
6678 * sysdeps/sparc/Versions: Remove.
6680 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
6682 * sysdeps/unix/sysv/linux/configure.in:
6683 On sparc64-*-linux*, set slibdir to /lib64 if prefix
6684 is /usr, plus set libdir to ${exec_prefix}/lib64.
6685 * sysdeps/unix/sysv/linux/configure: Regenerated.
6686 * config.make.in: Propagate libdir settings from configure
6688 * shlib-versions: sparc64-*-linux* dynamic linker is
6689 /lib64/ld-linux.so.2.
6691 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
6693 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
6696 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
6698 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
6699 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
6701 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
6702 contains garbage in bits 8-63.
6703 * sysdeps/sparc/sparc64/memset.S: Ditto.
6704 * sysdeps/sparc/sparc64/strchr.S: Ditto.
6706 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
6708 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
6710 1999-05-17 David S. Miller <davem@redhat.com>
6712 * sysdeps/sparc/sparc32/atomicity.h: New file.
6713 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
6714 * sysdeps/sparc/sparc64/atomicity.h: New file.
6715 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
6718 1999-05-18 Richard Henderson <rth@twiddle.net>
6720 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
6722 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
6724 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
6725 posix/sys/types.h: Handle the case of __GNUC__=3,
6726 __GNUC_MINOR__=(anything).
6728 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6730 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
6733 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
6735 * elf/Makefile (distribute): Remove dl-origin.h.
6736 Add dl-dst.h and gen-trusted-dirs.awk.
6738 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6740 * sysdeps/i386/i486/Versions: New file with inline functions from
6741 sysdeps/i386/i486/bits/string.h for now.
6743 * sysdeps/i386/Versions: Add inline functions from
6744 sysdeps/i386/bits/string.h.
6746 * string/Versions: Add inline functions from <bits/string2.h>.
6748 * string/Makefile (routines): Add string-inlines.
6749 * string/string-inlines.c: New file, used for implementation of
6750 extern inline functions.
6752 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
6753 non inlined versions of functions.
6754 * string/bits/string2.h: Likewise.
6755 * sysdeps/i386/bits/string.h: Likewise.
6757 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
6759 * inet/arpa/tftp.h: Add second packed attribute.
6761 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
6763 * malloc/malloc.c: Cleanup to bring in line with released
6764 stand-alone version `ptmalloc'. Update some comments.
6765 (internal_function): Move fallback definition so that the source
6766 compiles outside of libc, and use it in more places.
6767 (malloc_atfork): Fix when malloc_check is in use.
6769 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6771 * stdlib/tst-strtod.c: Fix typo.
6773 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6775 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
6776 const incorrectness.
6778 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
6780 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
6782 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
6784 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
6785 * sunrpc/key_call.c: Fix memory leak, close file handle.
6786 * nis/nis_creategroup.c: Use malloc instead of calloc,
6787 set ctime and mtime.
6788 * nis/nis_subr.c: Check for realloc result.
6789 * nis/nis_file.c: Fix memory leak.
6790 * nis/nis_table.c: Pretty print.
6791 * nis/nis_getservlist.c: Likewise.
6792 * nis/nis_ismember.c: Likewise.
6793 * nis/nis_lookup.c: Likewise.
6794 * nis/nis_ping.c: Likewise.
6795 * nis/nis_removemember.c: Likewise.
6796 * nis/nis_util.c: Likewise, check calloc result.
6798 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
6800 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
6801 * sysdeps/generic/sys/socketvar.h: ... here.
6802 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
6803 * sysdeps/generic/netinet/in_systm.h: ... here.
6804 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
6806 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
6807 * inet/Makefile (headers): Add netinet/in_systm.h here.
6808 * socket/Makefile (headers): Add sys/socketvar.h here.
6810 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
6812 * stdlib/strtol.c: Optimize inner loop of long long versions.
6814 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
6815 Unix98. Add forward declaration of struct utmp.
6817 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
6819 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
6822 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
6823 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
6824 memory allocation results.
6826 1999-05-14 Mark Kettenis <kettenis@gnu.org>
6828 * sysdeps/generic/getutmp.c: Include <string.h>
6829 (getutmp): Rewrite to only copy those members that are really
6830 present in `struct utmp'.
6831 * sysdeps/generic/getutmpx.c: Likewise.
6833 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
6835 * nss/getXXbyYY.c: Add free_mem function which disposes all
6836 statically allocated memory when debugging.
6837 * nss/getXXent.c: Likewise.
6838 * nss/nsswitch.c: Likewise.
6840 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
6842 * sysdeps/gnu/getutmpx.c: New file.
6843 * sysdeps/gnu/getutmp.c: New file.
6845 1999-05-13 H.J. Lu <hjl@gnu.org>
6847 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
6848 (getutmp): Likewise.
6850 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
6853 * sysdeps/gnu/utmpx.h (getutmp): Added.
6854 (getutmpx): Likewise.
6856 * sysdeps/generic/getutmp.c: New file.
6858 * sysdeps/generic/getutmpx.c: New file.
6860 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6862 * glibcbug.in (BUGGLIBC): Change address to
6863 libc-alpha@sourceware.cygnus.com.
6865 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6867 * resolv/arpa/nameser.h: Add C++ protectors.
6869 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6871 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
6872 Elad Tsur <eladts@post.tau.ac.il>.
6874 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
6876 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
6877 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
6878 lazily if LD_BIND_NOW is not set.
6879 * elf/dl-support.c (_dl_lazy): New variable.
6880 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
6881 * elf/rtld.c (_dl_lazy): new global variable.
6882 ( dl_main): Remove lazy, replace it by _dl_lazy.
6884 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6886 * locale/setlocale.c (new_composite_name): Check also whether the
6887 first category name differs.
6889 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6891 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
6894 1999-05-11 Philip Blundell <pb@nexus.co.uk>
6896 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
6897 structure; storage suitable for any socket address.
6898 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
6900 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
6901 sockaddr_storage): Likewise.
6903 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
6906 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
6908 * hesiod/Versions: Change _nss_hesiod_getpwuid and
6909 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
6910 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
6912 1999-05-09 Mark Kettenis <kettenis@gnu.org>
6914 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
6915 if the file is empty.
6917 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
6919 * elf/do-lookup.h: Fix typo in comment.
6921 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
6922 f_bsize to help some broken programs.
6924 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
6926 * stdio-common/vfprintf.c: Fix typo.
6928 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
6930 * elf/link.h (struct link_map): New field l_phdr_allocated.
6931 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
6932 the program header being part of any loaded segment. If it is not
6933 allocate memory and set l_phdr_allocated flag.
6934 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
6936 * nss/digits_dots.c: Correct return value interpretation of
6937 inet_ntoa. Fix PR libc/1109.
6939 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
6941 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
6943 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
6945 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
6946 * stdlib/fpioconst.c: Move #endif before end of struct.
6948 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
6950 * Versions.def (ld.so): Add GLIBC_2.1.1.
6951 * elf/Makefile (routines): Add dl-origin.
6952 (tests): Add origtest. Add dependencies for the program.
6953 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
6954 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
6955 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
6956 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
6957 DT_AUXILIARY, and DT_FILTER filenames.
6958 * elf/dl-load.c (expand_dynamic_string_token): Explode into
6959 two functions and three macros.
6960 (_dl_dst_count, _dl_dst_substitute): New functions.
6961 * elf/dl-dst.h: New file.
6962 * elf/dl-open.c (_dl_open): Take extra parameter with address of
6963 caller. Pass address in args structure.
6964 (dl_open_worker): Recognize and expand DSTs in filename.
6965 * elf/ldsodefs.h (_dl_open): Adapt prototype.
6966 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
6967 (__dlopen_check): Pass caller address to dlopen_doit in args.
6968 * elf/dlopendoit.c: Likewise.
6969 * iconv/gconv_dl.c: Adapt call of _dl_open.
6970 * nss/nsswitch.c: Likewise.
6971 * elf/origtest.c: New file.
6972 * sysdeps/generic/dl-origin.h: Moved to...
6973 * sysdeps/generic/dl-origin.c: ...here.
6974 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
6975 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
6977 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
6978 with specific bases and only few bits set in second word.
6980 * timezone/Makefile (install-others): Create target directory
6981 before creating tzfiles.
6983 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
6985 * nis/nis_file.c (readColdStartFile): Allocate memory only after
6986 the file is opened successfully.
6988 * nis/nis_table.c: Fix some memory leaks.
6990 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
6992 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
6995 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
6996 around DST. Correctly ignore ORIGIN IN SUID binaries.
6998 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
7000 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
7001 * sysdeps/generic/strtok.c: Likewise.
7003 * string/tester.c: Add test of rawmemchr.
7005 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
7006 specification. It's not necessary.
7008 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
7009 * elf/gen-trusted-dirs.awk: New file.
7010 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
7011 from SYSTEM_DIRS macro.
7012 (system_dirs_len): New variable. Contains lengths of system_dirs
7014 (fillin_rpath): Rewrite for systems_dirs being a simple string.
7015 Improve string comparisons. Change parameter trusted to be a flag.
7017 (_dt_init_paths): Improve using new format for system_dirs.
7019 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
7020 $ORIGIN for SUID binaries.
7022 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
7024 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7026 * sunrpc/Makefile: Generate dependencies for all flavors of
7028 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
7031 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7033 * elf/dlopenold.c: Move #if down after includes to get
7036 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7038 * sysdeps/generic/bzero.c: Undefine __bzero.
7040 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
7042 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
7043 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
7044 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
7045 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
7047 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
7048 parameter to struct gaih_servtuple *. Adapt appropriately.
7049 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
7050 This fixes a memory leak.
7051 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
7053 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
7054 and fpregset_t definition. They are defined in ucontext.h.
7056 1999-04-14 Scott Bambrough <scottb@netwinder.org>
7058 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
7059 and struct ether_header must be packed on the ARM. The default
7060 alignment constraints add padding to the end of the structures.
7062 1999-04-14 Scott Bambrough <scottb@netwinder.org>
7064 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
7065 default alignment constraints add padding to the end of the
7066 structure and between members.
7068 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
7070 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
7071 _dl_cache_libcmp instead of strcmp.
7073 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
7075 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
7077 1998-03-30 Joel Klecker <espy@debian.org>
7079 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
7080 (sysdep-others,install-bin): Add lddlibc4.
7082 1999-05-02 H.J. Lu <hjl@gnu.org>
7084 * timezone/zic.c (dolink): Remove the symlink destination first.
7086 * catgets/open_catalog.c (__open_catalog): Set catalog->status
7087 to "nonexisting" if failed to open the file.
7089 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
7091 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
7094 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
7095 Prevent warnings from multiplication with 0x01010101 by another cast.
7097 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7099 * string/bits/string2.h (memset): Revert to previous version if
7100 unaligned writes are not available.
7102 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
7104 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
7105 better code in presence of the asm.
7107 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7109 * stdlib/fmtmsg.c (keywords): Increase array size for faster
7112 * locale/localeinfo.h (_nl_category_names): Increase array element
7113 size for faster indexing.
7114 * locale/setlocale.c (_nl_category_names): Adjusted.
7116 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7118 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
7120 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7122 * sysdeps/m68k/stackinfo.h: New file.
7124 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
7126 * string/tester.c (test_strchrnul): New function.
7127 (test_memset): Test one more special case.
7129 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
7132 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
7135 * string/bits/string2.h: Fix bugs I introduced in last change.
7137 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
7139 Extend memset optimization.
7140 Correct i686 version of memchr.
7142 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
7144 * sysdeps/i386/bzero.c: Add #undef __bzero.
7146 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
7147 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
7148 exec server simulated a SIGTRAP before we even started up, so gdb is
7151 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
7153 * nss/digits_dots.c: Always initialize not_ok.
7155 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
7157 * string/bits/string2.h (memset): Avoid arithmetic overflow at
7158 compile time, which produces obnoxious warnings. If GCCv2 is
7159 in use, map __bzero to __builtin_memset to enable that
7162 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
7164 * string/bits/string2.h: Add more memset optimizations.
7166 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
7168 * resolv/inet_pton.c (inet_pton4): Little optimizations.
7169 (inet_pton6): Likewise.
7171 * nss/getXXbyYY_r.c: Include assert.h.
7172 * nss/getXXbyYY.c: Likewise.
7174 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7176 * termios/tcgetsid.c (tcgetsid): Rename variable to
7177 tiocgsid_does_not_work.
7179 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
7181 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
7183 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7185 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
7186 This allows e.g. gethostbyname to accept "10.1234".
7187 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
7189 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
7190 non quad IPv4 numbers.
7192 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7194 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
7196 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
7198 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
7199 * argp/argp-parse.c (_argp_hang): Likewise.
7200 * argp/argp-pv.c (argp_program_version): Likewise.
7201 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
7202 * inet/ether_hton.c (ether_hton, startp): Likewise.
7203 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
7204 * inet/getnetgrent_r.c (setup, startp): Likewise.
7205 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
7206 * intl/localealias.c (string_space, string_space_act, string_space_max,
7207 nmap, maxmap): Likewise.
7208 * libio/iopopen.c (proc_file_chain): Likewise.
7209 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
7210 * locale/lc-collate.c (__collate_table, __collate_extra,
7211 __collate_element_hash, __collate_element_strings,
7212 __collate_element_values): Likewise.
7213 * malloc/mcheck.c (mcheck_used): Likewise.
7214 * malloc/mtrace.c (added_atexit_handler): Likewise.
7215 * malloc/set-freeres.c (already_called): Likewise.
7216 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
7217 * misc/syslog.c (LogStat, LogTag): Likewise.
7218 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
7219 * nss/getXXbyYY_r.c (startp): Likewise.
7220 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
7221 * posix/regex.c (init_syntax_once) [done]: Likewise.
7223 * string/strfry.c (init): Likewise.
7224 * sunrpc/svc_run.c (svc_top): Likewise.
7225 * posix/euidaccess.c (have_ids): Likewise.
7226 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
7227 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
7228 * time/getdate.c (getdate_err): Likewise.
7229 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
7231 * time/tzset.c (old_tz, is_initialized): Likewise.
7233 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
7234 of static data with zero.
7235 * signal/allocrtsig.c (init): Likewise.
7237 * string/Makefile (routines): Add strchrnul.
7238 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
7239 * string/string.c: Add strchrnul prototype.
7240 * include/string.h: Add __strchrnul prototype.
7241 * sysdeps/generic/strchrnul.c: New file.
7242 * sysdeps/i386/strchrnul.S: New file.
7243 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
7244 * sysdeps/i386/i486/bits/string.c: Likewise.
7245 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
7246 * inet/ether_line.c (ether_line): Likewise.
7247 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
7248 * nss/nsswitch.c (nss_parse_file): Likewise.
7249 * posix/execvp.c (execvp): Likewise.
7250 * posix/fnmatch.c (internal_fnmatch): Likewise.
7251 * resolv/res_hconf.c (_res_hconv_init): Likewise.
7252 * resolv/res_init.c (res_init): Likewise.
7253 * stdlib/fmtmsg.c (init): Likewise.
7254 * stdlib/getsubopt.c (getsubopt): Likewise.
7256 * catgets/catgets.c (catopen): Only allocate one memory block.
7257 (catclose): Only one free call necessary.
7259 * catgets/open_catalog.c (__open_catalog): Simplify handling of
7262 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
7263 of real functions. Simplify _tolower and _toupper.
7265 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
7268 * iconv/gconv.h (struct gconv_info): Change data element from pointer
7270 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
7271 * iconv/gconv_close.c (__gconv_close): Don't free data.
7273 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
7276 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
7277 for error while inserting in tree.
7279 * include/time.h: Pretty print.
7281 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
7282 in table and lots of relocations.
7283 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
7284 string pointers in table and lots of relocations.
7286 * intl/finddomain.c: Remove definition of strchr macro.
7288 * io/ftw.c (nftw_arr, ftw_arr): Make const.
7290 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
7292 * locale/localeinfo.h (_nl_category_names): Change into an array with
7293 fixed width char string elements.
7294 * locale/setlocale.c (_nl_category_names): Likewise.
7295 (_nl_current): Make global.
7296 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
7298 * malloc/Makefile (distribute): Add stackinfo.h.
7299 * sysdeps/generic/stackinfo.h: New file.
7300 * sysdeps/i386/stackinfo.h: New file.
7301 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
7302 * posix/execle.c: Likewise.
7303 * posix/execlp.c: Likewise.
7305 * nis/nis_table.c (__create_ib_request): Always use realloc.
7307 * posix/execvp.c (execute): Rename to script_execute and keep only
7308 code to execute using shell.
7309 (execvp): Call execv directly and only fall back on script_execute.
7311 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
7312 and always use xdigits instead.
7314 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
7317 * stdlib/fpioconst.h (__tens): New declaration.
7318 (struct mp_power): Remove array, add arrayoff element.
7319 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
7320 __tens array and add in _fpioconst_pow10 offsets into __tens.
7321 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
7322 * stdlib/strtod.c: Likewise.
7324 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
7326 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
7328 * stdlib/atexit.c (__exit_funcs): Don't initialize.
7330 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
7332 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
7333 a single and an array with offsets.
7335 * sunrpc/des_soft.c (partab): Make it const.
7337 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
7338 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
7339 (__key_decryptsession_pk_LOCAL): Likewise.
7340 (__key_gendes_LOCAL): Likewise.
7341 (MESSENGER): Mark const.
7342 (key_call_private_main): Don't initialize with 0.
7343 (use_keyenvoy): Don't initialize with 0.
7344 (key_call): Rewrite to reverse logic of use_doors variable.
7346 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
7347 (startp): Don't initialize with zero.
7349 * sunrpc/openchild.c (_openchild): Make first argument const.
7351 * sunrpc/pmap_rmt.c (timeout): Mark const.
7352 * sunrpc/xcrypt.c (hex): Likewise.
7354 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
7355 initialization of global variables.
7356 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
7357 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7358 * termios/tcgetsid.c: Likewise.
7360 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
7363 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
7364 block. Add function to free memory if wanted.
7365 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
7367 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
7369 * wcsmbs/wmemset.c: Little code optimization.
7371 1999-04-23 Paul Eggert <eggert@twinsun.com>
7373 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
7376 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
7378 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
7379 implementation and just always fail with ENOSYS. This entry point is
7380 obsolete. Add link warning to that effect.
7382 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
7384 * hurd/get-host.c: Include <hurd/lookup.h>.
7386 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
7388 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
7391 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7393 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
7396 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
7398 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
7399 Patch by Peter Miller <millerp@canb.auug.org.au>.
7401 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
7403 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
7404 prefers loopback device.
7406 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
7408 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
7409 no_leading_period change.
7411 * posix/testfnm.c: More test cases.
7413 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
7415 * include/dirent.h: Remove __getdirentries declaration, add __getdents
7417 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
7418 * sysdeps/unix/readdir_r.c: Likewise.
7419 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7420 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
7421 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
7422 __getdirentries. Remove fourth argument.
7423 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
7424 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
7425 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
7426 Add getdirentries and getdirentries64.
7427 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
7429 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
7430 pointer in case of an invalid [[: expression.
7432 * posix/testfnm.c: Add more test cases.
7434 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
7436 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
7437 set, pass EXEC_SIGTRAP flag in exec RPC.
7439 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
7441 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
7442 extra parameter. Fix several more bugs involving wildcard and
7444 (fnmatch): New function. Call internal_fnmatch.
7446 * posix/testfnm.c: More test cases.
7448 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7450 * manual/install.texi (Configuring and compiling): Explain that
7451 files are changed in the source directory.
7453 (Configuring and compiling): Explain situation with PARALLELMFLAGS
7454 in the source directory.
7456 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7458 * locale/programs/ld-ctype.c: Spelling fixes.
7459 (ctype_finish): Fix argument of error message format.
7460 * locale/programs/ld-messages.c: Spelling fixes.
7461 * locale/programs/ld-monetary.c: Spelling fixes.
7462 * locale/programs/ld-time.c (time_finish): Make sure that name and
7463 format of era_entries are adjacent.
7464 (time_output): Reduce the size of the io vector.
7466 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7468 * manual/filesys.texi (Attribute Meanings): Move a misplaced
7471 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7473 * locale/programs/ld-collate.c (collate_output): Convert
7474 undefined_offset to an array index. Fix computation of other
7477 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
7479 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
7480 return success with empty value.
7482 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
7484 * posix/fnmatch.c: Include string.h also for glibc.
7485 (fnmatch, case '?'): Optimize if cascades a bit.
7486 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
7488 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
7490 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
7492 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
7493 * iconv/gconv_int.h: Declare UTF16 functions.
7494 * iconv/gconv_simple.c: Add UTF16 conversion functions.
7496 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7498 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
7499 be used correctly as parameter for parse_dollars/parse_tilde.
7501 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7503 * manual/conf.texi (Utility Limits): Remove duplicate description
7506 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
7508 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
7509 outbufend for dst==NULL.
7511 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
7513 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
7517 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
7520 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
7522 * sunrpc/Makefile: Remove special handling of bootparam.x,
7523 add rpcsvc/bootparam.h to headers.
7524 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
7525 * sunrpc/rpcsvc/bootparam.x: Renamed to...
7526 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
7528 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
7530 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
7531 detect and handle invalid descriptors.
7533 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
7535 * timezone/zic.c (dolink): Append complete path not only filename
7538 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7540 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
7542 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
7544 * iconvdata/gconv-modules: Rename CP874 to IBM874.
7545 * iconvdata/Makefile: Likewise.
7546 * iconvdata/cp874.h: Removed.
7547 * iconvdata/cp874.c: Renamed to...
7548 * iconvdata/ibm874.c: ...this.
7550 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
7552 * sysdeps/unix/sysv/linux/bits/types.h: Correct
7553 signed/unsigned-ness of blkcnt and fsblkcnt.
7554 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
7555 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
7557 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
7558 SOL_AAL, and SOL_IRDA.
7560 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7562 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
7563 include "linux_fsinfo.h".
7564 Based on a patch by H.J. Lu <hjl@gnu.org>.
7566 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
7568 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
7570 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
7572 * nscd/cache.c (prune_cache): Only disable file checking for
7573 future if the file does not exist.
7574 Update file_mtime if cache was flushed.
7576 1999-04-15 David S. Miller <davem@redhat.com>
7578 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
7579 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
7581 1999-04-15 Scott Bambrough <scottb@netwinder.org>
7583 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
7584 compilation of file.
7586 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
7588 * Versions.def: Add GLIBC_2.1.1 to libpthread.
7590 * iconvdata/Makefile (modules): Add KOI8-U.
7591 (distribute): Add koi8-u.c.
7592 (gen-8bit-gap-modules): Add koi8-u.
7593 * iconvdata/gconv-modules: Add KOI8-U entries.
7594 * iconvdata/koi8-u.c: New file.
7596 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
7598 * sunrpc/auth_des.c: 64bit fixes, security fixes.
7599 * sunrpc/auth_none.c: Pretty print.
7600 * sunrpc/auth_unix.c: Likewise.
7601 * sunrpc/authdes_prot.c: Likewise.
7602 * sunrpc/authuxprot.c: Likewise.
7603 * sunrpc/bindrsvprt.c: Likewise.
7604 * sunrpc/clnt_gen.c: Likewise.
7605 * sunrpc/rpc/xdr.h: Likewise.
7606 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
7607 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
7608 * sunrpc/rtime.c: Use new rpc_timeval.
7609 * sunrpc/svc_authux.c: Don't use *long pointers.
7610 * sunrpc/svcauth_des.c: Likewise + security fixes.
7611 * sunrpc/xdr_mem.c: Don't use *long pointers.
7612 * sunrpc/xdr_rec.c: Likewise.
7613 * sunrpc/xdr_sizeof.c: Likewise.
7614 * sunrpc/xdr_stdio.c: Likewise.
7616 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
7618 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
7619 so that it is redone for each sending.
7621 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7623 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
7625 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
7627 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
7628 known to not exist don't try to load shared objects.
7629 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
7631 * nscd/cache.c (prune_cache): The table might not be unused. In
7632 this case do nothing.
7634 * catgets/gencat.c (read_input_file): Don't drop white spaces
7635 between number/identifier and string.
7636 Patch by Dima Barsky <dima@pwd.hp.com>.
7637 If no white space at all follows number/identifier remove existing
7638 message with the number/identifier.
7640 1999-04-14 H.J. Lu <hjl@gnu.org>
7642 * sunrpc/clnt_udp.c (is_network_up): New function.
7643 (clntudp_call): Call is_network_up () to check if any network
7644 interface is up in case of timeout.
7646 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7648 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
7649 * wctype/Makefile (tests): Add test_wcfuncs.
7651 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
7653 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
7655 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
7657 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
7658 instead of CFLAGS. For gnulib and string directories use
7659 -Wa,-Av9a gcc ASFLAGS.
7660 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
7661 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
7662 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
7663 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
7664 the same way as sparc-*.
7666 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
7668 * locale/programs/locfile.c (locfile_read): Fix typo.
7669 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
7671 1999-04-14 Scott Bambrough <scottb@netwinder.org>
7673 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
7674 restarted after being interrupted by a signal. The parameters on
7675 the stack were corrupted by the signal handler.
7677 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
7678 restarted after being interrupted by a signal. The parameters on
7679 the stack were corrupted by the signal handler.
7681 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7683 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
7684 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
7686 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
7688 * posix/wordexp-test.c: In field-splitting test cases where
7689 subshells were involved, unset IFS first: some shells (ash) use
7690 IFS even when no expansion is performed.
7692 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7694 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
7695 the real end of the chunk, not some random point inbetween.
7696 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
7697 obstack when growing. Use fast version of obstack_blank when
7699 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
7700 allocating the vtable pointer.
7701 (_IO_obstack_vprintf): Adjust for above change and avoid
7702 unnecessary casts. Use fast version of obstack_blank when
7706 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
7708 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
7709 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
7711 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
7713 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
7714 is seen, as well as fixing semantics. Don't reset the word count
7715 to zero when an invalid character is seen, but leave it as it was
7716 (this makes a difference with WRDE_APPEND).
7718 * posix/wordexp-test.c: More test cases.
7720 * posix/wordexp.c (parse_param): In words like ${var#pattern},
7721 always expand pattern when it is needed. Also, handle quoting in
7724 1999-04-12 Philip Blundell <philb@gnu.org>
7726 * elf/elf.h: Update ARM definitions to match current gas2.
7728 * sysdeps/arm/bits/endian.h: Support big endian operation.
7730 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
7731 Don't bother range checking the port number.
7733 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
7735 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
7736 the syscall name in assembler output for ease of debugging.
7738 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
7740 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
7741 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
7742 (sysdep_routines): Add sigrestorer.
7744 * string/tester.c (test_strcpy): Add new tests for unaligned
7746 * sysdeps/arm/bits/string.h: Delete inline implementations of
7749 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
7751 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
7753 1999-04-10 Mark Kettenis <kettenis@gnu.org>
7755 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
7757 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
7759 * iconvdata/Makefile (modules): Add TIS-620.
7760 (distribute): Add tis-620.c.
7761 (gen-8bit-gap-modules): tis-620.
7762 * iconvdata/tis-620.c: New file.
7763 * iconvdata/gconv-modules: Add TIS-620 entries.
7765 * iconvdata/asmo_449.c: Correct comment.
7767 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7769 * manual/install.texi (Configuring and compiling): Comment out
7770 description of --disable-static since this doesn't work currently
7771 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
7773 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
7775 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
7777 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
7779 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7781 * scripts/test-installation.pl (installation_problem): Skip
7782 libnss1_* libraries from glibc-compat add-on.
7784 1999-04-07 H.J. Lu <hjl@gnu.org>
7786 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
7788 * posix/Versions (__waitpid): Likewise.
7790 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7792 * manual/install.texi (Reporting Bugs): Add section about reported
7793 bugs and correct email address of glibcbug script.
7795 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
7797 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
7798 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
7799 xdr_u_longlong_t. Based on patch from Dan Shechter
7800 <damageboy@isdn.net.il>.
7801 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
7802 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
7804 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
7806 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7808 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
7809 directly if getdents returns with error set.
7811 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7813 * locale/langinfo.h (THOUSEP): Rename second occurence of
7814 THOUSANDS_SEP to THOUSEP.
7815 Reported by Roman Belenov <roman@nstl.nnov.ru>.
7817 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
7819 * hurd/STATUS: File removed. Moved items that are still relevant into
7820 TODO list in hurd source.
7822 1999-03-26 Mark Kettenis <kettenis@gnu.org>
7824 * sysdeps/mach/hurd/bits/time.h: New file.
7825 * sysdeps/mach/hurd/getrusage.c: New file.
7826 * sysdeps/mach/hurd/clk_tck.c: New file.
7827 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
7828 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
7829 (sysdep_routines): Add clk_tck.
7830 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
7833 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
7835 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
7836 (closelog): But instead here.
7837 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
7839 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7841 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
7842 the source directory. Fixes PR libc/1059.
7844 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7846 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
7847 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7849 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
7851 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
7852 * iconvdata/testdata/ISO-8859-14: New file.
7853 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
7854 * iconvdata/testdata/ISO-8859-15: New file.
7855 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
7857 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
7859 * iconvdata/testdata/CP1258: New file.
7860 * iconvdata/testdata/CP1258..UTF8: New file.
7861 * iconvdata/TESTS: Add CP1258 entry.
7863 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
7865 * timezone/africa: Update from tzdata1999d.
7866 * timezone/europe: Likewise.
7867 * timezone/northamerica: Likewise.
7869 1999-03-31 Mark Kettenis <kettenis@gnu.org>
7871 * login/programs/pt_chown.c (main): Save effective user ID before
7872 dropping priviliges and use this to check if the program is
7875 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
7877 * iconvdata/testdata/CP1254: Update for charmap changes.
7878 * iconvdata/testdata/CP1254..UTF8: Likewise.
7879 * iconvdata/testdata/CP1255: Likewise.
7880 * iconvdata/testdata/CP1255..UTF8: Likewise.
7881 * iconvdata/testdata/CP1256: Likewise.
7882 * iconvdata/testdata/CP1256..UTF8: Likewise.
7883 * iconvdata/testdata/CP1257: Likewise.
7884 * iconvdata/testdata/CP1257..UTF8: Likewise.
7886 * iconvdata/Makefile (distribute): Remove cp1258.h.
7887 (gen-8bit-gap-modules): Add cp1258.
7888 * iconvdata/cp1258.h: Removed.
7890 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
7892 * timezone/tst-timezone.c (tests): Add more cases.
7893 (check_tzvars): Mark errors clearer.
7896 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
7898 * login/programs/pt_chown.c: Drop privileges if invoked with
7899 arguments. Don't close the master pty.
7901 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
7903 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
7906 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
7908 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
7909 relocation for SUID binaries.
7911 1999-03-29 Paul Eggert <eggert@twinsun.com>
7913 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
7914 while in child process.
7916 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
7918 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
7919 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
7920 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
7921 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
7922 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
7924 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
7925 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
7926 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
7927 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
7928 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
7929 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
7930 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
7931 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
7932 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
7933 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
7934 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
7935 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
7936 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
7937 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
7938 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
7939 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
7940 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
7941 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
7942 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
7943 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
7944 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
7945 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
7946 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
7947 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
7948 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
7949 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
7951 * sysdeps/sparc/sparc32/bcopy.c: New file.
7952 * sysdeps/sparc/sparc32/bzero.c: New file.
7953 * sysdeps/sparc/sparc32/memchr.S: New file.
7954 * sysdeps/sparc/sparc32/memcpy.S: New file.
7955 * sysdeps/sparc/sparc32/memmove.c: New file.
7956 * sysdeps/sparc/sparc32/memset.S: New file.
7957 * sysdeps/sparc/sparc32/stpcpy.S: New file.
7958 * sysdeps/sparc/sparc32/strchr.S: New file.
7959 * sysdeps/sparc/sparc32/strrchr.c: New file.
7960 * sysdeps/sparc/sparc32/strcpy.S: New file.
7961 * sysdeps/sparc/sparc32/strlen.S: New file.
7962 * sysdeps/sparc/sparc32/strcat.S: New file.
7963 * sysdeps/sparc/sparc32/strcmp.S: New file.
7965 * sysdeps/sparc/sparc64/bcopy.c: New file.
7966 * sysdeps/sparc/sparc64/bzero.c: New file.
7967 * sysdeps/sparc/sparc64/memchr.S: New file.
7968 * sysdeps/sparc/sparc64/memcmp.S: New file.
7969 * sysdeps/sparc/sparc64/memcpy.S: New file.
7970 * sysdeps/sparc/sparc64/memset.S: New file.
7971 * sysdeps/sparc/sparc64/stpcpy.S: New file.
7972 * sysdeps/sparc/sparc64/strcat.S: New file.
7973 * sysdeps/sparc/sparc64/strchr.S: New file.
7974 * sysdeps/sparc/sparc64/strcmp.S: New file.
7975 * sysdeps/sparc/sparc64/strcpy.S: New file.
7976 * sysdeps/sparc/sparc64/strcspn.S: New file.
7977 * sysdeps/sparc/sparc64/strlen.S: New file.
7978 * sysdeps/sparc/sparc64/strncpy.S: New file.
7979 * sysdeps/sparc/sparc64/strpbrk.S: New file.
7980 * sysdeps/sparc/sparc64/strrchr.c: New file.
7981 * sysdeps/sparc/sparc64/strspn.S: New file.
7982 * sysdeps/sparc/sparc64/stpncpy.S: New file.
7983 * sysdeps/sparc/sparc64/strncmp.S: New file.
7985 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
7986 Append -fPIC, don't replace.
7988 * configure.in: Recognize sparcv8plus / sparcv9.
7990 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7992 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
7993 char * to avoid C++ warning.
7994 Patch by yasushi@cs.washington.edu [PR libc/1035].
7996 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7998 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
7999 declared in stdlib.h, correct return value of mkstemp.
8000 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
8002 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
8005 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8007 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
8010 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
8011 inline functions. Closes PR libc/1049.
8013 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8015 * timezone/README: Update from tzdata1999c and tzcode1999c.
8017 * timezone/africa: Update from tzdata1999c.
8018 * timezone/antarctica: Likewise.
8019 * timezone/asia: Likewise.
8020 * timezone/australasia: Likewise.
8021 * timezone/europe: Likewise.
8022 * timezone/northamerica: Likewise.
8023 * timezone/southamerica: Likewise.
8024 * timezone/zone.tab: Likewise.
8026 * timezone/zic.c: Update from tzcode1999c.
8028 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8030 * Makerules: Add $(common-objpfx)Versions.all to common-generated
8031 outside of ifndef avoid-generated.
8033 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
8035 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
8037 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
8039 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
8040 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
8042 1999-03-26 Mark Kettenis <kettenis@gnu.org>
8044 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
8045 if we build the profiled library.
8047 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8049 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
8050 Jaeger <aj@arthur.rhein-neckar.de>
8052 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
8054 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
8055 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
8056 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
8058 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
8060 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
8061 works properly in subdirs.
8063 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
8065 * sysdeps/mach/hurd/Makefile: Undo last change.
8066 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
8067 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
8069 * mach/Machrules (+preinit, +postinit, +interp,
8070 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
8071 linked just like other shared libraries.
8072 (interface.so): Fix typo in defn, so it works.
8073 ($(objpfx)$(interface.so)): Make it depend on libc.so.
8075 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
8077 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
8078 $(link-rpcuserlibs).
8080 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8082 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
8083 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
8084 targets if not building shared libraries.
8086 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8088 * configure.in: Also look in $PATH when searching for
8089 install-info. Remove autoconf bug workaround and require autoconf
8092 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8094 * db/Makefile: Don't try to install shared library link if not
8095 building with shared libs.
8097 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8099 * rt/Makefile: Link against static library if no shared lib is
8102 * localedata/Makefile: The shells scripts implementing the test
8103 require the dynamic linker which is not available with
8104 --disable-shared. Skip the test if --disable-shared is given.
8106 * linuxthreads/Makefile: Link test against static libpthread if no
8107 shared lib is available.
8109 * iconvdata/Makefile (tests): Run iconv-test only if we're
8110 building shared libraries.
8111 * elf/Makefile (tests): Likewise for elf tests.
8113 * posix/Makefile: The test frameworks globtest and wordexp-test
8114 require the dynamic linker which is not available with
8115 --disable-shared. Skip the test if --disable-shared is given.
8117 * grp/Makefile (otherlibs): For static nss build link against
8120 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8122 * debug/Makefile (install-bin): Install and build catchsegv only
8123 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
8126 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8128 * time/tzfile.c (__tzfile_read): Handle the case where there are
8129 transitions but no DST.
8131 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
8133 * mach/Machrules (extra-libs-others): Add $(interface-library) here
8134 too, so it gets built in the others pass rather than the lib pass.
8135 This is necessary since the RPC libraries need to be linked against
8138 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
8140 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
8143 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
8144 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
8145 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
8146 versions of lib{mach,hurd}user.so without reference to libc.so,
8147 then link libc.so against that to get deps and symbol versions, then
8148 finally link real lib*user.so against libc.so.
8150 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
8151 Support whole-file locking (only) by using the file_lock RPC. This
8152 has very wrong semantics, but is better than nothing for the time
8153 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
8154 protocols that will be somewhat hairy to specify.)
8156 1999-03-17 Mark Kettenis <kettenis@gnu.org>
8158 * sysdeps/mach/hurd/ptsname.c: New file.
8160 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8162 * timezone/asia: Fix rule in Asia/Nicosia entry.
8164 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8166 * manual/getopt.texi (Using Getopt): Explain "::" in option
8167 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
8169 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
8171 * sunrpc/clnt_unix.c: Fix creation of parameters for
8172 sendmsg/recvmsg on non intel platforms.
8173 * sunrpc/svc_unix.c: Likewise.
8175 1999-03-18 Philip Blundell <philb@gnu.org>
8177 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
8180 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8182 * timezone/africa: Update from tzdata1999b.
8183 * timezone/asia: Likewise.
8184 * timezone/australasia: Likewise.
8185 * timezone/europe: Likewise.
8186 * timezone/northamerica: Likewise.
8187 * timezone/southamerica: Likewise.
8188 * timezone/zone.tab: Likewise.
8190 * timezone/README: Mention tzdata1999b.
8192 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
8194 * sysdeps/generic/segfault.c (write_strsignal): New function.
8195 (catch_segfault): Use it instead of calling strsignal.
8197 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8199 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
8200 char to avoid warning.
8202 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
8204 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
8206 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
8207 outbuf to unsigned char to avoid warning.
8209 1999-03-11 David S. Miller <davem@redhat.com>
8211 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
8213 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
8215 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
8217 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
8219 (gconv_step_data): Likewise.
8220 * iconv/gconv_int.h (__gconv): Likewise.
8221 (__BUILINT_TRANS): Likewise.
8222 * iconv/gconv.c (__gconv): Likewise.
8223 * iconv/iconv.c (iconv): Add casts for call of __gconv.
8224 * iconv/skeleton.c: Change local parameters and variable from `char' to
8225 `unsigned char'. Remove casts from calls into modules.
8226 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
8227 `char' to `unsigned char'.
8228 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
8229 * wcsmbs/mbrtowc.c: Likewise.
8230 * wcsmbs/mbsnrtowcs.c: Likewise.
8231 * wcsmbs/mbsrtowcs.c: Likewise.
8232 * wcsmbs/wcrtomb.c: Likewise.
8233 * wcsmbs/wcsnrtombs.c: Likewise.
8234 * wcsmbs/wcsrtombs.c: Likewise.
8235 * wcsmbs/wctob.c: Likewise.
8237 1999-03-15 Mark Kettenis <kettenis@gnu.org>
8239 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
8240 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
8241 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
8242 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
8243 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
8244 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
8246 1999-03-15 Mark Kettenis <kettenis@gnu.org>
8248 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
8249 _hurd_select if TIMEMOUT is -1.
8251 1999-03-15 Mark Kettenis <kettenis@gnu.org>
8253 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
8255 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
8257 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
8258 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
8260 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8262 * manual/libc.texinfo: Undo last change for now.
8264 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
8266 * intl/locale.alias: Add entries for Croatian.
8267 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
8269 1999-03-13 Mark Kettenis <kettenis@gnu.org>
8271 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
8272 if the opened master pty really is a pty. `isatty' checks for
8273 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
8274 if we are out of pty's.
8276 1999-03-13 Mark Kettenis <kettenis@gnu.org>
8278 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
8279 opened file is closed on exec.
8280 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
8283 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8285 * manual/llio.texi (File Position Primitive): Reformat @end
8286 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
8288 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
8290 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
8292 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8293 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
8295 * locale/programs/localedef.c (main): Initialize `cat' to please
8298 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
8300 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
8301 check for root-owned symlinks and reject them too.
8303 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8305 * stdio-common/printf_fphex.c: Move to ...
8306 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
8307 extended precision number.
8308 * sysdeps/m68k/printf_fphex.c: New file.
8310 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8312 * manual/stdio.texi: Fix typos.
8314 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
8316 * version.h (VERSION): Bump to 2.1.1.
8318 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
8320 * nis/ypclnt.c: Try only twice to connect to NIS server.
8322 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
8324 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
8326 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8328 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
8329 (DENORM_EXP): New define. Use it as the exponent for a denormal.
8330 * stdlib/strtold.c: Moved to ...
8331 * sysdeps/generic/strtold.c: ... here.
8332 * sysdeps/m68k/strtold.c: New file.
8334 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8336 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
8337 point if the precision is zero, even if the mantissa is non-zero.
8339 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
8341 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
8342 arguments into the request message buffer inside `send_rpc'
8343 subfunction. We must repeat the marshalling when retrying the RPC
8344 after a SIGTTOU delivery.
8346 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
8347 path when there is no ctty port.
8348 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
8349 Move sigstate check inside loop so we recheck after handling a signal.
8351 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8353 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
8354 O_EXLOCK are BSD extensions.
8355 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
8357 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
8359 * manual/signal.texi (Termination in Handler): Correct example.
8360 Install default handler before reraising the signal.
8361 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
8363 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
8365 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
8366 null, in which case send an empty string.
8368 1999-03-02 Mark Kettenis <kettenis@gnu.org>
8370 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
8371 backward compatibility EH functions to be linked when using
8372 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
8374 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8376 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
8377 /dev/pts status may change during runtime.
8379 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8381 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
8382 change. /dev/pts status can change during runtime.
8384 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
8386 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
8388 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
8389 add some more sanity checks.
8390 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
8393 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
8395 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
8396 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
8397 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
8398 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
8399 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
8401 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
8402 * nis/nis_print.c: Fix ctime argument for platforms where
8403 sizeof (time_t) != sizeof (int).
8405 1999-03-07 Mark Kettenis <kettenis@gnu.org>
8407 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
8408 CLOCKS_PER_SEC instead of CLK_TCK.
8410 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
8412 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
8413 whether /dev/pts is available.
8414 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
8417 * posix/globtest.sh: Make common_objpfx path absolute and and db2
8418 and hesiod directory to library path [PR libc/1007].
8420 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8422 * resolv/inet_addr.c (inet_aton): Don't allow componets >
8423 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
8425 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
8427 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
8428 DT_PLTGOT has already been relocated.
8429 (__elf_machine_fixup_plt): Likewise.
8432 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
8434 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
8436 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
8438 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
8439 and fold string to uppercase [PR libc/1005].
8441 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8443 * elf/dl-load.c (lose): Fix return type.
8445 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
8447 * sysdeps/mach/hurd/bits/fcntl.h
8448 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
8449 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
8450 set O_NOTRANS as well.
8451 (__hurd_file_name_lookup_retry): At successful end of lookup,
8452 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
8453 it is a translated node not owned by root.
8454 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
8455 on the file name passed to LOOKUP.
8457 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
8459 * manual/time.texi (High Resolution Timer): Correct computation in
8460 example. Reported by jjf@devel.cemsys.com.
8462 1999-03-02 Philip Blundell <pb@nexus.co.uk>
8464 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
8465 entry is already relocated.
8467 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8469 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
8470 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
8472 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8474 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
8475 uc_link which is the right name according to Unix98.
8476 Reported by Craig Metz [PR libc/1001].
8477 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
8478 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
8479 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
8480 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
8481 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise.
8482 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
8484 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8486 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
8489 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8491 * iconvdata/Makefile: Always include iconv-rules, but disable rule
8492 to regenerate it if avoid-generated.
8494 * Makeconfig: Always include sys-dirs, but disable rule to
8495 regenerate it when avoid-generated.
8497 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
8498 rule to generate sysd-syscalls.
8500 * elf/Makefile (generated): Remove $(objpfx) from names.
8502 1999-02-28 Mark Kettenis <kettenis@gnu.org>
8504 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
8505 actual length if the adress length is smaller than the input
8506 value. Change type of *LEN paramater to socklen_t.
8507 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
8508 * sysdeps/mach/hurd/accept.c (accept): Likewise.
8509 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
8510 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
8511 paramater to socklen_t.
8513 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
8515 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
8516 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
8519 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
8521 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
8522 __get_phys_pages): Cast &HBI to silence warning.
8524 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
8525 * hurd/hurdchdir.c: New file.
8526 * hurd/hurdfchdir.c: New file.
8527 * sysdeps/mach/hurd/chroot.c: Call
8528 _hurd_change_directory_port_from_name to do the work.
8529 * sysdeps/mach/hurd/chdir.c: Likewise.
8530 * sysdeps/mach/hurd/fchdir.c: Call
8531 _hurd_change_directory_port_from_fd to do the work.
8532 * hurd/fchroot.c: Likewise.
8533 * hurd/hurd.h: Declare them.
8535 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
8537 * elf/dl-load.c (lose): Add more comments to explain the `why'.
8538 (_dl_map_object): Remove redundant test.
8540 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
8542 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
8543 try to _hurd_port_free a lower-numbered descriptor that was not in any
8546 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8548 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
8549 declaration for ____wcstod_l_internal.
8551 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
8552 __strtod_internal prototype.
8553 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
8554 (____strtold_l_internal): Add prototype declaration.
8555 (__strtold_l): Call correct function.
8557 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
8559 * elf/elf.h: Add 32bit HPPA definitions.
8561 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8563 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
8564 non-checked heap is restored when malloc checking was requested by
8566 (struct malloc_state): Add using_malloc_checking.
8567 (MALLOC_STATE_VERSION): Increment minor.
8568 (using_malloc_checking, disallow_malloc_check): New variables.
8569 (__malloc_check_init): Use them.
8570 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
8571 that it can the chunk is properly instrumented when malloc
8572 checking is enabled. Set the new using_malloc_checking field.
8573 (malloc_hook_ini): Correct signature when _LIBC is not defined.
8575 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8577 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
8578 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
8581 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
8582 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
8583 if ld.so is the main program.
8585 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
8587 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
8588 large for work_buffer, allocate new buffer.
8589 (printf_unknown): Likewise. [PR libc/988]
8591 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
8593 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
8594 instead of stat and fstat.
8595 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8597 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8599 * elf/dl-error.c (_dl_signal_cerror): New function.
8600 (_dl_signal_error): Don't call receiver function.
8601 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
8602 instead of _dl_signal_error when reporting references to undefined
8603 symbols or versions.
8604 (_dl_lookup_versioned_symbol): Likewise.
8605 (_dl_lookup_versioned_symbol_skip): Likewise.
8606 * elf/dl-version.c (match_symbol): Likewise.
8608 * elf/ldsodefs.h: Declare _dl_signal_cerror.
8610 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
8612 * misc/getttyent.c (getttyent): Release lock on stream later to
8613 also protect global variable zapchar.
8615 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
8616 __times [PR libc/990].
8618 1999-02-21 David S. Miller <davem@redhat.com>
8620 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
8621 parentheses in Feb 2 changes.
8622 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
8624 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8626 * sysdeps/generic/glob.c (glob): Save previous errno.
8628 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
8630 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
8631 lookup functions if it is too small.
8633 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
8635 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
8636 for tracing to the scope lists.
8637 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
8638 DT_SYMTAB is always available according to ELF spec.
8640 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
8641 call test whether there is any scope left.
8642 (_dl_lookup_versioned_symbol_skip): Likewise.
8644 * elf/Makefile (distribute): Add do-lookup.h.
8645 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
8646 * elf/dl-lookup.c: Move do_lookup function in separate file and
8647 include the file twice, for handling versioning and without it.
8649 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
8650 entry is already relocated.
8651 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
8652 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
8653 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
8654 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
8656 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
8658 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
8661 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
8662 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
8663 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
8664 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
8665 rel and rela relocations can both happen and skip one test if this
8667 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
8669 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
8671 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
8673 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
8674 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
8675 (_dl_map_object): DT_STRTAB entry is already relocated.
8676 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
8678 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
8680 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
8681 DT_VERSYM entries are already relocated.
8682 (profile_fixup): Likewise.
8683 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
8685 (match_symbol): DT_STRTAB entry is already relocated.
8686 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
8687 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
8688 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
8689 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
8690 (find_needed): DT_STRTAB entry is already relocated.
8691 (dl_main): Pass extra argument to elf_get_dynamic_info.
8692 DT_STRTAB entry is already relocated.
8693 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
8694 DT_PLTGOT entries are already relocated.
8695 (elf_machine_rela): Likewise for DT_SYMTAB.
8696 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
8698 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8699 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
8700 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8701 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8702 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
8703 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
8704 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
8705 * sysdeps/mips/mips64/dl-machine.h: Likewise.
8707 * grp/initgroups.c (initgroups): If function in current module was
8708 successful don't stop but continue to process to get all the groups.
8710 * elf/dl-load.c (_dl_map_object_from_fd): Use global
8711 _dl_pf_to_proot array to convert p_flags value.
8712 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8714 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
8715 loop to clear `info'.
8717 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
8718 do the work and don't use inline assembler.
8720 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
8722 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
8723 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
8724 noreturn, and prevent it from being inlined.
8725 Define LOSE appropriately.
8726 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
8727 Optimize decoding of p_flags for certain platforms.
8729 1999-02-19 Philip Blundell <pb@nexus.co.uk>
8731 * Makeconfig (link-libc): When doing a static link, make sure that
8732 libgcc.a is included both before and after libc.a.
8734 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
8736 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
8737 sp_warn, sp_inact, sp_expire and sp_flag.
8739 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
8741 * elf/link.h (link_map): Add l_dev and l_ino.
8742 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
8743 loaded shared object with all loaded objects. Initialize l_ino
8744 and l_dev in case it's new.
8745 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
8747 * elf/Makefile: Compile and run new test.
8748 * elf/multiload.c: New file.
8750 * nss/nsswitch.h (service_user): Change name field from const char *
8752 (name_database_entry): Likewise.
8753 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
8754 for change of `service_user'.
8755 (nss_getline): Adjust memory allocation for change of
8756 `name_database_entry'.
8758 * catgets/catgets.c: Correctly handle NLSPATH from environment
8761 * io/Makefile (routines): Add lock64.
8762 * io/Versions: Add lockf64 for GLIBC_2.1.1.
8763 * sysdeps/generic/lockf64.c: New file.
8765 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
8767 * string/bits/string2.h: Only use strncmp optimization if count
8768 argument is constant.
8770 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
8772 * sysdeps/mach/hurd/revoke.c: New file.
8774 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
8776 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
8777 int to avoid warning about `ISO C restricts enumerator values to
8780 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8782 * elf/dlfcn.h: Fix typo.
8783 * sysdeps/generic/bits/dlfcn.h: Likewise.
8784 * sysdeps/mips/bits/dlfcn.h: Likewise.
8786 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
8788 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
8789 for the case N == 0.
8791 * db2/Makefile (distribute): Add LICENSE.
8793 1999-02-03 Jeff Bailey <jbailey@nisa.net>
8795 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
8798 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
8800 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
8802 * time/mktime.c: Use ISO C form for function definitions and
8803 remove unnecessary prototypes.
8805 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
8807 * time/time.h: Avoid unneccesary #ifdef.
8809 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
8811 * stdio-common/_itoa.c (_itoa): Correct parameters to
8814 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8816 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
8817 before (e.g. in glob.h).
8820 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8822 * sysdeps/mips/fpu_control.h: Fix typo.
8823 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
8826 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
8828 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
8829 the "unused" ends of the sockets. Let pipes be bidirectional.
8831 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
8833 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
8836 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8838 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
8839 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
8841 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
8842 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
8844 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
8846 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
8848 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8850 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
8851 check for priority mask.
8853 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
8855 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
8856 Reported by Craig Metz <cmetz@inner.net> .
8858 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8860 * stdio-common/Makefile (tests): tllformat added.
8862 * stdio-common/tllformat.c: New program, based on tiformat.c with
8863 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
8865 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8867 * posix/test-vfork.c: Fix exit status test.
8869 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8871 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
8872 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
8874 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8876 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
8877 of separare explicit comparisons.
8879 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8881 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
8884 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
8887 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
8889 * po/el.po: Update from translation team.
8891 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8893 * intl/locale.alias: Fix slovenian entry [PR libc/948].
8895 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8897 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
8898 * inet/ruserpass.c: Likewise.
8899 * locale/programs/stringtrans.c: Likewise.
8900 * locale/programs/localedef.c: Likewise.
8901 * nscd/grpcache.c: Likewise.
8902 * nss/nss_files/files-XXX.c: Likewise.
8903 * stdlib/canonicalize.c: Likewise.
8904 * sysdeps/posix/sigwait.c: Likewise.
8906 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8908 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
8909 even on 64 bit platforms.
8911 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
8912 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
8914 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
8916 * intl/dcgettext.c: Include locale.h is available.
8918 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
8920 * po/nl.po: Update from translation team.
8922 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
8924 * Makefile: Allow calling goals for po subdir.
8926 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
8929 * po/el.po: New file.
8931 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8933 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
8934 when processing DT_SYMBOLIC objects.
8936 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8938 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
8939 program headers without PT_PHDR only require that they are
8940 contained within one of the loaded segments. Don't use assert,
8941 since that would be a bug in the object, not the dynamic linker.
8943 1999-02-08 Richard Henderson <rth@cygnus.com>
8945 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
8946 restore all call-clobbered fp regs.
8948 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
8950 * po/cs.po: New file.
8952 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
8955 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
8957 * signal/signal.h: Don't declare __libc_allocate_rtsig.
8958 * include/signal.h: Declare __libc_allocate_rtsig here.
8960 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
8961 point functions, not do_lookup since the later can be called more
8964 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
8966 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
8967 macro, so that architectures which need to add some special
8968 offset to stack pointer can share this file.
8970 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
8971 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
8972 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
8973 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
8975 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
8976 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
8977 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
8978 between sparc32 and sparc64.
8980 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
8981 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
8982 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
8983 between sparc32 and sparc64.
8985 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
8986 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
8987 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
8988 between sparc32 and sparc64.
8990 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
8991 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
8992 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
8993 between sparc32 and sparc64.
8995 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
8997 * Versions.def: New version GLIBC_2.1.1 for libc.
8998 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
8999 * stdlib/labs.c: Moved to...
9000 * sysdeps/generic/labs.c: ...here.
9001 * stdlib/llabs.c: Moved to...
9002 * sysdeps/generic/llabs.c: ...here.
9003 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
9004 header. Declare _Exit.
9005 * sysdeps/generic/_exit.c: Add alias _Exit.
9006 * sysdeps/mach/hurd/_exit.c: Likewise.
9007 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
9008 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
9009 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
9010 * sysdeps/unix/_exit.c: Likewise.
9011 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
9012 imaxdiv and imaxabs. Declare lldiv_t if necessary.
9013 * sysdeps/wordsize-64/inttypes.h: Likewise.
9014 * sysdeps/wordsize-32/llabs.c: New file.
9015 * sysdeps/wordsize-32/lldiv.c: New file.
9016 * sysdeps/wordsize-64/labs.c: New file.
9017 * sysdeps/wordsize-64/ldiv.c: New file.
9018 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
9019 * manual/startup.texi: Document _Exit.
9021 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9023 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
9025 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
9027 * Versions.def: Add versions for ld.so.
9028 * csu/Versions: Remove __libc_stack_end here.
9029 * elf/Versions: Split libc definitions in libc and ld.so definitions.
9030 * elf/Makefile (ld-map): Change to ld.so.map.
9031 * scripts/versions.awk: Recognize dot in library names.
9033 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
9034 Don't use __tolower and __toupper in inline functions.
9035 Add optimizing macros for tolower and toupper.
9036 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
9037 (_toupper): Don't use __toupper.
9038 * ctype/ctype.c (tolower): Don't use __tolower.
9039 (toupper): Don't use toupper.
9041 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
9043 * resolv/Versions (libresolv): Export __ns_name_unpack and
9045 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
9046 make it global. Change all users. Similar for ns_name_ntop.
9047 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
9048 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
9049 directly to detect too small buffer.
9050 * resolv/nss_dns/dns-network.c: Likewise.
9052 * stdio-common/Makefile (tests): Add scanf12.
9053 * stdio-common/scanf12.c: New file.
9054 * stdio-common/scanf12.input: New file.
9055 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
9056 floating-point correctly if the number is invalid.
9058 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
9060 * stdio-common/printf_fp.c: Likewise.
9061 * stdio-common/printf_fphex.c: Likewise.
9062 * stdio-common/vfprintf.c: Likewise.
9065 See ChangeLog.9 for earlier changes.