1 1997-05-01 03:13 Ulrich Drepper <drepper@cygnus.com>
3 * sysdeps/unix/sysv/linux/shmat.c (shmat): For Linux-2.0 and up the
4 kernel can return negative values. Only fail when return value is
5 in range in range which is never returned as valid address.
6 Patch by Bruno Haible <haible@ilog.fr>.
8 1997-04-30 17:35 Ulrich Drepper <drepper@cygnus.com>
10 * math/libm-test.c: Implement test for exceptions.
11 Partly due to Andreas Jaeger.
12 (csin_test): New function.
13 * sysdeps/libm-i387/s_cexp.S: Raise correct exceptions.
14 * sysdeps/libm-i387/s_cexpf.S: Likewise.
15 * sysdeps/libm-i387/s_cexpl.S: Likewise.
16 * sysdeps/libm-ieee754/s_ccos.c: Likewise.
17 * sysdeps/libm-ieee754/s_ccosf.c: Likewise.
18 * sysdeps/libm-ieee754/s_ccosl.c: Likewise.
19 * sysdeps/libm-ieee754/s_ccosh.c: Likewise.
20 * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
21 * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
22 * sysdeps/libm-ieee754/s_cexp.c: Likewise.
23 * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
24 * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
25 * sysdeps/libm-ieee754/s_csinh.c: Likewise.
26 * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
27 * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
28 * sysdeps/libm-ieee754/s_ctanh.c: Likewise.
29 * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
30 * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
32 * sysdeps/libm-ieee754/s_ccosh.c: Correct computation.
33 * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
34 * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
35 * sysdeps/libm-ieee754/s_csinh.c: Likewise.
36 * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
37 * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
39 * sysdeps/libm-ieee754/s_csin.c: Rewrite.
40 * sysdeps/libm-ieee754/s_csinf.c: Likewise.
41 * sysdeps/libm-ieee754/s_csinl.c: Likewise.
43 * stdlib/random_r.c (__srandom_r): Don't use seed 0. Use 1 in this
46 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Use notation
49 * time/strftime.c (add): Respect `0' padding flag.
50 Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
52 1997-04-30 15:46 Ulrich Drepper <drepper@cygnus.com>
54 * Makeconfig (start-installed-name): Define here, not in csu/Makefile.
56 * csu/Makefile (distribute): Add abi-note.S and abi-tag.h.
57 (start-installed-name): Don't define here.
58 When ELF generate file named by start-installed-name from start.o
60 * csu/abi-note.S: New file.
61 * sysdeps/stub/abi-tag.h: New file.
62 * sysdpes/unix/sysv/linux/abi-tag.h: New file.
63 Patches by Roland McGrath <roland@gnu.ai.mit.edu>.
65 1997-04-30 01:32 Ulrich Drepper <drepper@cygnus.com>
67 * manual/stdio.texi: Use @vtable where possible.
68 Add TeX version of @multitable since texi2dvi cannot handle them
69 correct in the moment.
73 1997-04-29 21:06 Ulrich Drepper <drepper@cygnus.com>
75 * Makeconfig: Don't set cross-compiling based on $(BUILD_CC) != $(CC).
76 * config.make.in: Set cross-compiling from configure result.
77 * configure.in: Emit definition of `cross_compiling'.
78 Patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
80 1997-04-27 21:50 Philip Blundell <pjb27@cam.ac.uk>
82 * sysdeps/unix/sysv/linux/net/route.h (struct in6_rtmsg): Use
83 correct `int' sizes for struct members.
85 1997-04-29 19:14 Ulrich Drepper <drepper@cygnus.com>
87 * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly.
88 * sysdeps/libm-i387/e_pow.S: Likewise.
89 * sysdeps/libm-i387/e_powl.S: Likewise.
91 1997-04-23 10:08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
93 * math/fenv.h: Correct typos.
95 1997-04-28 10:04 Richard Henderson <rth@tamu.edu>
97 * sysdeps/unix/sysv/linux/alpha/clone.S: Save the function argument
98 in t0 rather than a4 to avoid it being clobbered.
100 1997-04-27 23:52 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
102 * manual/summary.awk: Recognize @defmumblex.
104 * manual/signal.texi (Miscellaneous Signals): Use @deftypevrx for
105 second description header.
107 1997-04-27 23:29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
109 * manual/arith.texi (Floating-Point Classes): Don't indent text,
110 makeinfo doesn't like that.
112 1997-04-27 20:52 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
114 * malloc/obstack.h (obstack_specify_allocation_with_arg,
115 obstack_chunkfun, obstack_freefun): Fix casts.
117 1997-04-27 18:21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
119 * manual/xtract-typefun.awk: Allow names with only one character.
121 1997-04-26 14:16 Ulrich Drepper <drepper@cygnus.com>
123 * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Use <netinet/ip_icmp.h>
124 not <netinet/icmp.h>.
125 Reported by Michael Deutschmann <ldeutsch@mail.netshop.net>.
127 1997-04-25 12:31 Ulrich Drepper <drepper@cygnus.com>
129 * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0
130 to command line of compiler.
131 Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
133 * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos.
134 Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
136 * signal/signal.h (_sys_siglist, sys_siglist): Use _NSIG, not NSIG
138 Patch by Michael Widenius <monty@tcx.se>.
140 * time/strptime.c (strptime_internal): Fix %I format specifier
142 Patch by Mark Kettenis <kettenis@phys.uva.nl>.
144 1997-04-24 12:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
146 * stdlib/lcong48_r.c: Include <limits.h>.
147 * stdlib/seed48_r.c: Likewise.
149 * stdio-common/printf_size.c (printf_size): Correct type of
150 `units' and make robust against future changes.
152 1997-04-23 18:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
154 * sysdeps/libm-ieee754/s_cproj.c: Use isfinite instead of finite.
155 * sysdeps/libm-ieee754/s_cprojl.c: Likewise.
156 * sysdeps/libm-ieee754/s_cprojf.c: Likewise.
158 1997-04-23 18:53 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
160 * manual/arith.texi, manual/math.texi: Use @defmumblex for
161 additional description headers.
162 * manual/xtract-typefun.awk: Recognize them.
164 1997-04-22 15:58 Andreas Jaeger <aj@arthur.rhein-neckar.de>
166 * stdio-common/printf_size.c (printf_size): Correct size of array
169 1997-04-21 07:50 H.J. Lu <hjl@gnu.ai.mit.edu>
171 * libgen.h: New file.
173 1997-04-21 16:45 Ulrich Drepper <drepper@cygnus.com>
175 * stdlib/drand48.c: Cleanup namespace.
176 * stdlib/drand48_r.c: Cleanup namespace.
177 * stdlib/erand48.c: Cleanup namespace.
178 * stdlib/erand48_r.c: Cleanup namespace.
179 * stdlib/jrand48.c: Cleanup namespace.
180 * stdlib/jrand48_r.c: Cleanup namespace.
181 * stdlib/lrand48.c: Cleanup namespace.
182 * stdlib/lrand48_r.c: Cleanup namespace.
183 * stdlib/mrand48.c: Cleanup namespace.
184 * stdlib/mrand48_r.c: Cleanup namespace.
185 * stdlib/nrand48.c: Cleanup namespace.
186 * stdlib/nrand48_r.c: Cleanup namespace.
187 * stdlib/lcong48.c: Cleanup namespace.
188 * stdlib/lcong48_r.c: Cleanup namespace.
189 * stdlib/srand48.c: Cleanup namespace.
190 * stdlib/srand48_r.c: Cleanup namespace.
191 * stdlib/seed48.c: Cleanup namespace.
192 * stdlib/seed48_r.c: Cleanup namespace.
194 * stdlib/stdlib.h: Provide new prototypes.
196 1997-04-21 13:25 Ulrich Drepper <drepper@cygnus.com>
198 * manual/arith.texi: Add description for INFINITY, _Imaginary_I,
199 fpclassify & friends, and complex number operations.
200 Update various other math functions for ISO C 9X.
201 * manual/math.texi: Update various entries for ISO C 9X.
202 Add description for complex number functions.
203 Add description of rand48 function family.
204 * manual/string.h: Add description of a64l and l64a.
206 * math/cmathcalls.h: Fix typo.
208 * stdlib/a64l.c: Pretty printing.
210 * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
211 * stdlib/srand48_r.c: Likewise.
212 * stdlib/stdlib.h: Pretty printing.
214 * sysdeps/i386/fpu/__math.h: Fix typo.
216 * sysdeps/libm-ieee754/s_nearbyintf.c: Correctly name function.
217 * sysdeps/libm-ieee754/s_nearbyintl.c: Likewise.
219 1997-04-19 22:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
221 * sysdeps/m68k/fpu/e_pow.c: Rewrite handling of integral exponent.
223 1997-04-18 19:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
225 * sysdeps/m68k/fpu/__math.h: Define optimized versions of
226 isgreater, isgreaterequal, isless, islessequal, islessgreater, and
229 1997-04-20 01:28 Richard Henderson <rth@tamu.edu>
231 * rellns-sh: Handle files in the same directory correctly.
233 1997-04-20 11:22 Ulrich Drepper <drepper@cygnus.com>
235 * csu/initfini.c: Place ALIGN instruction at correct positions.
236 Patch by Richard Henderson <richard@twiddle.rth.home>.
238 1997-04-19 17:12 Ulrich Drepper <drepper@cygnus.com>
240 * Make-dist: Don't automatically ignore .c files if the .S or .s file
243 * csu/Makefile (distribute): Add defs.awk.
245 1997-04-19 15:39 Ulrich Drepper <drepper@cygnus.com>
247 * sysdeps/stub/shmat.c: Update to XPG4.2 interface.
248 * sysdeps/stub/shmdt.c: Likewise.
249 Reported by Thomas Bushnell, n/BSG.
251 1997-04-19 13:22 Ulrich Drepper <drepper@cygnus.com>
253 * manual/stdio.texi: Add description of printf_size and
254 printf_size_info. Partly based on the documentation by Larry McVoy.
256 1997-04-19 02:21 Ulrich Drepper <drepper@cygnus.com>
258 * stdio-common/printf_size.c (printf_size): Correct values for
260 Report by Larry McVoy <lm@neteng.engr.sgi.com>.
261 * stdio-common/tst-printfsz.c: New file.
262 * stdio-common/Makefile (tests): Add tst-printfsz.c.
263 (CFLAGS-tst-printfsz.c): Define to prevent warnings about format
266 1997-04-18 15:48 Ulrich Drepper <drepper@cygnus.com>
268 * login/utmp.h: Add prototype for updwtmp.
269 * login/logwtmp.c: Add new function updwtmp which allows to write
270 a complete record to the wtmp file.
271 Patch by Miquel van Smoorenburg <miquels@cistron.nl>.
273 1997-04-17 17:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
275 * math/Makefile (headers): Add mathbits.h.
277 1997-04-16 21:20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
279 * sysdeps/m68k/fpu/__math.h: Add inlined sincos{,l,f}.
280 * sysdeps/m68k/fpu/s_sincos.c: New file.
281 * sysdeps/m68k/fpu/s_sincosf.c: New file.
282 * sysdeps/m68k/fpu/s_sincosl.c: New file.
284 * sysdeps/libm-ieee754/e_scalb.c: Use internal names of the
286 * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
288 * sysdeps/libm-ieee754/s_ctanh.c: Use isfinite instead of finite.
289 * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
290 * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
291 * sysdeps/libm-ieee754/s_ctan.c: Likewise.
292 * sysdeps/libm-ieee754/s_ctanf.c: Likewise.
293 * sysdeps/libm-ieee754/s_ctanl.c: Likewise. Fix type of `res'.
295 1997-04-18 11:21 Ulrich Drepper <drepper@cygnus.com>
297 * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error.
298 Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
300 1997-04-18 02:18 Ulrich Drepper <drepper@cygnus.com>
302 * csu/initfini.c: Rewrite by Zack Weinberg
303 <zack@rabi.phys.columbia.edu>.
304 * csu/Makefile: Add rules for rewrite.
305 * csu/defs.awk: Helper script to generate derived header.
307 1997-04-17 16:55 Ulrich Drepper <drepper@cygnus.com>
309 * misc/libgen.h: Change prototype for of basename to XPG variant.
310 * stdlib/Makefile (routines): Add xpg_basename.
311 * stdlib/basename.c: New file.
312 * string/string.h: Don't declare basename function if basename
315 1997-04-16 17:33 Miles Bader <miles@gnu.ai.mit.edu>
317 * login/utmp_file.c (proc_utmp_eq): Only use ut_id field if valid.
319 1997-04-15 12:47 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
321 * sysdeps/m68k/fpu/fclrexcpt.c: New file.
322 * sysdeps/m68k/fpu/fenvbits.h: New file.
323 * sysdeps/m68k/fpu/fegetenv.c: New file.
324 * sysdeps/m68k/fpu/fegetround.c: New file.
325 * sysdeps/m68k/fpu/fesetenv.c: New file.
326 * sysdeps/m68k/fpu/fesetround.c: New file.
327 * sysdeps/m68k/fpu/feupdateenv.c: New file.
328 * sysdeps/m68k/fpu/fgetexcptflg.c: New file.
329 * sysdeps/m68k/fpu/fraiseexcpt.c: New file.
330 * sysdeps/m68k/fpu/fsetexcptflg.c: New file.
331 * sysdeps/m68k/fpu/ftestexcept.c: New file.
332 * sysdeps/m68k/fpu/mathbits.h: New file.
334 * sysdeps/m68k/fpu/s_remquo.c: New file.
335 * sysdeps/m68k/fpu/s_remquol.c: New file.
336 * sysdeps/m68k/fpu/s_remquof.c: New file.
338 * sysdeps/libm-ieee754/s_roundl.c: Restore integer bit when
339 mantissa overflows into exponent. Fix priority of >> vs +.
341 * math/libm-test.c (basic_tests): Use the appropriate isnan and
342 isinf function to test the value of the nan function.
344 1997-04-15 13:40 Ulrich Drepper <drepper@cygnus.com>
346 * sysdeps/libm-i387/s_finite.S: Fix typo.
348 * sysdeps/i386/fpu/__math.h: Add optimized versions of isgreater,
349 isgreaterequal, isless, islessequal, islessgreater, and
352 1997-04-15 03:14 Ulrich Drepper <drepper@cygnus.com>
354 * wcsmbs/wcsstr.c: Add weak alias wcswcs for Unix98 compliance.
356 * math/Makefile (libm-calls): Add s_sincos and s_cproj.
357 * math/mathcalls.h: Add prototype for sincos.
358 * sysdeps/i386/fpu/__math.h: Warn about restriction on arguments to
359 inlined sin and cos function.
360 Define functions new in ISO C 9X when __USE_ISOC9X is defined.
361 Add optimized version of finite.
362 Rewrite sincos function to handle too large arguments.
363 * sysdeps/libm-i387/s_cos.S: Better code alignment.
364 * sysdeps/libm-i387/s_cosl.S: Likewise.
365 * sysdeps/libm-i387/s_sin.S: Likewise.
366 * sysdeps/libm-i387/s_sinl.S: Likewise.
367 * sysdeps/libm-i387/s_finite.S: Yet better code.
368 * sysdeps/libm-i387/s_finitef.S: Likewise.
369 * sysdeps/libm-i387/s_sincos.S: New file.
370 * sysdeps/libm-i387/s_sincosf.S: New file.
371 * sysdeps/libm-i387/s_sincosl.S: New file.
372 * sysdeps/libm-ieee754/s_sincos.c: New file.
373 * sysdeps/libm-ieee754/s_sincosf.c: New file.
374 * sysdeps/libm-ieee754/s_sincosl.c: New file.
376 * sysdeps/libm-ieee754/s_ccosh.c: Change to use sincos function.
377 * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
378 * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
379 * sysdeps/libm-ieee754/s_cexp.c: Likewise.
380 * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
381 * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
382 * sysdeps/libm-ieee754/s_csinh.c: Likewise.
383 * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
384 * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
385 * sysdeps/libm-ieee754/s_ctan.c: Likewise.
386 * sysdeps/libm-ieee754/s_ctanf.c: Likewise.
387 * sysdeps/libm-ieee754/s_ctanl.c: Likewise.
388 * sysdeps/libm-ieee754/s_ctanh.c: Likewise.
389 * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
390 * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
392 * sysdeps/libm-ieee754/s_cosl.c: Correct check for range.
393 * sysdeps/libm-ieee754/s_sinl.c: Likewise.
395 * sysdeps/libm-ieee754/s_roundtol.c: Fix typos.
396 * sysdeps/libm-ieee754/s_roundtoll.c: Likewise.
398 * nis/Makefile (services): Mention nisplus before compat.
399 * nis/nis_call.c (__do_niscall): Change type of variable server_len
401 * nis/nss_compat/compat-grp.c (getgrent_next_file_plusgroup): Add
402 cast to prevent warning.
403 * nis/nss_compat/compat-pwd.c (getpwent_next_file_plususer): Likewise.
404 * nis/nss_compat/compat-spwd.c (getspent_next_file_plususer): Likewise.
405 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): Change
406 type of variable `i' to prevent warning.
407 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent):
409 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent):
411 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): Likewise.
412 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent):
415 * sysdeps/generic/Dist: Remove old math implementation files.
416 * sysdeps/generic/mathimpl.h: Removed.
417 * sysdeps/generic/trig.h: Removed.
418 * sysdeps/generic/sincos.c: Removed.
419 * sysdeps/generic/asincos.c: Removed.
420 * sysdeps/generic/exp__E.c: Removed.
421 * sysdeps/generic/log__L.c: Removed.
423 1997-04-13 17:18 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
425 * malloc/malloc.c (fREe): Small optimization. Before returning,
426 add fast check whether the heap containing top can go away.
428 1997-04-11 16:46 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
430 * malloc/malloc.c (mALLOc, rEALLOc, cALLOc, mEMALIGn): When
431 failing to allocate a new chunk, also try the main_arena. It may
432 be that we are only running out of mmapped regions, and other
433 arenas cannot be enlarged sufficiently.
434 (new_heap, malloc_extend_top): Handle top_pad more consistently,
435 i.e. only in new_heap().
437 1997-04-13 21:10 Philip Blundell <pjb27@cl.cam.ac.uk>
439 * sysdeps/posix/Makefile: Don't try to build and run mk-stdiolim
442 * configure.in: Recognise "...linuxaout" OS names and turn off ELF.
444 * configure.in: Add ARM support.
445 * sysdeps/arm/Implies: New file.
446 * sysdeps/arm/__longjmp.S: New file.
447 * sysdeps/arm/bsd-_setjmp: New file.
448 * sysdeps/arm/bsd-setjmp: New file.
449 * sysdeps/arm/bytesex.h: New file.
450 * sysdeps/arm/fpu_control.h: New file.
451 * sysdeps/arm/jmp_buf.h: New file.
452 * sysdeps/arm/setjmp.h: New file.
453 * sysdeps/arm/sysdep.h: New file.
454 * sysdeps/unix/arm/config.h: New file.
456 1997-04-14 04:03 Ulrich Drepper <drepper@cygnus.com>
458 * sysdeps/libm-ieee754/s_cproj.c: New file.
459 * sysdeps/libm-ieee754/s_cprojf.c: New file.
460 * sysdeps/libm-ieee754/s_cprojl.c: New file.
462 1997-04-13 01:06 Ulrich Drepper <drepper@cygnus.com>
464 * isomac.c: Improve messages.
466 * math/Makefile (libm-calls): Add s_nearbyint, s_catan, s_casin,
467 s_ccos, s_csin, s_ctan, s_ctanh, s_cacos, s_casinh, s_cacosh,
468 s_catanh, s_csqrt, and s_cpow.
469 * math/libm-test.c: New functions ccos_test, cacos_test, cacosh_test,
470 casin_test, casinh_test, catan_test, catanh_test, ctanh_test,
471 csqrt_test, cpow_test, rint_test.
472 * math/math.h: Include new header mathbits.h which defines some
473 more (system dependent) types and some macros.
474 (isfinite): Use __finite instead of fpclassify.
475 * sysdeps/generic/mathbits.h: New file.
476 * sysdeps/i386/fpu/mathbits.h: New file.
477 * sysdeps/i386/huge_val.h: Don't define INFINITY.
478 * sysdeps/ieee754/huge_val.h: Likewise.
479 * sysdeps/m68k/huge_val.h: Likewise.
481 * sysdeps/i386/fpu/fenvbits.h: Define FE_NOMASK_ENV.
482 * sysdeps/i386/fpu/fesetenv.c: Handle FE_NOMASK_ENV.
484 * math/complex.h (_Imaginary_I): Define correctly. I misread the
487 * sysdeps/libm-i387/s_finite.S: Optimized rewrite.
488 * sysdeps/libm-i387/s_finitef.S: Likewise.
489 * sysdeps/libm-i387/s_finitel.S: Likewise.
490 Provided by Joe Keane <jgk@jgk.org>.
492 * sysdeps/libm-i387/s_nearbyint.S: New file.
493 * sysdeps/libm-i387/s_nearbyintf.S: New file.
494 * sysdeps/libm-i387/s_nearbyintl.S: New file.
495 * sysdeps/libm-ieee754/s_nearbyint.S: New file.
496 * sysdeps/libm-ieee754/s_nearbyintf.S: New file.
497 * sysdeps/libm-ieee754/s_nearbyintl.S: New file.
499 * sysdeps/libm-ieee754/s_cacos.c: New file.
500 * sysdeps/libm-ieee754/s_cacosf.c: New file.
501 * sysdeps/libm-ieee754/s_cacosl.c: New file.
502 * sysdeps/libm-ieee754/s_cacosh.c: New file.
503 * sysdeps/libm-ieee754/s_cacoshf.c: New file.
504 * sysdeps/libm-ieee754/s_cacoshl.c: New file.
505 * sysdeps/libm-ieee754/s_casin.c: New file.
506 * sysdeps/libm-ieee754/s_casinf.c: New file.
507 * sysdeps/libm-ieee754/s_casinl.c: New file.
508 * sysdeps/libm-ieee754/s_casinh.c: New file.
509 * sysdeps/libm-ieee754/s_casinhf.c: New file.
510 * sysdeps/libm-ieee754/s_casinhl.c: New file.
511 * sysdeps/libm-ieee754/s_catan.c: New file.
512 * sysdeps/libm-ieee754/s_catanf.c: New file.
513 * sysdeps/libm-ieee754/s_catanl.c: New file.
514 * sysdeps/libm-ieee754/s_catanh.c: New file.
515 * sysdeps/libm-ieee754/s_catanhf.c: New file.
516 * sysdeps/libm-ieee754/s_catanhl.c: New file.
517 * sysdeps/libm-ieee754/s_ccos.c: New file.
518 * sysdeps/libm-ieee754/s_ccosf.c: New file.
519 * sysdeps/libm-ieee754/s_ccosl.c: New file.
520 * sysdeps/libm-ieee754/s_cpow.c: New file.
521 * sysdeps/libm-ieee754/s_cpowf.c: New file.
522 * sysdeps/libm-ieee754/s_cpowl.c: New file.
523 * sysdeps/libm-ieee754/s_csin.c: New file.
524 * sysdeps/libm-ieee754/s_csinf.c: New file.
525 * sysdeps/libm-ieee754/s_csinl.c: New file.
526 * sysdeps/libm-ieee754/s_csqrt.c: New file.
527 * sysdeps/libm-ieee754/s_csqrtf.c: New file.
528 * sysdeps/libm-ieee754/s_csqrtl.c: New file.
529 * sysdeps/libm-ieee754/s_ctan.c: New file.
530 * sysdeps/libm-ieee754/s_ctanf.c: New file.
531 * sysdeps/libm-ieee754/s_ctanl.c: New file.
532 * sysdeps/libm-ieee754/s_ctanh.c: New file.
533 * sysdeps/libm-ieee754/s_ctanhf.c: New file.
534 * sysdeps/libm-ieee754/s_ctanhl.c: New file.
536 * time/strftime.c (memset_space): Increment pointer.
537 * time/strptime.c: Interpret year number 00-59 as 2000--2059.
538 Patches by Karl Heuer <kwzh@gnu.ai.mit.edu>.
540 1997-04-11 11:57 Miguel de Icaza <miguel@nuclecu.unam.mx>
542 * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove fork,
545 1997-04-05 00:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
547 * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although
548 probably still wrong.
549 * sysdeps/libm-ieee754/s_remquof.c: Likewise.
550 * sysdeps/libm-ieee754/s_remquol.c: Likewise.
552 * math/libm-test.c (remquo_test): Corrected.
554 1997-04-11 00:01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
556 * sysdeps/m68k/fpu/__math.h (__rinttol, rinttol): New inline.
557 * sysdeps/m68k/fpu/s_rinttol.c: New file.
558 * sysdeps/m68k/fpu/s_rinttoll.c: New file.
560 * math/libm-test.c (remquo_test): Use check_long to test the
562 (cbrt_test): Add epsilons for long double.
564 1997-04-10 18:48 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
566 * locale/localeinfo.h: Update declaration of _nl_current.
568 1997-04-11 11:27 Ulrich Drepper <drepper@cygnus.com>
570 * rellnsh-sh: Use explicitely /bin/pwd to find the external program.
572 * math/Makefile (headers): Add fenv.h and fenvbits.h.
573 (libm-support): Add s_rountol, s_roundtoll, fclrexcpt, fgetexcptflg,
574 fraiseexcpt, fsetexcptflg, ftestexcept, fegetround, fesetround,
575 fegetenv, feholdexcpt, fesetenv, feupdateenv.
576 (libm-calls): Add s_round.
577 * math/fenv.h: New file.
578 * math/libm-test.c: Correct tests for s_rinttol and s_rinttoll.
579 Add roundtol_check and roundtoll_check.
580 * math/math.h: Pretty printing.
581 * sysdeps/i386/fpu/fclrexcpt.c: New file.
582 * sysdeps/i386/fpu/fegetenv.c: New file.
583 * sysdeps/i386/fpu/fegetround.c: New file.
584 * sysdeps/i386/fpu/feholdexcpt.c: New file.
585 * sysdeps/i386/fpu/fenvbits.h: New file.
586 * sysdeps/i386/fpu/fesetenv.c: New file.
587 * sysdeps/i386/fpu/fesetround.c: New file.
588 * sysdeps/i386/fpu/fgetexcptflg.c: New file.
589 * sysdeps/i386/fpu/fraiseexcpt.c: New file.
590 * sysdeps/i386/fpu/fsetexcptflg.c: New file.
591 * sysdeps/i386/fpu/ftestexcept.c: New file.
592 * sysdeps/stub/fclrexcpt.c: New file.
593 * sysdeps/stub/fegetenv.c: New file.
594 * sysdeps/stub/fegetround.c: New file.
595 * sysdeps/stub/feholdexcpt.c: New file.
596 * sysdeps/stub/fenvbits.h: New file.
597 * sysdeps/stub/fesetenv.c: New file.
598 * sysdeps/stub/fesetround.c: New file.
599 * sysdeps/stub/fgetexcptflg.c: New file.
600 * sysdeps/stub/fraiseexcpt.c: New file.
601 * sysdeps/stub/fsetexcptflg.c: New file.
602 * sysdeps/stub/ftestexcept.c: New file.
604 * sysdeps/libm-i387/s_trunc.S: New file.
605 * sysdeps/libm-i387/s_truncf.S: New file.
606 * sysdeps/libm-i387/s_truncl.S: New file.
608 * sysdeps/libm-ieee754/s_round.c: New file.
609 * sysdeps/libm-ieee754/s_roundf.c: New file.
610 * sysdeps/libm-ieee754/s_roundl.c: New file.
612 * sysdeps/libm-ieee754/s_ccosh.c: Rewritten to use fpclassify.
613 * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
614 * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
615 * sysdeps/libm-ieee754/s_cexp.c: Likewise.
616 * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
617 * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
618 * sysdeps/libm-ieee754/s_clog.c: Likewise.
619 * sysdeps/libm-ieee754/s_clogf.c: Likewise.
620 * sysdeps/libm-ieee754/s_clogl.c: Likewise.
621 * sysdeps/libm-ieee754/s_csinh.c. Likewise.
622 * sysdeps/libm-ieee754/s_csinhf.c. Likewise.
623 * sysdeps/libm-ieee754/s_csinhl.c. Likewise.
625 * sysdeps/libm-ieee754/s_ceill.c: Corrected. The mantissa has only
627 * sysdeps/libm-ieee754/s_floorl.c: Likewise.
631 * string/swab.c: Correctly handle array of odd length.
633 * sysdeps/generic/memmem.c: Update copyright.
634 * manual/string.texi: Correct prototype in memmem documentation.
636 1997-04-10 20:22 Ulrich Drepper <drepper@cygnus.com>
638 * hurd/Makefile (sunrpc-headers): Add clnt.h.
639 Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
641 1997-04-09 14:21 Miguel de Icaza <miguel@nuclecu.unam.mx>
643 * sysdeps/sparc/dl-machine.h: Bug fix: I was not loading
644 the proper value from the GOT. Pass argument block to
647 * sysdeps/sparc/elf/start.c: Call atexit (_fini) after calling
650 * sysdeps/sparc/fpu_control.h: Fix the FPU constants. I got them
651 wrong the first time.
653 * sysdeps/sparc/setjmp.S: PIC code was clobbering a callee saved
656 * sysdeps/sparc/udiv_qrnnd.S: Add type @function.
658 * sysdeps/unix/sysv/linux/sparc/init-first.h: Linux/SPARC specific
661 * sysdeps/unix/sysv/linux/sparc/signum.h: Remove definition for
662 NSIG and duplicated SIGIOT.
664 1997-04-05 00:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
666 * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although
667 probably still wrong.
668 * sysdeps/libm-ieee754/s_remquof.c: Likewise.
669 * sysdeps/libm-ieee754/s_remquol.c: Likewise.
671 * math/libm-test.c (remquo_test): Corrected.
673 1997-04-03 18:35 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
675 * Makefile (parent-tests): New target to run the tests to that
676 they are executed even if some subdir tests have failed.
677 (tests): Depend on parent-tests instead of running the tests
680 1997-04-03 12:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
682 Clean up name space pollution in libnss_*.so:
683 * nis/nss_compat/compat-pwd.c, resolv/mapv4v6addr.h,
684 resolv/nss_dns/dns-host.c: Replace bzero by memset, bcopy by
685 memcpy and bcmp by memcmp to clean up namespace.
686 * nss/nss_db/db-XXX.c (internal_setent): Use __dbopen instead of
688 * nss/nss_db/db-alias.c (internal_setent): Likewise.
689 * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Likewise.
690 * db/db/db.c [_LIBC]: Define __dbopen instead of dbopen and make
691 the latter a weak alias.
692 * db/db.h: Declare __dbopen.
693 * db/btree/btree.h [_LIBC]: Prepend __ to all mpool functions.
694 * db/mpool/mpool.c [_LIBC]: Define all external functions with __
695 prefix and make the old names weak aliases.
696 * db/mpool.h: Declare the new internal names.
698 1997-04-04 23:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
700 * stdio-common/vfscanf.c: Fix scanning of hexadecimal fp number.
701 * stdio-common/tstscanf.c: Add test case for this.
703 1997-04-04 17:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
705 * math/libm-test.c: Fix more typos.
707 1997-04-03 17:15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
709 * math/libm-test.c (csinh_test): Fix test names.
710 (ccosh_test): Likewise.
712 * sysdeps/libm-ieee754/s_csinh.c: Use sinh function instead of
713 computing it directly.
714 * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
715 * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
717 * sysdeps/libm-ieee754/s_ccosh.c: Use cosh function instead of
718 computing it directly.
719 * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
720 * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
722 * sysdeps/libm-ieee754/s_cexp.c: Use internal exp function instead
724 * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
725 * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
726 * sysdeps/m68k/fpu/s_cexp.c: Likewise. Correct handling of
727 special values. Avoid use of fsincos if all that is needed is the
730 * sysdeps/m68k/fpu/s_ccosh.c: New file.
731 * sysdeps/m68k/fpu/s_ccoshf.c: New file.
732 * sysdeps/m68k/fpu/s_ccoshl.c: New file.
733 * sysdeps/m68k/fpu/s_csinh.c: New file.
734 * sysdeps/m68k/fpu/s_csinhl.c: New file.
735 * sysdeps/m68k/fpu/s_csinhf.c: New file.
737 1997-04-03 10:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
739 * manual/Makefile (dir-add.texi): Simplify.
741 1997-04-09 01:24 Ulrich Drepper <drepper@cygnus.com>
743 * rellns-sh: Rewrite to work also in presence of symlinks.
745 * arpg/argp-fmtstream.c: Add casts to prevent warnings.
746 * argp/argp-fmtstream.h: Likewise.
747 * argp/argp-help.c: Likewise.
749 * elf/dl-minimal.c: Add definition of calloc.
750 * elf/version.c: Add casts to prevent warnings.
751 (_dl_check_map_versions): Use calloc instead of malloc+memset.
753 * locale/setlocale.c (_nl_current): Add element with index LC_ALL.
754 Reported by Greg McGary <gkm@eng.ascend.com>.
756 * manual/libc.texinfo: Update malloc documentation for new malloc.
757 * manual/memory.texi: Likewise.
758 Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
760 * math/libm-test.c (check_long): New function.
761 (check_longlong): New function.
762 (rinttol_test): New function.
763 (rinttoll_test): New function.
765 * nis/nss_compat/compat-grp.c (in_blacklist): Improve a bit.
766 * nis/nss_compat/compat-pwd.c: Likewise.
767 * nis/nss_compat/compat-spwd.c: Likewise.
769 * stdlib/erand48_r.c (erand48_r): Build double value using
770 ieee754_double union and use random bits in different order to
771 increase effect of seed.
772 Reported by David Mosberger-Tang <davidm@AZStarNet.com>.
774 * sunrpc/svc_auth.c: Moved to ...
775 * sysdeps/generic/svc_auth.c: ...here.
777 * time/time.h: Pretty print.
779 1997-04-08 07:19 H.J. Lu <hjl@gnu.ai.mit.edu>
781 * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on
784 1997-04-09 01:19 Ulrich Drepper <drepper@cygnus.com>
786 * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration
788 Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
790 1997-04-07 15:34 Ulrich Drepper <drepper@cygnus.com>
792 * stdio-common/Makefile (tests): Add tst-ferror.
793 * stdio-common/tst-ferror.c: New file. Some tests for error
794 indicator of streams.
795 * stdio-common/tst-ferror.input: New file.
797 * isomac.c: Let tests not fail because the compiler defines itself
798 symbols which violate the name space rules. gcc defines symbols
799 for the architecture which are not protected by an underscore
802 * math/Makefile (libm-support): Add s_rinttol and s_rinttoll.
803 (libm-calls): Add s_clog.
804 * sysdeps/libm-ieee754/s_clog.c: New file. Implementation of
805 logarithm of complex value.
806 * sysdeps/libm-ieee754/s_clogf.c: New file.
807 * sysdeps/libm-ieee754/s_clogl.c: New file.
808 * math/libm-test.c (clog_test): Compile this function. Fix a few
810 (main): Call clog_test.
812 * sysdeps/libm-ieee754/s_rinttol.c: New file. Round long double
814 * sysdeps/libm-i387/s_rinttol.S: New file.
815 * sysdeps/libm-ieee754/s_rinttoll.c: new file. Round long double
816 value to long long int.
817 * sysdeps/libm-i387/s_rinttoll.S: New file.
819 * sysdeps/libm-ieee754/s_rintl.c: Many corrections. The previous
820 version was full of errors.
822 * math/math.h (rinttol): Argument is of type `long double' not
824 (rinttoll): Likewise.
825 (roundtol): Likewise.
826 (roundtoll): Likewise.
828 1997-04-06 11:32 H.J. Lu <hjl@gnu.ai.mit.edu>
830 * posix/getopt.c (_getopt_initialize): Preserve optind.
831 (_getopt_internal): Set optind to 1 if optind == 0 before
832 calling _getopt_initialize ().
834 1997-04-05 16:45 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
836 * nis/rpcsvc/nislib.h: Change const nis_name to new type
838 * nis/nis_intern.c: Likewise.
839 * nis/nis_intern.h: Likewise.
840 * nis/nis_server.c: Likewise.
841 * nis/nis_subr.c: Likewise.
842 * nis/nis_table.c: Likewise.
843 * nis/nis_names.c: Likewise. Fill out ns_request structure in
846 * nis/nss_compat/compat-pwd.c: Use reentrant netgroup functions.
847 * nis/nss_compat/compat-spwd.c: Likewise.
849 1997-03-27 07:37 H.J. Lu <hjl@gnu.ai.mit.edu>
851 * libio/fileops.c (_IO_file_overflow): Set error when try to write
852 on a read-only stream.
854 * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
855 (ut_time): Define it only if _NO_UT_TIME is not defined.
857 1997-04-06 00:42 Ulrich Drepper <drepper@cygnus.com>
859 * misc/tst-tsearch.c: Include <string.h>. Define _GNU_SOURCE only
860 if not already defined.
862 1997-04-05 16:14 Ulrich Drepper <drepper@cygnus.com>
864 * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to
865 get definition of sa_family_t for <linux/atalk.h>.
866 Reported by a sun <asun@zoology.washington.edu>.
868 * malloc/malloc.c (cALLOc): Little optimization.
870 1997-04-05 03:11 Ulrich Drepper <drepper@cygnus.com>
872 * inet/arpa/inet.h: Rewrite. Don't use the ugly BSD way to write
873 headers but instead add comments and parameter names.
874 Don't use BSD specific types in prototypes.
876 * manual/nss.texi: Correct a few typos and errors.
878 * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite based on better
880 * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
881 * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
883 * sysdeps/libm-i387/s_cbrt.S: New file. Optimized assembler version
885 * sysdeps/libm-i387/s_cbrtf.S: New file.
886 * sysdeps/libm-i387/s_cbrtl.S: New file.
888 * sysdeps/libm-i387/s_frexp.S: Optimize even more.
889 * sysdeps/libm-i387/s_frexpf.S: Likewise.
890 * sysdeps/libm-i387/s_frexpl.S: Likewise.
892 1997-04-04 18:55 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
894 * nis/Makefile: Remove CFLAGS-*, add publickey to databases.
896 * nis/nis_call.c: Add MASTER_ONLY and HARD_LOOKUP flags, compile
897 DES part only with secure RPC add-on.
899 * nis/nis_names.c (nis_modify): Fix rpc function number.
901 * nis/nis_server.c: Fix typos.
903 * nis/nss_compat/compat-grp.c: Add NIS+ support.
904 * nis/nss_compat/compat-pwd.c: Likewise.
905 * nis/nss_compat/compat-spwd.c: Likewise.
907 * nis/nss_nis/nis-grp.c: Only a return value > 0 from parse_line
910 * nis/nss_nis/nis-publickey.c: Changes for compiling with/without
912 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
913 * nis/ypclnt.c: Likewise.
914 * nis/nis_intern.h: Likewise.
916 * nis/nss_nisplus/nisplus-alias.c: Correct parser return code.
917 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
918 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
919 * nis/nss_nisplus/nisplus-network.c: Likewise.
920 * nis/nss_nisplus/nisplus-proto.c: Likewise.
921 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
922 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
923 * nis/nss_nisplus/nisplus-service.c: Likewise.
924 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
926 * nis/nss_nisplus/nisplus-grp.c: Rewrite parser for fixing errors
928 * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
930 1997-04-04 17:03 Ulrich Drepper <drepper@cygnus.com>
932 * math/libm-test.c (cbrt_test): Add tests for +-inf and NaN
935 1997-04-03 19:24 H.J. Lu <hjl@gnu.ai.mit.edu>
937 * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a
940 1997-04-03 16:10 Andreas Jaeger <aj@arthur.pfalz.de>
942 * sysdeps/libm-ieee754/s_nanf.c:
943 * sysdeps/libm-ieee754/s_nan.c:
944 * sysdeps/libm-ieee754/s_nanl.c: Include <stdio.h> for
945 declaration of sprintf.
947 1997-04-03 13:37 Ulrich Drepper <drepper@cygnus.com>
949 * sysdeps/libm-ieee754/s_cexp.c: Fix type: string_alias ->
951 Reported by sun <asun@zoology.washington.edu>.
953 * rpc/auth.h: Removed.
954 * rpc/auth_des.h: Removed.
955 * sunrpc/rpc/auth.h: Moved to ...
956 * sysdeps/generic/rpc/auth.h: ...here.
957 * sunrpc/rpc/auth_des.h: Moved to ...
958 * sysdeps/generic/rpc/auth_des.h: ...here.
960 1997-04-03 04:28 Ulrich Drepper <drepper@cygnus.com>
962 * sysdeps/libm-i387/s_frexp.S: New file. ix87 optimized version.
963 * sysdeps/libm-i387/s_frexpf.S: New file.
964 * sysdeps/libm-i387/s_frexpl.S: New file.
966 1997-04-01 10:11 H.J. Lu <hjl@gnu.ai.mit.edu>
968 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
969 (sysdep_headers): Remove netinet/icmp.h.
971 1997-04-02 16:55 Ulrich Drepper <drepper@cygnus.com>
973 * manual/socket.texi: Document behaviour of inet_ntoa in multi-
975 * manual/stdio.texi: Change wording for snprintf description a bit.
976 Correct typo in example.
977 * manual/lang.texi: Add documentation of __va_copy.
979 * Makefile: Add rule to easily generate dir-add.texi file.
980 * manual/Makefile: Likewise.
982 * manual/arith.texi: Add description of lldiv_t, lldiv, and atoll.
983 Change description of strtoll and strtoull to make clear these
984 are the preferred names.
985 Describe `inf', `infinity', `nan', `nan(...)' inputs for strtod
987 Change references to HUGE_VALf and HUGE_VALl to HUGE_VALF and
990 1997-04-02 16:28 Ulrich Drepper <drepper@cygnus.com>
992 * grp/fgetgrent.c: Don't use fixed buffer length. Allow dynamic
993 adjustment if the underlying function say it is too small.
994 * pwd/fgetpwent.c: Likewise.
995 * shadow/fgetspent.c: Likewise.
996 * shadow/sgetspent.c: Likewise.
998 * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1
999 this means there was not enough room for the gr_mem array.
1001 * nss/nss_files/files-XXX.c: Leave loop and return error if
1002 `parse_result' returns -1.
1004 * nss/nss_files/files-parse.c (parse_line): Return -1 if parsing
1005 of trailing list fails because of low memory.
1006 (parse_list): Rewrite. The logic was completly incorrect since
1007 the checks for overflowing the array were not executed when
1010 * shadow/sgetspent_r.c: Only a return value > 0 from parse_line
1013 * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory.
1014 * nss/getXXent.c: Likewise.
1016 * stdlib/strtod.c (SET_MANTISSA): Make sure that at least one bit
1018 * stdlib/strtof.c: Likewise.
1019 * stdlib/strtold.c: Likewise.
1020 * wcsmbs/wcstof.c: Likewise.
1021 * wcsmbs/wcstold.c: Likewise.
1023 * sysdeps/libm-ieee754/s_nan.c: Use strtod if parameter is not empty
1025 * sysdeps/libm-ieee754/s_nanf.c: Likewise.
1026 * sysdeps/libm-ieee754/s_nanl.c: Likewise.
1028 1997-04-02 13:56 Ulrich Drepper <drepper@cygnus.com>
1030 * manual/errno.texi: Add description of strerror_r.
1032 1997-04-01 19:07 H.J. Lu (hjl@gnu.ai.mit.edu)
1034 * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE.
1036 1997-04-02 13:55 Ulrich Drepper <drepper@cygnus.com>
1038 * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi.
1040 1997-03-30 10:59 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1042 * sysdeps/m68k/fpu/s_cexp.c: New file.
1043 * sysdeps/m68k/fpu/s_cexpf.c: New file.
1044 * sysdeps/m68k/fpu/s_cexpl.c: New file.
1045 * sysdeps/m68k/fpu/s_nearbyint.c: New file.
1046 * sysdeps/m68k/fpu/s_nearbyintf.c: New file.
1047 * sysdeps/m68k/fpu/s_nearbyintl.c: New file.
1048 * sysdeps/m68k/fpu/s_trunc.c: New file.
1049 * sysdeps/m68k/fpu/s_truncf.c: New file.
1050 * sysdeps/m68k/fpu/s_truncl.c: New file.
1052 * sysdeps/m68k/fpu/s_modf.c: Rewritten.
1053 * sysdeps/m68k/fpu/s_modff.c: Adapted.
1054 * sysdeps/m68k/fpu/s_modfl.c: Likewise.
1056 * sysdeps/m68k/fpu/e_atan2.c: Use __signbit inline.
1057 * sysdeps/m68k/fpu/e_pow.c: Likewise. Write 0.0/0.0 for NaN. Fix
1058 typo in test for `y = 0.5'.
1060 * sysdeps/m68k/fpu/__math.h: Define __trunc, __signbit,
1061 __nearbyint. Remove __modf.
1063 * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c) [$(subdir)=math]:
1064 Define for gcc bug workaround.
1066 * math/libm-test.c (log2_test): Add epsilon for long double to
1067 "log2 (e)" and "log2 (16)".
1068 (modf_test): Fix test name.
1069 (sqrt_test): Add missing FUNC.
1071 1997-03-29 16:24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1073 * sunrpc/Makefile (CFLAGS-xrquota.c): Fix typo in variable name.
1075 1997-03-28 20:56 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1077 * stdlib/stdlib.h: Declare __clearenv.
1079 1997-03-28 18:03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1081 * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of
1084 1997-03-28 17:55 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1086 * configure.in: Call AC_CANONICAL_BUILD before referencing
1087 $build. Fix test for BUILD_CC.
1089 1997-04-02 01:29 Philip Blundell <pjb27@cam.ac.uk>
1091 * sysdeps/libm-ieee754/s_log2f.c (__log2f): Fix typo.
1093 1997-03-31 18:53 Philip Blundell <pjb27@cam.ac.uk>
1095 * sysdeps/unix/sysv/linux/net/route.h: Add new IPv6 definitions.
1097 1997-04-01 14:08 Ulrich Drepper <drepper@cygnus.com>
1099 * sysdeps/i386/memset.c: Fix typo.
1100 * sysdeps/stub/fchmod.c: Fix typo.
1101 * sysdeps/stub/fchdir.c: Fix typo.
1102 Reported by Fila Kolodny <fila@ibi.com>.
1104 1997-04-01 00:37 Ulrich Drepper <drepper@cygnus.com>
1106 * math/Makefile: Prevent inlining for test-{float,double,longdouble}.
1107 * math/libm-test.c (initialize): Make strings unique and force
1110 * posix/regex.c: Debug debugging code.
1112 * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct
1113 syntax for local label.
1114 * sysdeps/i386/add_n.S: Use correct local label syntax for the
1116 * sysdeps/i386/addmul_1.S: Likewise.
1117 * sysdeps/i386/lshift.S: Likewise.
1118 * sysdeps/i386/memchr.S: Likewise.
1119 * sysdeps/i386/memcmp.S: Likewise.
1120 * sysdeps/i386/mul_1.S: Likewise.
1121 * sysdeps/i386/rshift.S: Likewise.
1122 * sysdeps/i386/stpcpy.S: Likewise.
1123 * sysdeps/i386/stpncpy.S: Likewise.
1124 * sysdeps/i386/strchr.S: Likewise.
1125 * sysdeps/i386/strcspn.S: Likewise.
1126 * sysdeps/i386/strlen.S: Likewise.
1127 * sysdeps/i386/strpbrk.S: Likewise.
1128 * sysdeps/i386/strrchr.S: Likewise.
1129 * sysdeps/i386/strspn.S: Likewise.
1130 * sysdeps/i386/strtok.S: Likewise.
1131 * sysdeps/i386/sub_n.S: Likewise.
1132 * sysdeps/i386/submul_1.S: Likewise.
1133 * sysdeps/i386/i486/strcat.S: Likewise.
1134 * sysdeps/i386/i486/strlen.S: Likewise.
1135 * sysdeps/i386/i586/add_n.S: Likewise.
1136 * sysdeps/i386/i586/addmul_1.S: Likewise.
1137 * sysdeps/i386/i586/lshift.S: Likewise.
1138 * sysdeps/i386/i586/memset.S: Likewise.
1139 * sysdeps/i386/i586/mul_1.S: Likewise.
1140 * sysdeps/i386/i586/rshift.S: Likewise.
1141 * sysdeps/i386/i586/strchr.S: Likewise.
1142 * sysdeps/i386/i586/strlen.S: Likewise.
1143 * sysdeps/i386/i586/sub_n.S: Likewise.
1144 * sysdeps/i386/i586/submul_1.S: Likewise.
1146 * sysdeps/stub/s_log2l.c: Correct function name.
1148 * time/africa: Updated from ADO tzdata1997e.
1149 * time/antarctica: Likewise.
1150 * time/asia: Likewise.
1151 * time/australasia: Likewise.
1152 * time/europe: Likewise.
1153 * time/northamerica: Likewise.
1154 * time/southamerica: Likewise.
1155 * time/private.h: Updated from ADO tzcode1997d.
1156 * time/scheck.c: Likewise.
1158 1997-03-31 12:42 Ulrich Drepper <drepper@cygnus.com>
1160 * sysdeps/unix/sysv/linux/powerpc/Dist: Add kernel_*.h files.
1162 1997-03-23 01:41 Geoff Keating <geoffk@ozemail.com.au>
1164 * sysdeps/powerpc/strlen.s: Rewrote for more speed.
1165 * string/tst-strlen.c: Also test various string alignments.
1167 1997-03-19 06:11 Geoff Keating <geoffk@ozemail.com.au>
1169 * sysdeps/unix/sysv/linux/powerpc/statbuf.h: Removed.
1170 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h: Added.
1172 * sysdeps/powerpc/dl-machine.h (ELF_PREFERRED_ADDRESS): Assume
1173 program base address is 0x01800000 if we can't otherwise tell what
1175 (elf_machine_rela): Replace `assertion failed' with real error
1178 * sysdeps/powerpc/dl-machine.h: More comments, more GNU indenting.
1179 Put in extra parentheses to make explicit the relative precedence
1182 * sysdeps/powerpc/bsd-setjmp.S: Add `__setjmp' symbol so the tests
1184 * sysdeps/powerpc/clone.S: Rewrite. Probably still doesn't work.
1186 * sysdeps/unix/sysv/linux/powerpc/sys/sysdep.h: Use .section "text"
1189 1997-03-31 02:28 Ulrich Drepper <drepper@cygnus.com>
1191 * misc/tst-tsearch.c: Don't write to stderr, write to stdout
1194 * inet/inet_ntoa.c (inet_ntoa): Complete rewrite. Now uses
1195 thread-specific memory in multi-threaded programs.
1197 * sysdeps/stub/s_exp2.c: New file. Stub version for exp2 function.
1198 * sysdeps/stub/s_exp2f.c: New file.
1199 * sysdeps/stub/s_exp2l.c: New file.
1200 Reported by a sun <asun@zoology.washington.edu>.
1202 * sysdeps/unix/sysv/linux/netatalk/atalk.h: Rename to...
1203 * sysdeps/unix/sysv/linux/netatalk/at.h: ...this.
1204 Suggested by a sun <asun@zoology.washington.edu>.
1206 1997-03-30 14:53 Ulrich Drepper <drepper@cygnus.com>
1208 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: Add former contents
1209 of <netinet/icmp.h>.
1210 Patch by a sun <asun@zoology.washington.edu>.
1212 1997-03-30 03:42 Ulrich Drepper <drepper@cygnus.com>
1214 * math/libm-test.c: Add definition of ctanh_test, clog_test, and
1217 1997-03-29 17:39 Ulrich Drepper <drepper@cygnus.com>
1219 * math/Makefile (routines): Add carg, s_ccosh and s_csinh.
1221 * math/complex.h: Add C++ protection.
1223 * math/libm-test.c (cexp_test): Correct a few bugs.
1224 (csinh_test): New function.
1225 (ccosh_test): New function.
1226 (cacos_test): New function.
1227 (cacosh_test): New function.
1228 (casinh_test): New function.
1229 (catanh_test): New function.
1230 (main): Add calls to csinh_test and ccosh_test.
1232 * misc/Makefile (tests): Add tst-tsearch.
1233 Add rule to link tst-tsearch against libm.
1234 * misc/tsearch.c: Rewritten to use Red-Black-Tree algorithm by
1235 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
1236 * misc/tst-tsearch.c: New file.
1238 * stdio-common/bug5.c: Clear LD_LIBRARY_PATH environment variable
1239 before using system.
1240 * stdio-common/test-popen.c: Clear LD_LIBRARY_PATH environment variable
1243 * sysdeps/libm-ieee754/s_cexp.c: Correct handling of special cases.
1244 * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
1245 * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
1247 * sysdeps/libm-i387/s_cexp.S: New file. ix87 specific implementation
1248 of complex exponential function.
1249 * sysdeps/libm-i387/s_cexpf.S: New file.
1250 * sysdeps/libm-i387/s_cexpl.S: New file.
1252 * sysdeps/libm-ieee754/s_ccosh.c: New file. Implementation of
1253 complex cosh function.
1254 * sysdeps/libm-ieee754/s_ccoshf.c: New file.
1255 * sysdeps/libm-ieee754/s_ccoshl.c: New file.
1256 * sysdeps/libm-ieee754/s_csinh.c: New file. Implementation of
1257 complex sinh function.
1258 * sysdeps/libm-ieee754/s_csinhf.c: New file.
1259 * sysdeps/libm-ieee754/s_csinhl.c: New file.
1261 * math/carg.c: New file. Generic implementatio of carg function.
1262 * math/cargf.c: New file.
1263 * math/cargl.c: New file.
1265 1997-03-29 16:07 Ulrich Drepper <drepper@cygnus.com>
1267 * sysdeps/posix/system.c: Update copyright.
1269 1997-03-29 04:18 Ulrich Drepper <drepper@cygnus.com>
1271 * elf/dl-error.c (_dl_catch_error): Add another argument which is
1273 (_dl_receive_error): Likewise.
1274 * elf/link.h: Change prototypes for _dl_catch_error and
1275 _dl_receive_error to reflect above change.
1276 * elf/dl-deps.c: Don't use nested function. Call _dl_catch_error
1277 with additional argument with pointer to data.
1278 * elf/dlclose.c: Likewise.
1279 * elf/dlerror.c: Likewise.
1280 * elf/dlopen.c: Likewise.
1281 * elf/dlsym.c: Likewise.
1282 * elf/dlvsym.c: Likewise.
1283 * elf/rtld.c: Likewise.
1284 * nss/nsswitch.c: Likewise.
1285 Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
1287 1997-03-28 21:14 Miguel de Icaza <miguel@nuclecu.unam.mx>
1289 * elf/dl-error.c: Manually set up the values of "c", this avoids a
1290 call to memcpy and a zero 152 bytes structure.
1292 * sysdeps/sparc/dl-machine.h (elf_machine_rela): Test
1293 RTLD_BOOTSTRAP to avoid performing relative relocs on a second
1296 * sysdeps/sparc/udiv_qrnnd.S: Make the code PIC aware.
1298 * sysdeps/unix/sysv/linux/sparc/Dist: Add kernel_stat.h and
1301 Add Linux/SPARC specific definitions.
1302 * sysdeps/unix/sysv/linux/sparc/fcntlbits.h: New file.
1303 * sysdeps/unix/sysv/linux/sparc/ioctls.h: New file.
1304 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: New file.
1305 * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: New file.
1306 * sysdeps/unix/sysv/linux/sparc/sigaction.h: New file.
1307 * sysdeps/unix/sysv/linux/sparc/signum.h: New file.
1308 * sysdeps/unix/sysv/linux/sparc/termbits.h: New file.
1310 1997-03-28 13:06 Philip Blundell <pjb27@cam.ac.uk>
1312 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Use
1313 __getservbyname_r() not getservbyname().
1314 (BROKEN_LIKE_POSIX): Define to 1 so we get strict POSIX behaviour.
1316 1997-03-27 02:28 Ulrich Drepper <drepper@cygnus.com>
1318 * gmon/gmon.c (monstartup): Mark all messages.
1319 (write_call_graph): Rewrite to use larger I/O vector for writev
1320 call to reduce syscall overhead.
1321 (write_bb_counts): Simplify writev handling.
1323 * inet/rexec.c: Make string parameters `const'.
1324 * resolv/netdb.h: Add prototypes for rcmd, rexec, ruserok, and
1327 * math/Makefile: Don't define CFLAGS-* macros to prevent inlining
1329 * math/libm-test.c (this_does_nothing): Remove functions. It's
1330 notuseful on any platform but ix86.
1331 (inverse_func_pair_test): Don't use this_does_nothing. Use
1333 (identities1_test): Likewise.
1334 (identities2_test): Likewise.
1335 (identities3_test): Likewise.
1336 (basic_test): Likewise.
1337 Patch by Andreas Schwab.
1338 (BUILD_COMPLEX): New macro. Create complex number from real and
1339 imaginary parts. This works around bugs/inefficiencies in current
1341 (cexp_test): Use BUILD_COMPLEX. Add more tests.
1343 * nss/nsswitch.c: Fix typo.
1345 * posix/glob.h: Add declaration for glob_pattern_p.
1346 * posix/glob.c: Rename glob_pattern_p to __glob_pattern_p and
1347 make glob_pattern_p a weak alias. This function is used in other
1348 packages (e.g. bash).
1350 * signal/Makefile (routines): Add sigisempty, sigandset, and
1352 * signal/signal.h: Add prototypes for sigisempty, sigandset, and
1354 * signal/sigisempty.c: New file.
1355 * signal/sigandset.c: New file.
1356 * signal/sigorset.c: New file.
1357 * sysdeps/generic/sigset.h: Define __sigisemptyset, __sigandset,
1359 * sysdeps/unix/sysv/linux/sigset.h: Likewise.
1361 * stdlib/strtod.c: Handle `n-char-sequence' in NaN parsing. It
1362 determines the bits in the mantissa part of the NaN.
1363 * stdlib/strtof.c: Define SET_MANTISSA for float type.
1364 * wcsmbs/wcstof.c: Define SET_MANTISSA for float type.
1365 * stdlib/strtold.c: Define SET_MANTISSA for long double type.
1366 * wcsmbs/wcstold.c: Define SET_MANTISSA for long double type.
1368 * sysdeps/libm-ieee754/s_cexp.c: Use explicit assignment to
1369 complex number components. Some more corrects for special cases.
1370 * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
1371 * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
1373 * sysdeps/sparc/elf/start.S: Remove as per request of Miguel de Icaza.
1375 * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have
1376 ip_icmp.h. Reported by HJ Lu.
1378 1997-03-25 03:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1380 * sysdeps/m68k/Makefile (CFLAGS-rtld.c): Add -Wno-unused.
1382 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Rewritten as for
1384 (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
1385 ELF_MACHINE_RELOC_NOPLT): Define.
1387 1997-03-25 03:48 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1389 * grp/grp.h: Include <stddef.h> only once.
1391 1997-03-25 09:38 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1393 * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define.
1394 * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
1396 * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or
1397 TAB3, if one of them is defined.
1399 1997-03-26 04:53 Ulrich Drepper <drepper@cygnus.com>
1401 * posix/glob.c (next_brace_sub): Decrement depth counter when '}'
1403 Patch by Dennis Henriksen <opus@flamingo.osrl.dk>.
1405 1997-03-25 16:25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1407 * sunrpc/Makefile: Comment gccwarn out.
1408 * sunrpc/auth_none.c: Fix prototypes and parameters for compiling
1409 with enabled warnings.
1410 * sunrpc/auth_unix.c: Likewise.
1411 * sunrpc/authuxprot.c: Likewise.
1412 * sunrpc/bindrsvprt.c: Likewise.
1413 * sunrpc/clnt_gen.c: Likewise.
1414 * sunrpc/clnt_perr.c: Likewise.
1415 * sunrpc/clnt_raw.c: Likewise.
1416 * sunrpc/clnt_simp.c: Likewise.
1417 * sunrpc/clnt_tcp.c: Likewise.
1418 * sunrpc/clnt_udp.c: Likewise.
1419 * sunrpc/get_myaddr.c: Likewise.
1420 * sunrpc/getrpcport.c: Likewise.
1421 * sunrpc/pm_getmaps.c: Likewise.
1422 * sunrpc/pm_getport.c: Likewise.
1423 * sunrpc/pmap_clnt.c: Likewise.
1424 * sunrpc/pmap_prot.c: Likewise.
1425 * sunrpc/pmap_prot2.c: Likewise.
1426 * sunrpc/pmap_rmt.c: Likewise.
1427 * sunrpc/rpc/auth.h: Likewise.
1428 * sunrpc/rpc/clnt.h: Likewise.
1429 * sunrpc/rpc/pmap_clnt.h: Likewise.
1430 * sunrpc/rpc/svc.h: Likewise.
1431 * sunrpc/rpc/svc_auth.h: Likewise.
1432 * sunrpc/rpc/types.h: Likewise.
1433 * sunrpc/rpc/xdr.h: Likewise.
1434 * sunrpc/rpc_clntout.c: Likewise.
1435 * sunrpc/rpc_cmsg.c: Likewise.
1436 * sunrpc/rpc_dtable.c: Likewise.
1437 * sunrpc/rpc_prot.c: Likewise.
1438 * sunrpc/svc.c: Likewise.
1439 * sunrpc/svc_auth.c: Likewise.
1440 * sunrpc/svc_authux.c: Likewise.
1441 * sunrpc/svc_raw.c: Likewise.
1442 * sunrpc/svc_run.c: Likewise.
1443 * sunrpc/svc_simple.c: Likewise.
1444 * sunrpc/svc_tcp.c: Likewise.
1445 * sunrpc/svc_udp.c: Likewise.
1446 * sunrpc/xdr.c: Likewise.
1447 * sunrpc/xdr_array.c: Likewise.
1448 * sunrpc/xdr_mem.c: Likewise.
1449 * sunrpc/xdr_rec.c: Likewise.
1450 * sunrpc/xdr_ref.c: Likewise.
1451 * sunrpc/xdr_stdio.c: Likewise.
1453 1997-03-25 13:39 Ulrich Drepper <drepper@cygnus.com>
1455 * math/libm-test.c (log2_test): Compile this function and call it.
1456 (exp2_test): Likewise, but check whether function really exists
1459 * math/Makefile (libm-calls): Add s_log2 and s_exp2.
1461 1997-03-25 04:50 Ulrich Drepper <drepper@cygnus.com>
1463 Implement exp2 function.
1464 * sysdeps/libm-i387/s_exp2.S: New file.
1465 * sysdeps/libm-i387/s_exp2f.S: New file.
1466 * sysdeps/libm-i387/s_exp2l.S: New file.
1468 Implement log2 function.
1469 * sysdeps/libm-i387/s_log2.S: New file.
1470 * sysdeps/libm-i387/s_log2f.S: New file.
1471 * sysdeps/libm-i387/s_log2l.S: New file.
1472 * sysdeps/libm-ieee754/s_log2.c: New file.
1473 * sysdeps/libm-ieee754/s_log2f.c: New file.
1474 * sysdeps/stub/s_log2.c: New file. Stub version.
1476 1997-03-24 19:58 Richard Henderson <rth@tamu.edu>
1478 * stdlib/tst-strtol.c (tests): Correct 64-bit entry.
1480 * sysdeps/alpha/bsd-_setjmp.S: Alias _setjmp to __setjmp for
1481 change to tst-setjmp.c.
1483 * sysdeps/alpha/dl-machine.h: Mirror Roland's recent changes.
1484 * sysdeps/i386/dl-machine.h: Correct noexec_p comment.
1485 * sysdeps/sparc/dl-machine.h: Likewise.
1487 * sysdeps/libm-ieee754/s_remquo.c: Rename {hp,lp} -> {hy,ly}.
1488 Add missing qs variable.
1489 * sysdeps/libm-ieee754/s_remquof.c: Likewise.
1491 1997-03-25 02:15 Ulrich Drepper <drepper@cygnus.com>
1493 * gmon/gmon.c: Optimize a bit by using more sets of records to
1494 write in a single writev call.
1496 * math/math.h: Add definitions of macros __MATHCALLX and __MATHDECLX.
1497 * math/mathcalls.h: Use __MATHCALLX for fabs, infnan, copysign,
1498 nan, isnan, nextafter, trunc, __fpclassify and signbit to mark as
1500 Use __MATHDECLX for isinf and finite.
1502 * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make
1503 clearenv a weak alias.
1505 Implement complex exponential function.
1506 * sysdeps/libm-ieee754/s_cexp.c: New file.
1507 * sysdeps/libm-ieee754/s_cexpf.c: New file.
1508 * sysdeps/libm-ieee754/s_cexpl.c: New file.
1510 * sysdeps/libm-ieee754/s_nan.c: Define function as __nan and make
1512 * sysdeps/libm-ieee754/s_nanf.c: Likewise for nanf.
1513 * sysdeps/libm-ieee754/s_nanl.c: Likewise for nanl.
1515 * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because
1516 of type clashes. Add all definitions here.
1518 * sysdeps/unix/sysv/linux/shmat.c: Likewise. Correct types according
1520 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
1521 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1523 * sysvipc/sys/shm.h (shmat, shmdt): Correct types.
1525 * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid
1526 use of kernel types.
1528 1997-03-25 00:00 Ulrich Drepper <drepper@cygnus.com>
1530 * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp):
1531 Correct typos. Reported by a sun <asun@zoology.washington.edu>.
1533 1997-03-20 21:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1535 * sysdeps/libm-ieee754/s_asinhl.c: Fix sign of result.
1537 1997-03-20 16:20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1539 * sysdeps/libm-ieee754/e_atan2l.c: Fix typo.
1541 1997-03-20 14:23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1543 * sysdeps/m68k/fpu/__math.h (__logb, logb): Don't define.
1544 * sysdeps/m68k/fpu/s_logb.c: Removed.
1545 * sysdeps/m68k/fpu/s_logbf.c: Removed.
1546 * sysdeps/m68k/fpu/s_logbl.c: Removed.
1548 * sysdeps/m68k/fpu/__math.h (__ieee754_atan2, __ieee754_pow):
1550 * sysdeps/m68k/fpu/e_atan2.c: Rewritten.
1551 * sysdeps/m68k/fpu/e_pow.c: Likewise.
1552 * sysdeps/m68k/fpu/e_atan2f.c: Based on e_atan2.c.
1553 * sysdeps/m68k/fpu/e_atan2l.c: Likewise.
1554 * sysdeps/m68k/fpu/e_powf.c: Based on e_pow.c.
1555 * sysdeps/m68k/fpu/e_powl.c: Likewise.
1557 * sysdeps/m68k/fpu/s_log2.c: New file.
1558 * sysdeps/m68k/fpu/s_log2f.c: New file.
1559 * sysdeps/m68k/fpu/s_log2l.c: New file.
1560 * sysdeps/m68k/fpu/s_exp2.c: New file.
1561 * sysdeps/m68k/fpu/s_exp2f.c: New file.
1562 * sysdeps/m68k/fpu/s_exp2l.c: New file.
1564 1997-03-20 14:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1566 * Makeconfig (all): Make sure this is always the default goal.
1568 1997-03-20 11:09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1570 * math/libm-test.c: Increase epsilon in many places. Fix many
1571 typos. Allow optinal argument also for short option.
1573 1997-03-20 11:09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1575 * math/Makefile ($(objpfx)$(tests)): Link against libm.
1577 1997-03-24 23:14 Ulrich Drepper <drepper@cygnus.com>
1579 * sysdeps/libm-ieee754/s_fpclassifyl.c: Correct recognition of
1580 denormalized numbers.
1582 * sysdeps/i386/huge_val.h: Remove references to byte order macros.
1583 Don't include <endian.h>.
1585 1997-03-19 15:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1586 * sysdeps/m68k/huge_val.h: Remove references to byte order macros.
1587 Don't include <endian.h>.
1589 1997-03-24 23:09 Ulrich Drepper <drepper@cygnus.com>
1591 * inet/rcmd.c (iruserok): Use access instead of euidaccess.
1593 1997-03-15 18:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1595 * math/cmathcalls.h: Remove whitespace before function name in use
1596 of __MATHDECL macro, to make it compilable with a traditional
1599 1997-03-24 15:31 Ulrich Drepper <drepper@cygnus.com>
1601 * configure.in: Use AC_PROG_CC instead of AC_PROG_TOOL to find
1604 1997-03-24 02:34 Ulrich Drepper <drepper@cygnus.com>
1606 * sysdeps/libm-ieee754/s_finitel.c (__finitel): Shift return value
1607 by 31 positions to get 0/1 result.
1608 Patch by Joe Keane <jgk@jgk.org>.
1610 1997-03-23 12:15 H.J. Lu <hjl@gnu.ai.mit.edu>
1612 * posix/getopt.c (__getopt_nonoption_flags): Make it extern
1613 to prevent from ld linking in getopt.o even if there is another
1616 * posix/getopt_init.c (__getopt_nonoption_flags): Remove extern.
1618 1997-03-23 23:30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1620 * nis/nis_call.c (__do_niscall): Print message if cold start file
1622 * nis/nis_file.c: Don't print error messages.
1623 * nis/nis_local_name.c (nis_local_host): Fix pointer errors.
1624 * nis/rpcsvc/ypclnt.h: Fix copyright and prototypes.
1625 * nis/rpcsvc/nis.h: Likewise.
1626 * nis/ypclnt.c: Fix prototypes.
1628 1997-03-24 01:36 Ulrich Drepper <drepper@cygnus.com>
1630 * sysdeps/libm-i387/e_scalb.S: Pop additional result before
1632 * sysdeps/libm-i387/e_scalbf.S: Likewise.
1633 * sysdeps/libm-i387/e_scalbl.S: Likewise.
1634 Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
1636 * elf/rtld.c (dl_main): Set main_map->l_opencount to 1 also if
1637 dynamic linker was called implicitly by the kernel.
1638 Reported by Eric Youngdale <eric@andante.jic.com>.
1640 * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c,
1641 CFLAGS-test-longdouble.c): New variables. Set to -fno-inline to
1642 prevent clever optimizations which corrupt the tests.
1644 1997-03-23 21:33 Andreas Jaeger <aj@arthur.pfalz.de>
1646 * math/libm-test.c (scalb_test): New function.
1647 (sqrt_test): New function.
1648 (scalbn_test): New function.
1649 (ilogb_test): New function.
1650 (main): Added calls for new test functions.
1651 (ldexp_test): Add another test for ldexp(x,0).
1653 1997-03-23 12:35 Andreas Jaeger <aj@arthur.pfalz.de>
1655 * math/libm-test.c (remquo_test): Correct messages so that they
1657 (copysign_test): Likewise.
1659 1997-03-23 16:28 Ulrich Drepper <drepper@cygnus.com>
1661 * stdio-common/Makefile (routines): Add printf_size.
1663 * stdio-common/printf.h: Add declarations for printf_size and
1666 * stdio-common/printf-parse.h (__printf_arginfo_table): Correct
1668 (parse_one_spec): Test whether __printf_function_table is not NULL
1669 before using registered handlers and don't test
1670 __printf_arginfo_table. Update nargs also when handler is
1673 * stdio-common/vfprintf.c (vfprintf): Count number of specifiers
1674 processed in fast loop.
1676 * stdio-common/printf_size: New file.
1678 1997-03-23 02:11 Ulrich Drepper <drepper@cygnus.com>
1680 * time/sys/time.h: Make values ITIMER_* also available as macros.
1682 * elf/dl-support.c (_dl_sysdep_read_whole_file): Don't call
1683 __fstat but instead __fxstat directly to avoid dependency on
1684 libc.a when inline failed.
1685 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): Likewise.
1687 * math/Makefile (libm-routines): Add s_remquo.
1688 * sysdeps/libm-i387/s_remquo.S: New file.
1689 * sysdeps/libm-i387/s_remquof.S: New file.
1690 * sysdeps/libm-i387/s_remquol.S: New file.
1691 * sysdeps/libm-ieee754/s_remquo.c: New file.
1692 * sysdeps/libm-ieee754/s_remquof.c: New file.
1693 * sysdeps/libm-ieee754/s_remquol.c: New file.
1695 * math/libm-test.c (remquo_test): New function.
1697 * sysdeps/libm-ieee754/s_rintl.c: Handle implicit leading one
1700 1997-03-22 14:06 Ulrich Drepper <drepper@cygnus.com>
1702 * math/Makefile (libm-calls): Add s_nan.
1703 * sysdeps/libm-ieee754/s_nan.c: New file. Implement `nan' function.
1704 * sysdeps/libm-ieee754/s_nanf.c: New file. Implement `nanf' function.
1705 * sysdeps/libm-ieee754/s_nanl.c: New file. Implement `nanl' function.
1707 * math/libm-test.c (basic_tests): Add tests for `nan' function.
1709 * math/libm-test.c (copysign_test): New function.
1710 (main): Call copysign_test.
1712 1997-03-22 06:28 Ulrich Drepper <drepper@cygnus.com>
1714 * sysdeps/libm-ieee754/s_nextafter.c: Return y if x == y.
1715 * sysdeps/libm-ieee754/s_nextafterf.c: Likewise.
1716 * sysdeps/libm-ieee754/s_nextafterl.c: Likewise.
1717 * sysdeps/libm-i387/s_nextafterl.c: Likewise.
1719 * math/libm-test.c (fdim_test, fmin_test, fmax_test, nextafter_test):
1720 New functions. Test these functions.
1721 (main): Call above new functions.
1723 1997-03-22 04:53 Ulrich Drepper <drepper@cygnus.com>
1725 * Net release 2.0.2.
1727 1997-03-22 04:37 Ulrich Drepper <drepper@cygnus.com>
1729 * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Define as alias for
1731 * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
1732 * termios/sys/ttydefaults.h: Partly revert patch by Andreas Schwab
1733 of Sun Dec 15 16:33:44 1996.
1734 Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
1736 1997-03-21 13:41 Roland McGrath <roland@baalperazim.frob.com>
1738 * sysdeps/sparc/dl-machine.h (elf_machine_rel): Rewritten as for i386.
1739 Check here for non-SHN_UNDEF STB_LOCAL symbols don't do any lookup or
1740 consult their values.
1741 (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
1742 ELF_MACHINE_RELOC_NOPLT): New macros.
1744 * elf/rtld.c (dl_main): Pass ELF_MACHINE_RELOC_NOPLT to
1745 _dl_lookup_symbol in place of DL_LOOKUP_NOPLT.
1746 * sysdeps/i386/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): New macro.
1748 * sysdeps/i386/dl-machine.h (elf_machine_rel): Rewritten to do the
1749 symbol lookup before checking reloc type except for R_386_RELATIVE.
1750 (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p): New macros.
1752 * elf/dl-reloc.c (RESOLVE): Remove STB_LOCAL check; let it be
1753 per-machine since it supposedly can't happen on i386.
1755 * elf/dl-lookup.c (do_lookup): Change arg FLAGS to RELOC_TYPE. Use
1756 elf_machine_lookup_{noexec,noplt}_p macros on it. Remove gratuitous
1757 indirection from REF arg; change callers.
1758 (_dl_lookup_symbol, _dl_lookup_versioned_symbol): Change arg name.
1759 (_dl_lookup_symbol_skip, _dl_lookup_versioned_symbol_skip): Remove
1760 FLAGS arg altogether.
1761 * elf/dlsym.c: Remove argument of FLAGS parameter.
1762 * elf/dlvsym.c: Likewise.
1763 * elf/link.h: Update decls.
1765 1997-03-21 20:55 Ulrich Drepper <drepper@cygnus.com>
1767 * Makefile (distribute): Add BUGS.
1769 * sysdeps/generic/machine-gmon.h: Update copyright.
1771 * sysdeps/i386/Makefile [$(subdir)=gmon] (sysdep_routines): Add
1773 * sysdeps/i386/dl-machine.h [PROF] (_dl_runtime_resolve): Don't
1774 use regparam mechanism for call of `fixup' call.
1775 * sysdeps/i386/Dist: New file.
1776 * sysdeps/i386/i386-mcount.S: New file. `mcount' entry point.
1777 * sysdeps/i386/machine-gmon.h: New file. i386 specific version
1778 of gmon definitions.
1780 1997-03-20 13:39 Andreas Jaeger <aj@arthur.pfalz.de>
1782 * stdlib/tst-strtol.c (main): Save the value of errno since printf
1783 may modify it, use the saved errno everywhere.
1784 * stdlib/tst-strtod.c (main): Likewise.
1786 1997-03-21 05:54 Ulrich Drepper <drepper@cygnus.com>
1788 * posix/glob.c (glob): Fix completely broken handling of
1789 GLOB_BRACE and partly broken handling of GLOB_TILDE.
1790 Reported by Dennis Henriksen <opus@flamingo.osrl.dk>.
1792 1997-03-20 20:22 Ulrich Drepper <drepper@cygnus.com>
1794 * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small
1795 UIO_FASTIOV value by multiple readv calls since we need atomicity.
1796 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1797 Reported by Matthis Urlichs.
1799 1997-03-20 04:34 Roland McGrath <roland@baalperazim.frob.com>
1801 * sysdeps/unix/sysv/linux/i386/sysdep.S (CALL_MCOUNT): Clear this
1802 macro so ENTRY(__syscall_error) doesn't insert a call to _mcount,
1803 which clobbers %eax.
1805 * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for
1806 crtbegin.o/crtend.o, using gcc to find them.
1809 1997-03-20 00:06 Richard Henderson <rth@tamu.edu>
1811 * gmon/sys/gmon.h: Revert the bulk of the 960930 changes, as they
1812 affect the alignment, and therefore the end padding of the structs.
1813 Reported by David Mosberger <davidm@azstarnet.com>.
1814 * gmon.c: Declare the variables with aligned tags to compensate.
1815 Use __writev instead of write for the I/O.
1817 * misc/sys/uio.h: Declare __writev and __readv.
1818 * sysdeps/posix/readv.c: Rename and alias readv to __readv.
1819 * sysdeps/posix/writev.c: Likewise for writev.
1820 * sysdeps/stub/readv.c: Likewise.
1821 * sysdeps/stub/writev.c: Likewise.
1822 * sysdeps/unix/syscalls.list: Likewise.
1823 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1824 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1826 * stdlib/testdiv.c: Exit with error status when we have an error.
1827 * sysdeps/alpha/div.S: Initialize `quotient' and `mask'.
1828 * sysdeps/alpha/ldiv.S: Likewise.
1830 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit.
1832 1997-03-20 14:51 Ulrich Drepper <drepper@cygnus.com>
1834 * nis/nis_file.c: Unify error handling.
1836 1997-03-19 18:36 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1838 * nis/nis_file.c (writeColdStartFile): Fix typo.
1839 * nis/nis_free.c (nis_free_endpoints): Use unsigned int.
1840 * nis/nis_free.c (nis_free_servers): Likewise.
1841 * nis/rpcsvc/nislib.h: Likewise.
1843 * sunrpc/rpc/netdb.h: Add setrpcent and endrpcent prototypes.
1845 1997-03-20 06:07 Ulrich Drepper <drepper@cygnus.com>
1847 * sysdeps/powerpc/dl-machine.h: Fix typo in last change.
1849 * sysdeps/unix/sparc/sysdep.h: Update copyright.
1851 1997-03-19 15:13 Miguel de Icaza <miguel@nuclecu.unam.mx>
1853 * linuxthreads/sysdeps/sparc/pt-machine (RELEASE): Fix.
1855 * stdlib/tst-strtol.c: Save the value of errno, printf may modify
1858 * sysdeps/sparc/DEFS.h [HAVE_ELF]: Use type @function in the FUNC
1859 macro on ELF systems.
1861 * sysdeps/sparc/configure.in: Fix.
1863 * sysdeps/sparc/dl-machine.h: Fix OPCODE_CALL.
1865 * sysdeps/sparc/setjmp.S: Fix my bugs.
1867 * sysdeps/unix/sysv/linux/sparc/Dist: Add start.c, fork.S, and pipe.S.
1868 * sysdeps/unix/sysv/linux/sparc/Makefile: Define asm-CPPFLAGS and
1870 * sysdeps/unix/sysv/linux/sparc/syscalls.list: Add fork, pipe, and
1872 * sysdeps/unix/sysv/linux/sparc/fork.S: New file.
1873 * sysdeps/unix/sysv/linux/sparc/pipe.S: New file.
1874 * sysdeps/unix/sysv/linux/sparc/socket.S: Fix.
1875 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Fix.
1877 * elf/dl-lookup.c (do_lookup): Return true if we found a weak
1879 (_dl_lookup_symbol): Test against the symbol being global not
1880 against the symbol being not weak (fixes important problem with
1883 * sysdeps/unix/sysv/linux/sparc/brk.c: Fix.
1885 * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for
1886 Linux/SPARC (while I get my asmCPPFLAGS-so variable).
1888 1997-03-20 01:49 Ulrich Drepper <drepper@cygnus.com>
1890 * Makeconfig: (rpath-link): Add math/ directory.
1891 (math-objdir): New variable.
1892 (link-extra-lib): Define to special version when
1893 $(common-objpfx)!=$(objpfx) to allow libraries outside
1894 $(common-objpfx) be linked to the application.
1896 * math/Makefile: Add rules to build and run test programs.
1897 * math/libm-test.c (_GNU_SOURCE): Define only if still undefined.
1898 (check_equal): Correct check for error.
1899 (ceil_test): Fix typo.
1900 (log_test): Fix typo.
1901 (floor_test): Fix typo.
1902 (pow_test): Fix typos.
1903 (log10_test): Allow slight incorrectness for `log10(e)'.
1904 (modf_test): New functions to test `modf' et.al.
1905 (hypot_test): Rewrite test completely.
1906 Patch partly by Andreas Jaeger.
1907 * math/test-double.h (__NO_MATH_INLINES): Define only if not
1909 * math/test-float.h: Likewise.
1910 * math/test-logdouble.h: Likewise.
1912 * setjmp/setjmp.h: Change references of ANSI C to ISO C.
1913 * setjmp/tst-setjmp.c: Correct and extend test suite.
1914 * sysdeps/i386/__longjmp.S: Update copyright.
1915 * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to
1916 `__sigsetjmp' in PIC code.
1917 * sysdeps/i386/bsd-setjmp.S: Likewise.
1919 * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa
1921 * sysdeps/libm-i387/e_powf.S: Likewise.
1922 * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special
1923 case since expm1(-0) == -0.
1924 * sysdeps/libm-i387/s_expm1f.S: Likewise.
1925 * sysdeps/libm-i387/s_expm1l.S: Likewise.
1926 * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded
1927 access to FP number.
1928 * sysdeps/libm-ieee754/s_modff.c: Likewise.
1929 * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus
1930 code. It never worked correctly.
1931 * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special
1932 case since tanh(-0) == -0.
1933 * sysdeps/libm-ieee754/s_tanhf.c: Likewise.
1934 * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf.
1936 1997-03-19 21:13 Ulrich Drepper <drepper@cygnus.com>
1938 * stdlib/strtod.c (STRTOL): Use wchar_t as type for `decimal' and
1939 `thousands' to support systems with sizeof(wchar_t) !=
1940 sizeof(wint_t). Blargh.
1942 * sysdeps/unix/sysv/linux/socketbits.h: Remove definition of
1943 SOL_IP, SOL_TCP, SOL_UDP, and SOL_IPX as they are defined in
1944 appropriate headers.
1946 * sysdeps/unix/sysv/linux/writev.c: Don't use MAX_IOVEC. Test for
1947 UIO_FASTIOV and set to 8 if not available.
1948 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1951 * sysdeps/unix/sysv/linux/xstat.c: Include <kernel_stat.h>, not
1953 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1954 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
1955 Reported by fabsoft@fabsoft2.zarm.uni-bremen.de.
1957 1997-03-19 01:40 Ulrich Drepper <drepper@cygnus.com>
1959 * sysdeps/unix/sysv/sco3.2.4/Dist: New file.
1961 * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
1963 * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrgid.c, and setruid.c.
1965 * sysdeps/unix/sysv/Dist: Add direct.h.
1967 * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
1969 * Make-dist ($(tardir).tar): Prefer writing temporary file to
1970 $TMPDIR is available. The default is /tmp.
1972 * sysdeps/generic/ip.h: Move to...
1973 * sysdeps/generic/netinet/ip.h: ...here.
1975 * Makefile (tests): Quote $(CC) argument to isomac program.
1976 Patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
1978 * sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
1979 is placed in wrong place on the stack.
1980 Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
1981 * sysdeps/tst-setjmp.c: Add new test for above problem.
1983 * sysdeps/libm-i387/e_pow.S: Compute PIC addres early.
1984 * sysdeps/libm-i387/e_powf.S: Likewise.
1985 * sysdeps/libm-i387/e_powl.S: Likewise.
1987 1997-03-18 23:18 Ulrich Drepper <drepper@cygnus.com>
1989 * time/offtime.c (__offtime): Change type of `yg' to long int.
1990 Reported by a sun <asun@zoology.washington.edu>.
1992 1997-03-18 23:08 a sun <asun@zoology.washington.edu>
1994 * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
1995 2.2.0 to prevent version mismatch.
1997 1997-03-17 19:26 Andreas Jaeger <aj@arthur.pfalz.de>
1999 * stdio-common/printf_fphex.c (MIN): Only define MIN if not
2002 1997-03-14 23:34 Geoff Keating <geoffk@ozemail.com.au>
2004 * sysdeps/unix/sysv/linux/powerpc/termbits.h: Leave ioctl numbers
2007 * elf/rtld.c (_dl_start): Call elf_machine_runtime_setup when the
2008 loader first relocates itself.
2009 * sysdeps/powerpc/elf/start.c (__start1): Fix bug for static objects.
2010 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Fix bugs in
2011 jump slot relocation. Prefer relative branches (some PowerPC chips
2012 don't predict absolute branches).
2013 (elf_machine_runtime_setup): Simplify and correct expressions.
2014 (RTLD_START): Fix bug changing _dl_starting_up.
2015 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Added. Deal with
2016 strange Linux/PPC padding of initial stack.
2018 1997-03-11 04:14 Geoff Keating <geoffk@ozemail.com.au>
2020 * sysdeps/unix/sysv/linux/powerpc/termbits.h: Increase NCCS to 39,
2021 for future expansion.
2022 * sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Added.
2023 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Explain why it
2024 can't have a switch statement.
2025 * sysdeps/powerpc/elf/start.c (__start1): Explain why it can't be
2028 * sysdeps/powerpc/elf/start.c (_start): Use .previous to avoid
2029 confusing gcc's idea of the current section.
2030 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
2031 RTLD_START): Likewise.
2033 1997-03-08 09:10 Geoff Keating <geoffk@ozemail.com.au>
2035 * sysdeps/powerpc/dl-machine.h (elf_machine_rela,
2036 elf_machine_runtime_setup): Flush data & instruction caches when
2037 necessary, for 603/604 support. Add better support for large PLTs.
2038 (elf_machine_rela): Remove relocations that wouldn't work if
2039 anyone ever used them. Use memcpy for copy reloc, it'll be safe.
2040 Never target branch relocations at a PLT entry.
2042 * sysdeps/powerpc/bsd-setjmp.S: Make jump to PLT entry if we are
2044 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
2045 * sysdeps/powerpc/setjmp.S: Likewise.
2046 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
2047 * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
2048 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
2049 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
2051 * sysdeps/powerpc/elf/start.c: Clean up.
2053 * sysdeps/powerpc/__longjmp.S: Return 'value' as result from
2056 * sysdeps/unix/sysv/linux/powerpc/statbuf.h: New file.
2058 1997-03-09 12:36 H.J. Lu <hjl@gnu.ai.mit.edu>
2060 * Make-dist (srcs): Add $(test-srcs).
2061 * MakeTAGS (all-sources): Likewise.
2062 * Makerules (depfiles, common-mostlyclean): Likewise.
2063 * Rules (tests): Likewise.
2065 1997-03-18 05:28 Roland McGrath <roland@frob.com>
2067 * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols.
2069 1997-03-17 21:39 Philip Blundell <phil@london.uk.eu.org>
2071 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
2072 protocol=NULL to match any protocol rather than returning an
2075 1997-03-17 19:00 Philip Blundell <phil@london.uk.eu.org>
2077 * nss/nss_files/files-service.c (servbyname): Match any protocol
2080 1997-03-18 05:17 Ulrich Drepper <drepper@cygnus.com>
2082 * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
2083 * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
2084 Proposed by Thomas Bushnell, n/BSG.
2086 1997-03-18 07:53 H.J. Lu <hjl@gnu.ai.mit.edu>
2088 * sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
2089 the buffer for replacement.
2091 1997-03-16 19:30 H.J. Lu <hjl@gnu.ai.mit.edu>
2093 * sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
2094 sys_lstat and sys_stat.
2096 1997-03-17 12:43 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2099 * shlib-versions: Add libnss_nisplus.
2100 * nis/Makefile: Add NIS+ source files.
2101 * nis/nis_call.c: New file.
2102 * nis/nis_clone.c: New file.
2103 * nis/nis_error.c: New file.
2104 * nis/nis_file.c: New file.
2105 * nis/nis_free.c: New file.
2106 * nis/nis_intern.c: New file.
2107 * nis/nis_intern.h: New file.
2108 * nis/nis_local_names.c: New file.
2109 * nis/nis_names.c: New file.
2110 * nis/nis_print.c: New file.
2111 * nis/nis_server.c: New file.
2112 * nis/nis_subr.c: New file.
2113 * nis/nis_table.c: New file.
2114 * nis/nis_xdr.c: New file.
2115 * nis/nss-nisplus.h: New file.
2116 * nis/nss_nisplus/nisplus-alias.c: New file.
2117 * nis/nss_nisplus/nisplus-ethers.c: New file.
2118 * nis/nss_nisplus/nisplus-grp.c: New file.
2119 * nis/nss_nisplus/nisplus-hosts.c: New file.
2120 * nis/nss_nisplus/nisplus-netgrp.c: New file.
2121 * nis/nss_nisplus/nisplus-network.c: New file.
2122 * nis/nss_nisplus/nisplus-proto.c: New file.
2123 * nis/nss_nisplus/nisplus-publickey.c: New file.
2124 * nis/nss_nisplus/nisplus-pwd.c: New file.
2125 * nis/nss_nisplus/nisplus-rpc.c: New file.
2126 * nis/nss_nisplus/nisplus-service.c: New file.
2127 * nis/nss_nisplus/nisplus-spwd.c: New file.
2128 * nis/rpcsvc/nis.h: New file.
2129 * nis/rpcsvc/nis.x: New file.
2130 * nis/rpcsvc/nis_object.x: New file.
2131 * nis/rpcsvc/nis_tags.h: New file.
2132 * nis/rpcsvc/nislib.h: New file.
2134 1997-03-17 12:52 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2136 * mach/devstream.c (output/write_some): Don't try and write more
2137 than IO_INBAND_MAX in a single call to device_write_inband.
2139 1997-03-17 04:00 Ulrich Drepper <drepper@cygnus.com>
2141 * sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
2143 * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
2144 * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
2146 * sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
2149 1997-03-16 20:28 Philip Blundell <phil@london.uk.eu.org>
2151 * sysdeps/unix/sysv/linux/socketbits.h: Add more SOL_ values.
2152 Change msg_iovlen and msg_controllen (in struct msghdr) to
2153 `size_t' to keep in step with kernel.
2155 1997-03-16 18:43 Ulrich Drepper <drepper@cygnus.com>
2157 * manual/filesys.texi: Add documentation for scandir and alphasort.
2158 * manual/examples/dir2.c: New example for scandir.
2160 * math/math.c (fpclassify): Correct stupid typos.
2162 * math/libm-test.c: New file. libm test suite by Andreas Jaeger.
2163 * math/test/float.c: New file. Frontend for float tests.
2164 * math/test/double.c: New file. Frontend for double tests.
2165 * math/test/longdouble.c: New file. Frontend for long double tests.
2167 * posix/Makefile (routines): Add bsd-getpgrp.
2168 * posix/bsd-getpgrp.c: New file.
2169 * posix/unistd.h [__FAVOR_BSD]: Define macro getpgrp which maps
2170 calls to __bsd_getpgrp.
2172 * sysdeps/generic/getpgrp.c: De-ANSI-declfy.
2174 * sysdeps/i386/huge_val.h: New file. ix87 specific infinity values.
2175 * sysdeps/m68k/huge_val.h: New file. m68k specific infinity values.
2176 * sysdeps/ieee754/huge_val.h: Remove definition of long double
2177 definition. Make it the same as the double definition.
2179 * sysdeps/libm-i387/e_acos.S: Fix bug in FPU stack handling.
2180 * sysdeps/libm-i387/e_acosf.S: Likewise.
2181 * sysdeps/libm-i387/e_acosl.S: Likewise.
2182 * sysdeps/libm-i387/e_asin.S: Likewise.
2183 * sysdeps/libm-i387/e_asinf.S: Likewise.
2184 * sysdeps/libm-i387/e_asinl.S: Likewise.
2185 * sysdeps/libm-i387/e_exp.S: Likewise.
2186 * sysdeps/libm-i387/e_expf.S: Likewise.
2187 * sysdeps/libm-i387/e_expl.S: Likewise.
2188 * sysdeps/libm-i387/s_scalbn.S: Likewise.
2189 * sysdeps/libm-i387/s_scalbnf.S: Likewise.
2190 * sysdeps/libm-i387/s_scalbnl.S: Likewise.
2192 * sysdeps/libm-i387/e_log.S: Optimize branch code.
2193 * sysdeps/libm-i387/e_logf.S: Likewise.
2194 * sysdeps/libm-i387/e_logl.S: Likewise.
2195 * sysdeps/libm-i387/e_log10.S: Likewise.
2196 * sysdeps/libm-i387/e_log10f.S: Likewise.
2197 * sysdeps/libm-i387/e_log10l.S: Likewise.
2199 * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases.
2200 * sysdeps/libm-i387/e_powf.S: Likewise.
2201 * sysdeps/libm-i387/e_powl.S: Likewise.
2203 * sysdeps/libm-i387/s_expm1.S: Change return value for -inf
2205 * sysdeps/libm-i387/s_expm1f.S: Likewise.
2206 * sysdeps/libm-i387/s_expm1l.S: Likewise.
2208 * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf.
2210 * sysdeps/libm-i387/s_logbl.S: Correct return value. Discard first
2211 stack element after fxtract.
2213 * sysdeps/libm-ieee754/e_atan2l.c: New file. `long double'
2214 implementation for atan2 function.
2216 * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
2217 _SVID_ mode when acos, asin, atan2, log, log10 is called with
2218 argument out of range.
2219 Add new error case for pow(+0,neg).
2221 * sysdeps/libm-ieee754/s_fpclassifyf.c: Correct recognition of
2223 * sysdeps/libm-ieee754/s_fpclassifyl.c: Mask out explicit leading
2224 digit in stupid 80 bit formats.
2226 * sysdeps/libm-ieee754/s_isinf.c: Rewrite to return -1 for -inf.
2227 * sysdeps/libm-ieee754/s_isinff.c: Likewise.
2228 * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
2230 * sysdeps/libm-ieee754/s_scalbnl.c (huge, tiny): Adapt values for
2233 * sysdeps/libm-ieee754/w_atan2.c: Do not raise exception expect when
2235 * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
2236 * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
2238 * sysdeps/libm-ieee754/w_pow.c: Distinguish error cases for x is +0
2240 * sysdeps/libm-ieee754/w_powf.c: Likewise.
2241 * sysdeps/libm-ieee754/w_powl.c: Likewise.
2243 * sysdeps/posix/isfdtype.c: Add cast to prevent warning.
2245 * sysdeps/stub/fcntlbits.h: Update copyright.
2246 * sysdeps/unix/bsd/fcntlbits.h: Likewise.
2247 * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
2248 * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
2249 * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
2250 * sysdeps/unix/common/fcntlbits.h: Likewise.
2251 * sysdeps/unix/sysv/fcntlbits.h: Likewise. Define O_FSYNC as alias
2252 of O_SYNC. Add BSD compatibility macros FAPPEND, FFSYNC, FNONBLOCK,
2254 * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
2256 * sysdeps/unix/readdir_r.c: Don't copy whole `struct dirent' record,
2259 * sysdeps/unix/sysv/linux/fcntlbits.h [__USE_GNU]: Add O_READ, O_WRITE
2261 * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
2263 * sysdeps/unix/sysv/linux/init-first.h: Add copyright.
2265 * sysdeps/unix/sysv/linux/fxstat.c: New file. Rewrite kernel-level
2266 struct stat to user-level form.
2267 * sysdeps/unix/sysv/linux/lxstat: New file.
2268 * sysdeps/unix/sysv/linux/xstat: New file.
2269 * sysdeps/unix/sysv/linux/kernel_stat.h: Define struct stat used in
2271 * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Change definition
2272 to use prescribed types for elements.
2273 (_STAT_VER): Change to value 3.
2274 * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
2275 * sysdeps/unix/sysv/linux/Dist: Add kernel_stat.h.
2276 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
2278 * time/Makefile: Correct dependencies for test-tz.
2280 1997-03-16 14:59 Philip Blundell <phil@london.uk.eu.org>
2282 * resolv/netdb.h: Add prototypes for gai_strerror and getnameinfo
2283 (needed for IPv6 basic sockets API).
2285 1997-03-16 15:02 a sun <asun@zoology.washington.edu>
2287 * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible
2289 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
2291 1997-03-14 17:15 Ulrich Drepper <drepper@cygnus.com>
2293 * db/hash/hash_bigkey.c (__big_delete): Don't call __free_ovflpage
2294 without testing for last_bfp to be NULL.
2295 Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
2297 1997-03-13 11:42 Jim Meyering <meyering@asic.sc.ti.com>
2299 * time/mktime.c (TIME_T_MIN): Work around a bug in Cray C 5.0.3.0.
2301 1997-03-14 04:00 Kurt Garloff <garloff@kg1.ping.de>
2303 * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC.
2304 (FASYNC): Move to __USE_BSD section. Create new macro O_ASYNC.
2306 1997-03-14 02:50 Ulrich Drepper <drepper@cygnus.com>
2308 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): New
2309 functions. Compare result for correct address type.
2310 (_nss_nis_gethostbyname_r): Use _nss_nis_gethostbyname2_r.
2311 * nss/nss_files/files-hosts.c: Likewise.
2312 Reported by Mirko Streckenbach <mirko@marian.hil.de>.
2314 1997-02-17 01:40 Zlatko Calusic <zcalusic@srce.hr>
2316 * time/strptime.c (recursive): Return rp to caller.
2317 (strptime_internal): First check for long names, then abbreviated
2320 1997-03-10 19:44 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2322 * Makeconfig: Remove useless definitions of ASFLAGS-%.
2323 * config.make.in (ASFLAGS-.so): Remove.
2324 * configure.in: Don't substitute ASFLAGS_SO.
2325 * sysdeps/sparc/configure.in: Remove file.
2326 * sysdeps/sparc/Makefile (ASFLAGS-.so): Define.
2328 1997-03-11 17:00 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2330 * time/strptime.c (strptime_internal) [case 'Y']: Always subtract
2331 1900 from year, regardless of century.
2333 1997-03-12 05:43 Ulrich Drepper <drepper@cygnus.com>
2335 * stdlib/strtod.c (_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make
2336 all numbers unsigned to make buggy gccs happy.
2337 Patch by Bryan W. Headley <bheadley@interaccess.com>.
2339 * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility
2340 definitions. Patch by a sun <asun@zoology.washington.edu>.
2341 Pretty print header.
2343 * Makerules (build-shlib): Also create symlink if library is versioned.
2344 Based on a patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
2345 Remove special rule to libc.so symlink.
2347 1997-03-11 20:16 Andreas Jaeger <aj@arthur.pfalz.de>
2349 * manual/math.texi (Domain and Range Errors): Change descriptions
2350 according to recent changes for ISO C 9X.
2352 1997-03-11 22:39 Ulrich Drepper <drepper@cygnus.com>
2354 * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct
2355 return values for acos, asin, and atan2.
2356 Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
2358 1997-03-10 18:16 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2360 * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow.
2362 1997-03-10 18:06 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
2364 * dirent/alphasort.c (alphasort): Interpret arguments as pointers
2365 to pointers to directory entries so that alphasort really can be
2366 used as argument for scandir.
2368 1997-03-09 23:33 Andreas Jaeger <aj@arthur.pfalz.de>
2370 * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS)
2373 1997-03-10 03:34 Ulrich Drepper <drepper@cygnus.com>
2375 * catgets/catgets.c (catopen): Always add NLSPATH to search path for
2376 catalogs, not only if the envvar NLSPATH is not available.
2377 Reported by Andries.Brouwer@cwi.nl.
2379 1997-03-10 02:46 Ulrich Drepper <drepper@cygnus.com>
2381 * Makeconfig (localtime-file): Don't define using installation
2383 (inst_localtime-file): New variable.
2384 * time/Makefile (installed-localtime-file): Use inst_localtime-file.
2385 Reported by Edward Seidl <seidl@janed.com>.
2387 1997-03-10 02:31 H.J. Lu <hjl@gnu.ai.mit.edu>
2389 * time/Makefile: Add source files to dependencies for test data.
2391 1997-03-09 22:53 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
2393 * nis/nss_nis/nis-ethers.c: Don't ignore return value of yp_all.
2394 * nis/nss_nis/nis-proto.c: Likewise.
2395 * nis/nss_nis/nis-rpc.c: Likewise.
2396 * nis/nss_nis/nis-service.c: Likewise.
2398 1997-03-08 14:37 Miguel de Icaza <miguel@nuclecu.unam.mx>
2400 * sysdeps/sparc/dl-machine.h (elf_machine_rela): Upgrade to
2401 versioning; Added missing R_SPARC_WDISP30 handling.
2402 (RTLD_START): Implement it.
2404 * sysdeps/unix/sysv/linux/sparc/brk.c: Fix.
2406 * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for
2409 1997-03-02 18:06 Miguel de Icaza <miguel@nuclecu.unam.mx>
2411 * sysdeps/sparc/dl-machine.h (RTLD_START): Make arg as expected by
2412 the dynamic linker instead of having a new conditional define.
2413 Thanks to Richard Henderson for pointing this out.
2414 * elf/rtld.c: Remove usage of ELF_ADJUST_ARG.
2416 1997-03-20 20:44 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2418 * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make
2419 euidaccess weak alias.
2421 1997-03-07 10:30 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2423 * stdio-common/printf_fphex.c (MIN): New macro.
2425 * sysdeps/generic/netinet/in.h: Include <sys/types.h>.
2427 * sysdeps/generic/sys/mman.h (msync): Mention third arg.
2429 * sysdeps/generic/netinet/in.h: Add definitions for IPv6 basic
2430 API. (See change by Philip Blundell on Feb 16, 1997.)
2432 1997-03-05 10:40 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2434 * hurd/hurd.h (vpprintf): Include <stdarg.h>. New declaration.
2436 * hurd/set-host.c (_hurd_set_host_config): Cast second arg to
2439 * mach/mach_error.c (mach_error_string_int): Give full prototype.
2440 * mach/errstring.c (mach_error_string_int): Likewise.
2441 * mach/error_compat.c (__mach_error_map_compat): Likewise.
2442 * hurd/vpprintf.c (pwrite, vpprintf): Likewise.
2443 * stdio/vasprintf.c (vasprintf): Likewise.
2445 * mach/mach/mach_traps.h: Include <mach/kern_return.h>.
2447 * mach/spin-solid.c: Include <mach/mach_traps.h>.
2448 * mach/spin-solid.c (__spin_lock_solid): Provide arg to
2451 * mach/mach_init.c: Include <mach/mig_support.h>.
2453 * mach/mach_error.h (mach_error_string, mach_error,
2454 mach_error_type): Always provide prototypes.
2456 * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it
2457 appears to be entirely unused dead code.
2459 1997-03-02 13:38 Miles Bader <miles@gnu.ai.mit.edu>
2461 * string/argz.h (__need_error_t): New macro, before including <errno.h>
2462 [!__const] (__const): New macro.
2463 [!__error_t_defined] (error_t): New typedef.
2465 1997-03-09 06:59 Ulrich Drepper <drepper@cygnus.com>
2467 * Makeconfig: Add ASFLAGS-% flags for SPARC assembler which need
2469 * Makerules (compile.S): Use ASFLAGS-%.
2470 (COMPILE.S): Likewise.
2471 * config.make.in (ASFLAGS-.so): Define from ASFLAGS_SO.
2472 * configure.in: Substitute ASFLAGS_SO.
2473 * sysdeps/sparc/configure.in: New file.
2475 * posix/unistd.h: Add prototype for __euidaccess.
2476 * sysdeps/posix/euidaccess.c: Define as __euidaccess and make
2477 euidaccess weak alias.
2478 * sysdeps/stub/euidaccess.c: Likewise.
2479 * inet/rcmd.c: Use __ protected versions of non-standard functions.
2481 * locale/setlocale.c (setlocale): Don't set usage_count to
2482 MAX_USAGE_COUNT if it already has this value.
2484 * locale/programs/localedef.c: Don't use LOCALE_PATH to find
2485 binary locale files. Use LOCALEDIR only.
2486 * locale/programs/locfile.c: When named file not found and not
2487 absolute use path in I18NPATH.
2489 * stdlib/Makefile (headers): Add inttypes.h.
2490 * sysdeps/wordsize-32/inttypes.h: New file.
2491 * sysdeps/wordsize-64/inttypes.h: New file.
2493 * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL
2494 and AF_FILE as synonym for AF_LOCAL.
2495 * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
2497 * time/Makefile: Rewrite rules for test to handle parallel builds.
2499 1997-03-09 05:26 Ulrich Drepper <drepper@cygnus.com>
2501 * manual/startup.texi (EXIT_FAILURE): Fix typo. Patch by
2502 robbe@orcus.priv.at.
2504 1997-03-09 05:10 Edward Seidl <seidl@janed.com>
2506 * sysdeps/i386/elf/start.S (nofini): *Really* align stack to
2509 1997-03-09 01:48 Ulrich Drepper <drepper@cygnus.com>
2511 * elf/link.h: Define __need_NULL to get definition. Include
2513 Patch by Andreas Jaeger <aj@arthur.pfalz.de>.
2515 1997-03-08 21:48 Thorsten Kukuk <kukuk@tk.uni-paderborn.de>
2517 Rewrite NIS code to allow empty keys.
2518 * nis/nss_nis/nis-ethers.c: Rewritten.
2519 * nis/nss_nis/nis-proto.c: Rewritten.
2520 * nis/nss_nis/nis-publickey.c: Rewritten.
2521 * nis/nss_nis/nis-rpc.c: Rewritten.
2522 * nis/nss_nis/nis-service.c: Rewritten.
2524 1997-03-08 16:02 Andreas Jaeger <aj@arthur.pfalz.de>
2526 * time/scheck.c (scheck): Add extra const to second argument.
2528 * time/private.h: Correct prototypes to match definition.
2530 1997-03-08 18:55 Ulrich Drepper <drepper@cygnus.com>
2532 * sysdeps/alpha/__math.h: Remove cabs inline definition.
2533 Reported by Philip Blundell <pjb27@cam.ac.uk>.
2535 1997-03-08 05:30 Ulrich Drepper <drepper@cygnus.com>
2537 * argp/Makefile (routines): Add argp-eexst.
2538 * argp/argp-ba.c (argp_program_bug_address): Make `const'.
2539 * argp/argp-eexst.c: New file. Define exit status variable.
2540 * argp/argp-help.c (__argp_state_help): Use argp_err_exit_status
2541 variable instead of always exiting with value 1.
2542 * argp/argp-pv.c (argp_program_version): Make `const'.
2543 * argp/argp.h: Declare argp_err_exit_status.
2544 Patches by Miles Bader <miles@gnu.ai.mit.edu>.
2546 * locale/programs/localedef.c: Use argp_err_exit_status to
2547 terminate with correct value.
2549 * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted
2550 switching of UID before opening .rhosts.
2552 * libio/vsnprintf.c: Change implementation to follow ISO C 9X
2553 proposal. The return value now is always the number of characters
2554 which would be written if enough space is available.
2555 * manual/stdio.texi: Update description for new behaviour.
2557 * locale/locale.h (__locale_t): Don't use __locale_t for struct
2558 name and pointer to struct since old gccs cannot keep the namespaces
2559 apart. Rename struct to __locale_struct.
2560 * locale/duplocale.h: Likewise.
2561 * locale/newlocale.h: Likewise.
2563 * math/Makefile (headers): Add complex.h and cmathcalls.h.
2564 (routines): Remove w_cabs. Add conj, cimag, creal, and cabs.
2565 * math/math.h: Undefine __MATHDECL_1, __MATHDECL, and __MATHCALL
2567 (signgam): Move declaration to here from mathcalls.h.
2568 * math/mathcalls.h (cabs, __cabs_complex, signgam): Remove definition.
2569 Correct comment for fmin and fmax.
2570 Start implementing complex math function from ISO C 9X.
2571 * math/complex.h: New file.
2572 * math/cmathcalls.h: New file.
2573 * math/cabs.c: New file.
2574 * math/cabsf.c: New file.
2575 * math/cabsl.c: New file.
2576 * math/cimag.c: New file.
2577 * math/cimagf.c: New file.
2578 * math/cimagl.c: New file.
2579 * math/conj.c: New file.
2580 * math/conjf.c: New file.
2581 * math/conjl.c: New file.
2582 * math/creal.c: New file.
2583 * math/crealf.c: New file.
2584 * math/creall.c: New file.
2585 * sysdeps/libm-ieee754/w_cabs.c: Removed.
2586 * sysdeps/libm-ieee754/w_cabsf.c: Removed.
2587 * sysdeps/libm-ieee754/w_cabsl.c: Removed.
2589 * posix/regex.c: Merge with regex sources from Arnold Robbins'
2591 * posix/regex.h: Likewise.
2593 Add regex test suite by Tom Lord.
2594 * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h.
2595 (tests): Add runtests.
2596 (before-compile): Add testcases.h.
2597 (testcases.h): New rule to generate header with tests.
2598 * posix/TESTS: New file.
2599 * posix/TESTS2C.sed.: New file.
2600 * posix/runtests.c: New file.
2601 * posix/testcases.h: New file.
2603 * sysdeps/unix/sysv/linux/poll.c: Test whether poll syscall is
2604 available and use fall-back implementation if not.
2606 * sysdeps/unix/sysv/linux/syscalls.list: Sort entries.
2608 * time/ialloc.c: Update from tzcode1997c.
2609 * time/private.h: Likewise.
2610 * time/scheck.c: Likewise.
2611 * time/tzselect.ksh: Likewise.
2612 * time/zdump.c: Likewise.
2613 * time/zic.c: Likewise.
2615 * time/tzfile.c: Pretty print.
2617 1997-03-06 07:37 Geoff Keating <geoffk@ozemail.com.au>
2619 Port to powerpc-*-linux-gnu. Slightly tested, under MkLinux,
2622 * sysdeps/powerpc/Implies: Added.
2623 * sysdeps/powerpc/__longjmp.S: Added.
2624 * sysdeps/powerpc/__math.h: Added.
2625 * sysdeps/powerpc/bsd-_setjmp.S: Added.
2626 * sysdeps/powerpc/bsd-setjmp.S: Added.
2627 * sysdeps/powerpc/dl-machine.h: Added.
2628 * sysdeps/powerpc/ffs.c: Added.
2629 * sysdeps/powerpc/fpu_control.h: Added.
2630 * sysdeps/powerpc/jmp_buf.h: Added.
2631 * sysdeps/powerpc/setjmp.S: Added.
2632 * sysdeps/powerpc/strlen.S: Added.
2633 * sysdeps/powerpc/elf/start.c: Added.
2634 * sysdeps/powerpc/fpu_control.h: Added.
2635 * sysdeps/powerpc/jmp_buf.h: Added.
2637 * sysdeps/unix/sysv/linux/powerpc/Dist: Added.
2638 * sysdeps/unix/sysv/linux/powerpc/_exit.S: Added.
2639 * sysdeps/unix/sysv/linux/powerpc/brk.c: Added.
2640 * sysdeps/unix/sysv/linux/powerpc/clone.S: Added.
2641 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Added.
2642 * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Added.
2643 * sysdeps/unix/sysv/linux/powerpc/profil.c: Added.
2644 * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Added.
2645 * sysdeps/unix/sysv/linux/powerpc/socket.S: Added.
2646 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Added.
2647 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Added.
2648 * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Added.
2649 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Added.
2650 * sysdeps/unix/sysv/linux/powerpc/termbits.h: Added.
2652 1997-03-05 05:24 Geoff Keating <geoffk@ozemail.com.au>
2654 * elf/dl-runtime.c (fixup): Add ELF_FIXUP_RETURNS_ADDRESS switch,
2655 because knowing the first instruction of a PowerPC PLT trampoline
2656 is not very helpful.
2658 1997-03-04 08:04 Geoff Keating <geoffk@ozemail.com.au>
2660 * elf/dl-load.c (ELF_PREFERRED_ADDRESS, ELF_PREFERRED_ADDRESS_DATA,
2661 ELF_FIXED_ADDRESS): Added. These are for dl-machine.h to indicate
2662 a preference as to where executables should be loaded.
2664 1997-02-28 08:50 Geoff Keating <geoffk@ozemail.com.au>
2666 * elf/elf.h: Add in all those PowerPC reloc types.
2668 1997-02-24 07:12 Geoff Keating <geoffk@ozemail.com.au>
2670 * stdio-common/vfscanf.c: Use __va_copy if available.
2672 1997-03-06 13:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2674 * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to
2677 1997-03-07 14:27 Ulrich Drepper <drepper@cygnus.com>
2679 * sysdeps/libm-ieee754/s_fpclassify.c (__fpclassify): Don't use
2680 non-existing GET_WORDS macro, use EXTRACT_WORDS.
2681 Reported by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
2683 1997-03-07 05:27 Ulrich Drepper <drepper@cygnus.com>
2685 * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and
2686 kernel-level sigaction structure is different. handle this
2688 Bug report by Andreas Jaeger <jaeger@informatik.uni-kl.de>.
2690 1997-03-06 05:55 David Engel <david@sw.ods.com>
2692 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also
2693 recognize cache entries with flag == 3.
2695 1997-03-06 01:05 Ulrich Drepper <drepper@cygnus.com>
2697 * sysdeps/generic/netinet/in.h (INADDR_NONE): Cast to unsigned int.
2698 (INADDR_LOOPBACK): Likewise.
2699 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
2701 * manual/socket.texi: Correct types of INADDR_* constants from
2702 unsigned long to unsigned.
2704 1997-03-05 23:14 Ulrich Drepper <drepper@cygnus.com>
2706 * time/antarctica: Update from tzdata1997c.
2707 * time/asia: Likewise.
2708 * time/zone.tab: Likewise.
2710 1997-03-05 00:43 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2712 * configure.in (libc_cv_asm_symver_directive,
2713 libc_cv_ld_version_script_option): Remove unknown instruction from
2714 assembler test file.
2716 1997-03-04 19:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2718 * sysdeps/m68k/fpu/__math.h: Update feature tests to use
2720 [__USE_ISOC9X]: Define __log2 and __exp2 inlines.
2721 (fabs): Remove defininition, it is a gcc builtin.
2722 (sqrt, __sqrt): Remove definition, they have wrappers in libm.
2724 1997-03-04 10:11 H.J. Lu <hjl@lucon.org>
2726 * sunrpc/Makefile ($(objpfx)rpc-proto.c): Create subdir before
2729 1997-03-05 03:59 Ulrich Drepper <drepper@cygnus.com>
2731 * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline
2732 instead to avoid namespace problems.
2733 Reported by David Mosberger-Tang <davidm@AZStarNet.COM>.
2735 1997-03-03 19:01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2737 * login/utmp_file.c: Fix previous change. Make portable by
2738 checking the _HAVE_UT_* feature macros.
2740 1997-03-04 04:31 Ulrich Drepper <drepper@cygnus.com>
2742 * Makerules: Add rules to handle versioning.
2743 * config.h.in (DO_VERSIONING): New macro.
2744 * config.make.in (versioning): New variable.
2745 * configure.in: Add checks for .symver directive in gas and
2746 --version-script option to ld. Define DO_VERSIONING and
2747 versioning if appropriate.
2749 * math/Makefile (routines): Add s_signbit, s_fpclassify, s_fmax,
2751 * math/math.h: Define ISO C 9X constants, macros and functions.
2752 * math/mathcalls.h: Likewise.
2753 * sysdeps/libm-ieee754/s_fdim.c: New file.
2754 * sysdeps/libm-ieee754/s_fdimf.c: New file.
2755 * sysdeps/libm-ieee754/s_fdiml.c: New file.
2756 * sysdeps/libm-ieee754/s_fmax.c: New file.
2757 * sysdeps/libm-ieee754/s_fmaxf.c: New file.
2758 * sysdeps/libm-ieee754/s_fmaxl.c: New file.
2759 * sysdeps/libm-ieee754/s_fmin.c: New file.
2760 * sysdeps/libm-ieee754/s_fminf.c: New file.
2761 * sysdeps/libm-ieee754/s_fminl.c: New file.
2762 * sysdeps/libm-ieee754/s_fpclassify.c: New file.
2763 * sysdeps/libm-ieee754/s_fpclassifyf.c: New file.
2764 * sysdeps/libm-ieee754/s_fpclassifyl.c: New file.
2765 * sysdeps/libm-ieee754/s_signbit.c: New file.
2766 * sysdeps/libm-ieee754/s_signbitf.c: New file.
2767 * sysdeps/libm-ieee754/s_signbitl.c: New file.
2769 * stdio-common/printf_fphex.c: Correct printing of decimal point
2771 Simplify conversion of mantissa to string.
2772 * stdio-common/vfscanf.c: Handle %A format.
2773 Optimize termination of floating-point scanning.
2774 * stdio-common/tstscanf.c (main): Add new test to scanf to test
2775 scanning float values with given width.
2776 * stdlib/strtod.c: Add handling of floating-point numbers in
2777 hexadecimal notation.
2779 * stdlib/stdlib.h: Use __USE_ISOC9X feature macro for new long long
2781 Pretty print #if directives.
2782 * string/string.h: Pretty print #if directives.
2784 * sysdeps/ieee754/dbl2mpn.c: Update copyright.
2785 * sysdeps/ieee754/ldbl2mpn.c: Likewise.
2786 * sysdeps/ieee754/mpn2dbl.c: Likewise.
2787 * sysdeps/ieee754/mpn2flt.c: Likewise.
2788 * sysdeps/ieee754/mpn2ldbl.c: Likewise.
2790 * sysdeps/unix/sysv/linux/poll.c: Implement poll function by
2791 falling back to select-based implementation if syscall isn't
2793 * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
2795 * time/leapseconds: Update from tzdata1997b.
2796 * time/zic.c: Update from tzcode1997b.
2798 1997-03-01 15:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2800 * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
2801 depedencies between installed $(tzlinks) and $(tzbases) files.
2803 1997-03-01 14:27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2805 * math/math.h: Make compatible with traditional preprocessor;
2806 requires carefull placement of whitespace in macro arguments.
2807 Use __CONCAT instead of ##.
2808 Declare long double functions only if __STDC__ or __GNUC__.
2809 * math/mathcall.h: Avoid whitespace before argument of macro call
2810 that is used as function name.
2812 * sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
2813 (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
2814 of __NO_M81_MATH_INLINES.
2815 [!__LIBC_M81_MATH_INLINES]: Don't define internal functions
2816 starting with __ieee754.
2817 [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
2818 functions as inlines.
2819 (__m81_defun): Put __attribute__ between return type and function
2821 * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
2823 * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
2824 instead of __NO_M81_MATH_INLINES.
2825 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
2826 * sysdeps/m68k/fpu/k_cos.c: Likewise.
2827 * sysdeps/m68k/fpu/k_sin.c: Likewise.
2828 * sysdeps/m68k/fpu/k_tan.c: Likewise.
2829 * sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
2830 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
2831 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
2832 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
2833 * sysdeps/m68k/fpu/s_modf.c: Likewise.
2834 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
2836 1997-02-27 21:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2838 * Makefile (tests): Cope with $PATH not including the current
2841 1997-02-27 18:04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2843 * sysdeps/unix/Makefile ($(common-objpfx)mk-local_lim): Use
2844 $(common-objdir-compile).
2845 ($(common-objpfx)make-ioctls): Likewise.
2846 (mk-local_lim-CFLAGS): Set this instead of local_lim-CFLAGS.
2847 ($(common-objpfx)sys/param.h): Use $(make-target-directory).
2848 ($(addprefix $(common-objpfx),$(sys/param.h-includes))):
2850 ($(common-objpfx)sys/syscall.h): Likewise.
2851 ($(common-objpfx)local_lim.h): Let make deal with command
2853 ($(common-objpfx)param.h.dep): Use temporary file and update
2855 ($(common-objpfx)errnos): Avoid the Useless Use of cat Award.
2856 (include $(common-objpfx)param.h.dep): Ignore error.
2858 * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Use
2859 $(common-objdir-compile).
2860 (mk-stdiolim-CFLAGS): Renamed from cded-objdir-includes, use
2861 $(shell pwd) instead of $$cwd.
2863 * sysdeps/generic/Makefile ($(common-objpfx)det_endian): Use
2864 $(common-objdir-compile).
2865 ($(objpfx)make_siglist): Use $(native-compile).
2866 (make_siglist-CFLAGS): New variable.
2868 * Makerules (ALL_BUILD_CFLAGS): Renamed from BUILD_CFLAGS, leaving
2869 the old name for the user to pass additional flags to the host
2870 compiler. Fix reference to config header.
2871 (native-compile, common-objdir-compile): Rewritten to make more
2873 * sysdeps/unix/sysv/sysv4/solaris2/Makefile: Set ALL_BUILD_CFLAGS
2874 instead of BUILD_CFLAGS.
2876 * sysvips/sys/ipc.h: Warn if needed feature select macro are not
2879 1997-02-27 17:11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2881 * sunrpc/Makefile ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c):
2882 New rules to generate dependencies for the RPC service objects.
2884 1997-02-27 16:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2886 * argp/argp-parse.c (parser_finalize): Always set *END_INDEX if
2889 1997-02-28 03:27 Ulrich Drepper <drepper@cygnus.com>
2891 * stdlib/strtod.c (STRTOF): Make sure return value is large enough
2892 so that clearing second word is necessary.
2894 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
2895 header since it is wrong for 64 bit systems.
2896 Patch by a sun <asun@zoology.washington.edu>.
2898 1997-02-27 10:34:11 Richard Henderson <rth@tamu.edu>
2900 * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
2901 and OSF/1 style brk syscalls. We may want to change Linux/Alpha
2902 for the benefit of running foreign binaries.
2904 1997-03-01 20:21 Miles Bader <miles@gnu.ai.mit.edu>
2906 * login/utmp_file.c (pututline_file): Correctly decide whether
2907 LAST_ENTRY matches DATA.
2908 Don't depend on ut_id ever being set.
2909 (proc_utmp_eq): New function.
2910 (internal_getut_r): Renamed from internal_getutid_r.
2913 * login/logout.c (logout): Change type of entry to be DEAD_PROCESS.
2915 1997-02-25 19:42 Miles Bader <miles@gnu.ai.mit.edu>
2917 * sysdeps/mach/hurd/fcntlbits.h (O_NORW): New macro.
2919 1997-02-27 05:12 Ulrich Drepper <drepper@cygnus.com>
2921 * manual/Makefile: Add rules to run and distribute xtract-typefun.
2922 * manual/xtract-typefun.awk: New file. Script to extract function,
2923 variable, macro anchor to put into the `dir' file.
2924 * manual/signal.texi: Document difference between SysV and BSD
2925 signal(3) function and add documentation for sysv_signal.
2927 * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing
2928 exponent before comparing.
2930 1997-02-27 01:13 Ulrich Drepper <drepper@cygnus.com>
2932 * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change
2933 prototypes to use types with explicit width. `unsigned long' is
2934 different on 64 bit systems.
2935 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
2936 * sysdeps/generic/htonl.c: Likewise.
2937 * sysdeps/generic/htons.c: Likewise.
2938 * sysdeps/generic/ntohl.c: Likewise.
2939 * sysdeps/generic/ntohs.c: Likewise.
2940 Suggested by a sun <asun@zoology.washington.edu>.
2942 1997-02-26 08:30 Andreas Jaeger <aj@arthur.pfalz.de>
2944 * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not
2945 defined and we want optimization.
2947 1997-02-02 19:53 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2949 * misc/getpass.c: Don't disable canonical input.
2950 Reverted patch of Mon Jan 6 01:35:29 1997.
2952 1996-12-14 22:07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2954 * libio/libioP.h (_IO_finish_t): Take additional parameter, to
2955 match the hidden __in_chrg parameter of the destructor.
2956 (_IO_FINISH): Pass zero for it.
2957 * libio/genops.c (_IO_default_finish): Add second parameter, which
2959 * libio/memstream.c (_IO_mem_finish): Likewise.
2960 * libio/fileops.c (_IO_file_finish): Likewise.
2961 * libio/strops.c (_IO_str_finish): Likewise. All callers changed.
2963 1997-02-27 00:23 H.J. Lu <hjl@lucon.org>
2965 * time/Makefile: Avoid using patterns in dependencies.
2967 1997-02-26 00:56 Miguel de Icaza <miguel@nuclecu.unam.mx>
2969 * elf/rtld.c: Make _dl_start static. Otherwise the linker on the
2970 SPARC will convert the call _dl_start into a call into the PLT.
2972 * elf/rtld.c (_dl_start): On the SPARC we need to adjust the value
2973 of arg to make it point to the actual values.
2975 * sysdeps/sparc/elf/DEFS.h: New ELF specific version.
2976 * sysdeps/sparc/Dist: Mention sysdeps/sparc/elf/DEFS.h.
2978 * sysdeps/sparc/bsd-_setjmp.S, sysdeps/sparc/bsd-setjmp.S: Make
2981 * sysdeps/sparc/dl-machine.h (elf_machine_load_address):
2983 (elf_machine_rela): Make it compile; fix existing relocation
2984 types; add unhandled relocation types.
2985 (ELF_ADJUST_ARG): Get pointer to arguments at program startup.
2986 (RTLD_START): Initial implementation, not yet finished.
2988 * sysdeps/sparc/elf/start.S: Fix.
2990 * sysdeps/sparc/fpu_control.h: Remove duplicate declaration of
2993 * sysdeps/sparc/divrem.m4: Make compilable under Linux.
2994 * sysdeps/sparc/rem.S, sysdeps/sparc/sdiv.S, sysdeps/sparc/udiv.S,
2995 sysdeps/sparc/urem.S : Regenerated.
2997 * sysdeps/sparc/setjmp.S: Make it PIC aware.
2999 * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Define
3000 __ASSEMBLY__ before using kernel header.
3002 * sysdeps/unix/sysv/linux/sparc/Makefile: Use -mv8 flag to compile
3005 * sysdeps/unix/sysv/linux/sparc/brk.c: Implement.
3006 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Remove code
3007 to handle old signals.
3008 * sysdeps/unix/sysv/linux/sparc/sigaction.c: Implements sigaction
3009 for all Linux/SPARC kernels.
3010 * sysdeps/unix/sysv/linux/sparc/syscall.S: Add code to store
3011 errno using __errno_location.
3012 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Add various handler
3013 macros for assembler sources.
3014 * sysdeps/unix/sysv/linux/sparc/errno.c: Define errno.
3016 1997-02-25 16:02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3018 * elf/rtld.c (dl_main): Remove dead code that is never executed.
3019 Rename local variable l to main_map where it is used to point to
3020 the load_map for the executable.
3022 1997-02-25 15:03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3024 * elf/dl-version.c (_dl_check_all_versions): Ignore libraries that
3027 1997-02-24 23:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3029 * Makerules: Generate implicit object suffix rules automagically.
3030 (o-iterator): Move before first use.
3032 * Makeconfig (all-object-suffixes): Add .bo suffix.
3034 1997-02-25 15:11 Ulrich Drepper <drepper@cygnus.com>
3036 * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct
3037 word on stack for overflow.
3039 1997-02-24 23:05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
3041 * malloc/malloc.c (malloc_get_state): New function.
3042 Saves global malloc state to an opaque data structure which
3043 is dynamically allocated in the heap.
3044 * malloc/malloc.c (malloc_set_state): New function.
3045 Restore previously obtained state.
3046 * malloc/malloc.h: Add declaration of malloc_get_state()
3047 and malloc_set_state().
3049 1997-02-24 23:27 Ulrich Drepper <drepper@cygnus.com>
3051 * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right
3054 1997-02-24 17:38 Ulrich Drepper <drepper@cygnus.com>
3056 * misc/error.c: Make error and error_at_line weak aliases of
3057 __error and __error_at_line respectively.
3058 Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>.
3060 * sysdeps/unix/sysv/linux/i386/socket.S: Update copyright.
3062 1997-02-22 11:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3064 * elf/ldd.bash.in: Run the program directly, not as argument
3065 to the dynamic linker, if it contains an interpreter segment.
3066 * elf/ldd.sh.in: Likewise.
3068 * elf/rtld.c (dl_main): In verify mode check whether the dynamic
3069 object contains an interpreter segment and exit with 2 if not.
3071 1997-02-23 01:23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3073 * Makefile (distribute): Remove nsswitch.h, netgroup.h, mcheck.h
3074 and xlocale.h. Make-dist adds them automagically.
3076 1997-02-22 12:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3078 * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for
3079 time-era-num-entries.
3081 1997-02-06 13:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3083 * rellns-sh: No need to check for existance of first parameter.
3085 1997-02-24 15:20 Jonathan T. Agnew <jtagnew@amherst.edu>
3087 * glibcbug.in: Don't mention destination on MAIL_AGENT command line
3088 to avoid duplicate mail.
3090 1997-02-24 03:51 Ulrich Drepper <drepper@cygnus.com>
3092 * Makefile (distribute): Add isomac.c.
3093 (tests): Run isomac test.
3095 * features.h (__USE_ISOC9X): New macro.
3097 * catgets/catgets.c: Don't use global variable `optind'. Instead
3098 use result computed by argp_parse.
3099 * db/makedb: Likewise.
3100 * locale/programs/locale.c: Likewise.
3101 * locale/programs/localedef.c: Likewise.
3103 * libio/stdio.h: Rewrite. Make it more readable and add comments.
3105 * libio/clearerr.c: Remove clearerr_locked alias.
3106 * libio/feof.c: Remove feof_locked alias.
3107 * libio/ferror.c: Remove feof_locked alias.
3108 * libio/fileno.c: Remove fileno_locked alias.
3109 * libio/fputc.c: Remove fputc_locked alias.
3110 * libio/getc.c: Remove getc_locked alias.
3111 * libio/getchar.c: Remove getchar_locked alias.
3112 * libio/iofflush.c: Remove fflush_locked alias.
3113 * libio/putc.c: Remove putc_locked alias.
3114 * libio/putc.c: Remove putchar_locked alias.
3116 * stdio-common/printf_fp.c: When number is inifinity print INF
3117 or inf depending on case of specifier. Same for NaN where NAN
3118 or nan is printed. Specified in ISO C 9X.
3120 * misc/sys/cdefs.h (__restrict): Define to empty string for now.
3121 * stdio/stdio.h: Add __restrict to prototypes where necessary.
3122 * libio/stdio.h: Likewise.
3123 * stdlib/stdlib.h: Likewise.
3124 * string/string.h: Likewise.
3125 * time/time.h: Likewise.
3126 * wcsmbs/wchar.h: Likewise.
3128 * stdlib/strtod.c: Change to recognize INF, INFINITY, NAN, and
3131 * sysdeps/ieee754/huge_val.h: Define HUGE_VALF and HUGE_VALL instead
3132 of HUGE_VALf and HUGE_VALL.
3133 * stdlib/strtof.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALF
3134 instead of HUGE_VALf.
3135 * wcsmbs/wcstof.c: Likewise.
3136 * stdlib/strtold.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALL
3137 instead of HUGE_VALl.
3138 * wcsmbs/wcstold.c: Likewise.
3140 * sysdeps/posix/gai_strerror.c: Use size_t for counter variable to
3143 * wcsmbs/Makefile (routines): Add wcscasecmp and wcsncase.
3144 * wcsmbs/wchar.h: Add prototypes for wcscasecmp and wcsncase.
3145 * wcsmbs/wcscasecmp.c: New file.
3146 * wcsmbs/wcsncase.c: New file.
3148 * stdlib/strtol.c: Define wide character quad word functions as
3149 wcstoll and wcstoull and normal versions as strtoll and strtoull.
3150 * wcsmbs/wchar.h: Add prototypes for wcstoll and wcstoull.
3151 * wcsmbs/wcstoq: Renamed to wcstoll.c.
3152 * wcsmbs/wcstouq: Renamed to wcstoull.c.
3153 * wcsmbs/wcstoll.c: Renamed from wcstoq.c. Make wcstoq a weak
3155 * wcsmbs/wcstoull.c: Renamed from wcstouq.c. Make wcstouq a weak
3157 * wcsmbs/Makefile (routines): Replace wcstoq and wcstouq by
3158 wcstoll and wcstoull respectively.
3159 * stdlib/strtoq.c: Rename to strtoll.c.
3160 * stdlib/strtouq.c: Rename to strtoull.c.
3161 * stdlib/strtoll.c: Renamed from strtoq.c. Make strtoq a weak
3163 * stdlib/strtoll.c: Renamed from strtouq.c. Make strtouq a weak
3165 * stdlib/Makefile (routines): Replace strtoq and strtouq by
3166 strtoll and strtoull respectively.
3167 * stdio-common/vfscanf.c: Don't use __strtoq_internal and
3168 __strtouq_internal but instead __strtoll_internal and
3169 __strtoull_internal respectively.
3170 * stdlib/stdlib.h (strtoq): Use __internal_strtoll in inline version.
3171 (strtouq): Similar with __internal_strtoull.
3172 * wcsmbs/wchar.h (wcstoq): Use __internal_wcstoll in inline version.
3173 (wcstouq): Similar with __internal_wcstoull.
3175 1997-02-23 04:38 Ulrich Drepper <drepper@cygnus.com>
3177 * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus
3178 sign in the strtouXX functions. The results gets simply negated.
3179 * stdio-common/tstscanf.c: Add testcase for above case.
3180 * stdlib/tst-strtol.c: Correct tests.
3182 * manual/stdio-fp.c: New file. Generate output for example program
3185 * stdio-common/Makefile (routines): Add printf_fphex.
3186 * stdio-common/vfprintf.c: Add handling of %a and %A specifier.
3187 * stdio-common/printf_fphex.c: New file. Implement %a and %A
3190 1997-02-22 03:01 Ulrich Drepper <drepper@cygnus.com>
3192 * sysdeps/unix/sysv/linux/timebits.h (CLK_TCK): Don't defined if
3195 * math/math.h: Prevent definition of struct exception when using
3196 C++. Use __exception instead.
3198 1997-02-22 01:45 Ulrich Drepper <drepper@cygnus.com>
3200 * sysdeps/unix/syscalls.list: Dup takes only one argument.
3201 Reported by Greg McGary.
3203 1997-02-21 00:22 Miles Bader <miles@gnu.ai.mit.edu>
3205 * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather
3206 than file_get_translator.
3208 * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c
3209 (_cleanup): Use __fcloseall instead of fclose with a NULL stream.
3211 1997-02-20 01:28 Miles Bader <miles@gnu.ai.mit.edu>
3213 * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root.
3214 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3216 1997-02-19 13:56 Miles Bader <miles@gnu.ai.mit.edu>
3218 * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0
3221 * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for
3222 now instead of a weak extern, as some old programs expect it to be
3225 1997-02-18 15:39 Miles Bader <miles@gnu.ai.mit.edu>
3227 * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias.
3229 * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max,
3230 __hurd_threadvar_stack_offset): Restore initialized versions, so
3231 startup works correctly.
3233 * malloc/thread-m.h (mutex_trylock): Invert sense of return value.
3235 1997-02-17 10:58 Miles Bader <miles@gnu.ai.mit.edu>
3237 * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock,
3238 not __mutex_try_lock.
3239 (tsd_setspecific): Cast DATA to (unsigned long) before storing.
3240 (tsd_getspecific): Case variable to (void *) before returning.
3242 * hurd/hurdinit.c (__libc_argv): Remove extern.
3243 (__libc_argc): New variable.
3245 1997-02-15 10:23 Miles Bader <miles@gnu.ai.mit.edu>
3247 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3248 _HURD_THREADVAR_MALLOC.
3250 [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
3251 (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of
3253 (mutex_t): Type removed & replaced by new macro.
3254 (tsd_key_t): Typedef to int instead of pthread_key_t.
3255 (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
3256 (__pthread_initialize): New macro, work around assumption of pthreads.
3257 (tsd_keys_alloced): New static variable.
3258 <hurd/threadvar.h>: New include.
3260 * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern.
3261 (_S_msg_report_wait): Check to see if _hurd_itimer_thread is
3262 defined before using it.
3264 * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc):
3266 * hurd/hurdinit.c (__libc_argv): Make extern.
3268 * hurd/getdport.c (_default_hurd_getdport_fn): New variable.
3269 (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn.
3271 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max,
3272 __hurd_threadvar_stack_offset,
3273 __hurd_threadvar_stack_mask): New variables.
3274 * hurd/hurdsig.c (__hurd_sigthread_stack_base,
3275 __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
3276 New variables (moved here from hurdstartup.c).
3277 * hurd/hurdstartup.c (__hurd_sigthread_stack_base,
3278 __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
3279 Variables removed (moved to hurdsig.c).
3280 (__hurd_threadvar_max, __hurd_threadvar_stack_offset,
3281 __hurd_threadvar_stack_mask): Variables removed.
3282 * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
3283 __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables,
3284 __hurd_threadvar_max, __hurd_threadvar_stack_offset,
3285 __hurd_threadvar_stack_mask): Variables removed.
3287 1997-02-14 14:07 Miles Bader <miles@gnu.ai.mit.edu>
3289 * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
3293 [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
3294 (mutex_t): Type removed.
3295 (mutex_t): New macro.
3296 (mutex_trylock): New macro.
3297 (__x_mutex_lock, __x_mutex_unlock): New functions.
3298 (mutex_lock, mutex_unlock): New macros, redefining the behavior of
3299 the cthread definitions.
3300 (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t.
3301 (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
3302 (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed.
3303 (__pthread_initialize): New macro, work around assumption of pthreads.
3305 1997-02-11 05:27 Ulrich Drepper <drepper@cygnus.com>
3307 * locale/weight.h (collate_rules): It's an u_int32_t array.
3308 (get_weight): Compute initial SLOT value correctly.
3310 1997-02-24 17:06 Geoffrey Keating <geoffk@discus.anu.edu.au>
3312 * sysdeps/unix/sysv/linux/accept.S (NARGS): Describe number of
3313 arguments taken, for sysdeps/unix/sysv/linux/powerpc/socket.S.
3314 * sysdeps/unix/sysv/linux/bind.S: Likewise.
3315 * sysdeps/unix/sysv/linux/connect.S: Likewise.
3316 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3317 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3318 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3319 * sysdeps/unix/sysv/linux/listen.S: Likewise.
3320 * sysdeps/unix/sysv/linux/recv.S: Likewise.
3321 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3322 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3323 * sysdeps/unix/sysv/linux/send.S: Likewise.
3324 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3325 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3326 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3327 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3328 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3330 1997-02-22 00:17 Ulrich Drepper <drepper@cygnus.com>
3332 * catgets/gencat.c: Change to use argp.
3333 * db/makedb: Likewise.
3334 * locale/programs/localedef.c: Likewise.
3336 * locale/programs/locale.c: Little adjustment for better usage of
3339 1997-02-20 20:07 Greg McGary <gkm@eng.ascend.com>
3341 * Makeconfig: Add rules for libc with bounded pointers.
3342 * Makerules: Likewise.
3343 * config.make.in: Likewise.
3344 * configure.in: Likewise.
3346 1997-02-21 10:41 Miles Bader <miles@gnu.ai.mit.edu>
3348 * argp.h (OPTION_NO_USAGE): New macro.
3349 * argp-help.c (usage_long_opt, usage_argful_short_opt,
3350 add_argless_short_opt): Implement OPTION_NO_USAGE.
3352 1997-02-20 16:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3354 * malloc/obstack.h: Fix typo.
3356 1997-02-20 15:56 Miles Bader <miles@gnu.ai.mit.edu>
3358 * argp-fmtstream.c (__argp_fmtstream_update): Account for case
3359 where NEXTLINE points one past the end of the active buffer.
3361 * argp-help.c <stddef.h>: New include.
3362 (__argp_failure): Only exit if STATE says it's ok.
3363 (print_header, hol_entry_help): Use UPARAMS fields rather than
3365 (_help): Call fill_in_uparams if necessary.
3366 (struct hol_help_state): New type.
3367 (struct pentry_state): Add hhstate field. Remove prev_entry &
3369 (hol_entry_help): Add HHSTATE parameter. Remove prev_entry &
3370 sep_groups parameters.
3371 Suppress duplicate arguments if requested, and note the fact.
3372 (print_header, comma): Use PEST->hhstate fields.
3373 (hol_help): Add HHSTATE variable & pass to hol_entry_help.
3374 Remove LAST_ENTRY & SEP_GROUPS variables.
3375 If any suplicate arguments were suppressed, print explanatory note.
3376 (filter_doc): Replace PEST parameter with STATE.
3377 (struct uparams): New type.
3378 (uparams): New variable.
3379 (struct uparam_name): New type.
3380 (uparam_names): New variable.
3381 (fill_in_uparams): New function.
3382 (__argp_failure, __argp_error, __argp_state_help): Make STATE
3384 * argp.h (argp_state_help, __argp_state_help, argp_usage,
3385 __argp_usage, argp_error, __argp_error, argp_failure,
3386 __argp_failure): Make STATE parameter const.
3387 (ARGP_KEY_HELP_DUP_ARGS_NOTE): New macro.
3389 * argp.h (argp_program_bug_address): Make const.
3391 1997-02-20 19:20 Ulrich Drepper <drepper@cygnus.com>
3393 * sysdeps/unix/mman/syscalls.list: Explain msync interface.
3395 1997-02-19 01:37 Erik Troan <ewt@redhat.com>
3397 * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
3399 1997-02-20 14:44 Andreas Jaeger <aj@arthur.pfalz.de>
3401 * stdio-common/test-fseek.c: Remove temporary file, add
3404 1997-02-20 17:51 Ulrich Drepper <drepper@cygnus.com>
3406 * sysdeps/generic/netinet/in.h: Protect contents using
3407 __BEGIN/END_DECLS. Reported by a sun <asun@zoology.washington.edu>.
3409 * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net.
3410 * inet/Makefile (headers): Remove net/ethernet.h.
3411 * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h.
3412 * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h.
3414 1997-02-20 15:23 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
3416 * nss/nsswitch.c (__nss_configure_lookup): Use correct test when
3417 searching in sorted array.
3419 1997-02-20 01:24 Philip Blundell <pjb27@cam.ac.uk>
3421 * inet/getnameinfo.c: Change to use reentrant getXXbyYY functions
3422 and protect modification of global data.
3424 1997-02-19 18:48 Miles Bader <miles@gnu.ai.mit.edu>
3426 * argp-parse.c (argp_default_parser): Set STATE->name for OPT_PROGNAME.
3427 (parser_init): Use the basename for PARSER->state.name.
3428 * argp-help.c (__argp_error, __argp_failure, __argp_state_help):
3429 Use PROGRAM_INVOCATION_SHORT_NAME instead of PROGRAM_INVOCATION_NAME.
3431 * argp-parse.c (parser_init): Set PARSER->state.flags.
3432 Make check whether PARSER has the prog name in argv[0] at the
3435 1997-02-19 23:34 Ulrich Drepper <drepper@cygnus.com>
3437 * locale/programs/ld-time.c (time_finish): t_fmt_ampm is optional.
3438 Use default value instead of printing a warning.
3440 * nss/XXX-lookup.c: Add misssing explanation.
3442 1997-02-19 19:14 Andreas Jaeger <aj@arthur.pfalz.de>
3444 * inet/in6_addr.c: Add missing braces.
3446 * inet/getnameinfo.c: Include <arpa/inet.h>.
3448 * sysdeps/posix/getaddrinfo.c: Include <arpa/inet.h>.
3450 1997-02-19 11:46 Ulrich Drepper <drepper@cygnus.com>
3452 * string/strxfrm.c (STRCOLL): Correct handling of `position'
3453 levels with no non-IGNOREd element and handling of NUL byte.
3454 * string/strcoll.c (STRXFRM): Likewise.
3455 * locale/weight.h: Likewise.
3457 * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
3459 1997-02-19 03:28 Miles Bader <miles@gnu.ai.mit.edu>
3461 * argp/argp-help.c: Add support for user provided filter of help
3463 * argp/argp-parse.c: Likewise.
3464 * argp/argp.h: Likewise.
3465 * argp/argp-namefrob.h: Define __argp_input.
3467 * argp/argp-test.c: Add example for filter.
3469 1997-02-19 02:58 Ulrich Drepper <drepper@cygnus.com>
3472 * locale/programs/locale.c: Switch to use argp.
3474 * errno.h: Make it possible to get definition of error_t even
3475 after having errno.h already.
3477 * elf/dl-hash.h: New file. ELF hashing function. Extracted
3479 * elf/dl-lookup.c (_dl_elf_hash): Remove definition.
3481 * elf/dl-load.c: Rename _dl_does_name_match_p to _dl_name_match_p.
3482 * elf/dl-version.c: Likewise.
3484 * elf/dl-lookup.c: Implement new versioning lookup scheme.
3485 * elf/dl-version.c (_dl_check_map_versions): Initialize new field
3486 in l_versions member.
3488 * elf/dlvsym.c: Correct call of _dl_lookup_versioned_symbol_skip
3489 and _dl_lookup_versioned_symbol.
3491 * elf/link.h: Rename hash_name_pair to struct r_found_version.
3492 * sysdeps/alpha/dl-machine.h: Likewise.
3493 * sysdeps/i386/dl-machine.h: Likewise.
3494 * sysdeps/m68k/dl-machine.h: Likewise.
3495 * sysdeps/mips/dl-machine.h: Likewise.
3497 * intl/l10nflist.c: (_nl_make_l10nflist): Fix bug in computation of
3498 length of abs_filename.
3500 * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH.
3502 * locale/programs/ld-monetary.c (monetary_add): Allow value 0
3503 in mon_grouping information. This means no more grouping.
3504 * locale/programs/ld-numeric.c (numeric_add): Write value \377
3505 when seein value 0 in grouping information.
3506 * locale/programs/linereader.c (lr_close): Don't free fname since
3507 it might be used in error messages.
3509 * locale/programs/locale.c: Check whether output of `locale -a'
3510 really is locale directory. Also print locale aliases.
3512 * misc/search.h (__action_fn_t): Parameters VALUE and LEVEL cannot
3515 1997-02-19 02:16 Ulrich Drepper <drepper@cygnus.com>
3517 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Correct #defin to
3518 #define. Reported by Rick Flower <FLOWER@sdvax2.sdd.TRW.COM>.
3520 1997-02-19 01:37 Erik Troan <ewt@redhat.com>
3522 * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
3524 1997-02-19 01:02 Ulrich Drepper <drepper@cygnus.com>
3526 * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments.
3527 Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
3529 * sysdeps/stub/msync.c (msync): Add missing third parameter.
3531 1997-02-19 00:29 Ulrich Drepper <drepper@cygnus.com>
3533 * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed
3534 additional argument.
3536 1997-02-18 22:13 Ulrich Drepper <drepper@cygnus.com>
3538 * inet/net/ethernet.h: New file.
3539 * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility.
3540 * sysdeps/unix/sysv/linux/net/if_slip.h: New file.
3541 Contributed by a sun <asun@zoology.washington.edu>.
3543 * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>.
3544 * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>.
3545 Reported by a sun <asun@zoology.washington.edu>.
3547 1997-02-16 14:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3549 * Makerules ((common-objpfx)distinfo-$(subdir)): Depend on sysdep
3550 makefiles which may change the distinfo variables.
3552 1997-02-16 14:03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3554 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
3555 [$(subdir)=misc]: Add sys/quota.h.
3556 (sysdep_headers) [$(subdir)=inet]: Add netinet/udp.h.
3558 1997-02-17 13:12 aleph1@dfw.net
3560 * sunrpc/clnt_simp.c (callrpc): Prevent buffer overflow by using
3563 1997-02-18 03:28 Ulrich Drepper <drepper@cygnus.com>
3565 * stdio-common/bug10.c (main): Correct parameter.
3567 1997-02-17 02:51 Ulrich Drepper <drepper@cygnus.com>
3569 * malloc/obstack.h: Add `extern "C"' protection.
3570 * posix/regex.h: Likewise.
3571 * io/ftw.h: Likewise.
3572 * misc/libgen.h: Likewise.
3573 * login/utmp.h: Likewise.
3574 * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
3575 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3576 * sunrpc/rpc/pmap_rmt.h: Likewise.
3577 * sunrpc/rpc/auth_des.h: Likewise.
3578 * elf/link.h: Likewise.
3581 1997-02-17 01:45 a sun <asun@zoology.washington.edu>
3583 Linux specific network headers.
3584 * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file.
3585 * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file.
3586 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file.
3587 * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file.
3588 * sysdeps/unix/sysv/linux/netinet/igmp.h: New file.
3589 * sysdeps/unix/sysv/linux/netinet/icmp.h: New file.
3590 * sysdeps/unix/sysv/linux/netinet/ip.h: New file.
3591 * sysdeps/unix/sysv/linux/netinet/tcp.h: New file.
3592 * sysdeps/unix/sysv/linux/netipx/ipx.h: New file.
3593 * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file.
3594 * sysdeps/unix/sysv/linux/Dist: Add new network headers.
3595 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
3597 [$(subdir)=inet] (sysdep_headers): Add new network header.
3599 * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes.
3601 * inet/netinet/ip.h: Move to sysdeps/generic.
3602 * inet/netinet/tcp.h: Likewise.
3603 * sysdeps/generic/netinet/ip.h: Moved to here from inet/netinet.
3604 * sysdeps/generic/netinet/tcp.h: Likewise.
3606 1997-02-17 01:18 Ulrich Drepper <drepper@cygnus.com>
3608 * misc/sys/syslog.h (prioritynames): Correct definition to use
3609 braces where necessary.
3610 (facilitynames): Likewise.
3611 Patch by Ronald F. Guilmette <rfg@monkeys.com>.
3612 Comment and beautify declarations.
3614 1997-02-16 19:54 1997 Philip Blundell <Philip.Blundell@pobox.com>
3616 * inet/Makefile (routines): Add in6_addr, getnameinfo.
3617 * inet/getnameinfo.c: New file. Implementation of getnameinfo()
3619 * inet/in6_addr.c: New file. IPv6 addressing constants.
3620 * posix/Makefile (routines): Add gai_strerror.
3621 * resolv/netdb.h: Add more constants for IPv6 basic API.
3622 * sysdeps/posix/gai_strerror.c: New file.
3623 * sysdeps/stub/gai_strerror.c New file.
3624 * sysdeps/unix/sysv/linux/netinet/in.h: Add definitions for IPv6
3627 * sysdeps/posix/getaddrinfo.c: Update from latest version by
3628 Craig Metz and use reentrant getXXbyYY functions.
3630 1997-02-15 14:32 Andreas Jaeger <aj@arthur.pfalz.de>
3632 * argp/argp.h: Declare argp_program_version as const char.
3633 * argp/argp-test.c: Likewise
3635 * stdlib/testrand.c (main): Declare main prototype.
3636 * stdlib/testdiv.c (main): Likewise.
3637 * string/testcopy.c (main): Likewise.
3638 * string/test-ffs.c (main): Likewise.
3639 * time/test_time.c (main): Likewise.
3641 * locale/duplocale.c (__duplocale): Return result.
3643 1997-02-16 03:54 Ulrich Drepper <drepper@cygnus.com>
3645 * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport.
3646 Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
3648 * nss/nss.h: Remove declaration of __nss_shlib_revision.
3649 * nss/nsswitch.c: Don't use NSS_SHLIB_VERSION macro.
3651 1997-02-16 03:48 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
3653 * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to
3654 _nss_nis_gethostton_r.
3655 (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r.
3657 1997-02-15 22:37 Andy Berkheimer <andy@tho.org>
3659 * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before
3660 trying to resolv name as numeric IPv6 address.
3661 * nss/digits_dots.c: Likewise.
3663 1997-02-15 04:51 Ulrich Drepper <drepper@cygnus.com>
3665 * locale/setlocale.c (setlocale): Don't try to be clever about
3666 unused locales. When the existence of the locale files isn't
3667 tested the result of setlocale might be different.
3669 1997-02-15 03:34 Ulrich Drepper <drepper@cygnus.com>
3671 * locale/setlocale.c (setlocale): Don't increment usage_count of
3672 new locale if it already has the value MAX_USAGE_COUNT (it might
3673 be the C locale data which is read-only).
3675 1997-02-15 02:41 Miles Bader <miles@gnu.ai.mit.edu>
3677 * argp/argp-help.c: Gettextize sources.
3678 * argp/argp-parse.c: Likewise.
3680 1997-02-13 22:32 Ulrich Drepper <drepper@cygnus.com>
3682 * features.h (__GLIBC_MINOR__): Bump to 1.
3684 * xlocale.h: New file. Wrapper around locale/xlocale.h.
3685 * Makefile (distribute): Add xlocale.h.
3686 * locale/Makefile (routines): Add ctype_l.
3687 * locale/ctype-extn.c: Update copyright. De-ANSI-declfy.
3688 Add __isblank_l, __toascii_l and __isascii_l.
3689 * ctype/ctype.h: Add definitions and declarations for *_l functions.
3690 * locale/Makefile (headers): Add xlocale.h.
3691 (routines): Add newlocale, duplocale, and freelocale.
3692 * locale/localeinfo.h (MAX_USAGE_COUNT): New macro.
3693 (struct locale_data): Add new fields mmaped and usage_count.
3694 Correct various declarations.
3695 * locale/C-collate.c: Define value for new fields mmaped and
3697 * locale/C-ctype.c: Likewise.
3698 * locale/C-messages.c: Likewise.
3699 * locale/C-monetary.c: Likewise.
3700 * locale/C-numeric.c: Likewise.
3701 * locale/C-time.c: Likewise.
3702 * locale/loadlocale.c (_nl_load_locale): Initialize mmaped and
3704 * locale/locale.h: Don't define locale_t here (moved to xlocale.h).
3705 Correct prototypes for __newlocale and __freelocale.
3706 Add prototype for __duplocale.
3707 * locale/findlocale.c (copy): Remove function. Use __strdup instead.
3708 (_nl_remove_locale): New function.
3709 * locale/nl_langinfo.c: Don't declare locale_data objects as const.
3710 * locale/setlocale.c: Likewise.
3711 * locale/weight.h: Change for use with locale objects.
3712 * locale/xlocale.h: New file. Define __locale_t type.
3713 * locale/newlocale.c: New file. Create new locale object.
3714 * locale/freelocale.c: New file. Destroy locale object.
3715 * locale/duplocale.c: New file. Create copy of locale object.
3716 * stdlib/Makefile (routines): Add strfmon_l.
3717 * stdlib/monetary.h [__USE_GNU]: Declare __strfmon_l.
3718 * stdlib/strfmon.c: Add support for use in extended locale model.
3719 * stdlib/strfmon_l.c: New file.
3720 * string/Makefile (routines): Add strcoll_l and strxfrm_l.
3721 * string/strcoll.c: Change for use in extended locale model.
3722 * string/strxfrm.c: Likewise.
3723 * string/strcoll_l.c: New file. Implement __strcoll_l function.
3724 * string/strxfrm_l.c: New file. Implement __strxfrm_l function.
3725 * wcsmbs/Makefile (routines): Add wcscoll_l and wcsxfrm_l.
3726 * wcsmbs/wchar.h [__USE_GNU]: Declare wcscoll_l and wcsxfrm_l.
3727 * wcsmbs/wcscoll.c: Change for use in extended locale model.
3728 * wcsmbs/wcscoll_l.c: New file. Implement __wcscoll_l function.
3729 * wcsmbs/wcsxfrm_l.c: New file. Implement __wcsxfrm_l function.
3730 * wctype/Makefile (routines): Add wcextra, wcfuncs_l, iswctype_l,
3732 * wctype/cname-lookup.h: Prepare for use in extended locale model.
3733 * wctype/iswctype_l.c: New file. Implement character classification
3734 functions for use with locale objects.
3735 * wctype/wctype.h: Declare functions for use with locale objects.
3736 * wctype/towctrans_l.c: New file. Implement __towctrans_l function
3737 for use with locale objects.
3738 * wctype/wcfuncs_l.c: New file. Implement wide character
3739 classification functions for use with locale objects.
3740 * wctype/wcextra.c: New file. Implement real functions for
3741 non-standard classification functions.
3743 * elf/ldd.bash.in: Don't use --data-relocs and --function-relocs
3744 parameters to ld.so. Use environment variables.
3745 * elf/ldd.sh.in: Likewise.
3746 * elf/rtld.c: Remove handling of --data-relocs and --function-relocs
3747 options. Instead read environment variables.
3749 * elf/link.h (receiver_fct): Add new argument to take error code.
3750 * elf/dl-error.c (_dl_signal_error): Call receiver function with
3753 * elf/dl-object.c (_dl_new_object): Create new object with list of
3754 names in l_libname member.
3755 * elf/dl-load.c (_dl_map_object_from_fd): Add name which was used to
3756 find to object to the list in the link_map variable.
3757 (_dl_map_object): Use _dl_does_name_match_p to compare with all
3758 available names of the object.
3759 Optimize handling of LD_LIBRARY_PATH a bit.
3760 * elf/rtld.c: Initialize l_libname member of _dl_rtld_map.
3762 * elf/dl-lookup.c (_dl_elf_hash): Optimize function.
3764 * elf/Makefile (routines): Add dl-version.
3765 * elf/link.h (hash_name_pair): New type. Group pointer to string
3767 (struct link_map): Change l_libname member to be a list of names,
3768 not a single pointer to a name.
3769 Add new members l_nversions and l_versions.
3770 (_dl_does_name_match_p): New function to test for all names of an
3772 Add prototypes for new lookup and versioning functions.
3773 * elf/dl-lookup.c (do_lookup): Add new argument and handle case
3774 when versioned symbol is requested.
3775 (_dl_lookup_symbol): Call do_lookup with another argument.
3776 (_dl_lookup_symbol_skip): Likewise.
3777 (_dl_lookup_versioned_symbol): New function. Handle lookup of
3779 (_dl_lookup_versioned_symbol_skip): Likewise, similar to
3780 _dl_lookup_symbol_skip.
3781 * elf/dl-reloc.c (RESOLVE): Call _dl_lookup_versioned_symbol or
3782 _dl_lookup_symbol depending on availability of version information.
3783 * elf/dl-runtime.c (RESOLVE): Likewise.
3784 (fixup): Call elf_machine_relplt with additional argument to point
3785 to versioning information if available.
3786 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
3787 * elf/dl-open.c (_dl_open): Call _dl_check_map_versions to check
3788 for correct versions.
3789 * elf/dl-version.c: New file. Check library versions and extract
3790 version information for easier access.
3791 * elf/dlfcn.h [__USE_GNU]: Add prototype for dlvsym.
3792 * elf/dlvsym.c: New file. Implementation of function similar to
3793 dlsym, but looks for versioned symbol.
3794 * elf/elf.h: Add types and macros for versioning.
3795 * elf/rtld.c (dl_main): Check availability of needed versions.
3796 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add additional
3797 argument for version information. Call RESOLVE with additional
3799 * sysdeps/i386/dl-machine.h: Likewise.
3800 * sysdeps/m68k/dl-machine.h: Likewise.
3801 * sysdeps/mips/dl-machine.h: Likewise.
3803 * elf/dlerror.c: Change comment to align with guidelines.
3804 * elf/dlopen.c: Likewise.
3805 * elf/dlsym.c: Likewise.
3807 * locale/programs/localedef.c: Implement --quiet option.
3808 * locale/programs/charset.h: Declare be_quiet variable.
3809 * locale/programs/locfile.h: Likewise.
3810 * locale/programs/charmap.c: Don't print warnings if quiet option
3812 * locale/programs/ld-collate.c: Likewise.
3813 * locale/programs/ld-ctype.c: Likewise.
3814 * locale/programs/ld-messages.c: Likewise.
3815 * locale/programs/ld-monetary.c: Likewise.
3816 * locale/programs/ld-numeric.c: Likewise.
3817 * locale/programs/ld-time.c: Likewise.
3818 * locale/programs/locfile.c: Likewise.
3820 * Makefile (subdirs): Add argp.
3822 * catgets/catgets.c (catopen): Little code improvement.
3824 * posix/execl.c: Remove restriction to 1024 arguments.
3825 * posix/execle.c: Likewise.
3826 * posix/execlp.c: Likewise.
3828 * posix/getopt.c [_LIBC]: Define global objects with __ prefix
3829 and make regular names weak aliases.
3830 * posix/getopt1.c: Likewise.
3831 * posix/getopt.h [_LIBC]: Provide prototypes and declarations for
3834 * posix/unistd.h: Add prototype for __sleep.
3835 * sysdeps/mach/sleep.c: Make sleep weak alias of __sleep.
3836 * sysdeps/posix/sleep.c: Likewise.
3837 * sysdeps/stub/sleep.c: Likewise.
3838 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3840 * ctype/ctype-info.c: Update copyright.
3841 * ctype/ctype.c: Likewise.
3842 * ctype/test_ctype.c: Likewise.
3843 * dirent/alphasort.c: Likewise.
3844 * dirent/list.c: Likewise.
3845 * gmon/bb_exit_func.c: Likewise.
3846 * grp/fgetgrent.c: Likewise.
3847 * grp/getgrent.c: Likewise.
3848 * grp/getgrent_r.c: Likewise.
3849 * grp/getgrgid.c: Likewise.
3850 * grp/getgrgid_r.c: Likewise.
3851 * grp/getgrnam.c: Likewise.
3852 * grp/getgrnam_r.c: Likewise.
3853 * hurd/alloc-fd.c: Likewise.
3854 * hurd/catch-exc.c: Likewise.
3855 * hurd/ctty-input.c: Likewise.
3856 * hurd/ctty-output.c: Likewise.
3857 * hurd/dtable.c: Likewise.
3858 * hurd/fchroot.c: Likewise.
3859 * hurd/fd-close.c: Likewise.
3860 * hurd/fd-read.c: Likewise.
3861 * hurd/fd-write.c: Likewise.
3862 * hurd/fopenport.c: Likewise.
3863 * hurd/get-host.c: Likewise.
3864 * hurd/getdport.c: Likewise.
3865 * hurd/getuids.c: Likewise.
3866 * hurd/getumask.c: Likewise.
3867 * hurd/hurd-raise.c: Likewise.
3868 * hurd/hurd.h: Likewise.
3869 * hurd/hurdauth.c: Likewise.
3870 * hurd/hurdexec.c: Likewise.
3871 * hurd/hurdhost.h: Likewise.
3872 * hurd/hurdid.c: Likewise.
3873 * hurd/hurdinit.c: Likewise.
3874 * hurd/hurdioctl.c: Likewise.
3875 * hurd/hurdkill.c: Likewise.
3876 * hurd/hurdlookup.c: Likewise.
3877 * hurd/hurdmsg.c: Likewise.
3878 * hurd/hurdpid.c: Likewise.
3879 * hurd/hurdports.c: Likewise.
3880 * hurd/hurdprio.c: Likewise.
3881 * hurd/hurdrlimit.c: Likewise.
3882 * hurd/hurdsock.c: Likewise.
3883 * hurd/hurdstartup.c: Likewise.
3884 * hurd/hurdstartup.h: Likewise.
3885 * hurd/intern-fd.c: Likewise.
3886 * hurd/intr-msg.c: Likewise.
3887 * hurd/intr-rpc.defs: Likewise.
3888 * hurd/intr-rpc.h: Likewise.
3889 * hurd/msgportdemux.c: Likewise.
3890 * hurd/new-fd.c: Likewise.
3891 * hurd/openport.c: Likewise.
3892 * hurd/pid2task.c: Likewise.
3893 * hurd/port-cleanup.c: Likewise.
3894 * hurd/port2fd.c: Likewise.
3895 * hurd/ports-get.c: Likewise.
3896 * hurd/ports-set.c: Likewise.
3897 * hurd/privports.c: Likewise.
3898 * hurd/report-wait.c: Likewise.
3899 * hurd/set-host.c: Likewise.
3900 * hurd/setauth.c: Likewise.
3901 * hurd/setuids.c: Likewise.
3902 * hurd/siginfo.c: Likewise.
3903 * hurd/sigunwind.c: Likewise.
3904 * hurd/task2pid.c: Likewise.
3905 * hurd/thread-cancel.c: Likewise.
3906 * hurd/thread-self.c: Likewise.
3907 * hurd/vpprintf.c: Likewise.
3908 * hurd/hurd/fd.h: Likewise.
3909 * hurd/hurd/id.h: Likewise.
3910 * hurd/hurd/ioctl.h: Likewise.
3911 * hurd/hurd/lookup.h: Likewise.
3912 * hurd/hurd/port.h: Likewise.
3913 * hurd/hurd/resource.h: Likewise.
3914 * hurd/hurd/threadvar.h: Likewise.
3915 * hurd/hurd/userlink.h: Likewise.
3916 * inet/ether_aton.c: Likewise.
3917 * inet/ether_aton_r.c: Likewise.
3918 * inet/ether_ntoa.c: Likewise.
3919 * inet/ether_ntoa_r.c: Likewise.
3920 * inet/gethstbyad.c: Likewise.
3921 * inet/gethstbyad_r.c: Likewise.
3922 * inet/gethstent.c: Likewise.
3923 * inet/getnetbyad.c: Likewise.
3924 * inet/getnetbyad_r.c: Likewise.
3925 * inet/getnetbynm.c: Likewise.
3926 * inet/getnetbynm_r.c: Likewise.
3927 * inet/getnetent.c: Likewise.
3928 * inet/getnetent_r.c: Likewise.
3929 * inet/getproto.c: Likewise.
3930 * inet/getproto_r.c: Likewise.
3931 * inet/getprtent.c: Likewise.
3932 * inet/getprtent_r.c: Likewise.
3933 * inet/getprtname.c: Likewise.
3934 * inet/getrpcbyname.c: Likewise.
3935 * inet/getrpcbyname_r.c: Likewise.
3936 * inet/getrpcbynumber.c: Likewise.
3937 * inet/getrpcbynumber_r.c: Likewise.
3938 * inet/getrpcent.c: Likewise.
3939 * inet/getrpcent_r.c: Likewise.
3940 * inet/getservent.c: Likewise.
3941 * inet/getservent_r.c: Likewise.
3942 * inet/getsrvbynm.c: Likewise.
3943 * inet/getsrvbynm_r.c: Likewise.
3944 * inet/getsrvbypt.c: Likewise.
3945 * inet/getsrvbypt_r.c: Likewise.
3946 * inet/herrno.c: Likewise.
3947 * inet/netgroup.h: Likewise.
3948 * ient/netinet/ether.h: Likewise.
3949 * intl/bindtextdom.c: Likewise.
3950 * intl/dcgettext.c: Likewise.
3951 * intl/dgettext.c: Likewise.
3952 * intl/gettext.c: Likewise.
3953 * intl/gettext.h: Likewise.
3954 * intl/gettextP.h: Likewise.
3955 * intl/hash-string.h: Likewise.
3956 * intl/loadmsgcat.c: Likewise.
3957 * intl/localealias.c: Likewise.
3958 * intl/textdomain.c: Likewise.
3959 * io/creat.c: Likewise.
3960 * io/getdirname.c: Likewise.
3961 * io/lockf.c: Likewise.
3962 * io/pwd.c: Likewise.
3963 * io/test-utime.c: Likewise.
3964 * locale/categories.def: Likewise.
3965 * locale/codeset_name.c: Likewise.
3966 * locale/lc-collate.c: Likewise.
3967 * locale/lc-ctype.c: Likewise.
3968 * locale/lc-messages.c: Likewise.
3969 * locale/lc-monetary.c: Likewise.
3970 * locale/lc-numeric.c: Likewise.
3971 * locale/lc-time.c: Likewise.
3972 * locale/loadlocale.c: Likewise.
3973 * locale/localeconv.c: Likewise.
3974 * locale/nl_langinfo.c: Likewise.
3975 * locale/setlocale.c: Likewise.
3976 * locale/strlen-hash.h: Likewise.
3977 * locale/programs/charmap-kw.gperf: Likewise.
3978 * locale/programs/charmap-kw.h: Likewise.
3979 * locale/programs/charset.c: Likewise.
3980 * locale/programs/ld-ctype.c: Likewise.
3981 * locale/programs/ld-messages.c: Likewise.
3982 * locale/programs/ld-monetary.c: Likewise.
3983 * locale/programs/linereader.h: Likewise.
3984 * locale/programs/locale-spec.c: Likewise.
3985 * locale/programs/locales.h: Likewise.
3986 * locale/programs/locfile-kw.gperf: Likewise.
3987 * locale/programs/locfile-kw.h: Likewise.
3988 * locale/programs/locfile-token.h: Likewise.
3989 * locale/programs/simple-hash.h: Likewise.
3990 * locale/programs/stringtrans.c: Likewise.
3991 * locale/programs/stringtrans.h: Likewise.
3992 * login/logout.c: Likewise.
3993 * mach/bootprivport.c: Likewise.
3994 * mach/devstream.c: Likewise.
3995 * mach/hello.c: Likewise.
3996 * mach/mach.h: Likewise.
3997 * mach/mach_init.c: Likewise.
3998 * mach/mach_init.h: Likewise.
3999 * mach/mig-alloc.c: Likewise.
4000 * mach/mig-dealloc.c: Likewise.
4001 * mach/mutex-init.c: Likewise.
4002 * mach/mutex-solid.c: Likewise.
4003 * mach/setup-thread.c: Likewise.
4004 * mach/spin-lock.h: Likewise.
4005 * mach/spin-solid.c: Likewise.
4006 * mach/mach/mig_support.h: Likewise.
4007 * md5-crypt/md5-crypt.c: Likewise.
4008 * misc/nlist.h: Likewise.
4009 * nss/nss_files/files-ether.c: Likewise.
4010 * posix/confstr.c: Likewise.
4011 * posix/execl.c: Likewise.
4012 * posix/execle.c: Likewise.
4013 * posix/execlp.c: Likewise.
4014 * posix/execv.c: Likewise.
4015 * posix/execvp.c: Likewise.
4016 * posix/fnmatch.c: Likewise.
4017 * posix/getopt.c: Likewise.
4018 * posix/getopt.h: Likewise.
4019 * posix/getopt1.c: Likewise.
4020 * posix/id.c: Likewise.
4021 * posix/regex.c: Likewise.
4022 * posix/setpgrp.c: Likewise.
4023 * posix/unistd.h: Likewise.
4024 * posix/wordexp.c: Likewise.
4025 * pwd/fgetpwent.c: Likewise.
4026 * pwd/getpwent.c: Likewise.
4027 * pwd/getpwent_r.c: Likewise.
4028 * pwd/getpwnam.c: Likewise.
4029 * pwd/getpwnam_r.c: Likewise.
4030 * pwd/getpwuid.c: Likewise.
4031 * pwd/getpwuid_r.c: Likewise.
4032 * pwd/putpwent.c: Likewise.
4033 * resolv/gethnamaddr.c: Likewise.
4034 * resolv/res_hconf.c: Likewise.
4035 * resolv/res_hconf.h: Likewise.
4036 * setjmp/longjmp.c: Likewise.
4037 * setjmp/sigjmp.c: Likewise.
4038 * setjmp/tst-setjmp.c: Likewise.
4039 * stdio/clearerr.c: Likewise.
4040 * stdio/ferror.c: Likewise.
4041 * stdio/fgetc.c: Likewise.
4042 * stdio/fgetpos.c: Likewise.
4043 * stdio/fgets.c: Likewise.
4044 * stdio/fileno.c: Likewise.
4045 * stdio/fmemopen.c: Likewise.
4046 * stdio/fopen.c: Likewise.
4047 * stdio/fopncook.c: Likewise.
4048 * stdio/fputc.c: Likewise.
4049 * stdio/fputs.c: Likewise.
4050 * stdio/fread.c: Likewise.
4051 * stdio/freopen.c: Likewise.
4052 * stdio/fseek.c: Likewise.
4053 * stdio/fsetpos.c: Likewise.
4054 * stdio/ftell.c: Likewise.
4055 * stdio/fwrite.c: Likewise.
4056 * stdio/getchar.c: Likewise.
4057 * stdio/getdelim.c: Likewise.
4058 * stdio/gets.c: Likewise.
4059 * stdio/glue.c: Likewise.
4060 * stdio/internals.c: Likewise.
4061 * stdio/linewrap.c: Likewise.
4062 * stdio/linewrap.h: Likewise.
4063 * stdio/memstream.c: Likewise.
4064 * stdio/newstream.c: Likewise.
4065 * stdio/putchar.c: Likewise.
4066 * stdio/puts.c: Likewise.
4067 * stdio/rewind.c: Likewise.
4068 * stdio/setbuf.c: Likewise.
4069 * stdio/setbuffer.c: Likewise.
4070 * stdio/setlinebuf.c: Likewise.
4071 * stdio/setvbuf.c: Likewise.
4072 * stdio/ungetc.c: Likewise.
4073 * stdio/vasprintf.c: Likewise.
4074 * stdio/vscanf.c: Likewise.
4075 * stdio/vsnprintf.c: Likewise.
4076 * stdio/vsprintf.c: Likewise.
4077 * stdio/vsscanf.c: Likewise.
4078 * stdio-common/asprintf.c: Likewise.
4079 * stdio-common/dprintf.c: Likewise.
4080 * stdio-common/errnobug.c: Likewise.
4081 * stdio-common/fprintf.c: Likewise.
4082 * stdio-common/getline.c: Likewise.
4083 * stdio-common/getw.c: Likewise.
4084 * stdio-common/perror.c: Likewise.
4085 * stdio-common/psignal.c: Likewise.
4086 * stdio-common/putw.c: Likewise.
4087 * stdio-common/reg-printf.c: Likewise.
4088 * stdio-common/scanf.c: Likewise.
4089 * stdio-common/snprintf.c: Likewise.
4090 * stdio-common/sprintf.c: Likewise.
4091 * stdio-common/tempnam.c: Likewise.
4092 * stdio-common/test_rdwr.c: Likewise.
4093 * stdio-common/tst-fileno.c: Likewise.
4094 * stdio-common/tst-printf.c: Likewise.
4095 * stdio-common/tstgetln.c: Likewise.
4096 * stdio-common/vprintf.c: Likewise.
4097 * stdlib/drand48.c: Likewise.
4098 * stdlib/drand48_r.c: Likewise.
4099 * stdlib/erand48.c: Likewise.
4100 * stdlib/erand48_r.c: Likewise.
4101 * stdlib/exit.h: Likewise.
4102 * stdlib/strtoq.c: Likewise.
4103 * stdlib/strtoul.c: Likewise.
4104 * stdlib/strtouq.c: Likewise.
4105 * stdlib/test-canon.c: Likewise.
4106 * stdlib/testdiv.c: Likewise.
4107 * stdlib/testrand.c: Likewise.
4108 * string/argz-append.c: Likewise.
4109 * string/argz-count.c: Likewise.
4110 * string/argz-create.c: Likewise.
4111 * string/argz-ctsep.c: Likewise.
4112 * string/argz-delete.c: Likewise.
4113 * string/argz-extract.c: Likewise.
4114 * string/argz-insert.c: Likewise.
4115 * string/argz-next.c: Likewise.
4116 * string/argz-stringify.c: Likewise.
4117 * string/basename.c: Likewise.
4118 * string/envz.c: Likewise.
4119 * string/memfrob.c: Likewise.
4120 * string/strcoll.c: Likewise.
4121 * string/strdup.c: Likewise.
4122 * string/string.h: Likewise.
4123 * string/strndup.c: Likewise.
4124 * string/strnlen.c: Likewise.
4125 * string/strsignal.c: Likewise.
4126 * string/strxfrm.c: Likewise.
4127 * string/test-ffs.c: Likewise.
4128 * string/testcopy.c: Likewise.
4129 * sysdeps/generic/enbl-secure.c: Likewise.
4130 * sysdeps/generic/memcopy.h: Likewise.
4131 * sysdeps/generic/stpncpy.c: Likewise.
4132 * sysdeps/generic/strcasecmp.c: Likewise.
4133 * sysdeps/generic/strcat.c: Likewise.
4134 * sysdeps/generic/strchr.c: Likewise.
4135 * sysdeps/generic/strcpy.c: Likewise.
4136 * sysdeps/generic/strcspn.c: Likewise.
4137 * sysdeps/generic/strlen.c: Likewise.
4138 * sysdeps/generic/strncase.c: Likewise.
4139 * sysdeps/generic/strncat.c: Likewise.
4140 * sysdeps/generic/strncpy.c: Likewise.
4141 * sysdeps/generic/strpbrk.c: Likewise.
4142 * sysdeps/generic/strsep.c: Likewise.
4143 * sysdeps/generic/strspn.c: Likewise.
4144 * sysdeps/generic/strstr.c: Likewise.
4145 * sysdeps/generic/strtok.c: Likewise.
4146 * sysdeps/generic/strtok_r.c: Likewise.
4147 * sysdeps/mach/sleep.c: Likewise.
4148 * sysdeps/posix/sleep.c: Likewise.
4149 * sysdeps/stub/sleep.c: Likewise.
4150 * time/date.c: Likewise.
4151 * time/test_time.c: Likewise.
4152 * wcsmbs/wmemcpy.c: Likewise.
4153 * wctye/test_wctype.c: Likewise.
4154 * wctye/towctrans.c: Likewise.
4155 * wctye/wcfuncs.c: Likewise.
4156 * wctye/wctrans.c: Likewise.
4158 1997-02-13 22:15 Miles Bader <miles@gnu.ai.mit.edu>
4160 * argp/Makefile: New file.
4161 * argp/argp.h: Likewise.
4162 * argp/argp-ba.c: Likewise.
4163 * argp/argp-fmtstream.c: Likewise.
4164 * argp/argp-fmtstream.h: Likewise.
4165 * argp/argp-fs-xinl.c: Likewise.
4166 * argp/argp-help.c: Likewise.
4167 * argp/argp-namefrob.h: Likewise.
4168 * argp/argp-parse.c: Likewise.
4169 * argp/argp-pv.c: Likewise.
4170 * argp/argp-pvh.c: Likewise.
4171 * argp/argp-test.c: Likewise.
4172 * argp/argp-xinl.c: Likewise.
4174 1997-02-13 11:44 Andreas Jaeger <aj@arthur.pfalz.de>
4176 * stdlib/qsort.c: Add prototype for _quicksort.
4178 * stdlib/msort.c (qsort): Correct prototype for _quicksort.
4180 * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
4183 1997-02-13 18:18 Marcus G. Daniels <marcus@sysc.pdx.edu>
4185 * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
4186 Allow user to overwrite it.
4188 1997-02-13 17:55 Ulrich Drepper <drepper@cygnus.com>
4190 * libio/_G_config.h: Make sure wint_t is also defined for old gcc
4191 versions. Reported by Andreas Jaeger.
4193 1997-02-13 11:44 Andreas Jaeger <aj@arthur.pfalz.de>
4195 * time/tzfile.c (__tzfile_read): Change comment to follow
4196 change of 1997-02-12.
4198 1997-02-13 02:32 Ulrich Drepper <drepper@cygnus.com>
4200 * time/time.h (__nanosleep): Define only when struct timespec is
4202 Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
4204 1997-02-12 21:34 a sun <asun@zoology.washington.edu>
4206 * sysdeps/unix/sysv/linux/netinet/udp.h: New file.
4207 * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
4209 1997-02-12 21:16 Ulrich Drepper <drepper@cygnus.com>
4211 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
4212 of 1997-02-09 in resolv/gethnamaddr.c.
4214 1997-02-11 18:52 H.J. Lu <hjl@gnu.ai.mit.edu>
4216 * libio/_G_config.h (_G_wint_t): New.
4218 1997-02-09 11:31 H.J. Lu <hjl@gnu.ai.mit.edu>
4220 * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
4221 to sizeof (buf.buf) while calling res_search ().
4223 1997-02-03 20:01 H.J. Lu <hjl@gnu.ai.mit.edu>
4225 * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
4226 val to keydat, stat to status.
4228 1997-02-12 20:45 Andreas Jaeger <jaeger@informatik.uni-kl.de>
4230 * time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
4232 1997-02-12 19:55 Ulrich Drepper <drepper@cygnus.com>
4234 * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
4237 1997-02-11 14:49 Andreas Jaeger <jaeger@informatik.uni-kl.de>
4239 * stdlib/atoll.c: Undefine atoll, not atol.
4241 1997-02-08 09:36 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4243 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
4244 unused arguments of shell script.
4246 * Makeconfig (all-object-suffixes): New variable.
4247 * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
4248 of $(object-suffixes).
4249 * sysdeps/unix/make-syscalls.sh: Likewise. Fix comment.
4251 1997-02-10 17:45 Ulrich Drepper <drepper@cygnus.com>
4253 * string/argz-ctsep.c: Initialize *LEN when successful.
4255 1997-02-09 04:35 Ulrich Drepper <drepper@cygnus.com>
4257 * stdio-common/_itoa.h: Update copyright.
4259 1997-02-09 02:59 Ulrich Drepper <drepper@cygnus.com>
4261 * version.h (VERSION): Bump to 2.0.2.
4263 * posix/Makefile (routines): Add getopt_init.
4264 * posix/getopt.c: Don't get environment variable with nonoption
4265 flags here. Depend on __getopt_nonoption_flags variable filled
4266 somewhere else. This is necessary since the variable must be
4267 removed even when getopt isn't used in case exec(2) gets called.
4268 * posix/getopt_init.c: New file. Initialize __getopt_nonoption_flags
4269 and remove environment variable.
4270 * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
4271 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
4272 * sysdeps/stub/init-first.c: Likewise.
4273 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
4275 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
4276 AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
4278 * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
4279 encryption is wanted.
4281 * libio/vsnprintf.c: If MAXLEN is 0 return 0.
4282 * stdio/vsnprintf.c: Likewise.
4283 Reported by Philip Blundell <pjb27@cam.ac.uk>.
4285 * libio/vsnprintf.c: If MAXLEN is 0 return 0.
4286 * stdio/vsnprintf.c: Likewise.
4287 Reported by Philip Blundell <pjb27@cam.ac.uk>.
4289 1997-02-07 17:43 Ulrich Drepper <drepper@cygnus.com>
4291 * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
4292 Change PTR to void *.
4293 * sysdeps/posix/vdprintf.c: Change PTR to void *.
4294 Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
4296 1997-02-07 17:41 Philip Blundell <pjb27@cam.ac.uk>
4298 * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
4300 1997-02-06 13:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4302 * rellns-sh: No need to check for existance of first parameter.
4304 1997-02-06 13:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4306 * rellns-sh: No need to check for existance of first parameter.
4308 1997-02-06 14:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4310 * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks. Reported
4311 by David Holland <dholland@eecs.harvard.edu>.
4313 1997-02-06 14:38 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4315 * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
4316 select, in case it is modified by the latter.
4317 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4318 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4319 * sunrpc/svc_tcp.c (readtcp): Likewise.
4321 * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
4324 * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
4327 * sunrpc/auth_unix.c (authunix_validate): Fix type of second
4330 1997-02-06 14:29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4332 * elf/Makefile (extra-objs): Don't zap previous value.
4333 * Makefile (before-compile): Likewise. Don't add gnu/lib-names.h
4336 1997-02-06 14:19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4338 * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
4339 braindamage (sigh!).
4341 1997-02-06 17:10 Jim Meyering <meyering@asic.sc.ti.com>
4343 * manual/memory.texi: Correct `copystring' example for obstacks.
4345 1997-02-06 14:10 Ulrich Drepper <drepper@cygnus.com>
4347 * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
4348 GNU tr don't grok it.
4350 1997-02-03 21:13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4352 * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
4353 Don't use GNU C extensions.
4354 (CMSG_DATA): Use portable definition.
4356 1997-02-05 05:58 Ulrich Drepper <drepper@cygnus.com>
4358 * elf/ldd.bash.in: Add test for read permission and print appropriate
4359 message. Change warning and error messages to print "ldd: " at start.
4360 * elf/ldd.sh.in: Likewise.
4362 * stdlib/Makefile (routines): Add atoll.
4363 * stdlib/atoll.c: New file.
4364 * stdlib/stdlib.h: Add prototype and optimization for atoll.
4366 * stdlib/a64l.c: Update copyright.
4367 * stdlib/abs.c: Likewise.
4368 * stdlib/atof.c: Likewise.
4369 * stdlib/atoi.c: Likewise.
4370 * stdlib/atol.c: Likewise.
4371 * stdlib/bsearch.c: Likewise.
4372 * stdlib/exit.c: Likewise.
4373 * stdlib/fpioconst.c: Likewise.
4374 * stdlib/fpioconst.h: Likewise.
4375 * stdlib/jrand48.c: Likewise.
4376 * stdlib/jrand48_r.c: Likewise.
4377 * stdlib/labs.c: Likewise.
4378 * stdlib/lcong48.c: Likewise.
4379 * stdlib/lcong48_r.c: Likewise.
4380 * stdlib/llabs.c: Likewise.
4381 * stdlib/lrand48.c: Likewise.
4382 * stdlib/lrand48_r.c: Likewise.
4383 * stdlib/mblen.c: Likewise.
4384 * stdlib/mbstowcs.c: Likewise.
4385 * stdlib/mbtowc.c: Likewise.
4386 * stdlib/mp_clz_tab.c: Likewise.
4387 * stdlib/mrand48.c: Likewise.
4388 * stdlib/mrand48_r.c: Likewise.
4389 * stdlib/msort.c: Likewise.
4390 * stdlib/nrand48.c: Likewise.
4391 * stdlib/nrand48_r.c: Likewise.
4392 * stdlib/qsort.c: Likewise.
4393 * stdlib/rpmatch.c: Likewise.
4394 * stdlib/seed48.c: Likewise.
4395 * stdlib/seed48_r.c: Likewise.
4396 * stdlib/srand48.c: Likewise.
4397 * stdlib/srand48_r.c: Likewise.
4398 * stdlib/strtod.c: Likewise.
4399 * stdlib/wcstombs.c: Likewise.
4400 * stdlib/wctomb.c: Likewise.
4402 1997-02-05 05:08 Ulrich Drepper <drepper@cygnus.com>
4404 * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
4407 1997-02-04 23:57 Fila Kolodny <fila@ibi.com>
4409 * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
4410 including <stddef.h>.
4412 1997-02-03 20:01 H.J. Lu <hjl@gnu.ai.mit.edu>
4414 * time/Makefile (tzbases, tzlinks): New.
4415 (tzfiles): Changed to $(tzbases) $(tzlinks).
4416 ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
4418 1997-02-02 12:13 H.J. Lu <hjl@gnu.ai.mit.edu>
4420 * Makefile (install): Ignore error from ldconfig.
4422 * time/zic.c (mkdirs): Double check the error return of mkdir ().
4424 1997-02-04 22:01 Ulrich Drepper <drepper@cygnus.com>
4426 * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
4427 like PPC where va_list is no integral type.
4429 1997-02-04 15:27 Roma Ekzhanov <ekzhanov@paragraph.com>
4431 * posix/getopt.c (exchange): Don't allocate nonoption_flags array
4432 if nonoption_flags_len == -1.
4434 1997-02-04 02:08 Ulrich Drepper <drepper@cygnus.com>
4436 * Version 2.0.1 net release.
4438 1997-02-03 23:34 Stephen L Moshier <moshier@world.std.com>
4440 * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
4442 1997-02-03 19:59 Ulrich Drepper <drepper@cygnus.com>
4444 * stdlib/getsubopt.c: Don't return `=' for suboption which has
4445 a parameter. Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
4447 1997-02-03 18:20 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
4449 * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
4450 values as in yp.x and yp.h.
4452 1997-02-03 16:58 Ulrich Drepper <drepper@cygnus.com>
4454 * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
4455 1997-02-03 02:17. Sun's implementation internally corrects
4456 this bug but we don't want to hide this from the user.
4457 * nis/rpcsvc/yp.h: Likewise.
4459 1997-02-01 18:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4461 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
4464 1997-02-02 14:56 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4466 * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
4469 1997-02-02 11:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4471 * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
4472 (all-sources, all-headers): Use them instead of $(sources) and
4473 $(headers) when searching in sysdep directories.
4475 1997-02-02 11:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4477 * Makerules (REAL_MAKE_VERSION): Use internal make function
4478 instead of shelling out.
4480 1997-02-02 11:47 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4482 * time/Makefile (install-test-data): Remove mkdir command, zic can
4483 handle that gracefully.
4485 1997-02-03 14:07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4487 * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
4490 1997-02-02 07:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4492 * sunrpc/Makefile: Check $(cross-compiling) only after including
4494 ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
4495 being considered as a rule.
4496 (generated): Add stamp files before the inclusion of Makerules to
4497 magically mark them as not being intermediate via the `generated'
4500 1997-02-03 02:33 Ulrich Drepper <drepper@cygnus.com>
4502 * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
4503 entries. This is still no complete implementation since AUXILIARY
4504 entries in other shared objects are not yet handled.
4506 * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
4513 * time/Makefile: Better cross-compile support. Avoid test which
4515 (CFLAGS-tzset.c): New variable. Overwrite TZDEFAULT value from
4517 * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
4519 * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
4520 default values as in tzfile.c.
4522 * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
4524 * elf/link.h: Likewise.
4525 * elf/elf.h: Add tag definitions and data structures for versioning.
4527 1997-02-03 02:17 Ulrich Drepper <drepper@cygnus.com>
4529 * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
4530 "Sun bug". This is the order of elements also used by 4.4BSD.
4531 * nis/rpcsvc/yp.h: Likewise.
4534 1997-02-02 12:13 H.J. Lu <hjl@gnu.ai.mit.edu>
4536 * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
4539 * Makefile (install): Pass installation directories as arguments
4542 1997-02-02 23:15 Ulrich Drepper <drepper@cygnus.com>
4544 * malloc/malloc.c (__after_morecore_hook): New variable.
4545 (malloc_extend_top): Call __after_morecore_hook if set.
4546 (main_trim): Likewise.
4547 * malloc/malloc.h: Add declaration of __after_morecore_hook.
4548 Suggested by Marcus Daniels.
4550 1997-02-02 23:00 Marcus G. Daniels <marcus@tdb.com>
4552 * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
4554 (mallinfo): Likewise.
4556 * malloc/malloc.c (__morecore): Make external since it is used in
4559 1997-02-02 15:10 Ulrich Drepper <drepper@cygnus.com>
4561 * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
4564 1997-02-01 23:36 Richard Henderson <rth@tamu.edu>
4566 * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
4567 use t6 as a temporary; it contains bits we still need in $u_head.
4569 1997-01-31 15:05 John Bowman <bowman@ipp-garching.mpg.de>
4571 * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
4572 using __ prefix. Add prototype for log1p.
4574 1997-02-02 00:39 Ulrich Drepper <drepper@cygnus.com>
4576 * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
4578 1997-02-01 17:04 Philip Blundell <pjb27@cam.ac.uk>
4580 * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
4582 1997-02-01 17:00 Ulrich Drepper <drepper@cygnus.com>
4584 * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
4585 structure plus related macros.
4586 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
4587 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
4588 (sysdep_routines): Add cmsg_nxthdr.
4589 * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
4590 Suggested by Philip Blundell <pjb27@cam.ac.uk>.
4592 1997-02-01 12:34 Ulrich Drepper <drepper@cygnus.com>
4594 * time/strftime.c: Define _strftime_copytm without protecting arguments
4595 which breaks the definition.
4597 1997-02-01 03:31 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
4599 * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
4600 definition of type for element.
4602 1997-02-01 03:28 Philip Blundell <pjb27@cam.ac.uk>
4604 * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
4607 1997-02-01 03:09 H.J. Lu <hjl@lucon.org>
4609 * Makefile: Pass PARALLELMFLAGS to sub-makes.
4610 * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
4612 1997-01-31 Paul Eggert <eggert@twinsun.com>
4614 * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
4615 Define if _LIBC is defined.
4616 <limits.h>: Include if HAVE_LIMITS_H instead of if
4617 __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
4618 <stdlib.h>: Similarly, include if STDC_HEADERS.
4619 (localtime_r): Redo #ifdef to make it clear that glibc has
4622 1997-02-29 20:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4624 * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
4625 file to avoid unnecessary recompilation.
4627 1997-01-29 19:33 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4629 * Makefile: Set install-others, not install_others.
4630 (before-compile): Use += to preserve previous value.
4631 ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
4632 fix dependency name.
4633 ($(objpfx)lib-names.h): Remove rule.
4634 * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
4635 with correct name, using an intermediate stamp file.
4636 (common-generated): Add gnu/lib-names.h.
4637 (before-compile): Add $(common-objpfx)gnu/lib-names.h.
4639 1997-01-30 18:29 Richard Henderson <richard@atheist.tamu.edu>
4641 * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
4642 to prevent warnings on 64 bit systems.
4643 Reported by Paul Wouters <paul@xtdnet.nl>.
4645 * sysdeps/alpha/dl-machine.h: Revert check for broken gas. By default
4648 1997-01-30 03:24 Ulrich Drepper <drepper@cygnus.com>
4650 * sysdeps/i386/elf/start.S (_start): Align stack pointer to
4651 double word boundary before pushing args for main. This way we
4652 don't get penalties for misaligned memory accesses. Reported by
4653 Edward Seidl <seidl@janed.com>.
4655 * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
4658 * misc/bsd-compat.c: Update copyright.
4659 * misc/efgcvt.c: Likewise.
4660 * misc/efgcvt_r.c: Likewise.
4661 * misc/error.c: Likewise.
4662 * misc/error.h: Likewise.
4663 * misc/fstab.c: Likewise.
4664 * misc/init-misc.c: Likewise.
4665 * misc/lsearch.c: Likewise.
4666 * misc/mntent.c: Likewise.
4667 * misc/qefgcvt.c: Likewise.
4668 * misc/qefgcvt_r.c: Likewise.
4669 * nss/databases.def: Likewise.
4670 * nss/db-Makefile: Likewise.
4671 * nss/ethers-lookup.c: Likewise.
4672 * nss/hosts-lookup.c: Likewise.
4673 * nss/netgrp-lookup.c: Likewise.
4674 * nss/nsswitch.h: Likewise.
4675 * nss/proto-lookup.c: Likewise.
4676 * nss/rpc-lookup.c: Likewise.
4677 * nss/service-lookup.c: Likewise.
4678 * nss/nss_db/db-netgrp.c: Likewise.
4679 * nss/nss_files/files-grp.c: Likewise.
4680 * nss/nss_files/files-hosts.c: Likewise.
4681 * nss/nss_files/files-network.c: Likewise.
4682 * nss/nss_files/files-proto.c: Likewise.
4683 * nss/nss_files/files-pwd.c: Likewise.
4684 * nss/nss_files/files-rpc.c: Likewise.
4685 * nss/nss_files/files-service.c: Likewise.
4686 * nss/nss_files/files-spwd.c: Likewise.
4687 * shadow/fgetspent.c: Likewise.
4688 * shadow/fgetspent_r.c: Likewise.
4689 * shadow/getspent.c: Likewise.
4690 * shadow/getspent_r.c: Likewise.
4691 * shadow/getspnam.c: Likewise.
4692 * shadow/getspnam_r.c: Likewise.
4693 * shadow/putspent.c: Likewise.
4694 * shadow/sgetspent.c: Likewise.
4695 * shadow/sgetspent_r.c: Likewise.
4696 * sysdeps/i386/init-first.c: Likewise.
4697 * sysdeps/unix/i386/sysdep.S: Likewise.
4699 * shadow/shadow.h: Don't use __USE_REENTRENT. All code must be
4700 prepared to be running in a multi-threaded environment. Change
4701 to __USE_MISC unless the function is defined in POSIX.1 (in this
4702 case also test for __USE_POSIX).
4703 * dirent/dirent.h: Likewise.
4704 * grp/grp.h: Likewise.
4705 * inet/aliases.h: Likewise.
4706 * libio/libio.h: Likewise.
4707 * libio/stdio.h: Likewise.
4708 * login/utmp.h: Likewise.
4709 * math/mathcalls.h: Likewise.
4710 * misc/mntent.h: Likewise.
4711 * pwd/pwd.h: Likewise.
4712 * resolv/netdb.h: Likewise.
4713 * stdlib/stdlib.h: Likewise.
4714 * string/string.h: Likewise.
4715 * sunrpc/rpc/netdb.h: Likewise.
4716 * sysdeps/generic/crypt.h: Likewise.
4717 * sysdeps/unix/sysv/linux/errnos.h: Likewise.
4718 * time/time.h: Likewise.
4720 1997-01-30 00:27 Fila Kolodny <fila@ibi.com>
4722 * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
4723 only if not cross compiling.
4725 1997-01-29 16:16 Fila Kolodny <fila@ibi.com>
4727 * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
4729 * sysdeps/posix/sigwait.c: Likewise.
4731 1997-01-28 23:42 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4733 * Makeconfig ($(common-objpfx)config.make): Depend on
4734 $(..)config.make.in.
4736 1997-01-29 04:30 Ulrich Drepper <drepper@cygnus.com>
4738 * sunrpc/Makefile: Don't generate headers derived from .x files when
4741 1997-01-28 10:51 Richard Henderson <rth@tamu.edu>
4743 * Makefile: Generate gnu/lib-names.h in before-compile.
4744 * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
4745 * nss/nssswitch.c (__nss_shlib_revision): New variable. Initialize
4746 to the revision found for LIBNSS_FILES_SO.
4747 (nss_initilized): Removed. It was tested but never set.
4748 (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
4750 * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
4751 not just libc. Except instead of ld.so.1.1 use ld-linux.so.2.
4753 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
4755 1997-01-28 12:16 Andreas Jaeger <aj@arthur.pfalz.de>
4757 * elf/Makefile (CFLAGS-dl-load.c): Use += to not
4758 override the definition.
4760 1997-01-28 20:13 Fila Kolodny <fila@ibi.com>
4762 * config.make.in (malloc): Remove.
4764 1997-01-28 04:23 Ulrich Drepper <drepper@cygnus.com>
4766 * version.h (VERSION): Bump to 2.0.1.
4768 * posix/getopt.c: Handle another problem introduced by the
4769 nonoption_flags array. We must be able to work with reordered
4770 argv arrays. Reported by Andreas Schwab.
4772 1997-01-28 02:38 Ulrich Drepper <drepper@cygnus.com>
4774 * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
4777 1997-01-27 17:34 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
4779 * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
4780 that it works with yp.h.
4782 1997-01-27 13:28 Ulrich Drepper <drepper@cygnus.com>
4784 * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
4785 __libc_malloc_initialized so that this variable is not shared with
4786 other users of GNU malloc.
4787 Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
4789 * mcheck.h: Correct typo. Use malloc/ instead of new-malloc/.
4791 * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
4792 variables to prevent warnings.
4793 * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
4794 using attribute regparm.
4795 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
4796 is changed by the resolver code.
4798 1997-01-14 14:20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4800 * malloc/malloc.c (weak_variable): Define.
4801 (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
4802 __memalign_hook): Make them weak definitions.
4804 1997-01-26 11:35 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4806 * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
4807 limits, correctly take structure padding into account, use correct
4808 offset when resetting the stream, change heuristic to assume an
4809 average name length of 14 characters.
4811 1997-01-25 18:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4813 * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
4817 See ChangeLog.6 for earlier changes.