Update.
[glibc.git] / ChangeLog
blobe94044fe3b7f6ee20dd847a85c160be73cb28ade
1 1997-04-30 17:35  Ulrich Drepper  <drepper@cygnus.com>
3         * math/libm-test.c: Implement test for exceptions.
4         Partly due to Andreas Jaeger.
5         (csin_test): New function.
6         * sysdeps/libm-i387/s_cexp.S: Raise correct exceptions.
7         * sysdeps/libm-i387/s_cexpf.S: Likewise.
8         * sysdeps/libm-i387/s_cexpl.S: Likewise.
9         * sysdeps/libm-ieee754/s_ccos.c: Likewise.
10         * sysdeps/libm-ieee754/s_ccosf.c: Likewise.
11         * sysdeps/libm-ieee754/s_ccosl.c: Likewise.
12         * sysdeps/libm-ieee754/s_ccosh.c: Likewise.
13         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
14         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
15         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
16         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
17         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
18         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
19         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
20         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
21         * sysdeps/libm-ieee754/s_ctanh.c: Likewise.
22         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
23         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
25         * sysdeps/libm-ieee754/s_ccosh.c: Correct computation.
26         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
27         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
28         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
29         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
30         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
32         * sysdeps/libm-ieee754/s_csin.c: Rewrite.
33         * sysdeps/libm-ieee754/s_csinf.c: Likewise.
34         * sysdeps/libm-ieee754/s_csinl.c: Likewise.
36         * stdlib/random_r.c (__srandom_r): Don't use seed 0.  Use 1 in this
37         case.
39         * sysdeps/i386/dl-machine.h (elf_machine_load_address): Use notation
40         for local label.
42         * time/strftime.c (add): Respect `0' padding flag.
43         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
45 1997-04-30 15:46  Ulrich Drepper  <drepper@cygnus.com>
47         * Makeconfig (start-installed-name): Define here, not in csu/Makefile.
48         Use in +link macro.
49         * csu/Makefile (distribute): Add abi-note.S and abi-tag.h.
50         (start-installed-name): Don't define here.
51         When ELF generate file named by start-installed-name from start.o
52         and abi-note.o.
53         * csu/abi-note.S: New file.
54         * sysdeps/stub/abi-tag.h: New file.
55         * sysdpes/unix/sysv/linux/abi-tag.h: New file.
56         Patches by Roland McGrath <roland@gnu.ai.mit.edu>.
58 1997-04-30 01:32  Ulrich Drepper  <drepper@cygnus.com>
60         * manual/stdio.texi: Use @vtable where possible.
61         Add TeX version of @multitable since texi2dvi cannot handle them
62         correct in the moment.
64         * po/de.po: Update.
66 1997-04-29 21:06  Ulrich Drepper  <drepper@cygnus.com>
68         * Makeconfig: Don't set cross-compiling based on $(BUILD_CC) != $(CC).
69         * config.make.in: Set cross-compiling from configure result.
70         * configure.in: Emit definition of `cross_compiling'.
71         Patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
73 1997-04-27 21:50  Philip Blundell  <pjb27@cam.ac.uk>
75         * sysdeps/unix/sysv/linux/net/route.h (struct in6_rtmsg): Use
76         correct `int' sizes for struct members.
78 1997-04-29 19:14  Ulrich Drepper  <drepper@cygnus.com>
80         * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly.
81         * sysdeps/libm-i387/e_pow.S: Likewise.
82         * sysdeps/libm-i387/e_powl.S: Likewise.
84 1997-04-23 10:08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
86         * math/fenv.h: Correct typos.
88 1997-04-28 10:04  Richard Henderson  <rth@tamu.edu>
90         * sysdeps/unix/sysv/linux/alpha/clone.S: Save the function argument
91         in t0 rather than a4 to avoid it being clobbered.
93 1997-04-27 23:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
95         * manual/summary.awk: Recognize @defmumblex.
97         * manual/signal.texi (Miscellaneous Signals): Use @deftypevrx for
98         second description header.
100 1997-04-27 23:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
102         * manual/arith.texi (Floating-Point Classes): Don't indent text,
103         makeinfo doesn't like that.
105 1997-04-27 20:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
107         * malloc/obstack.h (obstack_specify_allocation_with_arg,
108         obstack_chunkfun, obstack_freefun): Fix casts.
110 1997-04-27 18:21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
112         * manual/xtract-typefun.awk: Allow names with only one character.
114 1997-04-26 14:16  Ulrich Drepper  <drepper@cygnus.com>
116         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Use <netinet/ip_icmp.h>
117         not <netinet/icmp.h>.
118         Reported by Michael Deutschmann <ldeutsch@mail.netshop.net>.
120 1997-04-25 12:31  Ulrich Drepper  <drepper@cygnus.com>
122         * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0
123         to command line of compiler.
124         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
126         * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos.
127         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
129         * signal/signal.h (_sys_siglist, sys_siglist): Use _NSIG, not NSIG
130         in declaration.
131         Patch by Michael Widenius <monty@tcx.se>.
133         * time/strptime.c (strptime_internal): Fix %I format specifier
134         being off by one.
135         Patch by Mark Kettenis <kettenis@phys.uva.nl>.
137 1997-04-24 12:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
139         * stdlib/lcong48_r.c: Include <limits.h>.
140         * stdlib/seed48_r.c: Likewise.
142         * stdio-common/printf_size.c (printf_size): Correct type of
143         `units' and make robust against future changes.
145 1997-04-23 18:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
147         * sysdeps/libm-ieee754/s_cproj.c: Use isfinite instead of finite.
148         * sysdeps/libm-ieee754/s_cprojl.c: Likewise.
149         * sysdeps/libm-ieee754/s_cprojf.c: Likewise.
151 1997-04-23 18:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
153         * manual/arith.texi, manual/math.texi: Use @defmumblex for
154         additional description headers.
155         * manual/xtract-typefun.awk: Recognize them.
157 1997-04-22 15:58  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
159         * stdio-common/printf_size.c (printf_size): Correct size of array
160         units.
162 1997-04-21 07:50  H.J. Lu  <hjl@gnu.ai.mit.edu>
164         * libgen.h: New file.
166 1997-04-21 16:45  Ulrich Drepper  <drepper@cygnus.com>
168         * stdlib/drand48.c: Cleanup namespace.
169         * stdlib/drand48_r.c: Cleanup namespace.
170         * stdlib/erand48.c: Cleanup namespace.
171         * stdlib/erand48_r.c: Cleanup namespace.
172         * stdlib/jrand48.c: Cleanup namespace.
173         * stdlib/jrand48_r.c: Cleanup namespace.
174         * stdlib/lrand48.c: Cleanup namespace.
175         * stdlib/lrand48_r.c: Cleanup namespace.
176         * stdlib/mrand48.c: Cleanup namespace.
177         * stdlib/mrand48_r.c: Cleanup namespace.
178         * stdlib/nrand48.c: Cleanup namespace.
179         * stdlib/nrand48_r.c: Cleanup namespace.
180         * stdlib/lcong48.c: Cleanup namespace.
181         * stdlib/lcong48_r.c: Cleanup namespace.
182         * stdlib/srand48.c: Cleanup namespace.
183         * stdlib/srand48_r.c: Cleanup namespace.
184         * stdlib/seed48.c: Cleanup namespace.
185         * stdlib/seed48_r.c: Cleanup namespace.
187         * stdlib/stdlib.h: Provide new prototypes.
189 1997-04-21 13:25  Ulrich Drepper  <drepper@cygnus.com>
191         * manual/arith.texi: Add description for INFINITY, _Imaginary_I,
192         fpclassify & friends, and complex number operations.
193         Update various other math functions for ISO C 9X.
194         * manual/math.texi: Update various entries for ISO C 9X.
195         Add description for complex number functions.
196         Add description of rand48 function family.
197         * manual/string.h: Add description of a64l and l64a.
199         * math/cmathcalls.h: Fix typo.
201         * stdlib/a64l.c: Pretty printing.
203         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
204         * stdlib/srand48_r.c: Likewise.
205         * stdlib/stdlib.h: Pretty printing.
207         * sysdeps/i386/fpu/__math.h: Fix typo.
209         * sysdeps/libm-ieee754/s_nearbyintf.c: Correctly name function.
210         * sysdeps/libm-ieee754/s_nearbyintl.c: Likewise.
212 1997-04-19 22:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
214         * sysdeps/m68k/fpu/e_pow.c: Rewrite handling of integral exponent.
216 1997-04-18 19:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
218         * sysdeps/m68k/fpu/__math.h: Define optimized versions of
219         isgreater, isgreaterequal, isless, islessequal, islessgreater, and
220         isunordered.
222 1997-04-20 01:28  Richard Henderson  <rth@tamu.edu>
224         * rellns-sh: Handle files in the same directory correctly.
226 1997-04-20 11:22  Ulrich Drepper  <drepper@cygnus.com>
228         * csu/initfini.c: Place ALIGN instruction at correct positions.
229         Patch by Richard Henderson <richard@twiddle.rth.home>.
231 1997-04-19 17:12  Ulrich Drepper  <drepper@cygnus.com>
233         * Make-dist: Don't automatically ignore .c files if the .S or .s file
234         is ignored.
236         * csu/Makefile (distribute): Add defs.awk.
238 1997-04-19 15:39  Ulrich Drepper  <drepper@cygnus.com>
240         * sysdeps/stub/shmat.c: Update to XPG4.2 interface.
241         * sysdeps/stub/shmdt.c: Likewise.
242         Reported by Thomas Bushnell, n/BSG.
244 1997-04-19 13:22  Ulrich Drepper  <drepper@cygnus.com>
246         * manual/stdio.texi: Add description of printf_size and
247         printf_size_info.  Partly based on the documentation by Larry McVoy.
249 1997-04-19 02:21  Ulrich Drepper  <drepper@cygnus.com>
251         * stdio-common/printf_size.c (printf_size): Correct values for
252         `units'.
253         Report by Larry McVoy <lm@neteng.engr.sgi.com>.
254         * stdio-common/tst-printfsz.c: New file.
255         * stdio-common/Makefile (tests): Add tst-printfsz.c.
256         (CFLAGS-tst-printfsz.c): Define to prevent warnings about format
257         strings.
259 1997-04-18 15:48  Ulrich Drepper  <drepper@cygnus.com>
261         * login/utmp.h: Add prototype for updwtmp.
262         * login/logwtmp.c: Add new function updwtmp which allows to write
263         a complete record to the wtmp file.
264         Patch by Miquel van Smoorenburg <miquels@cistron.nl>.
266 1997-04-17 17:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
268         * math/Makefile (headers): Add mathbits.h.
270 1997-04-16 21:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
272         * sysdeps/m68k/fpu/__math.h: Add inlined sincos{,l,f}.
273         * sysdeps/m68k/fpu/s_sincos.c: New file.
274         * sysdeps/m68k/fpu/s_sincosf.c: New file.
275         * sysdeps/m68k/fpu/s_sincosl.c: New file.
277         * sysdeps/libm-ieee754/e_scalb.c: Use internal names of the
278         functions.
279         * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
281         * sysdeps/libm-ieee754/s_ctanh.c: Use isfinite instead of finite.
282         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
283         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
284         * sysdeps/libm-ieee754/s_ctan.c: Likewise.
285         * sysdeps/libm-ieee754/s_ctanf.c: Likewise.
286         * sysdeps/libm-ieee754/s_ctanl.c: Likewise.  Fix type of `res'.
288 1997-04-18 11:21  Ulrich Drepper  <drepper@cygnus.com>
290         * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error.
291         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
293 1997-04-18 02:18  Ulrich Drepper  <drepper@cygnus.com>
295         * csu/initfini.c: Rewrite by Zack Weinberg
296         <zack@rabi.phys.columbia.edu>.
297         * csu/Makefile: Add rules for rewrite.
298         * csu/defs.awk: Helper script to generate derived header.
300 1997-04-17 16:55  Ulrich Drepper  <drepper@cygnus.com>
302         * misc/libgen.h: Change prototype for of basename to XPG variant.
303         * stdlib/Makefile (routines): Add xpg_basename.
304         * stdlib/basename.c: New file.
305         * string/string.h: Don't declare basename function if basename
306         macro is available.
308 1997-04-16 17:33  Miles Bader  <miles@gnu.ai.mit.edu>
310         * login/utmp_file.c (proc_utmp_eq): Only use ut_id field if valid.
312 1997-04-15 12:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
314         * sysdeps/m68k/fpu/fclrexcpt.c: New file.
315         * sysdeps/m68k/fpu/fenvbits.h: New file.
316         * sysdeps/m68k/fpu/fegetenv.c: New file.
317         * sysdeps/m68k/fpu/fegetround.c: New file.
318         * sysdeps/m68k/fpu/fesetenv.c: New file.
319         * sysdeps/m68k/fpu/fesetround.c: New file.
320         * sysdeps/m68k/fpu/feupdateenv.c: New file.
321         * sysdeps/m68k/fpu/fgetexcptflg.c: New file.
322         * sysdeps/m68k/fpu/fraiseexcpt.c: New file.
323         * sysdeps/m68k/fpu/fsetexcptflg.c: New file.
324         * sysdeps/m68k/fpu/ftestexcept.c: New file.
325         * sysdeps/m68k/fpu/mathbits.h: New file.
327         * sysdeps/m68k/fpu/s_remquo.c: New file.
328         * sysdeps/m68k/fpu/s_remquol.c: New file.
329         * sysdeps/m68k/fpu/s_remquof.c: New file.
331         * sysdeps/libm-ieee754/s_roundl.c: Restore integer bit when
332         mantissa overflows into exponent.  Fix priority of >> vs +.
334         * math/libm-test.c (basic_tests): Use the appropriate isnan and
335         isinf function to test the value of the nan function.
337 1997-04-15 13:40  Ulrich Drepper  <drepper@cygnus.com>
339         * sysdeps/libm-i387/s_finite.S: Fix typo.
341         * sysdeps/i386/fpu/__math.h: Add optimized versions of isgreater,
342         isgreaterequal, isless, islessequal, islessgreater, and
343         isunordered.
345 1997-04-15 03:14  Ulrich Drepper  <drepper@cygnus.com>
347         * wcsmbs/wcsstr.c: Add weak alias wcswcs for Unix98 compliance.
349         * math/Makefile (libm-calls): Add s_sincos and s_cproj.
350         * math/mathcalls.h: Add prototype for sincos.
351         * sysdeps/i386/fpu/__math.h: Warn about restriction on arguments to
352         inlined sin and cos function.
353         Define functions new in ISO C 9X when __USE_ISOC9X is defined.
354         Add optimized version of finite.
355         Rewrite sincos function to handle too large arguments.
356         * sysdeps/libm-i387/s_cos.S: Better code alignment.
357         * sysdeps/libm-i387/s_cosl.S: Likewise.
358         * sysdeps/libm-i387/s_sin.S: Likewise.
359         * sysdeps/libm-i387/s_sinl.S: Likewise.
360         * sysdeps/libm-i387/s_finite.S: Yet better code.
361         * sysdeps/libm-i387/s_finitef.S: Likewise.
362         * sysdeps/libm-i387/s_sincos.S: New file.
363         * sysdeps/libm-i387/s_sincosf.S: New file.
364         * sysdeps/libm-i387/s_sincosl.S: New file.
365         * sysdeps/libm-ieee754/s_sincos.c: New file.
366         * sysdeps/libm-ieee754/s_sincosf.c: New file.
367         * sysdeps/libm-ieee754/s_sincosl.c: New file.
369         * sysdeps/libm-ieee754/s_ccosh.c: Change to use sincos function.
370         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
371         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
372         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
373         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
374         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
375         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
376         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
377         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
378         * sysdeps/libm-ieee754/s_ctan.c: Likewise.
379         * sysdeps/libm-ieee754/s_ctanf.c: Likewise.
380         * sysdeps/libm-ieee754/s_ctanl.c: Likewise.
381         * sysdeps/libm-ieee754/s_ctanh.c: Likewise.
382         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
383         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
385         * sysdeps/libm-ieee754/s_cosl.c: Correct check for range.
386         * sysdeps/libm-ieee754/s_sinl.c: Likewise.
388         * sysdeps/libm-ieee754/s_roundtol.c: Fix typos.
389         * sysdeps/libm-ieee754/s_roundtoll.c: Likewise.
391         * nis/Makefile (services): Mention nisplus before compat.
392         * nis/nis_call.c (__do_niscall): Change type of variable server_len
393         to prevent warning.
394         * nis/nss_compat/compat-grp.c (getgrent_next_file_plusgroup): Add
395         cast to prevent warning.
396         * nis/nss_compat/compat-pwd.c (getpwent_next_file_plususer): Likewise.
397         * nis/nss_compat/compat-spwd.c (getspent_next_file_plususer): Likewise.
398         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): Change
399         type of variable `i' to prevent warning.
400         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent):
401         Likewise.
402         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent):
403         Likewise.
404         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): Likewise.
405         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent):
406         Likewise.
408         * sysdeps/generic/Dist: Remove old math implementation files.
409         * sysdeps/generic/mathimpl.h: Removed.
410         * sysdeps/generic/trig.h: Removed.
411         * sysdeps/generic/sincos.c: Removed.
412         * sysdeps/generic/asincos.c: Removed.
413         * sysdeps/generic/exp__E.c: Removed.
414         * sysdeps/generic/log__L.c: Removed.
416 1997-04-13 17:18  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
418         * malloc/malloc.c (fREe): Small optimization.  Before returning,
419         add fast check whether the heap containing top can go away.
421 1997-04-11 16:46  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
423         * malloc/malloc.c (mALLOc, rEALLOc, cALLOc, mEMALIGn): When
424         failing to allocate a new chunk, also try the main_arena.  It may
425         be that we are only running out of mmapped regions, and other
426         arenas cannot be enlarged sufficiently.
427         (new_heap, malloc_extend_top): Handle top_pad more consistently,
428         i.e. only in new_heap().
430 1997-04-13 21:10  Philip Blundell  <pjb27@cl.cam.ac.uk>
432         * sysdeps/posix/Makefile: Don't try to build and run mk-stdiolim
433         if cross-compiling.
435         * configure.in: Recognise "...linuxaout" OS names and turn off ELF.
437         * configure.in: Add ARM support.
438         * sysdeps/arm/Implies: New file.
439         * sysdeps/arm/__longjmp.S: New file.
440         * sysdeps/arm/bsd-_setjmp: New file.
441         * sysdeps/arm/bsd-setjmp: New file.
442         * sysdeps/arm/bytesex.h: New file.
443         * sysdeps/arm/fpu_control.h: New file.
444         * sysdeps/arm/jmp_buf.h: New file.
445         * sysdeps/arm/setjmp.h: New file.
446         * sysdeps/arm/sysdep.h: New file.
447         * sysdeps/unix/arm/config.h: New file.
449 1997-04-14 04:03  Ulrich Drepper  <drepper@cygnus.com>
451         * sysdeps/libm-ieee754/s_cproj.c: New file.
452         * sysdeps/libm-ieee754/s_cprojf.c: New file.
453         * sysdeps/libm-ieee754/s_cprojl.c: New file.
455 1997-04-13 01:06  Ulrich Drepper  <drepper@cygnus.com>
457         * isomac.c: Improve messages.
459         * math/Makefile (libm-calls): Add s_nearbyint, s_catan, s_casin,
460         s_ccos, s_csin, s_ctan, s_ctanh, s_cacos, s_casinh, s_cacosh,
461         s_catanh, s_csqrt, and s_cpow.
462         * math/libm-test.c: New functions ccos_test, cacos_test, cacosh_test,
463         casin_test, casinh_test, catan_test, catanh_test, ctanh_test,
464         csqrt_test, cpow_test, rint_test.
465         * math/math.h: Include new header mathbits.h which defines some
466         more (system dependent) types and some macros.
467         (isfinite): Use __finite instead of fpclassify.
468         * sysdeps/generic/mathbits.h: New file.
469         * sysdeps/i386/fpu/mathbits.h: New file.
470         * sysdeps/i386/huge_val.h: Don't define INFINITY.
471         * sysdeps/ieee754/huge_val.h: Likewise.
472         * sysdeps/m68k/huge_val.h: Likewise.
474         * sysdeps/i386/fpu/fenvbits.h: Define FE_NOMASK_ENV.
475         * sysdeps/i386/fpu/fesetenv.c: Handle FE_NOMASK_ENV.
477         * math/complex.h (_Imaginary_I): Define correctly.  I misread the
478         standard first.
480         * sysdeps/libm-i387/s_finite.S: Optimized rewrite.
481         * sysdeps/libm-i387/s_finitef.S: Likewise.
482         * sysdeps/libm-i387/s_finitel.S: Likewise.
483         Provided by Joe Keane <jgk@jgk.org>.
485         * sysdeps/libm-i387/s_nearbyint.S: New file.
486         * sysdeps/libm-i387/s_nearbyintf.S: New file.
487         * sysdeps/libm-i387/s_nearbyintl.S: New file.
488         * sysdeps/libm-ieee754/s_nearbyint.S: New file.
489         * sysdeps/libm-ieee754/s_nearbyintf.S: New file.
490         * sysdeps/libm-ieee754/s_nearbyintl.S: New file.
492         * sysdeps/libm-ieee754/s_cacos.c: New file.
493         * sysdeps/libm-ieee754/s_cacosf.c: New file.
494         * sysdeps/libm-ieee754/s_cacosl.c: New file.
495         * sysdeps/libm-ieee754/s_cacosh.c: New file.
496         * sysdeps/libm-ieee754/s_cacoshf.c: New file.
497         * sysdeps/libm-ieee754/s_cacoshl.c: New file.
498         * sysdeps/libm-ieee754/s_casin.c: New file.
499         * sysdeps/libm-ieee754/s_casinf.c: New file.
500         * sysdeps/libm-ieee754/s_casinl.c: New file.
501         * sysdeps/libm-ieee754/s_casinh.c: New file.
502         * sysdeps/libm-ieee754/s_casinhf.c: New file.
503         * sysdeps/libm-ieee754/s_casinhl.c: New file.
504         * sysdeps/libm-ieee754/s_catan.c: New file.
505         * sysdeps/libm-ieee754/s_catanf.c: New file.
506         * sysdeps/libm-ieee754/s_catanl.c: New file.
507         * sysdeps/libm-ieee754/s_catanh.c: New file.
508         * sysdeps/libm-ieee754/s_catanhf.c: New file.
509         * sysdeps/libm-ieee754/s_catanhl.c: New file.
510         * sysdeps/libm-ieee754/s_ccos.c: New file.
511         * sysdeps/libm-ieee754/s_ccosf.c: New file.
512         * sysdeps/libm-ieee754/s_ccosl.c: New file.
513         * sysdeps/libm-ieee754/s_cpow.c: New file.
514         * sysdeps/libm-ieee754/s_cpowf.c: New file.
515         * sysdeps/libm-ieee754/s_cpowl.c: New file.
516         * sysdeps/libm-ieee754/s_csin.c: New file.
517         * sysdeps/libm-ieee754/s_csinf.c: New file.
518         * sysdeps/libm-ieee754/s_csinl.c: New file.
519         * sysdeps/libm-ieee754/s_csqrt.c: New file.
520         * sysdeps/libm-ieee754/s_csqrtf.c: New file.
521         * sysdeps/libm-ieee754/s_csqrtl.c: New file.
522         * sysdeps/libm-ieee754/s_ctan.c: New file.
523         * sysdeps/libm-ieee754/s_ctanf.c: New file.
524         * sysdeps/libm-ieee754/s_ctanl.c: New file.
525         * sysdeps/libm-ieee754/s_ctanh.c: New file.
526         * sysdeps/libm-ieee754/s_ctanhf.c: New file.
527         * sysdeps/libm-ieee754/s_ctanhl.c: New file.
529         * time/strftime.c (memset_space): Increment pointer.
530         * time/strptime.c: Interpret year number 00-59 as 2000--2059.
531         Patches by Karl Heuer <kwzh@gnu.ai.mit.edu>.
533 1997-04-11 11:57  Miguel de Icaza <miguel@nuclecu.unam.mx>
535         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove fork,
536         pipe, syscall.
538 1997-04-05 00:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
540         * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although
541         probably still wrong.
542         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
543         * sysdeps/libm-ieee754/s_remquol.c: Likewise.
545         * math/libm-test.c (remquo_test): Corrected.
547 1997-04-11 00:01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
549         * sysdeps/m68k/fpu/__math.h (__rinttol, rinttol): New inline.
550         * sysdeps/m68k/fpu/s_rinttol.c: New file.
551         * sysdeps/m68k/fpu/s_rinttoll.c: New file.
553         * math/libm-test.c (remquo_test): Use check_long to test the
554         quotient.
555         (cbrt_test): Add epsilons for long double.
557 1997-04-10 18:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
559         * locale/localeinfo.h: Update declaration of _nl_current.
561 1997-04-11 11:27  Ulrich Drepper  <drepper@cygnus.com>
563         * rellnsh-sh: Use explicitely /bin/pwd to find the external program.
565         * math/Makefile (headers): Add fenv.h and fenvbits.h.
566         (libm-support): Add s_rountol, s_roundtoll, fclrexcpt, fgetexcptflg,
567         fraiseexcpt, fsetexcptflg, ftestexcept, fegetround, fesetround,
568         fegetenv, feholdexcpt, fesetenv, feupdateenv.
569         (libm-calls): Add s_round.
570         * math/fenv.h: New file.
571         * math/libm-test.c: Correct tests for s_rinttol and s_rinttoll.
572         Add roundtol_check and roundtoll_check.
573         * math/math.h: Pretty printing.
574         * sysdeps/i386/fpu/fclrexcpt.c: New file.
575         * sysdeps/i386/fpu/fegetenv.c: New file.
576         * sysdeps/i386/fpu/fegetround.c: New file.
577         * sysdeps/i386/fpu/feholdexcpt.c: New file.
578         * sysdeps/i386/fpu/fenvbits.h: New file.
579         * sysdeps/i386/fpu/fesetenv.c: New file.
580         * sysdeps/i386/fpu/fesetround.c: New file.
581         * sysdeps/i386/fpu/fgetexcptflg.c: New file.
582         * sysdeps/i386/fpu/fraiseexcpt.c: New file.
583         * sysdeps/i386/fpu/fsetexcptflg.c: New file.
584         * sysdeps/i386/fpu/ftestexcept.c: New file.
585         * sysdeps/stub/fclrexcpt.c: New file.
586         * sysdeps/stub/fegetenv.c: New file.
587         * sysdeps/stub/fegetround.c: New file.
588         * sysdeps/stub/feholdexcpt.c: New file.
589         * sysdeps/stub/fenvbits.h: New file.
590         * sysdeps/stub/fesetenv.c: New file.
591         * sysdeps/stub/fesetround.c: New file.
592         * sysdeps/stub/fgetexcptflg.c: New file.
593         * sysdeps/stub/fraiseexcpt.c: New file.
594         * sysdeps/stub/fsetexcptflg.c: New file.
595         * sysdeps/stub/ftestexcept.c: New file.
597         * sysdeps/libm-i387/s_trunc.S: New file.
598         * sysdeps/libm-i387/s_truncf.S: New file.
599         * sysdeps/libm-i387/s_truncl.S: New file.
601         * sysdeps/libm-ieee754/s_round.c: New file.
602         * sysdeps/libm-ieee754/s_roundf.c: New file.
603         * sysdeps/libm-ieee754/s_roundl.c: New file.
605         * sysdeps/libm-ieee754/s_ccosh.c: Rewritten to use fpclassify.
606         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
607         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
608         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
609         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
610         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
611         * sysdeps/libm-ieee754/s_clog.c: Likewise.
612         * sysdeps/libm-ieee754/s_clogf.c: Likewise.
613         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
614         * sysdeps/libm-ieee754/s_csinh.c. Likewise.
615         * sysdeps/libm-ieee754/s_csinhf.c. Likewise.
616         * sysdeps/libm-ieee754/s_csinhl.c. Likewise.
618         * sysdeps/libm-ieee754/s_ceill.c: Corrected.  The mantissa has only
619         63 bits.
620         * sysdeps/libm-ieee754/s_floorl.c: Likewise.
622         * po/pl.po: Updated.
624         * string/swab.c: Correctly handle array of odd length.
626         * sysdeps/generic/memmem.c: Update copyright.
627         * manual/string.texi: Correct prototype in memmem documentation.
629 1997-04-10 20:22  Ulrich Drepper  <drepper@cygnus.com>
631         * hurd/Makefile (sunrpc-headers): Add clnt.h.
632         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
634 1997-04-09 14:21  Miguel de Icaza  <miguel@nuclecu.unam.mx>
636         * sysdeps/sparc/dl-machine.h: Bug fix: I was not loading
637         the proper value from the GOT.  Pass argument block to
638         init function.
640         * sysdeps/sparc/elf/start.c: Call atexit (_fini) after calling
641         _init ().
643         * sysdeps/sparc/fpu_control.h: Fix the FPU constants.  I got them
644         wrong the first time.
646         * sysdeps/sparc/setjmp.S: PIC code was clobbering a callee saved
647         register.
649         * sysdeps/sparc/udiv_qrnnd.S: Add type @function.
651         * sysdeps/unix/sysv/linux/sparc/init-first.h: Linux/SPARC specific
652         SYSDEP_CALL_INIT.
654         * sysdeps/unix/sysv/linux/sparc/signum.h: Remove definition for
655         NSIG and duplicated SIGIOT.
657 1997-04-05 00:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
659         * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although
660         probably still wrong.
661         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
662         * sysdeps/libm-ieee754/s_remquol.c: Likewise.
664         * math/libm-test.c (remquo_test): Corrected.
666 1997-04-03 18:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
668         * Makefile (parent-tests): New target to run the tests to that
669         they are executed even if some subdir tests have failed.
670         (tests): Depend on parent-tests instead of running the tests
671         directly.
673 1997-04-03 12:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
675         Clean up name space pollution in libnss_*.so:
676         * nis/nss_compat/compat-pwd.c, resolv/mapv4v6addr.h,
677         resolv/nss_dns/dns-host.c: Replace bzero by memset, bcopy by
678         memcpy and bcmp by memcmp to clean up namespace.
679         * nss/nss_db/db-XXX.c (internal_setent): Use __dbopen instead of
680         dbopen.
681         * nss/nss_db/db-alias.c (internal_setent): Likewise.
682         * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Likewise.
683         * db/db/db.c [_LIBC]: Define __dbopen instead of dbopen and make
684         the latter a weak alias.
685         * db/db.h: Declare __dbopen.
686         * db/btree/btree.h [_LIBC]: Prepend __ to all mpool functions.
687         * db/mpool/mpool.c [_LIBC]: Define all external functions with __
688         prefix and make the old names weak aliases.
689         * db/mpool.h: Declare the new internal names.
691 1997-04-04 23:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
693         * stdio-common/vfscanf.c: Fix scanning of hexadecimal fp number.
694         * stdio-common/tstscanf.c: Add test case for this.
696 1997-04-04 17:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
698         * math/libm-test.c: Fix more typos.
700 1997-04-03 17:15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
702         * math/libm-test.c (csinh_test): Fix test names.
703         (ccosh_test): Likewise.
705         * sysdeps/libm-ieee754/s_csinh.c: Use sinh function instead of
706         computing it directly.
707         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
708         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
710         * sysdeps/libm-ieee754/s_ccosh.c:  Use cosh function instead of
711         computing it directly.
712         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
713         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
715         * sysdeps/libm-ieee754/s_cexp.c: Use internal exp function instead
716         of wrapper.
717         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
718         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
719         * sysdeps/m68k/fpu/s_cexp.c: Likewise.  Correct handling of
720         special values.  Avoid use of fsincos if all that is needed is the
721         quadrant.
723         * sysdeps/m68k/fpu/s_ccosh.c: New file.
724         * sysdeps/m68k/fpu/s_ccoshf.c: New file.
725         * sysdeps/m68k/fpu/s_ccoshl.c: New file.
726         * sysdeps/m68k/fpu/s_csinh.c: New file.
727         * sysdeps/m68k/fpu/s_csinhl.c: New file.
728         * sysdeps/m68k/fpu/s_csinhf.c: New file.
730 1997-04-03 10:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
732         * manual/Makefile (dir-add.texi): Simplify.
734 1997-04-09 01:24  Ulrich Drepper  <drepper@cygnus.com>
736         * rellns-sh: Rewrite to work also in presence of symlinks.
738         * arpg/argp-fmtstream.c: Add casts to prevent warnings.
739         * argp/argp-fmtstream.h: Likewise.
740         * argp/argp-help.c: Likewise.
742         * elf/dl-minimal.c: Add definition of calloc.
743         * elf/version.c: Add casts to prevent warnings.
744         (_dl_check_map_versions): Use calloc instead of malloc+memset.
746         * locale/setlocale.c (_nl_current): Add element with index LC_ALL.
747         Reported by Greg McGary <gkm@eng.ascend.com>.
749         * manual/libc.texinfo: Update malloc documentation for new malloc.
750         * manual/memory.texi: Likewise.
751         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
753         * math/libm-test.c (check_long): New function.
754         (check_longlong): New function.
755         (rinttol_test): New function.
756         (rinttoll_test): New function.
758         * nis/nss_compat/compat-grp.c (in_blacklist): Improve a bit.
759         * nis/nss_compat/compat-pwd.c: Likewise.
760         * nis/nss_compat/compat-spwd.c: Likewise.
762         * stdlib/erand48_r.c (erand48_r): Build double value using
763         ieee754_double union and use random bits in different order to
764         increase effect of seed.
765         Reported by David Mosberger-Tang <davidm@AZStarNet.com>.
767         * sunrpc/svc_auth.c: Moved to ...
768         * sysdeps/generic/svc_auth.c: ...here.
770         * time/time.h: Pretty print.
772 1997-04-08 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
774         * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on
775         a read-only stream.
777 1997-04-09 01:19  Ulrich Drepper  <drepper@cygnus.com>
779         * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration
780         in correct place.
781         Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
783 1997-04-07 15:34  Ulrich Drepper  <drepper@cygnus.com>
785         * stdio-common/Makefile (tests): Add tst-ferror.
786         * stdio-common/tst-ferror.c: New file.  Some tests for error
787         indicator of streams.
788         * stdio-common/tst-ferror.input: New file.
790         * isomac.c: Let tests not fail because the compiler defines itself
791         symbols which violate the name space rules.  gcc defines symbols
792         for the architecture which are not protected by an underscore
793         character.
795         * math/Makefile (libm-support): Add s_rinttol and s_rinttoll.
796         (libm-calls): Add s_clog.
797         * sysdeps/libm-ieee754/s_clog.c: New file.  Implementation of
798         logarithm of complex value.
799         * sysdeps/libm-ieee754/s_clogf.c: New file.
800         * sysdeps/libm-ieee754/s_clogl.c: New file.
801         * math/libm-test.c (clog_test): Compile this function.  Fix a few
802         typos.
803         (main): Call clog_test.
805         * sysdeps/libm-ieee754/s_rinttol.c: New file.  Round long double
806         value to long int.
807         * sysdeps/libm-i387/s_rinttol.S: New file.
808         * sysdeps/libm-ieee754/s_rinttoll.c: new file.  Round long double
809         value to long long int.
810         * sysdeps/libm-i387/s_rinttoll.S: New file.
812         * sysdeps/libm-ieee754/s_rintl.c: Many corrections.  The previous
813         version was full of errors.
815         * math/math.h (rinttol): Argument is of type `long double' not
816         `double'.
817         (rinttoll): Likewise.
818         (roundtol): Likewise.
819         (roundtoll): Likewise.
821 1997-04-06 11:32  H.J. Lu  <hjl@gnu.ai.mit.edu>
823         * posix/getopt.c (_getopt_initialize): Preserve optind.
824         (_getopt_internal): Set optind to 1 if optind == 0 before
825         calling _getopt_initialize ().
827 1997-04-05 16:45  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
829         * nis/rpcsvc/nislib.h: Change const nis_name to new type
830         const_nis_name.
831         * nis/nis_intern.c: Likewise.
832         * nis/nis_intern.h: Likewise.
833         * nis/nis_server.c: Likewise.
834         * nis/nis_subr.c: Likewise.
835         * nis/nis_table.c: Likewise.
836         * nis/nis_names.c: Likewise.  Fill out ns_request structure in
837         nis_add().
839         * nis/nss_compat/compat-pwd.c: Use reentrant netgroup functions.
840         * nis/nss_compat/compat-spwd.c: Likewise.
842 1997-03-27 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
844         * libio/fileops.c (_IO_file_overflow): Set error when try to write
845         on a read-only stream.
847         * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
848         (ut_time): Define it only if _NO_UT_TIME is not defined.
850 1997-04-06 00:42  Ulrich Drepper  <drepper@cygnus.com>
852         * misc/tst-tsearch.c: Include <string.h>.  Define _GNU_SOURCE only
853         if not already defined.
855 1997-04-05 16:14  Ulrich Drepper  <drepper@cygnus.com>
857         * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to
858         get definition of sa_family_t for <linux/atalk.h>.
859         Reported by a sun <asun@zoology.washington.edu>.
861         * malloc/malloc.c (cALLOc): Little optimization.
863 1997-04-05 03:11  Ulrich Drepper  <drepper@cygnus.com>
865         * inet/arpa/inet.h: Rewrite.  Don't use the ugly BSD way to write
866         headers but instead add comments and parameter names.
867         Don't use BSD specific types in prototypes.
869         * manual/nss.texi: Correct a few typos and errors.
871         * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite based on better
872         algorithm.
873         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
874         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
876         * sysdeps/libm-i387/s_cbrt.S: New file.  Optimized assembler version
877         with new algorithm.
878         * sysdeps/libm-i387/s_cbrtf.S: New file.
879         * sysdeps/libm-i387/s_cbrtl.S: New file.
881         * sysdeps/libm-i387/s_frexp.S: Optimize even more.
882         * sysdeps/libm-i387/s_frexpf.S: Likewise.
883         * sysdeps/libm-i387/s_frexpl.S: Likewise.
885 1997-04-04 18:55  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
887         * nis/Makefile: Remove CFLAGS-*, add publickey to databases.
889         * nis/nis_call.c: Add MASTER_ONLY and HARD_LOOKUP flags, compile
890         DES part only with secure RPC add-on.
892         * nis/nis_names.c (nis_modify): Fix rpc function number.
894         * nis/nis_server.c: Fix typos.
896         * nis/nss_compat/compat-grp.c: Add NIS+ support.
897         * nis/nss_compat/compat-pwd.c: Likewise.
898         * nis/nss_compat/compat-spwd.c: Likewise.
900         * nis/nss_nis/nis-grp.c: Only a return value > 0 from parse_line
901         signals success.
903         * nis/nss_nis/nis-publickey.c: Changes for compiling with/without
904         secure RPC.
905         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
906         * nis/ypclnt.c: Likewise.
907         * nis/nis_intern.h: Likewise.
909         * nis/nss_nisplus/nisplus-alias.c: Correct parser return code.
910         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
911         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
912         * nis/nss_nisplus/nisplus-network.c: Likewise.
913         * nis/nss_nisplus/nisplus-proto.c: Likewise.
914         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
915         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
916         * nis/nss_nisplus/nisplus-service.c: Likewise.
917         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
919         * nis/nss_nisplus/nisplus-grp.c: Rewrite parser for fixing errors
920         and speedup.
921         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
923 1997-04-04 17:03  Ulrich Drepper  <drepper@cygnus.com>
925         * math/libm-test.c (cbrt_test): Add tests for +-inf and NaN
926         arguments.
928 1997-04-03 19:24  H.J. Lu  <hjl@gnu.ai.mit.edu>
930         * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a
931         typo.
933 1997-04-03 16:10  Andreas Jaeger  <aj@arthur.pfalz.de>
935         * sysdeps/libm-ieee754/s_nanf.c:
936         * sysdeps/libm-ieee754/s_nan.c:
937         * sysdeps/libm-ieee754/s_nanl.c: Include <stdio.h> for
938         declaration of sprintf.
940 1997-04-03 13:37  Ulrich Drepper  <drepper@cygnus.com>
942         * sysdeps/libm-ieee754/s_cexp.c: Fix type: string_alias ->
943         strong_alias.
944         Reported by sun <asun@zoology.washington.edu>.
946         * rpc/auth.h: Removed.
947         * rpc/auth_des.h: Removed.
948         * sunrpc/rpc/auth.h: Moved to ...
949         * sysdeps/generic/rpc/auth.h: ...here.
950         * sunrpc/rpc/auth_des.h: Moved to ...
951         * sysdeps/generic/rpc/auth_des.h: ...here.
953 1997-04-03 04:28  Ulrich Drepper  <drepper@cygnus.com>
955         * sysdeps/libm-i387/s_frexp.S: New file.  ix87 optimized version.
956         * sysdeps/libm-i387/s_frexpf.S: New file.
957         * sysdeps/libm-i387/s_frexpl.S: New file.
959 1997-04-01 10:11  H.J. Lu  <hjl@gnu.ai.mit.edu>
961         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
962         (sysdep_headers): Remove netinet/icmp.h.
964 1997-04-02 16:55  Ulrich Drepper  <drepper@cygnus.com>
966         * manual/socket.texi: Document behaviour of inet_ntoa in multi-
967         threaded programs.
968         * manual/stdio.texi: Change wording for snprintf description a bit.
969         Correct typo in example.
970         * manual/lang.texi: Add documentation of __va_copy.
972         * Makefile: Add rule to easily generate dir-add.texi file.
973         * manual/Makefile: Likewise.
975         * manual/arith.texi: Add description of lldiv_t, lldiv, and atoll.
976         Change description of strtoll and strtoull to make clear these
977         are the preferred names.
978         Describe `inf', `infinity', `nan', `nan(...)' inputs for strtod
979         and friends.
980         Change references to HUGE_VALf and HUGE_VALl to HUGE_VALF and
981         HUGE_VALL.
983 1997-04-02 16:28  Ulrich Drepper  <drepper@cygnus.com>
985         * grp/fgetgrent.c: Don't use fixed buffer length.  Allow dynamic
986         adjustment if the underlying function say it is too small.
987         * pwd/fgetpwent.c: Likewise.
988         * shadow/fgetspent.c: Likewise.
989         * shadow/sgetspent.c: Likewise.
991         * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1
992         this means there was not enough room for the gr_mem array.
994         * nss/nss_files/files-XXX.c: Leave loop and return error if
995         `parse_result' returns -1.
997         * nss/nss_files/files-parse.c (parse_line): Return -1 if parsing
998         of trailing list fails because of low memory.
999         (parse_list): Rewrite.  The logic was completly incorrect since
1000         the checks for overflowing the array were not executed when
1001         needed.
1003         * shadow/sgetspent_r.c: Only a return value > 0 from parse_line
1004         signals success.
1006         * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory.
1007         * nss/getXXent.c: Likewise.
1009         * stdlib/strtod.c (SET_MANTISSA): Make sure that at least one bit
1010         is set in mantissa.
1011         * stdlib/strtof.c: Likewise.
1012         * stdlib/strtold.c: Likewise.
1013         * wcsmbs/wcstof.c: Likewise.
1014         * wcsmbs/wcstold.c: Likewise.
1016         * sysdeps/libm-ieee754/s_nan.c: Use strtod if parameter is not empty
1017         string.
1018         * sysdeps/libm-ieee754/s_nanf.c: Likewise.
1019         * sysdeps/libm-ieee754/s_nanl.c: Likewise.
1021 1997-04-02 13:56  Ulrich Drepper  <drepper@cygnus.com>
1023         * manual/errno.texi: Add description of strerror_r.
1025 1997-04-01 19:07  H.J. Lu (hjl@gnu.ai.mit.edu)
1027         * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE.
1029 1997-04-02 13:55  Ulrich Drepper  <drepper@cygnus.com>
1031         * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi.
1033 1997-03-30 10:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1035         * sysdeps/m68k/fpu/s_cexp.c: New file.
1036         * sysdeps/m68k/fpu/s_cexpf.c: New file.
1037         * sysdeps/m68k/fpu/s_cexpl.c: New file.
1038         * sysdeps/m68k/fpu/s_nearbyint.c: New file.
1039         * sysdeps/m68k/fpu/s_nearbyintf.c: New file.
1040         * sysdeps/m68k/fpu/s_nearbyintl.c: New file.
1041         * sysdeps/m68k/fpu/s_trunc.c: New file.
1042         * sysdeps/m68k/fpu/s_truncf.c: New file.
1043         * sysdeps/m68k/fpu/s_truncl.c: New file.
1045         * sysdeps/m68k/fpu/s_modf.c: Rewritten.
1046         * sysdeps/m68k/fpu/s_modff.c: Adapted.
1047         * sysdeps/m68k/fpu/s_modfl.c: Likewise.
1049         * sysdeps/m68k/fpu/e_atan2.c: Use __signbit inline.
1050         * sysdeps/m68k/fpu/e_pow.c: Likewise.  Write 0.0/0.0 for NaN.  Fix
1051         typo in test for `y = 0.5'.
1053         * sysdeps/m68k/fpu/__math.h: Define __trunc, __signbit,
1054         __nearbyint.  Remove __modf.
1056         * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c) [$(subdir)=math]:
1057         Define for gcc bug workaround.
1059         * math/libm-test.c (log2_test): Add epsilon for long double to
1060         "log2 (e)" and "log2 (16)".
1061         (modf_test): Fix test name.
1062         (sqrt_test): Add missing FUNC.
1064 1997-03-29 16:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1066         * sunrpc/Makefile (CFLAGS-xrquota.c): Fix typo in variable name.
1068 1997-03-28 20:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1070         * stdlib/stdlib.h: Declare __clearenv.
1072 1997-03-28 18:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1074         * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of
1075         the last change.
1077 1997-03-28 17:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1079         * configure.in: Call AC_CANONICAL_BUILD before referencing
1080         $build.  Fix test for BUILD_CC.
1082 1997-04-02 01:29  Philip Blundell  <pjb27@cam.ac.uk>
1084         * sysdeps/libm-ieee754/s_log2f.c (__log2f): Fix typo.
1086 1997-03-31 18:53  Philip Blundell  <pjb27@cam.ac.uk>
1088         * sysdeps/unix/sysv/linux/net/route.h: Add new IPv6 definitions.
1090 1997-04-01 14:08  Ulrich Drepper  <drepper@cygnus.com>
1092         * sysdeps/i386/memset.c: Fix typo.
1093         * sysdeps/stub/fchmod.c: Fix typo.
1094         * sysdeps/stub/fchdir.c: Fix typo.
1095         Reported by Fila Kolodny <fila@ibi.com>.
1097 1997-04-01 00:37  Ulrich Drepper  <drepper@cygnus.com>
1099         * math/Makefile: Prevent inlining for test-{float,double,longdouble}.
1100         * math/libm-test.c (initialize): Make strings unique and force
1101         values to memory.
1103         * posix/regex.c: Debug debugging code.
1105         * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct
1106         syntax for local label.
1107         * sysdeps/i386/add_n.S: Use correct local label syntax for the
1108         binary format.
1109         * sysdeps/i386/addmul_1.S: Likewise.
1110         * sysdeps/i386/lshift.S: Likewise.
1111         * sysdeps/i386/memchr.S: Likewise.
1112         * sysdeps/i386/memcmp.S: Likewise.
1113         * sysdeps/i386/mul_1.S: Likewise.
1114         * sysdeps/i386/rshift.S: Likewise.
1115         * sysdeps/i386/stpcpy.S: Likewise.
1116         * sysdeps/i386/stpncpy.S: Likewise.
1117         * sysdeps/i386/strchr.S: Likewise.
1118         * sysdeps/i386/strcspn.S: Likewise.
1119         * sysdeps/i386/strlen.S: Likewise.
1120         * sysdeps/i386/strpbrk.S: Likewise.
1121         * sysdeps/i386/strrchr.S: Likewise.
1122         * sysdeps/i386/strspn.S: Likewise.
1123         * sysdeps/i386/strtok.S: Likewise.
1124         * sysdeps/i386/sub_n.S: Likewise.
1125         * sysdeps/i386/submul_1.S: Likewise.
1126         * sysdeps/i386/i486/strcat.S: Likewise.
1127         * sysdeps/i386/i486/strlen.S: Likewise.
1128         * sysdeps/i386/i586/add_n.S: Likewise.
1129         * sysdeps/i386/i586/addmul_1.S: Likewise.
1130         * sysdeps/i386/i586/lshift.S: Likewise.
1131         * sysdeps/i386/i586/memset.S: Likewise.
1132         * sysdeps/i386/i586/mul_1.S: Likewise.
1133         * sysdeps/i386/i586/rshift.S: Likewise.
1134         * sysdeps/i386/i586/strchr.S: Likewise.
1135         * sysdeps/i386/i586/strlen.S: Likewise.
1136         * sysdeps/i386/i586/sub_n.S: Likewise.
1137         * sysdeps/i386/i586/submul_1.S: Likewise.
1139         * sysdeps/stub/s_log2l.c: Correct function name.
1141         * time/africa: Updated from ADO tzdata1997e.
1142         * time/antarctica: Likewise.
1143         * time/asia: Likewise.
1144         * time/australasia: Likewise.
1145         * time/europe: Likewise.
1146         * time/northamerica: Likewise.
1147         * time/southamerica: Likewise.
1148         * time/private.h: Updated from ADO tzcode1997d.
1149         * time/scheck.c: Likewise.
1151 1997-03-31 12:42  Ulrich Drepper  <drepper@cygnus.com>
1153         * sysdeps/unix/sysv/linux/powerpc/Dist: Add kernel_*.h files.
1155 1997-03-23 01:41  Geoff Keating  <geoffk@ozemail.com.au>
1157         * sysdeps/powerpc/strlen.s: Rewrote for more speed.
1158         * string/tst-strlen.c: Also test various string alignments.
1160 1997-03-19 06:11  Geoff Keating  <geoffk@ozemail.com.au>
1162         * sysdeps/unix/sysv/linux/powerpc/statbuf.h: Removed.
1163         * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h: Added.
1165         * sysdeps/powerpc/dl-machine.h (ELF_PREFERRED_ADDRESS): Assume
1166         program base address is 0x01800000 if we can't otherwise tell what
1167         it is.
1168         (elf_machine_rela): Replace `assertion failed' with real error
1169         messages.
1171         * sysdeps/powerpc/dl-machine.h: More comments, more GNU indenting.
1172         Put in extra parentheses to make explicit the relative precedence
1173         of + and >>.
1175         * sysdeps/powerpc/bsd-setjmp.S: Add `__setjmp' symbol so the tests
1176         pass.
1177         * sysdeps/powerpc/clone.S: Rewrite.  Probably still doesn't work.
1179         * sysdeps/unix/sysv/linux/powerpc/sys/sysdep.h: Use .section "text"
1180         instead of .text.
1182 1997-03-31 02:28  Ulrich Drepper  <drepper@cygnus.com>
1184         * misc/tst-tsearch.c: Don't write to stderr, write to stdout
1185         instead.
1187         * inet/inet_ntoa.c (inet_ntoa): Complete rewrite.  Now uses
1188         thread-specific memory in multi-threaded programs.
1190         * sysdeps/stub/s_exp2.c: New file.  Stub version for exp2 function.
1191         * sysdeps/stub/s_exp2f.c: New file.
1192         * sysdeps/stub/s_exp2l.c: New file.
1193         Reported by a sun <asun@zoology.washington.edu>.
1195         * sysdeps/unix/sysv/linux/netatalk/atalk.h: Rename to...
1196         * sysdeps/unix/sysv/linux/netatalk/at.h: ...this.
1197         Suggested by a sun <asun@zoology.washington.edu>.
1199 1997-03-30 14:53  Ulrich Drepper  <drepper@cygnus.com>
1201         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: Add former contents
1202         of <netinet/icmp.h>.
1203         Patch by a sun <asun@zoology.washington.edu>.
1205 1997-03-30 03:42  Ulrich Drepper  <drepper@cygnus.com>
1207         * math/libm-test.c: Add definition of ctanh_test, clog_test, and
1208         csqrt_test.
1210 1997-03-29 17:39  Ulrich Drepper  <drepper@cygnus.com>
1212         * math/Makefile (routines): Add carg, s_ccosh and s_csinh.
1214         * math/complex.h: Add C++ protection.
1216         * math/libm-test.c (cexp_test): Correct a few bugs.
1217         (csinh_test): New function.
1218         (ccosh_test): New function.
1219         (cacos_test): New function.
1220         (cacosh_test): New function.
1221         (casinh_test): New function.
1222         (catanh_test): New function.
1223         (main): Add calls to csinh_test and ccosh_test.
1225         * misc/Makefile (tests): Add tst-tsearch.
1226         Add rule to link tst-tsearch against libm.
1227         * misc/tsearch.c: Rewritten to use Red-Black-Tree algorithm by
1228         Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
1229         * misc/tst-tsearch.c: New file.
1231         * stdio-common/bug5.c: Clear LD_LIBRARY_PATH environment variable
1232         before using system.
1233         * stdio-common/test-popen.c: Clear LD_LIBRARY_PATH environment variable
1234         before using popen.
1236         * sysdeps/libm-ieee754/s_cexp.c: Correct handling of special cases.
1237         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
1238         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
1240         * sysdeps/libm-i387/s_cexp.S: New file.  ix87 specific implementation
1241         of complex exponential function.
1242         * sysdeps/libm-i387/s_cexpf.S: New file.
1243         * sysdeps/libm-i387/s_cexpl.S: New file.
1245         * sysdeps/libm-ieee754/s_ccosh.c: New file.  Implementation of
1246         complex cosh function.
1247         * sysdeps/libm-ieee754/s_ccoshf.c: New file.
1248         * sysdeps/libm-ieee754/s_ccoshl.c: New file.
1249         * sysdeps/libm-ieee754/s_csinh.c: New file.  Implementation of
1250         complex sinh function.
1251         * sysdeps/libm-ieee754/s_csinhf.c: New file.
1252         * sysdeps/libm-ieee754/s_csinhl.c: New file.
1254         * math/carg.c: New file.  Generic implementatio of carg function.
1255         * math/cargf.c: New file.
1256         * math/cargl.c: New file.
1258 1997-03-29 16:07  Ulrich Drepper  <drepper@cygnus.com>
1260         * sysdeps/posix/system.c: Update copyright.
1262 1997-03-29 04:18  Ulrich Drepper  <drepper@cygnus.com>
1264         * elf/dl-error.c (_dl_catch_error): Add another argument which is
1265         passed to OPERATE.
1266         (_dl_receive_error): Likewise.
1267         * elf/link.h: Change prototypes for _dl_catch_error and
1268         _dl_receive_error to reflect above change.
1269         * elf/dl-deps.c: Don't use nested function.  Call _dl_catch_error
1270         with additional argument with pointer to data.
1271         * elf/dlclose.c: Likewise.
1272         * elf/dlerror.c: Likewise.
1273         * elf/dlopen.c: Likewise.
1274         * elf/dlsym.c: Likewise.
1275         * elf/dlvsym.c: Likewise.
1276         * elf/rtld.c: Likewise.
1277         * nss/nsswitch.c: Likewise.
1278         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
1280 1997-03-28 21:14  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1282         * elf/dl-error.c: Manually set up the values of "c", this avoids a
1283         call to memcpy and a zero 152 bytes structure.
1285         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Test
1286         RTLD_BOOTSTRAP to avoid performing relative relocs on a second
1287         pass.
1289         * sysdeps/sparc/udiv_qrnnd.S: Make the code PIC aware.
1291         * sysdeps/unix/sysv/linux/sparc/Dist: Add kernel_stat.h and
1292         kernel_sigaction.h
1294         Add Linux/SPARC specific definitions.
1295         * sysdeps/unix/sysv/linux/sparc/fcntlbits.h: New file.
1296         * sysdeps/unix/sysv/linux/sparc/ioctls.h: New file.
1297         * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: New file.
1298         * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: New file.
1299         * sysdeps/unix/sysv/linux/sparc/sigaction.h: New file.
1300         * sysdeps/unix/sysv/linux/sparc/signum.h: New file.
1301         * sysdeps/unix/sysv/linux/sparc/termbits.h: New file.
1303 1997-03-28 13:06  Philip Blundell  <pjb27@cam.ac.uk>
1305         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Use
1306         __getservbyname_r() not getservbyname().
1307         (BROKEN_LIKE_POSIX): Define to 1 so we get strict POSIX behaviour.
1309 1997-03-27 02:28  Ulrich Drepper  <drepper@cygnus.com>
1311         * gmon/gmon.c (monstartup): Mark all messages.
1312         (write_call_graph): Rewrite to use larger I/O vector for writev
1313         call to reduce syscall overhead.
1314         (write_bb_counts): Simplify writev handling.
1316         * inet/rexec.c: Make string parameters `const'.
1317         * resolv/netdb.h: Add prototypes for rcmd, rexec, ruserok, and
1318         rresvport.
1320         * math/Makefile: Don't define CFLAGS-* macros to prevent inlining
1321         in libm-test.
1322         * math/libm-test.c (this_does_nothing): Remove functions.  It's
1323         notuseful on any platform but ix86.
1324         (inverse_func_pair_test): Don't use this_does_nothing.  Use
1325         memory reference.
1326         (identities1_test): Likewise.
1327         (identities2_test): Likewise.
1328         (identities3_test): Likewise.
1329         (basic_test): Likewise.
1330         Patch by Andreas Schwab.
1331         (BUILD_COMPLEX): New macro.  Create complex number from real and
1332         imaginary parts.  This works around bugs/inefficiencies in current
1333         gcc.
1334         (cexp_test): Use BUILD_COMPLEX.  Add more tests.
1336         * nss/nsswitch.c: Fix typo.
1338         * posix/glob.h: Add declaration for glob_pattern_p.
1339         * posix/glob.c: Rename glob_pattern_p to __glob_pattern_p and
1340         make glob_pattern_p a weak alias.  This function is used in other
1341         packages (e.g. bash).
1343         * signal/Makefile (routines): Add sigisempty, sigandset, and
1344         sigorset.
1345         * signal/signal.h: Add prototypes for sigisempty, sigandset, and
1346         sigorset.
1347         * signal/sigisempty.c: New file.
1348         * signal/sigandset.c: New file.
1349         * signal/sigorset.c: New file.
1350         * sysdeps/generic/sigset.h: Define __sigisemptyset, __sigandset,
1351         and __sigorset.
1352         * sysdeps/unix/sysv/linux/sigset.h: Likewise.
1354         * stdlib/strtod.c: Handle `n-char-sequence' in NaN parsing.  It
1355         determines the bits in the mantissa part of the NaN.
1356         * stdlib/strtof.c: Define SET_MANTISSA for float type.
1357         * wcsmbs/wcstof.c: Define SET_MANTISSA for float type.
1358         * stdlib/strtold.c: Define SET_MANTISSA for long double type.
1359         * wcsmbs/wcstold.c: Define SET_MANTISSA for long double type.
1361         * sysdeps/libm-ieee754/s_cexp.c: Use explicit assignment to
1362         complex number components.  Some more corrects for special cases.
1363         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
1364         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
1366         * sysdeps/sparc/elf/start.S: Remove as per request of Miguel de Icaza.
1368         * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have
1369         ip_icmp.h.  Reported by HJ Lu.
1371 1997-03-25 03:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1373         * sysdeps/m68k/Makefile (CFLAGS-rtld.c): Add -Wno-unused.
1375         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Rewritten as for
1376         i386.
1377         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
1378         ELF_MACHINE_RELOC_NOPLT): Define.
1380 1997-03-25 03:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1382         * grp/grp.h: Include <stddef.h> only once.
1384 1997-03-25 09:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1386         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define.
1387         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
1389         * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or
1390         TAB3, if one of them is defined.
1392 1997-03-26 04:53  Ulrich Drepper  <drepper@cygnus.com>
1394         * posix/glob.c (next_brace_sub): Decrement depth counter when '}'
1395         is found.
1396         Patch by Dennis Henriksen <opus@flamingo.osrl.dk>.
1398 1997-03-25  16:25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1400         * sunrpc/Makefile: Comment gccwarn out.
1401         * sunrpc/auth_none.c: Fix prototypes and parameters for compiling
1402         with enabled warnings.
1403         * sunrpc/auth_unix.c: Likewise.
1404         * sunrpc/authuxprot.c: Likewise.
1405         * sunrpc/bindrsvprt.c: Likewise.
1406         * sunrpc/clnt_gen.c: Likewise.
1407         * sunrpc/clnt_perr.c: Likewise.
1408         * sunrpc/clnt_raw.c: Likewise.
1409         * sunrpc/clnt_simp.c: Likewise.
1410         * sunrpc/clnt_tcp.c: Likewise.
1411         * sunrpc/clnt_udp.c: Likewise.
1412         * sunrpc/get_myaddr.c: Likewise.
1413         * sunrpc/getrpcport.c: Likewise.
1414         * sunrpc/pm_getmaps.c: Likewise.
1415         * sunrpc/pm_getport.c: Likewise.
1416         * sunrpc/pmap_clnt.c: Likewise.
1417         * sunrpc/pmap_prot.c: Likewise.
1418         * sunrpc/pmap_prot2.c: Likewise.
1419         * sunrpc/pmap_rmt.c: Likewise.
1420         * sunrpc/rpc/auth.h: Likewise.
1421         * sunrpc/rpc/clnt.h: Likewise.
1422         * sunrpc/rpc/pmap_clnt.h: Likewise.
1423         * sunrpc/rpc/svc.h: Likewise.
1424         * sunrpc/rpc/svc_auth.h: Likewise.
1425         * sunrpc/rpc/types.h: Likewise.
1426         * sunrpc/rpc/xdr.h: Likewise.
1427         * sunrpc/rpc_clntout.c: Likewise.
1428         * sunrpc/rpc_cmsg.c: Likewise.
1429         * sunrpc/rpc_dtable.c: Likewise.
1430         * sunrpc/rpc_prot.c: Likewise.
1431         * sunrpc/svc.c: Likewise.
1432         * sunrpc/svc_auth.c: Likewise.
1433         * sunrpc/svc_authux.c: Likewise.
1434         * sunrpc/svc_raw.c: Likewise.
1435         * sunrpc/svc_run.c: Likewise.
1436         * sunrpc/svc_simple.c: Likewise.
1437         * sunrpc/svc_tcp.c: Likewise.
1438         * sunrpc/svc_udp.c: Likewise.
1439         * sunrpc/xdr.c: Likewise.
1440         * sunrpc/xdr_array.c: Likewise.
1441         * sunrpc/xdr_mem.c: Likewise.
1442         * sunrpc/xdr_rec.c: Likewise.
1443         * sunrpc/xdr_ref.c: Likewise.
1444         * sunrpc/xdr_stdio.c: Likewise.
1446 1997-03-25 13:39  Ulrich Drepper  <drepper@cygnus.com>
1448         * math/libm-test.c (log2_test): Compile this function and call it.
1449         (exp2_test): Likewise, but check whether function really exists
1450         before testing.
1452         * math/Makefile (libm-calls): Add s_log2 and s_exp2.
1454 1997-03-25 04:50  Ulrich Drepper  <drepper@cygnus.com>
1456         Implement exp2 function.
1457         * sysdeps/libm-i387/s_exp2.S: New file.
1458         * sysdeps/libm-i387/s_exp2f.S: New file.
1459         * sysdeps/libm-i387/s_exp2l.S: New file.
1461         Implement log2 function.
1462         * sysdeps/libm-i387/s_log2.S: New file.
1463         * sysdeps/libm-i387/s_log2f.S: New file.
1464         * sysdeps/libm-i387/s_log2l.S: New file.
1465         * sysdeps/libm-ieee754/s_log2.c: New file.
1466         * sysdeps/libm-ieee754/s_log2f.c: New file.
1467         * sysdeps/stub/s_log2.c: New file.  Stub version.
1469 1997-03-24 19:58  Richard Henderson  <rth@tamu.edu>
1471         * stdlib/tst-strtol.c (tests): Correct 64-bit entry.
1473         * sysdeps/alpha/bsd-_setjmp.S: Alias _setjmp to __setjmp for
1474         change to tst-setjmp.c.
1476         * sysdeps/alpha/dl-machine.h: Mirror Roland's recent changes.
1477         * sysdeps/i386/dl-machine.h: Correct noexec_p comment.
1478         * sysdeps/sparc/dl-machine.h: Likewise.
1480         * sysdeps/libm-ieee754/s_remquo.c: Rename {hp,lp} -> {hy,ly}.
1481         Add missing qs variable.
1482         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
1484 1997-03-25 02:15  Ulrich Drepper  <drepper@cygnus.com>
1486         * gmon/gmon.c: Optimize a bit by using more sets of records to
1487         write in a single writev call.
1489         * math/math.h: Add definitions of macros __MATHCALLX and __MATHDECLX.
1490         * math/mathcalls.h: Use __MATHCALLX for fabs, infnan, copysign,
1491         nan, isnan, nextafter, trunc, __fpclassify and signbit to mark as
1492         `const'.
1493         Use __MATHDECLX for isinf and finite.
1495         * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make
1496         clearenv a weak alias.
1498         Implement complex exponential function.
1499         * sysdeps/libm-ieee754/s_cexp.c: New file.
1500         * sysdeps/libm-ieee754/s_cexpf.c: New file.
1501         * sysdeps/libm-ieee754/s_cexpl.c: New file.
1503         * sysdeps/libm-ieee754/s_nan.c: Define function as __nan and make
1504         nan a weak alias.
1505         * sysdeps/libm-ieee754/s_nanf.c: Likewise for nanf.
1506         * sysdeps/libm-ieee754/s_nanl.c: Likewise for nanl.
1508         * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because
1509         of type clashes.  Add all definitions here.
1511         * sysdeps/unix/sysv/linux/shmat.c: Likewise.  Correct types according
1512         to XPG4.2.
1513         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
1514         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1516         * sysvipc/sys/shm.h (shmat, shmdt): Correct types.
1518         * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid
1519         use of kernel types.
1521 1997-03-25 00:00  Ulrich Drepper  <drepper@cygnus.com>
1523         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp):
1524         Correct typos.  Reported by a sun <asun@zoology.washington.edu>.
1526 1997-03-20 21:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1528         * sysdeps/libm-ieee754/s_asinhl.c: Fix sign of result.
1530 1997-03-20 16:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1532         * sysdeps/libm-ieee754/e_atan2l.c: Fix typo.
1534 1997-03-20 14:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1536         * sysdeps/m68k/fpu/__math.h (__logb, logb): Don't define.
1537         * sysdeps/m68k/fpu/s_logb.c: Removed.
1538         * sysdeps/m68k/fpu/s_logbf.c: Removed.
1539         * sysdeps/m68k/fpu/s_logbl.c: Removed.
1541         * sysdeps/m68k/fpu/__math.h (__ieee754_atan2, __ieee754_pow):
1542         Don't define here.
1543         * sysdeps/m68k/fpu/e_atan2.c: Rewritten.
1544         * sysdeps/m68k/fpu/e_pow.c: Likewise.
1545         * sysdeps/m68k/fpu/e_atan2f.c: Based on e_atan2.c.
1546         * sysdeps/m68k/fpu/e_atan2l.c: Likewise.
1547         * sysdeps/m68k/fpu/e_powf.c: Based on e_pow.c.
1548         * sysdeps/m68k/fpu/e_powl.c: Likewise.
1550         * sysdeps/m68k/fpu/s_log2.c: New file.
1551         * sysdeps/m68k/fpu/s_log2f.c: New file.
1552         * sysdeps/m68k/fpu/s_log2l.c: New file.
1553         * sysdeps/m68k/fpu/s_exp2.c: New file.
1554         * sysdeps/m68k/fpu/s_exp2f.c: New file.
1555         * sysdeps/m68k/fpu/s_exp2l.c: New file.
1557 1997-03-20 14:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1559         * Makeconfig (all): Make sure this is always the default goal.
1561 1997-03-20 11:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1563         * math/libm-test.c: Increase epsilon in many places.  Fix many
1564         typos.  Allow optinal argument also for short option.
1566 1997-03-20 11:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1568         * math/Makefile ($(objpfx)$(tests)): Link against libm.
1570 1997-03-24 23:14  Ulrich Drepper  <drepper@cygnus.com>
1572         * sysdeps/libm-ieee754/s_fpclassifyl.c: Correct recognition of
1573         denormalized numbers.
1575         * sysdeps/i386/huge_val.h: Remove references to byte order macros.
1576         Don't include <endian.h>.
1578 1997-03-19 15:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1579         * sysdeps/m68k/huge_val.h: Remove references to byte order macros.
1580         Don't include <endian.h>.
1582 1997-03-24 23:09  Ulrich Drepper  <drepper@cygnus.com>
1584         * inet/rcmd.c (iruserok): Use access instead of euidaccess.
1586 1997-03-15 18:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1588         * math/cmathcalls.h: Remove whitespace before function name in use
1589         of __MATHDECL macro, to make it compilable with a traditional
1590         preprocessor.
1592 1997-03-24 15:31  Ulrich Drepper  <drepper@cygnus.com>
1594         * configure.in: Use AC_PROG_CC instead of AC_PROG_TOOL to find
1595         compiler.
1597 1997-03-24 02:34  Ulrich Drepper  <drepper@cygnus.com>
1599         * sysdeps/libm-ieee754/s_finitel.c (__finitel): Shift return value
1600         by 31 positions to get 0/1 result.
1601         Patch by Joe Keane <jgk@jgk.org>.
1603 1997-03-23 12:15  H.J. Lu  <hjl@gnu.ai.mit.edu>
1605         * posix/getopt.c (__getopt_nonoption_flags): Make it extern
1606         to prevent from ld linking in getopt.o even if there is another
1607         incompatible one.
1609         * posix/getopt_init.c (__getopt_nonoption_flags): Remove extern.
1611 1997-03-23 23:30   Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1613         * nis/nis_call.c (__do_niscall): Print message if cold start file
1614         does not exist.
1615         * nis/nis_file.c: Don't print error messages.
1616         * nis/nis_local_name.c (nis_local_host): Fix pointer errors.
1617         * nis/rpcsvc/ypclnt.h: Fix copyright and prototypes.
1618         * nis/rpcsvc/nis.h: Likewise.
1619         * nis/ypclnt.c: Fix prototypes.
1621 1997-03-24 01:36  Ulrich Drepper  <drepper@cygnus.com>
1623         * sysdeps/libm-i387/e_scalb.S: Pop additional result before
1624         returning.
1625         * sysdeps/libm-i387/e_scalbf.S: Likewise.
1626         * sysdeps/libm-i387/e_scalbl.S: Likewise.
1627         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
1629         * elf/rtld.c (dl_main): Set main_map->l_opencount to 1 also if
1630         dynamic linker was called implicitly by the kernel.
1631         Reported by Eric Youngdale <eric@andante.jic.com>.
1633         * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c,
1634         CFLAGS-test-longdouble.c): New variables.  Set to -fno-inline to
1635         prevent clever optimizations which corrupt the tests.
1637 1997-03-23 21:33  Andreas Jaeger  <aj@arthur.pfalz.de>
1639         * math/libm-test.c (scalb_test): New function.
1640         (sqrt_test): New function.
1641         (scalbn_test): New function.
1642         (ilogb_test): New function.
1643         (main): Added calls for new test functions.
1644         (ldexp_test): Add another test for ldexp(x,0).
1646 1997-03-23 12:35  Andreas Jaeger  <aj@arthur.pfalz.de>
1648         * math/libm-test.c (remquo_test): Correct messages so that they
1649         match the tests.
1650         (copysign_test): Likewise.
1652 1997-03-23 16:28  Ulrich Drepper  <drepper@cygnus.com>
1654         * stdio-common/Makefile (routines): Add printf_size.
1656         * stdio-common/printf.h: Add declarations for printf_size and
1657         printf_size_info.
1659         * stdio-common/printf-parse.h (__printf_arginfo_table): Correct
1660         declaration.
1661         (parse_one_spec): Test whether __printf_function_table is not NULL
1662         before using registered handlers and don't test
1663         __printf_arginfo_table.  Update nargs also when handler is
1664         registered.
1666         * stdio-common/vfprintf.c (vfprintf): Count number of specifiers
1667         processed in fast loop.
1669         * stdio-common/printf_size: New file.
1671 1997-03-23 02:11  Ulrich Drepper  <drepper@cygnus.com>
1673         * time/sys/time.h: Make values ITIMER_* also available as macros.
1675         * elf/dl-support.c (_dl_sysdep_read_whole_file): Don't call
1676         __fstat but instead __fxstat directly to avoid dependency on
1677         libc.a when inline failed.
1678         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): Likewise.
1680         * math/Makefile (libm-routines): Add s_remquo.
1681         * sysdeps/libm-i387/s_remquo.S: New file.
1682         * sysdeps/libm-i387/s_remquof.S: New file.
1683         * sysdeps/libm-i387/s_remquol.S: New file.
1684         * sysdeps/libm-ieee754/s_remquo.c: New file.
1685         * sysdeps/libm-ieee754/s_remquof.c: New file.
1686         * sysdeps/libm-ieee754/s_remquol.c: New file.
1688         * math/libm-test.c (remquo_test): New function.
1690         * sysdeps/libm-ieee754/s_rintl.c: Handle implicit leading one
1691         correctly.
1693 1997-03-22 14:06  Ulrich Drepper  <drepper@cygnus.com>
1695         * math/Makefile (libm-calls): Add s_nan.
1696         * sysdeps/libm-ieee754/s_nan.c: New file.  Implement `nan' function.
1697         * sysdeps/libm-ieee754/s_nanf.c: New file.  Implement `nanf' function.
1698         * sysdeps/libm-ieee754/s_nanl.c: New file.  Implement `nanl' function.
1700         * math/libm-test.c (basic_tests): Add tests for `nan' function.
1702         * math/libm-test.c (copysign_test): New function.
1703         (main): Call copysign_test.
1705 1997-03-22 06:28  Ulrich Drepper  <drepper@cygnus.com>
1707         * sysdeps/libm-ieee754/s_nextafter.c: Return y if x == y.
1708         * sysdeps/libm-ieee754/s_nextafterf.c: Likewise.
1709         * sysdeps/libm-ieee754/s_nextafterl.c: Likewise.
1710         * sysdeps/libm-i387/s_nextafterl.c: Likewise.
1712         * math/libm-test.c (fdim_test, fmin_test, fmax_test, nextafter_test):
1713         New functions.  Test these functions.
1714         (main): Call above new functions.
1716 1997-03-22 04:53  Ulrich Drepper  <drepper@cygnus.com>
1718         * Net release 2.0.2.
1720 1997-03-22 04:37  Ulrich Drepper  <drepper@cygnus.com>
1722         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Define as alias for
1723         XTABS.
1724         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
1725         * termios/sys/ttydefaults.h: Partly revert patch by Andreas Schwab
1726         of Sun Dec 15 16:33:44 1996.
1727         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
1729 1997-03-21 13:41  Roland McGrath  <roland@baalperazim.frob.com>
1731         * sysdeps/sparc/dl-machine.h (elf_machine_rel): Rewritten as for i386.
1732         Check here for non-SHN_UNDEF STB_LOCAL symbols don't do any lookup or
1733         consult their values.
1734         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
1735         ELF_MACHINE_RELOC_NOPLT): New macros.
1737         * elf/rtld.c (dl_main): Pass ELF_MACHINE_RELOC_NOPLT to
1738         _dl_lookup_symbol in place of DL_LOOKUP_NOPLT.
1739         * sysdeps/i386/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): New macro.
1741         * sysdeps/i386/dl-machine.h (elf_machine_rel): Rewritten to do the
1742         symbol lookup before checking reloc type except for R_386_RELATIVE.
1743         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p): New macros.
1745         * elf/dl-reloc.c (RESOLVE): Remove STB_LOCAL check; let it be
1746         per-machine since it supposedly can't happen on i386.
1748         * elf/dl-lookup.c (do_lookup): Change arg FLAGS to RELOC_TYPE.  Use
1749         elf_machine_lookup_{noexec,noplt}_p macros on it.  Remove gratuitous
1750         indirection from REF arg; change callers.
1751         (_dl_lookup_symbol, _dl_lookup_versioned_symbol): Change arg name.
1752         (_dl_lookup_symbol_skip, _dl_lookup_versioned_symbol_skip): Remove
1753         FLAGS arg altogether.
1754         * elf/dlsym.c: Remove argument of FLAGS parameter.
1755         * elf/dlvsym.c: Likewise.
1756         * elf/link.h: Update decls.
1758 1997-03-21 20:55  Ulrich Drepper  <drepper@cygnus.com>
1760         * Makefile (distribute): Add BUGS.
1762         * sysdeps/generic/machine-gmon.h: Update copyright.
1764         * sysdeps/i386/Makefile [$(subdir)=gmon] (sysdep_routines): Add
1765         i386-mcount.
1766         * sysdeps/i386/dl-machine.h [PROF] (_dl_runtime_resolve): Don't
1767         use regparam mechanism for call of `fixup' call.
1768         * sysdeps/i386/Dist: New file.
1769         * sysdeps/i386/i386-mcount.S: New file.  `mcount' entry point.
1770         * sysdeps/i386/machine-gmon.h: New file.  i386 specific version
1771         of gmon definitions.
1773 1997-03-20 13:39  Andreas Jaeger  <aj@arthur.pfalz.de>
1775         * stdlib/tst-strtol.c (main): Save the value of errno since printf
1776         may modify it, use the saved errno everywhere.
1777         * stdlib/tst-strtod.c (main): Likewise.
1779 1997-03-21 05:54  Ulrich Drepper  <drepper@cygnus.com>
1781         * posix/glob.c (glob): Fix completely broken handling of
1782         GLOB_BRACE and partly broken handling of GLOB_TILDE.
1783         Reported by Dennis Henriksen <opus@flamingo.osrl.dk>.
1785 1997-03-20 20:22  Ulrich Drepper  <drepper@cygnus.com>
1787         * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small
1788         UIO_FASTIOV value by multiple readv calls since we need atomicity.
1789         * sysdeps/unix/sysv/linux/writev.c: Likewise.
1790         Reported by Matthis Urlichs.
1792 1997-03-20 04:34  Roland McGrath  <roland@baalperazim.frob.com>
1794         * sysdeps/unix/sysv/linux/i386/sysdep.S (CALL_MCOUNT): Clear this
1795         macro so ENTRY(__syscall_error) doesn't insert a call to _mcount,
1796         which clobbers %eax.
1798         * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for
1799         crtbegin.o/crtend.o, using gcc to find them.
1800         (+link): Use them.
1802 1997-03-20 00:06  Richard Henderson  <rth@tamu.edu>
1804         * gmon/sys/gmon.h: Revert the bulk of the 960930 changes, as they
1805         affect the alignment, and therefore the end padding of the structs.
1806         Reported by David Mosberger <davidm@azstarnet.com>.
1807         * gmon.c: Declare the variables with aligned tags to compensate.
1808         Use __writev instead of write for the I/O.
1810         * misc/sys/uio.h: Declare __writev and __readv.
1811         * sysdeps/posix/readv.c: Rename and alias readv to __readv.
1812         * sysdeps/posix/writev.c: Likewise for writev.
1813         * sysdeps/stub/readv.c: Likewise.
1814         * sysdeps/stub/writev.c: Likewise.
1815         * sysdeps/unix/syscalls.list: Likewise.
1816         * sysdeps/unix/sysv/linux/readv.c: Likewise.
1817         * sysdeps/unix/sysv/linux/writev.c: Likewise.
1819         * stdlib/testdiv.c: Exit with error status when we have an error.
1820         * sysdeps/alpha/div.S: Initialize `quotient' and `mask'.
1821         * sysdeps/alpha/ldiv.S: Likewise.
1823         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit.
1825 1997-03-20 14:51  Ulrich Drepper  <drepper@cygnus.com>
1827         * nis/nis_file.c: Unify error handling.
1829 1997-03-19 18:36  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1831         * nis/nis_file.c (writeColdStartFile): Fix typo.
1832         * nis/nis_free.c (nis_free_endpoints): Use unsigned int.
1833         * nis/nis_free.c (nis_free_servers): Likewise.
1834         * nis/rpcsvc/nislib.h: Likewise.
1836         * sunrpc/rpc/netdb.h: Add setrpcent and endrpcent prototypes.
1838 1997-03-20 06:07  Ulrich Drepper  <drepper@cygnus.com>
1840         * sysdeps/powerpc/dl-machine.h: Fix typo in last change.
1842         * sysdeps/unix/sparc/sysdep.h: Update copyright.
1844 1997-03-19 15:13  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1846         * linuxthreads/sysdeps/sparc/pt-machine (RELEASE): Fix.
1848         * stdlib/tst-strtol.c: Save the value of errno, printf may modify
1849         it.
1851         * sysdeps/sparc/DEFS.h [HAVE_ELF]: Use type @function in the FUNC
1852         macro on ELF systems.
1854         * sysdeps/sparc/configure.in: Fix.
1856         * sysdeps/sparc/dl-machine.h: Fix OPCODE_CALL.
1858         * sysdeps/sparc/setjmp.S: Fix my bugs.
1860         * sysdeps/unix/sysv/linux/sparc/Dist: Add start.c, fork.S, and pipe.S.
1861         * sysdeps/unix/sysv/linux/sparc/Makefile: Define asm-CPPFLAGS and
1862         as-FLAGS-.so.
1863         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Add fork, pipe, and
1864         syscall.
1865         * sysdeps/unix/sysv/linux/sparc/fork.S: New file.
1866         * sysdeps/unix/sysv/linux/sparc/pipe.S: New file.
1867         * sysdeps/unix/sysv/linux/sparc/socket.S: Fix.
1868         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Fix.
1870         * elf/dl-lookup.c (do_lookup): Return true if we found a weak
1871         symbol.
1872         (_dl_lookup_symbol): Test against the symbol being global not
1873         against the symbol being not weak (fixes important problem with
1874         the SPARC linker)
1876         * sysdeps/unix/sysv/linux/sparc/brk.c: Fix.
1878         * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for
1879         Linux/SPARC (while I get my asmCPPFLAGS-so variable).
1881 1997-03-20 01:49  Ulrich Drepper  <drepper@cygnus.com>
1883         * Makeconfig: (rpath-link): Add math/ directory.
1884         (math-objdir): New variable.
1885         (link-extra-lib): Define to special version when
1886         $(common-objpfx)!=$(objpfx) to allow libraries outside
1887         $(common-objpfx) be linked to the application.
1889         * math/Makefile: Add rules to build and run test programs.
1890         * math/libm-test.c (_GNU_SOURCE): Define only if still undefined.
1891         (check_equal): Correct check for error.
1892         (ceil_test): Fix typo.
1893         (log_test): Fix typo.
1894         (floor_test): Fix typo.
1895         (pow_test): Fix typos.
1896         (log10_test): Allow slight incorrectness for `log10(e)'.
1897         (modf_test): New functions to test `modf' et.al.
1898         (hypot_test): Rewrite test completely.
1899         Patch partly by Andreas Jaeger.
1900         * math/test-double.h (__NO_MATH_INLINES): Define only if not
1901         already defined.
1902         * math/test-float.h: Likewise.
1903         * math/test-logdouble.h: Likewise.
1905         * setjmp/setjmp.h: Change references of ANSI C to ISO C.
1906         * setjmp/tst-setjmp.c: Correct and extend test suite.
1907         * sysdeps/i386/__longjmp.S: Update copyright.
1908         * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to
1909         `__sigsetjmp' in PIC code.
1910         * sysdeps/i386/bsd-setjmp.S: Likewise.
1912         * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa
1913         overflow.
1914         * sysdeps/libm-i387/e_powf.S: Likewise.
1915         * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special
1916         case since expm1(-0) == -0.
1917         * sysdeps/libm-i387/s_expm1f.S: Likewise.
1918         * sysdeps/libm-i387/s_expm1l.S: Likewise.
1919         * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded
1920         access to FP number.
1921         * sysdeps/libm-ieee754/s_modff.c: Likewise.
1922         * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus
1923         code.  It never worked correctly.
1924         * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special
1925         case since tanh(-0) == -0.
1926         * sysdeps/libm-ieee754/s_tanhf.c: Likewise.
1927         * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf.
1929 1997-03-19 21:13  Ulrich Drepper  <drepper@cygnus.com>
1931         * stdlib/strtod.c (STRTOL): Use wchar_t as type for `decimal' and
1932         `thousands' to support systems with sizeof(wchar_t) !=
1933         sizeof(wint_t).  Blargh.
1935         * sysdeps/unix/sysv/linux/socketbits.h: Remove definition of
1936         SOL_IP, SOL_TCP, SOL_UDP, and SOL_IPX as they are defined in
1937         appropriate headers.
1939         * sysdeps/unix/sysv/linux/writev.c: Don't use MAX_IOVEC.  Test for
1940         UIO_FASTIOV and set to 8 if not available.
1941         * sysdeps/unix/sysv/linux/readv.c: Likewise.
1942         Patch by HJ Lu.
1944         * sysdeps/unix/sysv/linux/xstat.c: Include <kernel_stat.h>, not
1945         "kernel_stat.h".
1946         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1947         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
1948         Reported by fabsoft@fabsoft2.zarm.uni-bremen.de.
1950 1997-03-19 01:40  Ulrich Drepper  <drepper@cygnus.com>
1952         * sysdeps/unix/sysv/sco3.2.4/Dist: New file.
1954         * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
1956         * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrgid.c, and setruid.c.
1958         * sysdeps/unix/sysv/Dist: Add direct.h.
1960         * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
1962         * Make-dist ($(tardir).tar): Prefer writing temporary file to
1963         $TMPDIR is available.  The default is /tmp.
1965         * sysdeps/generic/ip.h: Move to...
1966         * sysdeps/generic/netinet/ip.h: ...here.
1968         * Makefile (tests): Quote $(CC) argument to isomac program.
1969         Patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
1971         * sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
1972         is placed in wrong place on the stack.
1973         Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
1974         * sysdeps/tst-setjmp.c: Add new test for above problem.
1976         * sysdeps/libm-i387/e_pow.S: Compute PIC addres early.
1977         * sysdeps/libm-i387/e_powf.S: Likewise.
1978         * sysdeps/libm-i387/e_powl.S: Likewise.
1980 1997-03-18 23:18  Ulrich Drepper  <drepper@cygnus.com>
1982         * time/offtime.c (__offtime): Change type of `yg' to long int.
1983         Reported by a sun <asun@zoology.washington.edu>.
1985 1997-03-18 23:08  a sun  <asun@zoology.washington.edu>
1987         * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
1988         2.2.0 to prevent version mismatch.
1990 1997-03-17 19:26  Andreas Jaeger  <aj@arthur.pfalz.de>
1992         * stdio-common/printf_fphex.c (MIN): Only define MIN if not
1993         already defined.
1995 1997-03-14 23:34  Geoff Keating  <geoffk@ozemail.com.au>
1997         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Leave ioctl numbers
1998         in ioctls.h.
2000         * elf/rtld.c (_dl_start): Call elf_machine_runtime_setup when the
2001         loader first relocates itself.
2002         * sysdeps/powerpc/elf/start.c (__start1): Fix bug for static objects.
2003         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Fix bugs in
2004         jump slot relocation. Prefer relative branches (some PowerPC chips
2005         don't predict absolute branches).
2006         (elf_machine_runtime_setup): Simplify and correct expressions.
2007         (RTLD_START): Fix bug changing _dl_starting_up.
2008         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Added. Deal with
2009         strange Linux/PPC padding of initial stack.
2011 1997-03-11 04:14  Geoff Keating  <geoffk@ozemail.com.au>
2013         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Increase NCCS to 39,
2014         for future expansion.
2015         * sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Added.
2016         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Explain why it
2017         can't have a switch statement.
2018         * sysdeps/powerpc/elf/start.c (__start1): Explain why it can't be
2019         static.
2021         * sysdeps/powerpc/elf/start.c (_start): Use .previous to avoid
2022         confusing gcc's idea of the current section.
2023         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
2024         RTLD_START): Likewise.
2026 1997-03-08 09:10  Geoff Keating  <geoffk@ozemail.com.au>
2028         * sysdeps/powerpc/dl-machine.h (elf_machine_rela,
2029         elf_machine_runtime_setup): Flush data & instruction caches when
2030         necessary, for 603/604 support. Add better support for large PLTs.
2031         (elf_machine_rela): Remove relocations that wouldn't work if
2032         anyone ever used them. Use memcpy for copy reloc, it'll be safe.
2033         Never target branch relocations at a PLT entry.
2035         * sysdeps/powerpc/bsd-setjmp.S: Make jump to PLT entry if we are
2036         generating PIC.
2037         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
2038         * sysdeps/powerpc/setjmp.S: Likewise.
2039         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
2040         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
2041         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
2042         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
2044         * sysdeps/powerpc/elf/start.c: Clean up.
2046         * sysdeps/powerpc/__longjmp.S: Return 'value' as result from
2047         setjmp call.
2049         * sysdeps/unix/sysv/linux/powerpc/statbuf.h: New file.
2051 1997-03-09 12:36  H.J. Lu  <hjl@gnu.ai.mit.edu>
2053         * Make-dist (srcs): Add $(test-srcs).
2054         * MakeTAGS (all-sources): Likewise.
2055         * Makerules (depfiles, common-mostlyclean): Likewise.
2056         * Rules (tests): Likewise.
2058 1997-03-18 05:28  Roland McGrath  <roland@frob.com>
2060         * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols.
2062 1997-03-17 21:39  Philip Blundell  <phil@london.uk.eu.org>
2064         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
2065         protocol=NULL to match any protocol rather than returning an
2066         error.
2068 1997-03-17 19:00  Philip Blundell  <phil@london.uk.eu.org>
2070         * nss/nss_files/files-service.c (servbyname): Match any protocol
2071         if proto==NULL.
2073 1997-03-18 05:17  Ulrich Drepper  <drepper@cygnus.com>
2075         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
2076         * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
2077         Proposed by Thomas Bushnell, n/BSG.
2079 1997-03-18 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
2081         * sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
2082         the buffer for replacement.
2084 1997-03-16 19:30  H.J. Lu  <hjl@gnu.ai.mit.edu>
2086         * sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
2087         sys_lstat and sys_stat.
2089 1997-03-17 12:43  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2091         Add NIS+ functions
2092         * shlib-versions: Add libnss_nisplus.
2093         * nis/Makefile: Add NIS+ source files.
2094         * nis/nis_call.c: New file.
2095         * nis/nis_clone.c: New file.
2096         * nis/nis_error.c: New file.
2097         * nis/nis_file.c: New file.
2098         * nis/nis_free.c: New file.
2099         * nis/nis_intern.c: New file.
2100         * nis/nis_intern.h: New file.
2101         * nis/nis_local_names.c: New file.
2102         * nis/nis_names.c: New file.
2103         * nis/nis_print.c: New file.
2104         * nis/nis_server.c: New file.
2105         * nis/nis_subr.c: New file.
2106         * nis/nis_table.c: New file.
2107         * nis/nis_xdr.c: New file.
2108         * nis/nss-nisplus.h: New file.
2109         * nis/nss_nisplus/nisplus-alias.c: New file.
2110         * nis/nss_nisplus/nisplus-ethers.c: New file.
2111         * nis/nss_nisplus/nisplus-grp.c: New file.
2112         * nis/nss_nisplus/nisplus-hosts.c: New file.
2113         * nis/nss_nisplus/nisplus-netgrp.c: New file.
2114         * nis/nss_nisplus/nisplus-network.c: New file.
2115         * nis/nss_nisplus/nisplus-proto.c: New file.
2116         * nis/nss_nisplus/nisplus-publickey.c: New file.
2117         * nis/nss_nisplus/nisplus-pwd.c: New file.
2118         * nis/nss_nisplus/nisplus-rpc.c: New file.
2119         * nis/nss_nisplus/nisplus-service.c: New file.
2120         * nis/nss_nisplus/nisplus-spwd.c: New file.
2121         * nis/rpcsvc/nis.h: New file.
2122         * nis/rpcsvc/nis.x: New file.
2123         * nis/rpcsvc/nis_object.x: New file.
2124         * nis/rpcsvc/nis_tags.h: New file.
2125         * nis/rpcsvc/nislib.h: New file.
2127 1997-03-17 12:52  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2129         * mach/devstream.c (output/write_some): Don't try and write more
2130         than IO_INBAND_MAX in a single call to device_write_inband.
2132 1997-03-17 04:00  Ulrich Drepper  <drepper@cygnus.com>
2134         * sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
2135         type is SVID.
2136         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
2137         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
2139         * sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
2140         FLAGS parameter.
2142 1997-03-16 20:28  Philip Blundell  <phil@london.uk.eu.org>
2144         * sysdeps/unix/sysv/linux/socketbits.h: Add more SOL_ values.
2145         Change msg_iovlen and msg_controllen (in struct msghdr) to
2146         `size_t' to keep in step with kernel.
2148 1997-03-16 18:43  Ulrich Drepper  <drepper@cygnus.com>
2150         * manual/filesys.texi: Add documentation for scandir and alphasort.
2151         * manual/examples/dir2.c: New example for scandir.
2153         * math/math.c (fpclassify): Correct stupid typos.
2155         * math/libm-test.c: New file.  libm test suite by Andreas Jaeger.
2156         * math/test/float.c: New file.  Frontend for float tests.
2157         * math/test/double.c: New file.  Frontend for double tests.
2158         * math/test/longdouble.c: New file.  Frontend for long double  tests.
2160         * posix/Makefile (routines): Add bsd-getpgrp.
2161         * posix/bsd-getpgrp.c: New file.
2162         * posix/unistd.h [__FAVOR_BSD]: Define macro getpgrp which maps
2163         calls to __bsd_getpgrp.
2165         * sysdeps/generic/getpgrp.c: De-ANSI-declfy.
2167         * sysdeps/i386/huge_val.h: New file.  ix87 specific infinity values.
2168         * sysdeps/m68k/huge_val.h: New file.  m68k specific infinity values.
2169         * sysdeps/ieee754/huge_val.h: Remove definition of long double
2170         definition.  Make it the same as the double definition.
2172         * sysdeps/libm-i387/e_acos.S: Fix bug in FPU stack handling.
2173         * sysdeps/libm-i387/e_acosf.S: Likewise.
2174         * sysdeps/libm-i387/e_acosl.S: Likewise.
2175         * sysdeps/libm-i387/e_asin.S: Likewise.
2176         * sysdeps/libm-i387/e_asinf.S: Likewise.
2177         * sysdeps/libm-i387/e_asinl.S: Likewise.
2178         * sysdeps/libm-i387/e_exp.S: Likewise.
2179         * sysdeps/libm-i387/e_expf.S: Likewise.
2180         * sysdeps/libm-i387/e_expl.S: Likewise.
2181         * sysdeps/libm-i387/s_scalbn.S: Likewise.
2182         * sysdeps/libm-i387/s_scalbnf.S: Likewise.
2183         * sysdeps/libm-i387/s_scalbnl.S: Likewise.
2185         * sysdeps/libm-i387/e_log.S: Optimize branch code.
2186         * sysdeps/libm-i387/e_logf.S: Likewise.
2187         * sysdeps/libm-i387/e_logl.S: Likewise.
2188         * sysdeps/libm-i387/e_log10.S: Likewise.
2189         * sysdeps/libm-i387/e_log10f.S: Likewise.
2190         * sysdeps/libm-i387/e_log10l.S: Likewise.
2192         * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases.
2193         * sysdeps/libm-i387/e_powf.S: Likewise.
2194         * sysdeps/libm-i387/e_powl.S: Likewise.
2196         * sysdeps/libm-i387/s_expm1.S: Change return value for -inf
2197         argument to -1.0.
2198         * sysdeps/libm-i387/s_expm1f.S: Likewise.
2199         * sysdeps/libm-i387/s_expm1l.S: Likewise.
2201         * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf.
2203         * sysdeps/libm-i387/s_logbl.S: Correct return value.  Discard first
2204         stack element after fxtract.
2206         * sysdeps/libm-ieee754/e_atan2l.c: New file.  `long double'
2207         implementation for atan2 function.
2209         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
2210         _SVID_ mode when acos, asin, atan2, log, log10 is called with
2211         argument out of range.
2212         Add new error case for pow(+0,neg).
2214         * sysdeps/libm-ieee754/s_fpclassifyf.c: Correct recognition of
2215         NaN and +-inf.
2216         * sysdeps/libm-ieee754/s_fpclassifyl.c: Mask out explicit leading
2217         digit in stupid 80 bit formats.
2219         * sysdeps/libm-ieee754/s_isinf.c: Rewrite to return -1 for -inf.
2220         * sysdeps/libm-ieee754/s_isinff.c: Likewise.
2221         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
2223         * sysdeps/libm-ieee754/s_scalbnl.c (huge, tiny): Adapt values for
2224         long double type.
2226         * sysdeps/libm-ieee754/w_atan2.c: Do not raise exception expect when
2227         in SVID mode.
2228         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
2229         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
2231         * sysdeps/libm-ieee754/w_pow.c: Distinguish error cases for x is +0
2232         or -0.
2233         * sysdeps/libm-ieee754/w_powf.c: Likewise.
2234         * sysdeps/libm-ieee754/w_powl.c: Likewise.
2236         * sysdeps/posix/isfdtype.c: Add cast to prevent warning.
2238         * sysdeps/stub/fcntlbits.h: Update copyright.
2239         * sysdeps/unix/bsd/fcntlbits.h: Likewise.
2240         * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
2241         * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
2242         * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
2243         * sysdeps/unix/common/fcntlbits.h: Likewise.
2244         * sysdeps/unix/sysv/fcntlbits.h: Likewise.  Define O_FSYNC as alias
2245         of O_SYNC.  Add BSD compatibility macros FAPPEND, FFSYNC, FNONBLOCK,
2246         and FNDELAY.
2247         * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
2249         * sysdeps/unix/readdir_r.c: Don't copy whole `struct dirent' record,
2250         only reclen bytes.
2252         * sysdeps/unix/sysv/linux/fcntlbits.h [__USE_GNU]: Add O_READ, O_WRITE
2253         and O_NORW.
2254         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
2256         * sysdeps/unix/sysv/linux/init-first.h: Add copyright.
2258         * sysdeps/unix/sysv/linux/fxstat.c: New file.  Rewrite kernel-level
2259         struct stat to user-level form.
2260         * sysdeps/unix/sysv/linux/lxstat: New file.
2261         * sysdeps/unix/sysv/linux/xstat: New file.
2262         * sysdeps/unix/sysv/linux/kernel_stat.h: Define struct stat used in
2263         kernel.
2264         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Change definition
2265         to use prescribed types for elements.
2266         (_STAT_VER): Change to value 3.
2267         * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
2268         * sysdeps/unix/sysv/linux/Dist: Add kernel_stat.h.
2269         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
2271         * time/Makefile: Correct dependencies for test-tz.
2273 1997-03-16 14:59  Philip Blundell  <phil@london.uk.eu.org>
2275         * resolv/netdb.h: Add prototypes for gai_strerror and getnameinfo
2276         (needed for IPv6 basic sockets API).
2278 1997-03-16 15:02  a sun  <asun@zoology.washington.edu>
2280         * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible
2281         kernel header.
2282         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
2284 1997-03-14 17:15  Ulrich Drepper  <drepper@cygnus.com>
2286         * db/hash/hash_bigkey.c (__big_delete): Don't call __free_ovflpage
2287         without testing for last_bfp to be NULL.
2288         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
2290 1997-03-13 11:42  Jim Meyering  <meyering@asic.sc.ti.com>
2292         * time/mktime.c (TIME_T_MIN): Work around a bug in Cray C 5.0.3.0.
2294 1997-03-14 04:00  Kurt Garloff  <garloff@kg1.ping.de>
2296         * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC.
2297         (FASYNC): Move to __USE_BSD section.  Create new macro O_ASYNC.
2299 1997-03-14 02:50  Ulrich Drepper  <drepper@cygnus.com>
2301         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): New
2302         functions.  Compare result for correct address type.
2303         (_nss_nis_gethostbyname_r): Use _nss_nis_gethostbyname2_r.
2304         * nss/nss_files/files-hosts.c: Likewise.
2305         Reported by Mirko Streckenbach <mirko@marian.hil.de>.
2307 1997-02-17 01:40  Zlatko Calusic  <zcalusic@srce.hr>
2309         * time/strptime.c (recursive): Return rp to caller.
2310         (strptime_internal): First check for long names, then abbreviated
2311         (month & weekday).
2313 1997-03-10 19:44  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2315         * Makeconfig: Remove useless definitions of ASFLAGS-%.
2316         * config.make.in (ASFLAGS-.so): Remove.
2317         * configure.in: Don't substitute ASFLAGS_SO.
2318         * sysdeps/sparc/configure.in: Remove file.
2319         * sysdeps/sparc/Makefile (ASFLAGS-.so): Define.
2321 1997-03-11 17:00  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2323         * time/strptime.c (strptime_internal) [case 'Y']: Always subtract
2324         1900 from year, regardless of century.
2326 1997-03-12 05:43  Ulrich Drepper  <drepper@cygnus.com>
2328         * stdlib/strtod.c (_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make
2329         all numbers unsigned to make buggy gccs happy.
2330         Patch by Bryan W. Headley <bheadley@interaccess.com>.
2332         * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility
2333         definitions.  Patch by a sun <asun@zoology.washington.edu>.
2334         Pretty print header.
2336         * Makerules (build-shlib): Also create symlink if library is versioned.
2337         Based on a patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
2338         Remove special rule to libc.so symlink.
2340 1997-03-11 20:16  Andreas Jaeger  <aj@arthur.pfalz.de>
2342         * manual/math.texi (Domain and Range Errors): Change descriptions
2343         according to recent changes for ISO C 9X.
2345 1997-03-11 22:39  Ulrich Drepper  <drepper@cygnus.com>
2347         * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct
2348         return values for acos, asin, and atan2.
2349         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
2351 1997-03-10 18:16 Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2353         * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow.
2355 1997-03-10 18:06  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
2357         * dirent/alphasort.c (alphasort): Interpret arguments as pointers
2358         to pointers to directory entries so that alphasort really can be
2359         used as argument for scandir.
2361 1997-03-09 23:33  Andreas Jaeger  <aj@arthur.pfalz.de>
2363         * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS)
2364         instead of strcpy.
2366 1997-03-10 03:34  Ulrich Drepper  <drepper@cygnus.com>
2368         * catgets/catgets.c (catopen): Always add NLSPATH to search path for
2369         catalogs, not only if the envvar NLSPATH is not available.
2370         Reported by Andries.Brouwer@cwi.nl.
2372 1997-03-10 02:46  Ulrich Drepper  <drepper@cygnus.com>
2374         * Makeconfig (localtime-file): Don't define using installation
2375         directory.
2376         (inst_localtime-file): New variable.
2377         * time/Makefile (installed-localtime-file): Use inst_localtime-file.
2378         Reported by Edward Seidl <seidl@janed.com>.
2380 1997-03-10 02:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
2382         * time/Makefile: Add source files to dependencies for test data.
2384 1997-03-09 22:53  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
2386         * nis/nss_nis/nis-ethers.c: Don't ignore return value of yp_all.
2387         * nis/nss_nis/nis-proto.c: Likewise.
2388         * nis/nss_nis/nis-rpc.c: Likewise.
2389         * nis/nss_nis/nis-service.c: Likewise.
2391 1997-03-08 14:37  Miguel de Icaza  <miguel@nuclecu.unam.mx>
2393         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Upgrade to
2394         versioning;  Added missing R_SPARC_WDISP30 handling.
2395         (RTLD_START): Implement it.
2397         * sysdeps/unix/sysv/linux/sparc/brk.c: Fix.
2399         * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for
2400         Linux/SPARC.
2402 1997-03-02 18:06  Miguel de Icaza  <miguel@nuclecu.unam.mx>
2404         * sysdeps/sparc/dl-machine.h (RTLD_START): Make arg as expected by
2405         the dynamic linker instead of having a new conditional define.
2406         Thanks to Richard Henderson for pointing this out.
2407         * elf/rtld.c: Remove usage of ELF_ADJUST_ARG.
2409 1997-03-20 20:44  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2411         * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make
2412         euidaccess weak alias.
2414 1997-03-07 10:30  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2416         * stdio-common/printf_fphex.c (MIN): New macro.
2418         * sysdeps/generic/netinet/in.h: Include <sys/types.h>.
2420         * sysdeps/generic/sys/mman.h (msync): Mention third arg.
2422         * sysdeps/generic/netinet/in.h: Add definitions for IPv6 basic
2423         API.  (See change by Philip Blundell on Feb 16, 1997.)
2425 1997-03-05 10:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2427         * hurd/hurd.h (vpprintf): Include <stdarg.h>.  New declaration.
2429         * hurd/set-host.c (_hurd_set_host_config): Cast second arg to
2430         __file_name_split.
2432         * mach/mach_error.c (mach_error_string_int): Give full prototype.
2433         * mach/errstring.c (mach_error_string_int): Likewise.
2434         * mach/error_compat.c (__mach_error_map_compat): Likewise.
2435         * hurd/vpprintf.c (pwrite, vpprintf): Likewise.
2436         * stdio/vasprintf.c (vasprintf): Likewise.
2438         * mach/mach/mach_traps.h: Include <mach/kern_return.h>.
2440         * mach/spin-solid.c: Include <mach/mach_traps.h>.
2441         * mach/spin-solid.c (__spin_lock_solid): Provide arg to
2442         swtch_pri.
2444         * mach/mach_init.c: Include <mach/mig_support.h>.
2446         * mach/mach_error.h (mach_error_string, mach_error,
2447         mach_error_type): Always provide prototypes.
2449         * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it
2450         appears to be entirely unused dead code.
2452 1997-03-02 13:38  Miles Bader  <miles@gnu.ai.mit.edu>
2454         * string/argz.h (__need_error_t): New macro, before including <errno.h>
2455         [!__const] (__const): New macro.
2456         [!__error_t_defined] (error_t): New typedef.
2458 1997-03-09 06:59  Ulrich Drepper  <drepper@cygnus.com>
2460         * Makeconfig: Add ASFLAGS-% flags for SPARC assembler which need
2461         -fPIC.
2462         * Makerules (compile.S): Use ASFLAGS-%.
2463         (COMPILE.S): Likewise.
2464         * config.make.in (ASFLAGS-.so): Define from ASFLAGS_SO.
2465         * configure.in: Substitute ASFLAGS_SO.
2466         * sysdeps/sparc/configure.in: New file.
2468         * posix/unistd.h: Add prototype for __euidaccess.
2469         * sysdeps/posix/euidaccess.c: Define as __euidaccess and make
2470         euidaccess weak alias.
2471         * sysdeps/stub/euidaccess.c: Likewise.
2472         * inet/rcmd.c: Use __ protected versions of non-standard functions.
2474         * locale/setlocale.c (setlocale): Don't set usage_count to
2475         MAX_USAGE_COUNT if it already has this value.
2477         * locale/programs/localedef.c: Don't use LOCALE_PATH to find
2478         binary locale files.  Use LOCALEDIR only.
2479         * locale/programs/locfile.c: When named file not found and not
2480         absolute use path in I18NPATH.
2482         * stdlib/Makefile (headers): Add inttypes.h.
2483         * sysdeps/wordsize-32/inttypes.h: New file.
2484         * sysdeps/wordsize-64/inttypes.h: New file.
2486         * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL
2487         and AF_FILE as synonym for AF_LOCAL.
2488         * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
2490         * time/Makefile: Rewrite rules for test to handle parallel builds.
2492 1997-03-09 05:26  Ulrich Drepper  <drepper@cygnus.com>
2494         * manual/startup.texi (EXIT_FAILURE): Fix typo.  Patch by
2495         robbe@orcus.priv.at.
2497 1997-03-09 05:10  Edward Seidl  <seidl@janed.com>
2499         * sysdeps/i386/elf/start.S (nofini): *Really* align stack to
2500         8-byte boundary.
2502 1997-03-09 01:48  Ulrich Drepper  <drepper@cygnus.com>
2504         * elf/link.h: Define __need_NULL to get definition.  Include
2505         <features.h>.
2506         Patch by Andreas Jaeger  <aj@arthur.pfalz.de>.
2508 1997-03-08 21:48  Thorsten Kukuk  <kukuk@tk.uni-paderborn.de>
2510         Rewrite NIS code to allow empty keys.
2511         * nis/nss_nis/nis-ethers.c: Rewritten.
2512         * nis/nss_nis/nis-proto.c: Rewritten.
2513         * nis/nss_nis/nis-publickey.c: Rewritten.
2514         * nis/nss_nis/nis-rpc.c: Rewritten.
2515         * nis/nss_nis/nis-service.c: Rewritten.
2517 1997-03-08 16:02  Andreas Jaeger  <aj@arthur.pfalz.de>
2519         * time/scheck.c (scheck): Add extra const to second argument.
2521         * time/private.h: Correct prototypes to match definition.
2523 1997-03-08 18:55  Ulrich Drepper  <drepper@cygnus.com>
2525         * sysdeps/alpha/__math.h: Remove cabs inline definition.
2526         Reported by Philip Blundell <pjb27@cam.ac.uk>.
2528 1997-03-08 05:30  Ulrich Drepper  <drepper@cygnus.com>
2530         * argp/Makefile (routines): Add argp-eexst.
2531         * argp/argp-ba.c (argp_program_bug_address): Make `const'.
2532         * argp/argp-eexst.c: New file.  Define exit status variable.
2533         * argp/argp-help.c (__argp_state_help): Use argp_err_exit_status
2534         variable instead of always exiting with value 1.
2535         * argp/argp-pv.c (argp_program_version): Make `const'.
2536         * argp/argp.h: Declare argp_err_exit_status.
2537         Patches by Miles Bader <miles@gnu.ai.mit.edu>.
2539         * locale/programs/localedef.c: Use argp_err_exit_status to
2540         terminate with correct value.
2542         * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted
2543         switching of UID before opening .rhosts.
2545         * libio/vsnprintf.c: Change implementation to follow ISO C 9X
2546         proposal.  The return value now is always the number of characters
2547         which would be written if enough space is available.
2548         * manual/stdio.texi: Update description for new behaviour.
2550         * locale/locale.h (__locale_t): Don't use __locale_t for struct
2551         name and pointer to struct since old gccs cannot keep the namespaces
2552         apart.  Rename struct to __locale_struct.
2553         * locale/duplocale.h: Likewise.
2554         * locale/newlocale.h: Likewise.
2556         * math/Makefile (headers): Add complex.h and cmathcalls.h.
2557         (routines): Remove w_cabs.  Add conj, cimag, creal, and cabs.
2558         * math/math.h: Undefine __MATHDECL_1, __MATHDECL, and __MATHCALL
2559         after use.
2560         (signgam): Move declaration to here from mathcalls.h.
2561         * math/mathcalls.h (cabs, __cabs_complex, signgam): Remove definition.
2562         Correct comment for fmin and fmax.
2563         Start implementing complex math function from ISO C 9X.
2564         * math/complex.h: New file.
2565         * math/cmathcalls.h: New file.
2566         * math/cabs.c: New file.
2567         * math/cabsf.c: New file.
2568         * math/cabsl.c: New file.
2569         * math/cimag.c: New file.
2570         * math/cimagf.c: New file.
2571         * math/cimagl.c: New file.
2572         * math/conj.c: New file.
2573         * math/conjf.c: New file.
2574         * math/conjl.c: New file.
2575         * math/creal.c: New file.
2576         * math/crealf.c: New file.
2577         * math/creall.c: New file.
2578         * sysdeps/libm-ieee754/w_cabs.c: Removed.
2579         * sysdeps/libm-ieee754/w_cabsf.c: Removed.
2580         * sysdeps/libm-ieee754/w_cabsl.c: Removed.
2582         * posix/regex.c: Merge with regex sources from Arnold Robbins'
2583         version in GNU awk.
2584         * posix/regex.h: Likewise.
2586         Add regex test suite by Tom Lord.
2587         * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h.
2588         (tests): Add runtests.
2589         (before-compile): Add testcases.h.
2590         (testcases.h): New rule to generate header with tests.
2591         * posix/TESTS: New file.
2592         * posix/TESTS2C.sed.: New file.
2593         * posix/runtests.c: New file.
2594         * posix/testcases.h: New file.
2596         * sysdeps/unix/sysv/linux/poll.c: Test whether poll syscall is
2597         available and use fall-back implementation if not.
2599         * sysdeps/unix/sysv/linux/syscalls.list: Sort entries.
2601         * time/ialloc.c: Update from tzcode1997c.
2602         * time/private.h: Likewise.
2603         * time/scheck.c: Likewise.
2604         * time/tzselect.ksh: Likewise.
2605         * time/zdump.c: Likewise.
2606         * time/zic.c: Likewise.
2608         * time/tzfile.c: Pretty print.
2610 1997-03-06 07:37  Geoff Keating  <geoffk@ozemail.com.au>
2612         Port to powerpc-*-linux-gnu.  Slightly tested, under MkLinux,
2613         on a 601.
2615         * sysdeps/powerpc/Implies: Added.
2616         * sysdeps/powerpc/__longjmp.S: Added.
2617         * sysdeps/powerpc/__math.h: Added.
2618         * sysdeps/powerpc/bsd-_setjmp.S: Added.
2619         * sysdeps/powerpc/bsd-setjmp.S: Added.
2620         * sysdeps/powerpc/dl-machine.h: Added.
2621         * sysdeps/powerpc/ffs.c: Added.
2622         * sysdeps/powerpc/fpu_control.h: Added.
2623         * sysdeps/powerpc/jmp_buf.h: Added.
2624         * sysdeps/powerpc/setjmp.S: Added.
2625         * sysdeps/powerpc/strlen.S: Added.
2626         * sysdeps/powerpc/elf/start.c: Added.
2627         * sysdeps/powerpc/fpu_control.h: Added.
2628         * sysdeps/powerpc/jmp_buf.h: Added.
2630         * sysdeps/unix/sysv/linux/powerpc/Dist: Added.
2631         * sysdeps/unix/sysv/linux/powerpc/_exit.S: Added.
2632         * sysdeps/unix/sysv/linux/powerpc/brk.c: Added.
2633         * sysdeps/unix/sysv/linux/powerpc/clone.S: Added.
2634         * sysdeps/unix/sysv/linux/powerpc/init-first.h: Added.
2635         * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Added.
2636         * sysdeps/unix/sysv/linux/powerpc/profil.c: Added.
2637         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Added.
2638         * sysdeps/unix/sysv/linux/powerpc/socket.S: Added.
2639         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Added.
2640         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Added.
2641         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Added.
2642         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Added.
2643         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Added.
2645 1997-03-05 05:24  Geoff Keating  <geoffk@ozemail.com.au>
2647         * elf/dl-runtime.c (fixup): Add ELF_FIXUP_RETURNS_ADDRESS switch,
2648         because knowing the first instruction of a PowerPC PLT trampoline
2649         is not very helpful.
2651 1997-03-04 08:04  Geoff Keating  <geoffk@ozemail.com.au>
2653         * elf/dl-load.c (ELF_PREFERRED_ADDRESS, ELF_PREFERRED_ADDRESS_DATA,
2654         ELF_FIXED_ADDRESS): Added. These are for dl-machine.h to indicate
2655         a preference as to where executables should be loaded.
2657 1997-02-28 08:50  Geoff Keating  <geoffk@ozemail.com.au>
2659         * elf/elf.h: Add in all those PowerPC reloc types.
2661 1997-02-24 07:12  Geoff Keating  <geoffk@ozemail.com.au>
2663         * stdio-common/vfscanf.c: Use __va_copy if available.
2665 1997-03-06 13:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2667         * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to
2668         clean up namespace.
2670 1997-03-07 14:27  Ulrich Drepper  <drepper@cygnus.com>
2672         * sysdeps/libm-ieee754/s_fpclassify.c (__fpclassify): Don't use
2673         non-existing GET_WORDS macro, use EXTRACT_WORDS.
2674         Reported by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
2676 1997-03-07 05:27  Ulrich Drepper  <drepper@cygnus.com>
2678         * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and
2679         kernel-level sigaction structure is different.  handle this
2680         correctly.
2681         Bug report by Andreas Jaeger <jaeger@informatik.uni-kl.de>.
2683 1997-03-06 05:55  David Engel  <david@sw.ods.com>
2685         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also
2686         recognize cache entries with flag == 3.
2688 1997-03-06 01:05  Ulrich Drepper  <drepper@cygnus.com>
2690         * sysdeps/generic/netinet/in.h (INADDR_NONE): Cast to unsigned int.
2691         (INADDR_LOOPBACK): Likewise.
2692         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
2694         * manual/socket.texi: Correct types of INADDR_* constants from
2695         unsigned long to unsigned.
2697 1997-03-05 23:14  Ulrich Drepper  <drepper@cygnus.com>
2699         * time/antarctica: Update from tzdata1997c.
2700         * time/asia: Likewise.
2701         * time/zone.tab: Likewise.
2703 1997-03-05 00:43  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2705         * configure.in (libc_cv_asm_symver_directive,
2706         libc_cv_ld_version_script_option): Remove unknown instruction from
2707         assembler test file.
2709 1997-03-04 19:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2711         * sysdeps/m68k/fpu/__math.h: Update feature tests to use
2712         __USE_ISOC9X.
2713         [__USE_ISOC9X]: Define __log2 and __exp2 inlines.
2714         (fabs): Remove defininition, it is a gcc builtin.
2715         (sqrt, __sqrt): Remove definition, they have wrappers in libm.
2717 1997-03-04 10:11  H.J. Lu  <hjl@lucon.org>
2719         * sunrpc/Makefile ($(objpfx)rpc-proto.c): Create subdir before
2720         generating file.
2722 1997-03-05 03:59  Ulrich Drepper  <drepper@cygnus.com>
2724         * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline
2725         instead to avoid namespace problems.
2726         Reported by David Mosberger-Tang <davidm@AZStarNet.COM>.
2728 1997-03-03 19:01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2730         * login/utmp_file.c: Fix previous change.  Make portable by
2731         checking the _HAVE_UT_* feature macros.
2733 1997-03-04 04:31  Ulrich Drepper  <drepper@cygnus.com>
2735         * Makerules: Add rules to handle versioning.
2736         * config.h.in (DO_VERSIONING): New macro.
2737         * config.make.in (versioning): New variable.
2738         * configure.in: Add checks for .symver directive in gas and
2739         --version-script option to ld.  Define DO_VERSIONING and
2740         versioning if appropriate.
2742         * math/Makefile (routines): Add s_signbit, s_fpclassify, s_fmax,
2743         s_fmin, and s_fdim.
2744         * math/math.h: Define ISO C 9X constants, macros and functions.
2745         * math/mathcalls.h: Likewise.
2746         * sysdeps/libm-ieee754/s_fdim.c: New file.
2747         * sysdeps/libm-ieee754/s_fdimf.c: New file.
2748         * sysdeps/libm-ieee754/s_fdiml.c: New file.
2749         * sysdeps/libm-ieee754/s_fmax.c: New file.
2750         * sysdeps/libm-ieee754/s_fmaxf.c: New file.
2751         * sysdeps/libm-ieee754/s_fmaxl.c: New file.
2752         * sysdeps/libm-ieee754/s_fmin.c: New file.
2753         * sysdeps/libm-ieee754/s_fminf.c: New file.
2754         * sysdeps/libm-ieee754/s_fminl.c: New file.
2755         * sysdeps/libm-ieee754/s_fpclassify.c: New file.
2756         * sysdeps/libm-ieee754/s_fpclassifyf.c: New file.
2757         * sysdeps/libm-ieee754/s_fpclassifyl.c: New file.
2758         * sysdeps/libm-ieee754/s_signbit.c: New file.
2759         * sysdeps/libm-ieee754/s_signbitf.c: New file.
2760         * sysdeps/libm-ieee754/s_signbitl.c: New file.
2762         * stdio-common/printf_fphex.c: Correct printing of decimal point
2763         character.
2764         Simplify conversion of mantissa to string.
2765         * stdio-common/vfscanf.c: Handle %A format.
2766         Optimize termination of floating-point scanning.
2767         * stdio-common/tstscanf.c (main): Add new test to scanf to test
2768         scanning float values with given width.
2769         * stdlib/strtod.c: Add handling of floating-point numbers in
2770         hexadecimal notation.
2772         * stdlib/stdlib.h: Use __USE_ISOC9X feature macro for new long long
2773         functions.
2774         Pretty print #if directives.
2775         * string/string.h: Pretty print #if directives.
2777         * sysdeps/ieee754/dbl2mpn.c: Update copyright.
2778         * sysdeps/ieee754/ldbl2mpn.c: Likewise.
2779         * sysdeps/ieee754/mpn2dbl.c: Likewise.
2780         * sysdeps/ieee754/mpn2flt.c: Likewise.
2781         * sysdeps/ieee754/mpn2ldbl.c: Likewise.
2783         * sysdeps/unix/sysv/linux/poll.c: Implement poll function by
2784         falling back to select-based implementation if syscall isn't
2785         available.
2786         * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
2788         * time/leapseconds: Update from tzdata1997b.
2789         * time/zic.c: Update from tzcode1997b.
2791 1997-03-01 15:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2793         * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
2794         depedencies between installed $(tzlinks) and $(tzbases) files.
2796 1997-03-01 14:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2798         * math/math.h: Make compatible with traditional preprocessor;
2799         requires carefull placement of whitespace in macro arguments.
2800         Use __CONCAT instead of ##.
2801         Declare long double functions only if __STDC__ or __GNUC__.
2802         * math/mathcall.h: Avoid whitespace before argument of macro call
2803         that is used as function name.
2805         * sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
2806         (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
2807         of __NO_M81_MATH_INLINES.
2808         [!__LIBC_M81_MATH_INLINES]: Don't define internal functions
2809         starting with __ieee754.
2810         [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
2811         functions as inlines.
2812         (__m81_defun): Put __attribute__ between return type and function
2813         name.
2814         * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
2815         is defined.
2816         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
2817         instead of __NO_M81_MATH_INLINES.
2818         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
2819         * sysdeps/m68k/fpu/k_cos.c: Likewise.
2820         * sysdeps/m68k/fpu/k_sin.c: Likewise.
2821         * sysdeps/m68k/fpu/k_tan.c: Likewise.
2822         * sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
2823         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
2824         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
2825         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
2826         * sysdeps/m68k/fpu/s_modf.c: Likewise.
2827         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
2829 1997-02-27 21:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2831         * Makefile (tests): Cope with $PATH not including the current
2832         directory.
2834 1997-02-27 18:04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2836         * sysdeps/unix/Makefile ($(common-objpfx)mk-local_lim): Use
2837         $(common-objdir-compile).
2838         ($(common-objpfx)make-ioctls): Likewise.
2839         (mk-local_lim-CFLAGS): Set this instead of local_lim-CFLAGS.
2840         ($(common-objpfx)sys/param.h): Use $(make-target-directory).
2841         ($(addprefix $(common-objpfx),$(sys/param.h-includes))):
2842         Likewise.
2843         ($(common-objpfx)sys/syscall.h): Likewise.
2844         ($(common-objpfx)local_lim.h): Let make deal with command
2845         failure.
2846         ($(common-objpfx)param.h.dep): Use temporary file and update
2847         target atomically.
2848         ($(common-objpfx)errnos): Avoid the Useless Use of cat Award.
2849         (include $(common-objpfx)param.h.dep): Ignore error.
2851         * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Use
2852         $(common-objdir-compile).
2853         (mk-stdiolim-CFLAGS): Renamed from cded-objdir-includes, use
2854         $(shell pwd) instead of $$cwd.
2856         * sysdeps/generic/Makefile ($(common-objpfx)det_endian): Use
2857         $(common-objdir-compile).
2858         ($(objpfx)make_siglist): Use $(native-compile).
2859         (make_siglist-CFLAGS): New variable.
2861         * Makerules (ALL_BUILD_CFLAGS): Renamed from BUILD_CFLAGS, leaving
2862         the old name for the user to pass additional flags to the host
2863         compiler.  Fix reference to config header.
2864         (native-compile, common-objdir-compile): Rewritten to make more
2865         generally usable.
2866         * sysdeps/unix/sysv/sysv4/solaris2/Makefile: Set ALL_BUILD_CFLAGS
2867         instead of BUILD_CFLAGS.
2869         * sysvips/sys/ipc.h: Warn if needed feature select macro are not
2870         defined.
2872 1997-02-27 17:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2874         * sunrpc/Makefile ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c):
2875         New rules to generate dependencies for the RPC service objects.
2877 1997-02-27 16:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2879         * argp/argp-parse.c (parser_finalize): Always set *END_INDEX if
2880         supplied.
2882 1997-02-28 03:27  Ulrich Drepper  <drepper@cygnus.com>
2884         * stdlib/strtod.c (STRTOF): Make sure return value is large enough
2885         so that clearing second word is necessary.
2887         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
2888         header since it is wrong for 64 bit systems.
2889         Patch by a sun <asun@zoology.washington.edu>.
2891 1997-02-27 10:34:11  Richard Henderson  <rth@tamu.edu>
2893         * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
2894         and OSF/1 style brk syscalls.  We may want to change Linux/Alpha
2895         for the benefit of running foreign binaries.
2897 1997-03-01 20:21  Miles Bader  <miles@gnu.ai.mit.edu>
2899         * login/utmp_file.c (pututline_file): Correctly decide whether
2900         LAST_ENTRY matches DATA.
2901         Don't depend on ut_id ever being set.
2902         (proc_utmp_eq): New function.
2903         (internal_getut_r): Renamed from internal_getutid_r.
2904         Use proc_utmp_eq.
2906         * login/logout.c (logout): Change type of entry to be DEAD_PROCESS.
2908 1997-02-25 19:42  Miles Bader  <miles@gnu.ai.mit.edu>
2910         * sysdeps/mach/hurd/fcntlbits.h (O_NORW): New macro.
2912 1997-02-27 05:12  Ulrich Drepper  <drepper@cygnus.com>
2914         * manual/Makefile: Add rules to run and distribute xtract-typefun.
2915         * manual/xtract-typefun.awk: New file.  Script to extract function,
2916         variable, macro anchor to put into the `dir' file.
2917         * manual/signal.texi: Document difference between SysV and BSD
2918         signal(3) function and add documentation for sysv_signal.
2920         * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing
2921         exponent before comparing.
2923 1997-02-27 01:13  Ulrich Drepper  <drepper@cygnus.com>
2925         * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change
2926         prototypes to use types with explicit width.  `unsigned long' is
2927         different on 64 bit systems.
2928         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
2929         * sysdeps/generic/htonl.c: Likewise.
2930         * sysdeps/generic/htons.c: Likewise.
2931         * sysdeps/generic/ntohl.c: Likewise.
2932         * sysdeps/generic/ntohs.c: Likewise.
2933         Suggested by a sun <asun@zoology.washington.edu>.
2935 1997-02-26 08:30  Andreas Jaeger  <aj@arthur.pfalz.de>
2937         * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not
2938         defined and we want optimization.
2940 1997-02-02 19:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2942         * misc/getpass.c: Don't disable canonical input.
2943         Reverted patch of Mon Jan  6 01:35:29 1997.
2945 1996-12-14 22:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2947         * libio/libioP.h (_IO_finish_t): Take additional parameter, to
2948         match the hidden __in_chrg parameter of the destructor.
2949         (_IO_FINISH): Pass zero for it.
2950         * libio/genops.c (_IO_default_finish): Add second parameter, which
2951         is ignored.
2952         * libio/memstream.c (_IO_mem_finish): Likewise.
2953         * libio/fileops.c (_IO_file_finish): Likewise.
2954         * libio/strops.c (_IO_str_finish): Likewise.  All callers changed.
2956 1997-02-27 00:23  H.J. Lu  <hjl@lucon.org>
2958         * time/Makefile: Avoid using patterns in dependencies.
2960 1997-02-26 00:56  Miguel de Icaza  <miguel@nuclecu.unam.mx>
2962         * elf/rtld.c: Make _dl_start static.  Otherwise the linker on the
2963         SPARC will convert the call _dl_start into a call into the PLT.
2965         * elf/rtld.c (_dl_start): On the SPARC we need to adjust the value
2966         of arg to make it point to the actual values.
2968         * sysdeps/sparc/elf/DEFS.h: New ELF specific version.
2969         * sysdeps/sparc/Dist: Mention sysdeps/sparc/elf/DEFS.h.
2971         * sysdeps/sparc/bsd-_setjmp.S, sysdeps/sparc/bsd-setjmp.S: Make
2972         them PIC aware.
2974         * sysdeps/sparc/dl-machine.h (elf_machine_load_address):
2975         Implemented.
2976         (elf_machine_rela): Make it compile; fix existing relocation
2977         types; add unhandled relocation types.
2978         (ELF_ADJUST_ARG): Get pointer to arguments at program startup.
2979         (RTLD_START): Initial implementation, not yet finished.
2981         * sysdeps/sparc/elf/start.S: Fix.
2983         * sysdeps/sparc/fpu_control.h: Remove duplicate declaration of
2984         __setfpucw.
2986         * sysdeps/sparc/divrem.m4: Make compilable under Linux.
2987         * sysdeps/sparc/rem.S, sysdeps/sparc/sdiv.S, sysdeps/sparc/udiv.S,
2988         sysdeps/sparc/urem.S : Regenerated.
2990         * sysdeps/sparc/setjmp.S: Make it PIC aware.
2992         * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Define
2993         __ASSEMBLY__ before using kernel header.
2995         * sysdeps/unix/sysv/linux/sparc/Makefile: Use -mv8 flag to compile
2996         rtld.c.
2998         * sysdeps/unix/sysv/linux/sparc/brk.c: Implement.
2999         * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Remove code
3000         to handle old signals.
3001         * sysdeps/unix/sysv/linux/sparc/sigaction.c: Implements sigaction
3002         for all Linux/SPARC kernels.
3003         * sysdeps/unix/sysv/linux/sparc/syscall.S: Add code to store
3004         errno using __errno_location.
3005         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Add various handler
3006         macros for assembler sources.
3007         * sysdeps/unix/sysv/linux/sparc/errno.c: Define errno.
3009 1997-02-25 16:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3011         * elf/rtld.c (dl_main): Remove dead code that is never executed.
3012         Rename local variable l to main_map where it is used to point to
3013         the load_map for the executable.
3015 1997-02-25 15:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3017         * elf/dl-version.c (_dl_check_all_versions): Ignore libraries that
3018         could not be found.
3020 1997-02-24 23:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3022         * Makerules: Generate implicit object suffix rules automagically.
3023         (o-iterator): Move before first use.
3025         * Makeconfig (all-object-suffixes): Add .bo suffix.
3027 1997-02-25 15:11  Ulrich Drepper  <drepper@cygnus.com>
3029         * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct
3030         word on stack for overflow.
3032 1997-02-24 23:05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3034         * malloc/malloc.c (malloc_get_state): New function.
3035         Saves global malloc state to an opaque data structure which
3036         is dynamically allocated in the heap.
3037         * malloc/malloc.c (malloc_set_state): New function.
3038         Restore previously obtained state.
3039         * malloc/malloc.h: Add declaration of malloc_get_state()
3040         and malloc_set_state().
3042 1997-02-24 23:27  Ulrich Drepper  <drepper@cygnus.com>
3044         * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right
3045         position.
3047 1997-02-24 17:38  Ulrich Drepper  <drepper@cygnus.com>
3049         * misc/error.c: Make error and error_at_line weak aliases of
3050         __error and __error_at_line respectively.
3051         Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>.
3053         * sysdeps/unix/sysv/linux/i386/socket.S: Update copyright.
3055 1997-02-22 11:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3057         * elf/ldd.bash.in: Run the program directly, not as argument
3058         to the dynamic linker, if it contains an interpreter segment.
3059         * elf/ldd.sh.in: Likewise.
3061         * elf/rtld.c (dl_main): In verify mode check whether the dynamic
3062         object contains an interpreter segment and exit with 2 if not.
3064 1997-02-23 01:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3066         * Makefile (distribute): Remove nsswitch.h, netgroup.h, mcheck.h
3067         and xlocale.h.  Make-dist adds them automagically.
3069 1997-02-22 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3071         * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for
3072         time-era-num-entries.
3074 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3076         * rellns-sh: No need to check for existance of first parameter.
3078 1997-02-24 15:20  Jonathan T. Agnew  <jtagnew@amherst.edu>
3080         * glibcbug.in: Don't mention destination on MAIL_AGENT command line
3081         to avoid duplicate mail.
3083 1997-02-24 03:51  Ulrich Drepper  <drepper@cygnus.com>
3085         * Makefile (distribute): Add isomac.c.
3086         (tests): Run isomac test.
3088         * features.h (__USE_ISOC9X): New macro.
3090         * catgets/catgets.c: Don't use global variable `optind'.  Instead
3091         use result computed by argp_parse.
3092         * db/makedb: Likewise.
3093         * locale/programs/locale.c: Likewise.
3094         * locale/programs/localedef.c: Likewise.
3096         * libio/stdio.h: Rewrite.  Make it more readable and add comments.
3098         * libio/clearerr.c: Remove clearerr_locked alias.
3099         * libio/feof.c: Remove feof_locked alias.
3100         * libio/ferror.c: Remove feof_locked alias.
3101         * libio/fileno.c: Remove fileno_locked alias.
3102         * libio/fputc.c: Remove fputc_locked alias.
3103         * libio/getc.c: Remove getc_locked alias.
3104         * libio/getchar.c: Remove getchar_locked alias.
3105         * libio/iofflush.c: Remove fflush_locked alias.
3106         * libio/putc.c: Remove putc_locked alias.
3107         * libio/putc.c: Remove putchar_locked alias.
3109         * stdio-common/printf_fp.c: When number is inifinity print INF
3110         or inf depending on case of specifier.  Same for NaN where NAN
3111         or nan is printed.  Specified in ISO C 9X.
3113         * misc/sys/cdefs.h (__restrict): Define to empty string for now.
3114         * stdio/stdio.h: Add __restrict to prototypes where necessary.
3115         * libio/stdio.h: Likewise.
3116         * stdlib/stdlib.h: Likewise.
3117         * string/string.h: Likewise.
3118         * time/time.h: Likewise.
3119         * wcsmbs/wchar.h: Likewise.
3121         * stdlib/strtod.c: Change to recognize INF, INFINITY, NAN, and
3122         NAN(...).
3124         * sysdeps/ieee754/huge_val.h: Define HUGE_VALF and HUGE_VALL instead
3125         of HUGE_VALf and HUGE_VALL.
3126         * stdlib/strtof.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALF
3127         instead of HUGE_VALf.
3128         * wcsmbs/wcstof.c: Likewise.
3129         * stdlib/strtold.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALL
3130         instead of HUGE_VALl.
3131         * wcsmbs/wcstold.c: Likewise.
3133         * sysdeps/posix/gai_strerror.c: Use size_t for counter variable to
3134         avoid warning.
3136         * wcsmbs/Makefile (routines): Add wcscasecmp and wcsncase.
3137         * wcsmbs/wchar.h: Add prototypes for wcscasecmp and wcsncase.
3138         * wcsmbs/wcscasecmp.c: New file.
3139         * wcsmbs/wcsncase.c: New file.
3141         * stdlib/strtol.c: Define wide character quad word functions as
3142         wcstoll and wcstoull and normal versions as strtoll and strtoull.
3143         * wcsmbs/wchar.h: Add prototypes for wcstoll and wcstoull.
3144         * wcsmbs/wcstoq: Renamed to wcstoll.c.
3145         * wcsmbs/wcstouq: Renamed to wcstoull.c.
3146         * wcsmbs/wcstoll.c: Renamed from wcstoq.c.  Make wcstoq a weak
3147         alias of wcstoll.
3148         * wcsmbs/wcstoull.c: Renamed from wcstouq.c.  Make wcstouq a weak
3149         alias of wcstoull.
3150         * wcsmbs/Makefile (routines): Replace wcstoq and wcstouq by
3151         wcstoll and wcstoull respectively.
3152         * stdlib/strtoq.c: Rename to strtoll.c.
3153         * stdlib/strtouq.c: Rename to strtoull.c.
3154         * stdlib/strtoll.c: Renamed from strtoq.c.  Make strtoq a weak
3155         alias of strtoll.
3156         * stdlib/strtoll.c: Renamed from strtouq.c.  Make strtouq a weak
3157         alias of strtoull.
3158         * stdlib/Makefile (routines): Replace strtoq and strtouq by
3159         strtoll and strtoull respectively.
3160         * stdio-common/vfscanf.c: Don't use __strtoq_internal and
3161         __strtouq_internal but instead __strtoll_internal and
3162         __strtoull_internal respectively.
3163         * stdlib/stdlib.h (strtoq): Use __internal_strtoll in inline version.
3164         (strtouq): Similar with __internal_strtoull.
3165         * wcsmbs/wchar.h (wcstoq): Use __internal_wcstoll in inline version.
3166         (wcstouq): Similar with __internal_wcstoull.
3168 1997-02-23 04:38  Ulrich Drepper  <drepper@cygnus.com>
3170         * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus
3171         sign in the strtouXX functions.  The results gets simply negated.
3172         * stdio-common/tstscanf.c: Add testcase for above case.
3173         * stdlib/tst-strtol.c: Correct tests.
3175         * manual/stdio-fp.c: New file.  Generate output for example program
3176         in stdio.texi.
3178         * stdio-common/Makefile (routines): Add printf_fphex.
3179         * stdio-common/vfprintf.c: Add handling of %a and %A specifier.
3180         * stdio-common/printf_fphex.c: New file.  Implement %a and %A
3181         specifier.
3183 1997-02-22 03:01  Ulrich Drepper  <drepper@cygnus.com>
3185         * sysdeps/unix/sysv/linux/timebits.h (CLK_TCK): Don't defined if
3186         __STRICT_ANSI__.
3188         * math/math.h: Prevent definition of struct exception when using
3189         C++.  Use __exception instead.
3191 1997-02-22 01:45  Ulrich Drepper  <drepper@cygnus.com>
3193         * sysdeps/unix/syscalls.list: Dup takes only one argument.
3194         Reported by Greg McGary.
3196 1997-02-21 00:22  Miles Bader  <miles@gnu.ai.mit.edu>
3198         * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather
3199         than file_get_translator.
3201         * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c
3202         (_cleanup): Use __fcloseall instead of fclose with a NULL stream.
3204 1997-02-20 01:28  Miles Bader  <miles@gnu.ai.mit.edu>
3206         * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root.
3207         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3209 1997-02-19 13:56  Miles Bader  <miles@gnu.ai.mit.edu>
3211         * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0
3212         but ADDR also == 0.
3214         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for
3215         now instead of a weak extern, as some old programs expect it to be
3216         defined by ld.so.
3218 1997-02-18 15:39  Miles Bader  <miles@gnu.ai.mit.edu>
3220         * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias.
3222         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max,
3223         __hurd_threadvar_stack_offset): Restore initialized versions, so
3224         startup works correctly.
3226         * malloc/thread-m.h (mutex_trylock): Invert sense of return value.
3228 1997-02-17 10:58  Miles Bader  <miles@gnu.ai.mit.edu>
3230         * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock,
3231         not __mutex_try_lock.
3232         (tsd_setspecific): Cast DATA to (unsigned long) before storing.
3233         (tsd_getspecific): Case variable to (void *) before returning.
3235         * hurd/hurdinit.c (__libc_argv): Remove extern.
3236         (__libc_argc): New variable.
3238 1997-02-15 10:23  Miles Bader  <miles@gnu.ai.mit.edu>
3240         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3241         _HURD_THREADVAR_MALLOC.
3242         * malloc/thread-m.h
3243         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
3244         (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of
3245         __mutex_*.
3246         (mutex_t): Type removed & replaced by new macro.
3247         (tsd_key_t): Typedef to int instead of pthread_key_t.
3248         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
3249         (__pthread_initialize): New macro, work around assumption of pthreads.
3250         (tsd_keys_alloced): New static variable.
3251         <hurd/threadvar.h>: New include.
3253         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern.
3254         (_S_msg_report_wait): Check to see if _hurd_itimer_thread is
3255         defined before using it.
3257         * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc):
3258         Make extern.
3259         * hurd/hurdinit.c (__libc_argv): Make extern.
3261         * hurd/getdport.c (_default_hurd_getdport_fn): New variable.
3262         (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn.
3264         * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max,
3265         __hurd_threadvar_stack_offset,
3266         __hurd_threadvar_stack_mask): New variables.
3267         * hurd/hurdsig.c (__hurd_sigthread_stack_base,
3268         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
3269         New variables (moved here from hurdstartup.c).
3270         * hurd/hurdstartup.c (__hurd_sigthread_stack_base,
3271         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
3272         Variables removed (moved to hurdsig.c).
3273         (__hurd_threadvar_max, __hurd_threadvar_stack_offset,
3274         __hurd_threadvar_stack_mask): Variables removed.
3275         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
3276         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables,
3277         __hurd_threadvar_max, __hurd_threadvar_stack_offset,
3278         __hurd_threadvar_stack_mask): Variables removed.
3280 1997-02-14 14:07  Miles Bader  <miles@gnu.ai.mit.edu>
3282         * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
3283         Declare extern.
3285         * malloc/thread-m.h
3286         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
3287         (mutex_t): Type removed.
3288         (mutex_t): New macro.
3289         (mutex_trylock): New macro.
3290         (__x_mutex_lock, __x_mutex_unlock): New functions.
3291         (mutex_lock, mutex_unlock): New macros, redefining the behavior of
3292         the cthread definitions.
3293         (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t.
3294         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
3295         (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed.
3296         (__pthread_initialize): New macro, work around assumption of pthreads.
3298 1997-02-11 05:27  Ulrich Drepper  <drepper@cygnus.com>
3300         * locale/weight.h (collate_rules): It's an u_int32_t array.
3301         (get_weight): Compute initial SLOT value correctly.
3303 1997-02-24 17:06  Geoffrey Keating  <geoffk@discus.anu.edu.au>
3305         * sysdeps/unix/sysv/linux/accept.S (NARGS): Describe number of
3306         arguments taken, for sysdeps/unix/sysv/linux/powerpc/socket.S.
3307         * sysdeps/unix/sysv/linux/bind.S: Likewise.
3308         * sysdeps/unix/sysv/linux/connect.S: Likewise.
3309         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3310         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3311         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3312         * sysdeps/unix/sysv/linux/listen.S: Likewise.
3313         * sysdeps/unix/sysv/linux/recv.S: Likewise.
3314         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3315         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3316         * sysdeps/unix/sysv/linux/send.S: Likewise.
3317         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3318         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3319         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3320         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3321         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3323 1997-02-22 00:17  Ulrich Drepper  <drepper@cygnus.com>
3325         * catgets/gencat.c: Change to use argp.
3326         * db/makedb: Likewise.
3327         * locale/programs/localedef.c: Likewise.
3329         * locale/programs/locale.c: Little adjustment for better usage of
3330         argp.
3332 1997-02-20 20:07  Greg McGary  <gkm@eng.ascend.com>
3334         * Makeconfig: Add rules for libc with bounded pointers.
3335         * Makerules: Likewise.
3336         * config.make.in: Likewise.
3337         * configure.in: Likewise.
3339 1997-02-21 10:41  Miles Bader  <miles@gnu.ai.mit.edu>
3341         * argp.h (OPTION_NO_USAGE): New macro.
3342         * argp-help.c (usage_long_opt, usage_argful_short_opt,
3343         add_argless_short_opt): Implement OPTION_NO_USAGE.
3345 1997-02-20 16:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3347         * malloc/obstack.h: Fix typo.
3349 1997-02-20 15:56  Miles Bader  <miles@gnu.ai.mit.edu>
3351         * argp-fmtstream.c (__argp_fmtstream_update): Account for case
3352         where NEXTLINE points one past the end of the active buffer.
3354         * argp-help.c <stddef.h>: New include.
3355         (__argp_failure): Only exit if STATE says it's ok.
3356         (print_header, hol_entry_help): Use UPARAMS fields rather than
3357         constants.
3358         (_help): Call fill_in_uparams if necessary.
3359         (struct hol_help_state): New type.
3360         (struct pentry_state): Add hhstate field.  Remove prev_entry &
3361         sep_groups fields.
3362         (hol_entry_help): Add HHSTATE parameter.  Remove prev_entry &
3363         sep_groups parameters.
3364         Suppress duplicate arguments if requested, and note the fact.
3365         (print_header, comma): Use PEST->hhstate fields.
3366         (hol_help): Add HHSTATE variable & pass to hol_entry_help.
3367         Remove LAST_ENTRY & SEP_GROUPS variables.
3368         If any suplicate arguments were suppressed, print explanatory note.
3369         (filter_doc): Replace PEST parameter with STATE.
3370         (struct uparams): New type.
3371         (uparams): New variable.
3372         (struct uparam_name): New type.
3373         (uparam_names): New variable.
3374         (fill_in_uparams): New function.
3375         (__argp_failure, __argp_error, __argp_state_help): Make STATE
3376         parameter const.
3377         * argp.h (argp_state_help, __argp_state_help, argp_usage,
3378         __argp_usage, argp_error, __argp_error, argp_failure,
3379         __argp_failure): Make STATE parameter const.
3380         (ARGP_KEY_HELP_DUP_ARGS_NOTE): New macro.
3382         * argp.h (argp_program_bug_address): Make const.
3384 1997-02-20 19:20  Ulrich Drepper  <drepper@cygnus.com>
3386         * sysdeps/unix/mman/syscalls.list: Explain msync interface.
3388 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
3390         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
3392 1997-02-20 14:44  Andreas Jaeger  <aj@arthur.pfalz.de>
3394         * stdio-common/test-fseek.c: Remove temporary file, add
3395         copyright.
3397 1997-02-20 17:51  Ulrich Drepper  <drepper@cygnus.com>
3399         * sysdeps/generic/netinet/in.h: Protect contents using
3400         __BEGIN/END_DECLS.  Reported by a sun <asun@zoology.washington.edu>.
3402         * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net.
3403         * inet/Makefile (headers): Remove net/ethernet.h.
3404         * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h.
3405         * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h.
3407 1997-02-20 15:23  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
3409         * nss/nsswitch.c (__nss_configure_lookup): Use correct test when
3410         searching in sorted array.
3412 1997-02-20 01:24  Philip Blundell  <pjb27@cam.ac.uk>
3414         * inet/getnameinfo.c: Change to use reentrant getXXbyYY functions
3415         and protect modification of global data.
3417 1997-02-19 18:48  Miles Bader  <miles@gnu.ai.mit.edu>
3419         * argp-parse.c (argp_default_parser): Set STATE->name for OPT_PROGNAME.
3420         (parser_init): Use the basename for PARSER->state.name.
3421         * argp-help.c (__argp_error, __argp_failure, __argp_state_help):
3422         Use PROGRAM_INVOCATION_SHORT_NAME instead of PROGRAM_INVOCATION_NAME.
3424         * argp-parse.c (parser_init): Set PARSER->state.flags.
3425         Make check whether PARSER has the prog name in argv[0] at the
3426         proper place.
3428 1997-02-19 23:34  Ulrich Drepper  <drepper@cygnus.com>
3430         * locale/programs/ld-time.c (time_finish): t_fmt_ampm is optional.
3431         Use default value instead of printing a warning.
3433         * nss/XXX-lookup.c: Add misssing explanation.
3435 1997-02-19 19:14  Andreas Jaeger  <aj@arthur.pfalz.de>
3437         * inet/in6_addr.c: Add missing braces.
3439         * inet/getnameinfo.c: Include <arpa/inet.h>.
3441         * sysdeps/posix/getaddrinfo.c: Include <arpa/inet.h>.
3443 1997-02-19 11:46  Ulrich Drepper  <drepper@cygnus.com>
3445         * string/strxfrm.c (STRCOLL): Correct handling of `position'
3446         levels with no non-IGNOREd element and handling of NUL byte.
3447         * string/strcoll.c (STRXFRM): Likewise.
3448         * locale/weight.h: Likewise.
3450         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
3452 1997-02-19 03:28  Miles Bader  <miles@gnu.ai.mit.edu>
3454         * argp/argp-help.c: Add support for user provided filter of help
3455         messages.
3456         * argp/argp-parse.c: Likewise.
3457         * argp/argp.h: Likewise.
3458         * argp/argp-namefrob.h: Define __argp_input.
3460         * argp/argp-test.c: Add example for filter.
3462 1997-02-19 02:58  Ulrich Drepper  <drepper@cygnus.com>
3464         * argp.h: New file.
3465         * locale/programs/locale.c: Switch to use argp.
3467         * errno.h: Make it possible to get definition of error_t even
3468         after having errno.h already.
3470         * elf/dl-hash.h: New file.  ELF hashing function.  Extracted
3471         from dl-lookup.c.
3472         * elf/dl-lookup.c (_dl_elf_hash): Remove definition.
3474         * elf/dl-load.c: Rename _dl_does_name_match_p to _dl_name_match_p.
3475         * elf/dl-version.c: Likewise.
3477         * elf/dl-lookup.c: Implement new versioning lookup scheme.
3478         * elf/dl-version.c (_dl_check_map_versions): Initialize new field
3479         in l_versions member.
3481         * elf/dlvsym.c: Correct call of _dl_lookup_versioned_symbol_skip
3482         and _dl_lookup_versioned_symbol.
3484         * elf/link.h: Rename hash_name_pair to struct r_found_version.
3485         * sysdeps/alpha/dl-machine.h: Likewise.
3486         * sysdeps/i386/dl-machine.h: Likewise.
3487         * sysdeps/m68k/dl-machine.h: Likewise.
3488         * sysdeps/mips/dl-machine.h: Likewise.
3490         * intl/l10nflist.c: (_nl_make_l10nflist): Fix bug in computation of
3491         length of abs_filename.
3493         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH.
3495         * locale/programs/ld-monetary.c (monetary_add): Allow value 0
3496         in mon_grouping information.  This means no more grouping.
3497         * locale/programs/ld-numeric.c (numeric_add): Write value \377
3498         when seein value 0 in grouping information.
3499         * locale/programs/linereader.c (lr_close): Don't free fname since
3500         it might be used in error messages.
3502         * locale/programs/locale.c: Check whether output of `locale -a'
3503         really is locale directory.  Also print locale aliases.
3505         * misc/search.h (__action_fn_t): Parameters VALUE and LEVEL cannot
3506         be const.
3508 1997-02-19 02:16  Ulrich Drepper  <drepper@cygnus.com>
3510         * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Correct #defin to
3511         #define.  Reported by Rick Flower <FLOWER@sdvax2.sdd.TRW.COM>.
3513 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
3515         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
3517 1997-02-19 01:02  Ulrich Drepper  <drepper@cygnus.com>
3519         * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments.
3520         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
3522         * sysdeps/stub/msync.c (msync): Add missing third parameter.
3524 1997-02-19 00:29  Ulrich Drepper  <drepper@cygnus.com>
3526         * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed
3527         additional argument.
3529 1997-02-18 22:13  Ulrich Drepper  <drepper@cygnus.com>
3531         * inet/net/ethernet.h: New file.
3532         * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility.
3533         * sysdeps/unix/sysv/linux/net/if_slip.h: New file.
3534         Contributed by a sun <asun@zoology.washington.edu>.
3536         * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>.
3537         * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>.
3538         Reported by a sun <asun@zoology.washington.edu>.
3540 1997-02-16 14:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3542         * Makerules ((common-objpfx)distinfo-$(subdir)): Depend on sysdep
3543         makefiles which may change the distinfo variables.
3545 1997-02-16 14:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3547         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
3548         [$(subdir)=misc]: Add sys/quota.h.
3549         (sysdep_headers) [$(subdir)=inet]: Add netinet/udp.h.
3551 1997-02-17 13:12  aleph1@dfw.net
3553         * sunrpc/clnt_simp.c (callrpc): Prevent buffer overflow by using
3554         strncpy.
3556 1997-02-18 03:28  Ulrich Drepper  <drepper@cygnus.com>
3558         * stdio-common/bug10.c (main): Correct parameter.
3560 1997-02-17 02:51  Ulrich Drepper  <drepper@cygnus.com>
3562         * malloc/obstack.h: Add `extern "C"' protection.
3563         * posix/regex.h: Likewise.
3564         * io/ftw.h: Likewise.
3565         * misc/libgen.h: Likewise.
3566         * login/utmp.h: Likewise.
3567         * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
3568         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3569         * sunrpc/rpc/pmap_rmt.h: Likewise.
3570         * sunrpc/rpc/auth_des.h: Likewise.
3571         * elf/link.h: Likewise.
3572         Reported by HJ Lu.
3574 1997-02-17 01:45  a sun  <asun@zoology.washington.edu>
3576         Linux specific network headers.
3577         * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file.
3578         * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file.
3579         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file.
3580         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file.
3581         * sysdeps/unix/sysv/linux/netinet/igmp.h: New file.
3582         * sysdeps/unix/sysv/linux/netinet/icmp.h: New file.
3583         * sysdeps/unix/sysv/linux/netinet/ip.h: New file.
3584         * sysdeps/unix/sysv/linux/netinet/tcp.h: New file.
3585         * sysdeps/unix/sysv/linux/netipx/ipx.h: New file.
3586         * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file.
3587         * sysdeps/unix/sysv/linux/Dist: Add new network headers.
3588         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
3589         Add sys/quota.h.
3590         [$(subdir)=inet] (sysdep_headers): Add new network header.
3592         * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes.
3594         * inet/netinet/ip.h: Move to sysdeps/generic.
3595         * inet/netinet/tcp.h: Likewise.
3596         * sysdeps/generic/netinet/ip.h: Moved to here from inet/netinet.
3597         * sysdeps/generic/netinet/tcp.h: Likewise.
3599 1997-02-17 01:18  Ulrich Drepper  <drepper@cygnus.com>
3601         * misc/sys/syslog.h (prioritynames): Correct definition to use
3602         braces where necessary.
3603         (facilitynames): Likewise.
3604         Patch by Ronald F. Guilmette <rfg@monkeys.com>.
3605         Comment and beautify declarations.
3607 1997-02-16 19:54 1997  Philip Blundell  <Philip.Blundell@pobox.com>
3609         * inet/Makefile (routines): Add in6_addr, getnameinfo.
3610         * inet/getnameinfo.c: New file.  Implementation of getnameinfo()
3611         by Craig Metz.
3612         * inet/in6_addr.c: New file.  IPv6 addressing constants.
3613         * posix/Makefile (routines): Add gai_strerror.
3614         * resolv/netdb.h: Add more constants for IPv6 basic API.
3615         * sysdeps/posix/gai_strerror.c: New file.
3616         * sysdeps/stub/gai_strerror.c New file.
3617         * sysdeps/unix/sysv/linux/netinet/in.h: Add definitions for IPv6
3618         basic API.
3620         * sysdeps/posix/getaddrinfo.c: Update from latest version by
3621         Craig Metz and use reentrant getXXbyYY functions.
3623 1997-02-15 14:32 Andreas Jaeger  <aj@arthur.pfalz.de>
3625         * argp/argp.h: Declare argp_program_version as const char.
3626         * argp/argp-test.c: Likewise
3628         * stdlib/testrand.c (main): Declare main prototype.
3629         * stdlib/testdiv.c (main): Likewise.
3630         * string/testcopy.c (main): Likewise.
3631         * string/test-ffs.c (main): Likewise.
3632         * time/test_time.c (main): Likewise.
3634         * locale/duplocale.c (__duplocale): Return result.
3636 1997-02-16 03:54  Ulrich Drepper  <drepper@cygnus.com>
3638         * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport.
3639         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
3641         * nss/nss.h: Remove declaration of __nss_shlib_revision.
3642         * nss/nsswitch.c: Don't use NSS_SHLIB_VERSION macro.
3644 1997-02-16 03:48  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
3646         * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to
3647         _nss_nis_gethostton_r.
3648         (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r.
3650 1997-02-15 22:37  Andy Berkheimer  <andy@tho.org>
3652         * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before
3653         trying to resolv name as numeric IPv6 address.
3654         * nss/digits_dots.c: Likewise.
3656 1997-02-15 04:51  Ulrich Drepper  <drepper@cygnus.com>
3658         * locale/setlocale.c (setlocale): Don't try to be clever about
3659         unused locales.  When the existence of the locale files isn't
3660         tested the result of setlocale might be different.
3662 1997-02-15 03:34  Ulrich Drepper  <drepper@cygnus.com>
3664         * locale/setlocale.c (setlocale): Don't increment usage_count of
3665         new locale if it already has the value MAX_USAGE_COUNT (it might
3666         be the C locale data which is read-only).
3668 1997-02-15 02:41  Miles Bader  <miles@gnu.ai.mit.edu>
3670         * argp/argp-help.c: Gettextize sources.
3671         * argp/argp-parse.c: Likewise.
3673 1997-02-13 22:32  Ulrich Drepper  <drepper@cygnus.com>
3675         * features.h (__GLIBC_MINOR__): Bump to 1.
3677         * xlocale.h: New file.  Wrapper around locale/xlocale.h.
3678         * Makefile (distribute): Add xlocale.h.
3679         * locale/Makefile (routines): Add ctype_l.
3680         * locale/ctype-extn.c: Update copyright. De-ANSI-declfy.
3681         Add __isblank_l, __toascii_l and __isascii_l.
3682         * ctype/ctype.h: Add definitions and declarations for *_l functions.
3683         * locale/Makefile (headers): Add xlocale.h.
3684         (routines): Add newlocale, duplocale, and freelocale.
3685         * locale/localeinfo.h (MAX_USAGE_COUNT): New macro.
3686         (struct locale_data): Add new fields mmaped and usage_count.
3687         Correct various declarations.
3688         * locale/C-collate.c: Define value for new fields mmaped and
3689         usage_count.
3690         * locale/C-ctype.c: Likewise.
3691         * locale/C-messages.c: Likewise.
3692         * locale/C-monetary.c: Likewise.
3693         * locale/C-numeric.c: Likewise.
3694         * locale/C-time.c: Likewise.
3695         * locale/loadlocale.c (_nl_load_locale): Initialize mmaped and
3696         usage_count fields.
3697         * locale/locale.h: Don't define locale_t here (moved to xlocale.h).
3698         Correct prototypes for __newlocale and __freelocale.
3699         Add prototype for __duplocale.
3700         * locale/findlocale.c (copy): Remove function.  Use __strdup instead.
3701         (_nl_remove_locale): New function.
3702         * locale/nl_langinfo.c: Don't declare locale_data objects as const.
3703         * locale/setlocale.c: Likewise.
3704         * locale/weight.h: Change for use with locale objects.
3705         * locale/xlocale.h: New file.  Define __locale_t type.
3706         * locale/newlocale.c: New file.  Create new locale object.
3707         * locale/freelocale.c: New file.  Destroy locale object.
3708         * locale/duplocale.c: New file.  Create copy of locale object.
3709         * stdlib/Makefile (routines): Add strfmon_l.
3710         * stdlib/monetary.h [__USE_GNU]: Declare __strfmon_l.
3711         * stdlib/strfmon.c: Add support for use in extended locale model.
3712         * stdlib/strfmon_l.c: New file.
3713         * string/Makefile (routines): Add strcoll_l and strxfrm_l.
3714         * string/strcoll.c: Change for use in extended locale model.
3715         * string/strxfrm.c: Likewise.
3716         * string/strcoll_l.c: New file.  Implement __strcoll_l function.
3717         * string/strxfrm_l.c: New file.  Implement __strxfrm_l function.
3718         * wcsmbs/Makefile (routines): Add wcscoll_l and wcsxfrm_l.
3719         * wcsmbs/wchar.h [__USE_GNU]: Declare wcscoll_l and wcsxfrm_l.
3720         * wcsmbs/wcscoll.c: Change for use in extended locale model.
3721         * wcsmbs/wcscoll_l.c: New file.  Implement __wcscoll_l function.
3722         * wcsmbs/wcsxfrm_l.c: New file.  Implement __wcsxfrm_l function.
3723         * wctype/Makefile (routines): Add wcextra, wcfuncs_l, iswctype_l,
3724         and towctrans_l.
3725         * wctype/cname-lookup.h: Prepare for use in extended locale model.
3726         * wctype/iswctype_l.c: New file.  Implement character classification
3727         functions for use with locale objects.
3728         * wctype/wctype.h: Declare functions for use with locale objects.
3729         * wctype/towctrans_l.c: New file.  Implement __towctrans_l function
3730         for use with locale objects.
3731         * wctype/wcfuncs_l.c: New file.  Implement wide character
3732         classification functions for use with locale objects.
3733         * wctype/wcextra.c: New file.  Implement real functions for
3734         non-standard classification functions.
3736         * elf/ldd.bash.in: Don't use --data-relocs and --function-relocs
3737         parameters to ld.so.  Use environment variables.
3738         * elf/ldd.sh.in: Likewise.
3739         * elf/rtld.c: Remove handling of --data-relocs and --function-relocs
3740         options.  Instead read environment variables.
3742         * elf/link.h (receiver_fct): Add new argument to take error code.
3743         * elf/dl-error.c (_dl_signal_error): Call receiver function with
3744         another argument.
3746         * elf/dl-object.c (_dl_new_object): Create new object with list of
3747         names in l_libname member.
3748         * elf/dl-load.c (_dl_map_object_from_fd): Add name which was used to
3749         find to object to the list in the link_map variable.
3750         (_dl_map_object): Use _dl_does_name_match_p to compare with all
3751         available names of the object.
3752         Optimize handling of LD_LIBRARY_PATH a bit.
3753         * elf/rtld.c: Initialize l_libname member of _dl_rtld_map.
3755         * elf/dl-lookup.c (_dl_elf_hash): Optimize function.
3757         * elf/Makefile (routines): Add dl-version.
3758         * elf/link.h (hash_name_pair): New type.  Group pointer to string
3759         and its hash value.
3760         (struct link_map): Change l_libname member to be a list of names,
3761         not a single pointer to a name.
3762         Add new members l_nversions and l_versions.
3763         (_dl_does_name_match_p): New function to test for all names of an
3764         object.
3765         Add prototypes for new lookup and versioning functions.
3766         * elf/dl-lookup.c (do_lookup): Add new argument and handle case
3767         when versioned symbol is requested.
3768         (_dl_lookup_symbol): Call do_lookup with another argument.
3769         (_dl_lookup_symbol_skip): Likewise.
3770         (_dl_lookup_versioned_symbol): New function.  Handle lookup of
3771         versioned symbol.
3772         (_dl_lookup_versioned_symbol_skip): Likewise, similar to
3773         _dl_lookup_symbol_skip.
3774         * elf/dl-reloc.c (RESOLVE): Call _dl_lookup_versioned_symbol or
3775         _dl_lookup_symbol depending on availability of version information.
3776         * elf/dl-runtime.c (RESOLVE): Likewise.
3777         (fixup): Call elf_machine_relplt with additional argument to point
3778         to versioning information if available.
3779         * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
3780         * elf/dl-open.c (_dl_open): Call _dl_check_map_versions to check
3781         for correct versions.
3782         * elf/dl-version.c: New file.  Check library versions and extract
3783         version information for easier access.
3784         * elf/dlfcn.h [__USE_GNU]: Add prototype for dlvsym.
3785         * elf/dlvsym.c: New file.  Implementation of function similar to
3786         dlsym, but looks for versioned symbol.
3787         * elf/elf.h: Add types and macros for versioning.
3788         * elf/rtld.c (dl_main): Check availability of needed versions.
3789         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add additional
3790         argument for version information.  Call RESOLVE with additional
3791         argument.
3792         * sysdeps/i386/dl-machine.h: Likewise.
3793         * sysdeps/m68k/dl-machine.h: Likewise.
3794         * sysdeps/mips/dl-machine.h: Likewise.
3796         * elf/dlerror.c: Change comment to align with guidelines.
3797         * elf/dlopen.c: Likewise.
3798         * elf/dlsym.c: Likewise.
3800         * locale/programs/localedef.c: Implement --quiet option.
3801         * locale/programs/charset.h: Declare be_quiet variable.
3802         * locale/programs/locfile.h: Likewise.
3803         * locale/programs/charmap.c: Don't print warnings if quiet option
3804         was given.
3805         * locale/programs/ld-collate.c: Likewise.
3806         * locale/programs/ld-ctype.c: Likewise.
3807         * locale/programs/ld-messages.c: Likewise.
3808         * locale/programs/ld-monetary.c: Likewise.
3809         * locale/programs/ld-numeric.c: Likewise.
3810         * locale/programs/ld-time.c: Likewise.
3811         * locale/programs/locfile.c: Likewise.
3813         * Makefile (subdirs): Add argp.
3815         * catgets/catgets.c (catopen): Little code improvement.
3817         * posix/execl.c: Remove restriction to 1024 arguments.
3818         * posix/execle.c: Likewise.
3819         * posix/execlp.c: Likewise.
3821         * posix/getopt.c [_LIBC]: Define global objects with __ prefix
3822         and make regular names weak aliases.
3823         * posix/getopt1.c: Likewise.
3824         * posix/getopt.h [_LIBC]: Provide prototypes and declarations for
3825         __ protected forms.
3827         * posix/unistd.h: Add prototype for __sleep.
3828         * sysdeps/mach/sleep.c: Make sleep weak alias of __sleep.
3829         * sysdeps/posix/sleep.c: Likewise.
3830         * sysdeps/stub/sleep.c: Likewise.
3831         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3833         * ctype/ctype-info.c: Update copyright.
3834         * ctype/ctype.c: Likewise.
3835         * ctype/test_ctype.c: Likewise.
3836         * dirent/alphasort.c: Likewise.
3837         * dirent/list.c: Likewise.
3838         * gmon/bb_exit_func.c: Likewise.
3839         * grp/fgetgrent.c: Likewise.
3840         * grp/getgrent.c: Likewise.
3841         * grp/getgrent_r.c: Likewise.
3842         * grp/getgrgid.c: Likewise.
3843         * grp/getgrgid_r.c: Likewise.
3844         * grp/getgrnam.c: Likewise.
3845         * grp/getgrnam_r.c: Likewise.
3846         * hurd/alloc-fd.c: Likewise.
3847         * hurd/catch-exc.c: Likewise.
3848         * hurd/ctty-input.c: Likewise.
3849         * hurd/ctty-output.c: Likewise.
3850         * hurd/dtable.c: Likewise.
3851         * hurd/fchroot.c: Likewise.
3852         * hurd/fd-close.c: Likewise.
3853         * hurd/fd-read.c: Likewise.
3854         * hurd/fd-write.c: Likewise.
3855         * hurd/fopenport.c: Likewise.
3856         * hurd/get-host.c: Likewise.
3857         * hurd/getdport.c: Likewise.
3858         * hurd/getuids.c: Likewise.
3859         * hurd/getumask.c: Likewise.
3860         * hurd/hurd-raise.c: Likewise.
3861         * hurd/hurd.h: Likewise.
3862         * hurd/hurdauth.c: Likewise.
3863         * hurd/hurdexec.c: Likewise.
3864         * hurd/hurdhost.h: Likewise.
3865         * hurd/hurdid.c: Likewise.
3866         * hurd/hurdinit.c: Likewise.
3867         * hurd/hurdioctl.c: Likewise.
3868         * hurd/hurdkill.c: Likewise.
3869         * hurd/hurdlookup.c: Likewise.
3870         * hurd/hurdmsg.c: Likewise.
3871         * hurd/hurdpid.c: Likewise.
3872         * hurd/hurdports.c: Likewise.
3873         * hurd/hurdprio.c: Likewise.
3874         * hurd/hurdrlimit.c: Likewise.
3875         * hurd/hurdsock.c: Likewise.
3876         * hurd/hurdstartup.c: Likewise.
3877         * hurd/hurdstartup.h: Likewise.
3878         * hurd/intern-fd.c: Likewise.
3879         * hurd/intr-msg.c: Likewise.
3880         * hurd/intr-rpc.defs: Likewise.
3881         * hurd/intr-rpc.h: Likewise.
3882         * hurd/msgportdemux.c: Likewise.
3883         * hurd/new-fd.c: Likewise.
3884         * hurd/openport.c: Likewise.
3885         * hurd/pid2task.c: Likewise.
3886         * hurd/port-cleanup.c: Likewise.
3887         * hurd/port2fd.c: Likewise.
3888         * hurd/ports-get.c: Likewise.
3889         * hurd/ports-set.c: Likewise.
3890         * hurd/privports.c: Likewise.
3891         * hurd/report-wait.c: Likewise.
3892         * hurd/set-host.c: Likewise.
3893         * hurd/setauth.c: Likewise.
3894         * hurd/setuids.c: Likewise.
3895         * hurd/siginfo.c: Likewise.
3896         * hurd/sigunwind.c: Likewise.
3897         * hurd/task2pid.c: Likewise.
3898         * hurd/thread-cancel.c: Likewise.
3899         * hurd/thread-self.c: Likewise.
3900         * hurd/vpprintf.c: Likewise.
3901         * hurd/hurd/fd.h: Likewise.
3902         * hurd/hurd/id.h: Likewise.
3903         * hurd/hurd/ioctl.h: Likewise.
3904         * hurd/hurd/lookup.h: Likewise.
3905         * hurd/hurd/port.h: Likewise.
3906         * hurd/hurd/resource.h: Likewise.
3907         * hurd/hurd/threadvar.h: Likewise.
3908         * hurd/hurd/userlink.h: Likewise.
3909         * inet/ether_aton.c: Likewise.
3910         * inet/ether_aton_r.c: Likewise.
3911         * inet/ether_ntoa.c: Likewise.
3912         * inet/ether_ntoa_r.c: Likewise.
3913         * inet/gethstbyad.c: Likewise.
3914         * inet/gethstbyad_r.c: Likewise.
3915         * inet/gethstent.c: Likewise.
3916         * inet/getnetbyad.c: Likewise.
3917         * inet/getnetbyad_r.c: Likewise.
3918         * inet/getnetbynm.c: Likewise.
3919         * inet/getnetbynm_r.c: Likewise.
3920         * inet/getnetent.c: Likewise.
3921         * inet/getnetent_r.c: Likewise.
3922         * inet/getproto.c: Likewise.
3923         * inet/getproto_r.c: Likewise.
3924         * inet/getprtent.c: Likewise.
3925         * inet/getprtent_r.c: Likewise.
3926         * inet/getprtname.c: Likewise.
3927         * inet/getrpcbyname.c: Likewise.
3928         * inet/getrpcbyname_r.c: Likewise.
3929         * inet/getrpcbynumber.c: Likewise.
3930         * inet/getrpcbynumber_r.c: Likewise.
3931         * inet/getrpcent.c: Likewise.
3932         * inet/getrpcent_r.c: Likewise.
3933         * inet/getservent.c: Likewise.
3934         * inet/getservent_r.c: Likewise.
3935         * inet/getsrvbynm.c: Likewise.
3936         * inet/getsrvbynm_r.c: Likewise.
3937         * inet/getsrvbypt.c: Likewise.
3938         * inet/getsrvbypt_r.c: Likewise.
3939         * inet/herrno.c: Likewise.
3940         * inet/netgroup.h: Likewise.
3941         * ient/netinet/ether.h: Likewise.
3942         * intl/bindtextdom.c: Likewise.
3943         * intl/dcgettext.c: Likewise.
3944         * intl/dgettext.c: Likewise.
3945         * intl/gettext.c: Likewise.
3946         * intl/gettext.h: Likewise.
3947         * intl/gettextP.h: Likewise.
3948         * intl/hash-string.h: Likewise.
3949         * intl/loadmsgcat.c: Likewise.
3950         * intl/localealias.c: Likewise.
3951         * intl/textdomain.c: Likewise.
3952         * io/creat.c: Likewise.
3953         * io/getdirname.c: Likewise.
3954         * io/lockf.c: Likewise.
3955         * io/pwd.c: Likewise.
3956         * io/test-utime.c: Likewise.
3957         * locale/categories.def: Likewise.
3958         * locale/codeset_name.c: Likewise.
3959         * locale/lc-collate.c: Likewise.
3960         * locale/lc-ctype.c: Likewise.
3961         * locale/lc-messages.c: Likewise.
3962         * locale/lc-monetary.c: Likewise.
3963         * locale/lc-numeric.c: Likewise.
3964         * locale/lc-time.c: Likewise.
3965         * locale/loadlocale.c: Likewise.
3966         * locale/localeconv.c: Likewise.
3967         * locale/nl_langinfo.c: Likewise.
3968         * locale/setlocale.c: Likewise.
3969         * locale/strlen-hash.h: Likewise.
3970         * locale/programs/charmap-kw.gperf: Likewise.
3971         * locale/programs/charmap-kw.h: Likewise.
3972         * locale/programs/charset.c: Likewise.
3973         * locale/programs/ld-ctype.c: Likewise.
3974         * locale/programs/ld-messages.c: Likewise.
3975         * locale/programs/ld-monetary.c: Likewise.
3976         * locale/programs/linereader.h: Likewise.
3977         * locale/programs/locale-spec.c: Likewise.
3978         * locale/programs/locales.h: Likewise.
3979         * locale/programs/locfile-kw.gperf: Likewise.
3980         * locale/programs/locfile-kw.h: Likewise.
3981         * locale/programs/locfile-token.h: Likewise.
3982         * locale/programs/simple-hash.h: Likewise.
3983         * locale/programs/stringtrans.c: Likewise.
3984         * locale/programs/stringtrans.h: Likewise.
3985         * login/logout.c: Likewise.
3986         * mach/bootprivport.c: Likewise.
3987         * mach/devstream.c: Likewise.
3988         * mach/hello.c: Likewise.
3989         * mach/mach.h: Likewise.
3990         * mach/mach_init.c: Likewise.
3991         * mach/mach_init.h: Likewise.
3992         * mach/mig-alloc.c: Likewise.
3993         * mach/mig-dealloc.c: Likewise.
3994         * mach/mutex-init.c: Likewise.
3995         * mach/mutex-solid.c: Likewise.
3996         * mach/setup-thread.c: Likewise.
3997         * mach/spin-lock.h: Likewise.
3998         * mach/spin-solid.c: Likewise.
3999         * mach/mach/mig_support.h: Likewise.
4000         * md5-crypt/md5-crypt.c: Likewise.
4001         * misc/nlist.h: Likewise.
4002         * nss/nss_files/files-ether.c: Likewise.
4003         * posix/confstr.c: Likewise.
4004         * posix/execl.c: Likewise.
4005         * posix/execle.c: Likewise.
4006         * posix/execlp.c: Likewise.
4007         * posix/execv.c: Likewise.
4008         * posix/execvp.c: Likewise.
4009         * posix/fnmatch.c: Likewise.
4010         * posix/getopt.c: Likewise.
4011         * posix/getopt.h: Likewise.
4012         * posix/getopt1.c: Likewise.
4013         * posix/id.c: Likewise.
4014         * posix/regex.c: Likewise.
4015         * posix/setpgrp.c: Likewise.
4016         * posix/unistd.h: Likewise.
4017         * posix/wordexp.c: Likewise.
4018         * pwd/fgetpwent.c: Likewise.
4019         * pwd/getpwent.c: Likewise.
4020         * pwd/getpwent_r.c: Likewise.
4021         * pwd/getpwnam.c: Likewise.
4022         * pwd/getpwnam_r.c: Likewise.
4023         * pwd/getpwuid.c: Likewise.
4024         * pwd/getpwuid_r.c: Likewise.
4025         * pwd/putpwent.c: Likewise.
4026         * resolv/gethnamaddr.c: Likewise.
4027         * resolv/res_hconf.c: Likewise.
4028         * resolv/res_hconf.h: Likewise.
4029         * setjmp/longjmp.c: Likewise.
4030         * setjmp/sigjmp.c: Likewise.
4031         * setjmp/tst-setjmp.c: Likewise.
4032         * stdio/clearerr.c: Likewise.
4033         * stdio/ferror.c: Likewise.
4034         * stdio/fgetc.c: Likewise.
4035         * stdio/fgetpos.c: Likewise.
4036         * stdio/fgets.c: Likewise.
4037         * stdio/fileno.c: Likewise.
4038         * stdio/fmemopen.c: Likewise.
4039         * stdio/fopen.c: Likewise.
4040         * stdio/fopncook.c: Likewise.
4041         * stdio/fputc.c: Likewise.
4042         * stdio/fputs.c: Likewise.
4043         * stdio/fread.c: Likewise.
4044         * stdio/freopen.c: Likewise.
4045         * stdio/fseek.c: Likewise.
4046         * stdio/fsetpos.c: Likewise.
4047         * stdio/ftell.c: Likewise.
4048         * stdio/fwrite.c: Likewise.
4049         * stdio/getchar.c: Likewise.
4050         * stdio/getdelim.c: Likewise.
4051         * stdio/gets.c: Likewise.
4052         * stdio/glue.c: Likewise.
4053         * stdio/internals.c: Likewise.
4054         * stdio/linewrap.c: Likewise.
4055         * stdio/linewrap.h: Likewise.
4056         * stdio/memstream.c: Likewise.
4057         * stdio/newstream.c: Likewise.
4058         * stdio/putchar.c: Likewise.
4059         * stdio/puts.c: Likewise.
4060         * stdio/rewind.c: Likewise.
4061         * stdio/setbuf.c: Likewise.
4062         * stdio/setbuffer.c: Likewise.
4063         * stdio/setlinebuf.c: Likewise.
4064         * stdio/setvbuf.c: Likewise.
4065         * stdio/ungetc.c: Likewise.
4066         * stdio/vasprintf.c: Likewise.
4067         * stdio/vscanf.c: Likewise.
4068         * stdio/vsnprintf.c: Likewise.
4069         * stdio/vsprintf.c: Likewise.
4070         * stdio/vsscanf.c: Likewise.
4071         * stdio-common/asprintf.c: Likewise.
4072         * stdio-common/dprintf.c: Likewise.
4073         * stdio-common/errnobug.c: Likewise.
4074         * stdio-common/fprintf.c: Likewise.
4075         * stdio-common/getline.c: Likewise.
4076         * stdio-common/getw.c: Likewise.
4077         * stdio-common/perror.c: Likewise.
4078         * stdio-common/psignal.c: Likewise.
4079         * stdio-common/putw.c: Likewise.
4080         * stdio-common/reg-printf.c: Likewise.
4081         * stdio-common/scanf.c: Likewise.
4082         * stdio-common/snprintf.c: Likewise.
4083         * stdio-common/sprintf.c: Likewise.
4084         * stdio-common/tempnam.c: Likewise.
4085         * stdio-common/test_rdwr.c: Likewise.
4086         * stdio-common/tst-fileno.c: Likewise.
4087         * stdio-common/tst-printf.c: Likewise.
4088         * stdio-common/tstgetln.c: Likewise.
4089         * stdio-common/vprintf.c: Likewise.
4090         * stdlib/drand48.c: Likewise.
4091         * stdlib/drand48_r.c: Likewise.
4092         * stdlib/erand48.c: Likewise.
4093         * stdlib/erand48_r.c: Likewise.
4094         * stdlib/exit.h: Likewise.
4095         * stdlib/strtoq.c: Likewise.
4096         * stdlib/strtoul.c: Likewise.
4097         * stdlib/strtouq.c: Likewise.
4098         * stdlib/test-canon.c: Likewise.
4099         * stdlib/testdiv.c: Likewise.
4100         * stdlib/testrand.c: Likewise.
4101         * string/argz-append.c: Likewise.
4102         * string/argz-count.c: Likewise.
4103         * string/argz-create.c: Likewise.
4104         * string/argz-ctsep.c: Likewise.
4105         * string/argz-delete.c: Likewise.
4106         * string/argz-extract.c: Likewise.
4107         * string/argz-insert.c: Likewise.
4108         * string/argz-next.c: Likewise.
4109         * string/argz-stringify.c: Likewise.
4110         * string/basename.c: Likewise.
4111         * string/envz.c: Likewise.
4112         * string/memfrob.c: Likewise.
4113         * string/strcoll.c: Likewise.
4114         * string/strdup.c: Likewise.
4115         * string/string.h: Likewise.
4116         * string/strndup.c: Likewise.
4117         * string/strnlen.c: Likewise.
4118         * string/strsignal.c: Likewise.
4119         * string/strxfrm.c: Likewise.
4120         * string/test-ffs.c: Likewise.
4121         * string/testcopy.c: Likewise.
4122         * sysdeps/generic/enbl-secure.c: Likewise.
4123         * sysdeps/generic/memcopy.h: Likewise.
4124         * sysdeps/generic/stpncpy.c: Likewise.
4125         * sysdeps/generic/strcasecmp.c: Likewise.
4126         * sysdeps/generic/strcat.c: Likewise.
4127         * sysdeps/generic/strchr.c: Likewise.
4128         * sysdeps/generic/strcpy.c: Likewise.
4129         * sysdeps/generic/strcspn.c: Likewise.
4130         * sysdeps/generic/strlen.c: Likewise.
4131         * sysdeps/generic/strncase.c: Likewise.
4132         * sysdeps/generic/strncat.c: Likewise.
4133         * sysdeps/generic/strncpy.c: Likewise.
4134         * sysdeps/generic/strpbrk.c: Likewise.
4135         * sysdeps/generic/strsep.c: Likewise.
4136         * sysdeps/generic/strspn.c: Likewise.
4137         * sysdeps/generic/strstr.c: Likewise.
4138         * sysdeps/generic/strtok.c: Likewise.
4139         * sysdeps/generic/strtok_r.c: Likewise.
4140         * sysdeps/mach/sleep.c: Likewise.
4141         * sysdeps/posix/sleep.c: Likewise.
4142         * sysdeps/stub/sleep.c: Likewise.
4143         * time/date.c: Likewise.
4144         * time/test_time.c: Likewise.
4145         * wcsmbs/wmemcpy.c: Likewise.
4146         * wctye/test_wctype.c: Likewise.
4147         * wctye/towctrans.c: Likewise.
4148         * wctye/wcfuncs.c: Likewise.
4149         * wctye/wctrans.c: Likewise.
4151 1997-02-13 22:15  Miles Bader  <miles@gnu.ai.mit.edu>
4153         * argp/Makefile: New file.
4154         * argp/argp.h: Likewise.
4155         * argp/argp-ba.c: Likewise.
4156         * argp/argp-fmtstream.c: Likewise.
4157         * argp/argp-fmtstream.h: Likewise.
4158         * argp/argp-fs-xinl.c: Likewise.
4159         * argp/argp-help.c: Likewise.
4160         * argp/argp-namefrob.h: Likewise.
4161         * argp/argp-parse.c: Likewise.
4162         * argp/argp-pv.c: Likewise.
4163         * argp/argp-pvh.c: Likewise.
4164         * argp/argp-test.c: Likewise.
4165         * argp/argp-xinl.c: Likewise.
4167 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
4169         * stdlib/qsort.c: Add prototype for _quicksort.
4171         * stdlib/msort.c (qsort): Correct prototype for _quicksort.
4173         * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
4174         from dl-machine.h.
4176 1997-02-13 18:18  Marcus G. Daniels  <marcus@sysc.pdx.edu>
4178         * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
4179         Allow user to overwrite it.
4181 1997-02-13 17:55  Ulrich Drepper  <drepper@cygnus.com>
4183         * libio/_G_config.h: Make sure wint_t is also defined for old gcc
4184         versions.  Reported by Andreas Jaeger.
4186 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
4188         * time/tzfile.c (__tzfile_read): Change comment to follow
4189         change of 1997-02-12.
4191 1997-02-13 02:32  Ulrich Drepper  <drepper@cygnus.com>
4193         * time/time.h (__nanosleep): Define only when struct timespec is
4194         also available.
4195         Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
4197 1997-02-12 21:34  a sun  <asun@zoology.washington.edu>
4199         * sysdeps/unix/sysv/linux/netinet/udp.h: New file.
4200         * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
4202 1997-02-12 21:16  Ulrich Drepper  <drepper@cygnus.com>
4204         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
4205         of 1997-02-09 in resolv/gethnamaddr.c.
4207 1997-02-11 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
4209         * libio/_G_config.h (_G_wint_t): New.
4211 1997-02-09 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
4213         * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
4214         to sizeof (buf.buf) while calling res_search ().
4216 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
4218         * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
4219         val to keydat, stat to status.
4221 1997-02-12 20:45  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
4223         * time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
4225 1997-02-12 19:55  Ulrich Drepper  <drepper@cygnus.com>
4227         * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
4228         by Keith Bostic.
4230 1997-02-11 14:49  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
4232         * stdlib/atoll.c: Undefine atoll, not atol.
4234 1997-02-08 09:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4236         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
4237         unused arguments of shell script.
4239         * Makeconfig (all-object-suffixes): New variable.
4240         * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
4241         of $(object-suffixes).
4242         * sysdeps/unix/make-syscalls.sh: Likewise.  Fix comment.
4244 1997-02-10 17:45  Ulrich Drepper  <drepper@cygnus.com>
4246         * string/argz-ctsep.c: Initialize *LEN when successful.
4248 1997-02-09 04:35  Ulrich Drepper  <drepper@cygnus.com>
4250         * stdio-common/_itoa.h: Update copyright.
4252 1997-02-09 02:59  Ulrich Drepper  <drepper@cygnus.com>
4254         * version.h (VERSION): Bump to 2.0.2.
4256         * posix/Makefile (routines): Add getopt_init.
4257         * posix/getopt.c: Don't get environment variable with nonoption
4258         flags here.  Depend on __getopt_nonoption_flags variable filled
4259         somewhere else.  This is necessary since the variable must be
4260         removed even when getopt isn't used in case exec(2) gets called.
4261         * posix/getopt_init.c: New file.  Initialize __getopt_nonoption_flags
4262         and remove environment variable.
4263         * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
4264         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
4265         * sysdeps/stub/init-first.c: Likewise.
4266         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
4268         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
4269         AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
4271         * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
4272         encryption is wanted.
4274         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
4275         * stdio/vsnprintf.c: Likewise.
4276         Reported by Philip Blundell <pjb27@cam.ac.uk>.
4278         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
4279         * stdio/vsnprintf.c: Likewise.
4280         Reported by Philip Blundell <pjb27@cam.ac.uk>.
4282 1997-02-07 17:43  Ulrich Drepper  <drepper@cygnus.com>
4284         * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
4285         Change PTR to void *.
4286         * sysdeps/posix/vdprintf.c: Change PTR to void *.
4287         Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
4289 1997-02-07 17:41  Philip Blundell <pjb27@cam.ac.uk>
4291         * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
4293 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4295         * rellns-sh: No need to check for existance of first parameter.
4297 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4299         * rellns-sh: No need to check for existance of first parameter.
4301 1997-02-06 14:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4303         * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks.  Reported
4304         by David Holland <dholland@eecs.harvard.edu>.
4306 1997-02-06 14:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4308         * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
4309         select, in case it is modified by the latter.
4310         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4311         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4312         * sunrpc/svc_tcp.c (readtcp): Likewise.
4314         * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
4315         array.
4317         * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
4318         and gid_t.
4320         * sunrpc/auth_unix.c (authunix_validate): Fix type of second
4321         argument.
4323 1997-02-06 14:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4325         * elf/Makefile (extra-objs): Don't zap previous value.
4326         * Makefile (before-compile): Likewise.  Don't add gnu/lib-names.h
4327         twice.
4329 1997-02-06 14:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4331         * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
4332         braindamage (sigh!).
4334 1997-02-06 17:10  Jim Meyering  <meyering@asic.sc.ti.com>
4336         * manual/memory.texi: Correct `copystring' example for obstacks.
4338 1997-02-06 14:10  Ulrich Drepper  <drepper@cygnus.com>
4340         * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
4341         GNU tr don't grok it.
4343 1997-02-03 21:13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4345         * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
4346         Don't use GNU C extensions.
4347         (CMSG_DATA): Use portable definition.
4349 1997-02-05 05:58  Ulrich Drepper  <drepper@cygnus.com>
4351         * elf/ldd.bash.in: Add test for read permission and print appropriate
4352         message.  Change warning and error messages to print "ldd: " at start.
4353         * elf/ldd.sh.in: Likewise.
4355         * stdlib/Makefile (routines): Add atoll.
4356         * stdlib/atoll.c: New file.
4357         * stdlib/stdlib.h: Add prototype and optimization for atoll.
4359         * stdlib/a64l.c: Update copyright.
4360         * stdlib/abs.c: Likewise.
4361         * stdlib/atof.c: Likewise.
4362         * stdlib/atoi.c: Likewise.
4363         * stdlib/atol.c: Likewise.
4364         * stdlib/bsearch.c: Likewise.
4365         * stdlib/exit.c: Likewise.
4366         * stdlib/fpioconst.c: Likewise.
4367         * stdlib/fpioconst.h: Likewise.
4368         * stdlib/jrand48.c: Likewise.
4369         * stdlib/jrand48_r.c: Likewise.
4370         * stdlib/labs.c: Likewise.
4371         * stdlib/lcong48.c: Likewise.
4372         * stdlib/lcong48_r.c: Likewise.
4373         * stdlib/llabs.c: Likewise.
4374         * stdlib/lrand48.c: Likewise.
4375         * stdlib/lrand48_r.c: Likewise.
4376         * stdlib/mblen.c: Likewise.
4377         * stdlib/mbstowcs.c: Likewise.
4378         * stdlib/mbtowc.c: Likewise.
4379         * stdlib/mp_clz_tab.c: Likewise.
4380         * stdlib/mrand48.c: Likewise.
4381         * stdlib/mrand48_r.c: Likewise.
4382         * stdlib/msort.c: Likewise.
4383         * stdlib/nrand48.c: Likewise.
4384         * stdlib/nrand48_r.c: Likewise.
4385         * stdlib/qsort.c: Likewise.
4386         * stdlib/rpmatch.c: Likewise.
4387         * stdlib/seed48.c: Likewise.
4388         * stdlib/seed48_r.c: Likewise.
4389         * stdlib/srand48.c: Likewise.
4390         * stdlib/srand48_r.c: Likewise.
4391         * stdlib/strtod.c: Likewise.
4392         * stdlib/wcstombs.c: Likewise.
4393         * stdlib/wctomb.c: Likewise.
4395 1997-02-05 05:08  Ulrich Drepper  <drepper@cygnus.com>
4397         * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
4398         as const.
4400 1997-02-04 23:57  Fila Kolodny  <fila@ibi.com>
4402         * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
4403         including <stddef.h>.
4405 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
4407         * time/Makefile (tzbases, tzlinks): New.
4408         (tzfiles): Changed to $(tzbases) $(tzlinks).
4409         ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
4411 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
4413         * Makefile (install): Ignore error from ldconfig.
4415         * time/zic.c (mkdirs): Double check the error return of mkdir ().
4417 1997-02-04 22:01  Ulrich Drepper  <drepper@cygnus.com>
4419         * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
4420         like PPC where va_list is no integral type.
4422 1997-02-04 15:27  Roma Ekzhanov  <ekzhanov@paragraph.com>
4424         * posix/getopt.c (exchange): Don't allocate nonoption_flags array
4425         if nonoption_flags_len == -1.
4427 1997-02-04 02:08  Ulrich Drepper  <drepper@cygnus.com>
4429         * Version 2.0.1 net release.
4431 1997-02-03 23:34  Stephen L Moshier  <moshier@world.std.com>
4433         * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
4435 1997-02-03 19:59  Ulrich Drepper  <drepper@cygnus.com>
4437         * stdlib/getsubopt.c: Don't return `=' for suboption which has
4438         a parameter.  Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
4440 1997-02-03 18:20  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
4442         * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
4443         values as in yp.x and yp.h.
4445 1997-02-03 16:58  Ulrich Drepper  <drepper@cygnus.com>
4447         * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
4448         1997-02-03 02:17.  Sun's implementation internally corrects
4449         this bug but we don't want to hide this from the user.
4450         * nis/rpcsvc/yp.h: Likewise.
4452 1997-02-01 18:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4454         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
4455         inclusion.
4457 1997-02-02 14:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4459         * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
4460         fixes.
4462 1997-02-02 11:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4464         * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
4465         (all-sources, all-headers): Use them instead of $(sources) and
4466         $(headers) when searching in sysdep directories.
4468 1997-02-02 11:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4470         * Makerules (REAL_MAKE_VERSION): Use internal make function
4471         instead of shelling out.
4473 1997-02-02 11:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4475         * time/Makefile (install-test-data): Remove mkdir command, zic can
4476         handle that gracefully.
4478 1997-02-03 14:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4480         * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
4481         somehow.
4483 1997-02-02 07:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4485         * sunrpc/Makefile: Check $(cross-compiling) only after including
4486         ../Makeconfig.
4487         ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
4488         being considered as a rule.
4489         (generated): Add stamp files before the inclusion of Makerules to
4490         magically mark them as not being intermediate via the `generated'
4491         target.
4493 1997-02-03 02:33  Ulrich Drepper  <drepper@cygnus.com>
4495         * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
4496         entries.  This is still no complete implementation since AUXILIARY
4497         entries in other shared objects are not yet handled.
4499         * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
4500         place.
4502         * po/es.po: Update.
4503         * po/fr.po: Update.
4504         * po/nl.po: Update.
4506         * time/Makefile: Better cross-compile support.  Avoid test which
4507         cannot be run.
4508         (CFLAGS-tzset.c): New variable.  Overwrite TZDEFAULT value from
4509         tzfile.h file.
4510         * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
4511         in SUID programs.
4512         * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
4513         default values as in tzfile.c.
4515         * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
4516         tags.
4517         * elf/link.h: Likewise.
4518         * elf/elf.h: Add tag definitions and data structures for versioning.
4520 1997-02-03 02:17  Ulrich Drepper  <drepper@cygnus.com>
4522         * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
4523         "Sun bug".  This is the order of elements also used by 4.4BSD.
4524         * nis/rpcsvc/yp.h: Likewise.
4525         Reported by HJ Lu.
4527 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
4529         * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
4530         action.
4532         * Makefile (install): Pass installation directories as arguments
4533         to ldconfig.
4535 1997-02-02 23:15  Ulrich Drepper  <drepper@cygnus.com>
4537         * malloc/malloc.c (__after_morecore_hook): New variable.
4538         (malloc_extend_top): Call __after_morecore_hook if set.
4539         (main_trim): Likewise.
4540         * malloc/malloc.h: Add declaration of __after_morecore_hook.
4541         Suggested by Marcus Daniels.
4543 1997-02-02 23:00  Marcus G. Daniels  <marcus@tdb.com>
4545         * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
4546         #ifndef NO_THREADS.
4547         (mallinfo): Likewise.
4549         * malloc/malloc.c (__morecore): Make external since it is used in
4550         programs.
4552 1997-02-02 15:10  Ulrich Drepper  <drepper@cygnus.com>
4554         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
4555         unsigned.
4557 1997-02-01 23:36  Richard Henderson  <rth@tamu.edu>
4559         * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
4560         use t6 as a temporary; it contains bits we still need in $u_head.
4562 1997-01-31 15:05  John Bowman  <bowman@ipp-garching.mpg.de>
4564         * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
4565         using __ prefix.  Add prototype for log1p.
4567 1997-02-02 00:39  Ulrich Drepper  <drepper@cygnus.com>
4569         * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
4571 1997-02-01 17:04  Philip Blundell  <pjb27@cam.ac.uk>
4573         * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
4575 1997-02-01 17:00  Ulrich Drepper  <drepper@cygnus.com>
4577         * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
4578         structure plus related macros.
4579         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
4580         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
4581         (sysdep_routines): Add cmsg_nxthdr.
4582         * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
4583         Suggested by Philip Blundell <pjb27@cam.ac.uk>.
4585 1997-02-01 12:34  Ulrich Drepper  <drepper@cygnus.com>
4587         * time/strftime.c: Define _strftime_copytm without protecting arguments
4588         which breaks the definition.
4590 1997-02-01 03:31  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
4592         * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
4593         definition of type for element.
4595 1997-02-01 03:28  Philip Blundell  <pjb27@cam.ac.uk>
4597         * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
4598         constants.
4600 1997-02-01 03:09  H.J. Lu  <hjl@lucon.org>
4602         * Makefile: Pass PARALLELMFLAGS to sub-makes.
4603         * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
4605 1997-01-31  Paul Eggert  <eggert@twinsun.com>
4607         * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
4608         Define if _LIBC is defined.
4609         <limits.h>: Include if HAVE_LIMITS_H instead of if
4610         __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
4611         <stdlib.h>: Similarly, include if STDC_HEADERS.
4612         (localtime_r): Redo #ifdef to make it clear that glibc has
4613         localtime_r now.
4615 1997-02-29 20:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4617         * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
4618         file to avoid unnecessary recompilation.
4620 1997-01-29 19:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4622         * Makefile: Set install-others, not install_others.
4623         (before-compile): Use += to preserve previous value.
4624         ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
4625         fix dependency name.
4626         ($(objpfx)lib-names.h): Remove rule.
4627         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
4628         with correct name, using an intermediate stamp file.
4629         (common-generated): Add gnu/lib-names.h.
4630         (before-compile): Add $(common-objpfx)gnu/lib-names.h.
4632 1997-01-30 18:29  Richard Henderson  <richard@atheist.tamu.edu>
4634         * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
4635         to prevent warnings on 64 bit systems.
4636         Reported by Paul Wouters <paul@xtdnet.nl>.
4638         * sysdeps/alpha/dl-machine.h: Revert check for broken gas.  By default
4639         we assume it works.
4641 1997-01-30 03:24  Ulrich Drepper  <drepper@cygnus.com>
4643         * sysdeps/i386/elf/start.S (_start): Align stack pointer to
4644         double word boundary before pushing args for main.  This way we
4645         don't get penalties for misaligned memory accesses.  Reported by
4646         Edward Seidl <seidl@janed.com>.
4648         * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
4649         Patch by HJ Lu.
4651         * misc/bsd-compat.c: Update copyright.
4652         * misc/efgcvt.c: Likewise.
4653         * misc/efgcvt_r.c: Likewise.
4654         * misc/error.c: Likewise.
4655         * misc/error.h: Likewise.
4656         * misc/fstab.c: Likewise.
4657         * misc/init-misc.c: Likewise.
4658         * misc/lsearch.c: Likewise.
4659         * misc/mntent.c: Likewise.
4660         * misc/qefgcvt.c: Likewise.
4661         * misc/qefgcvt_r.c: Likewise.
4662         * nss/databases.def: Likewise.
4663         * nss/db-Makefile: Likewise.
4664         * nss/ethers-lookup.c: Likewise.
4665         * nss/hosts-lookup.c: Likewise.
4666         * nss/netgrp-lookup.c: Likewise.
4667         * nss/nsswitch.h: Likewise.
4668         * nss/proto-lookup.c: Likewise.
4669         * nss/rpc-lookup.c: Likewise.
4670         * nss/service-lookup.c: Likewise.
4671         * nss/nss_db/db-netgrp.c: Likewise.
4672         * nss/nss_files/files-grp.c: Likewise.
4673         * nss/nss_files/files-hosts.c: Likewise.
4674         * nss/nss_files/files-network.c: Likewise.
4675         * nss/nss_files/files-proto.c: Likewise.
4676         * nss/nss_files/files-pwd.c: Likewise.
4677         * nss/nss_files/files-rpc.c: Likewise.
4678         * nss/nss_files/files-service.c: Likewise.
4679         * nss/nss_files/files-spwd.c: Likewise.
4680         * shadow/fgetspent.c: Likewise.
4681         * shadow/fgetspent_r.c: Likewise.
4682         * shadow/getspent.c: Likewise.
4683         * shadow/getspent_r.c: Likewise.
4684         * shadow/getspnam.c: Likewise.
4685         * shadow/getspnam_r.c: Likewise.
4686         * shadow/putspent.c: Likewise.
4687         * shadow/sgetspent.c: Likewise.
4688         * shadow/sgetspent_r.c: Likewise.
4689         * sysdeps/i386/init-first.c: Likewise.
4690         * sysdeps/unix/i386/sysdep.S: Likewise.
4692         * shadow/shadow.h: Don't use __USE_REENTRENT.  All code must be
4693         prepared to be running in a multi-threaded environment.  Change
4694         to __USE_MISC unless the function is defined in POSIX.1 (in this
4695         case also test for __USE_POSIX).
4696         * dirent/dirent.h: Likewise.
4697         * grp/grp.h: Likewise.
4698         * inet/aliases.h: Likewise.
4699         * libio/libio.h: Likewise.
4700         * libio/stdio.h: Likewise.
4701         * login/utmp.h: Likewise.
4702         * math/mathcalls.h: Likewise.
4703         * misc/mntent.h: Likewise.
4704         * pwd/pwd.h: Likewise.
4705         * resolv/netdb.h: Likewise.
4706         * stdlib/stdlib.h: Likewise.
4707         * string/string.h: Likewise.
4708         * sunrpc/rpc/netdb.h: Likewise.
4709         * sysdeps/generic/crypt.h: Likewise.
4710         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
4711         * time/time.h: Likewise.
4713 1997-01-30 00:27  Fila Kolodny  <fila@ibi.com>
4715         * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
4716         only if not cross compiling.
4718 1997-01-29 16:16  Fila Kolodny  <fila@ibi.com>
4720         * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
4721         NULL.
4722         * sysdeps/posix/sigwait.c: Likewise.
4724 1997-01-28 23:42  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4726         * Makeconfig ($(common-objpfx)config.make): Depend on
4727         $(..)config.make.in.
4729 1997-01-29 04:30  Ulrich Drepper  <drepper@cygnus.com>
4731         * sunrpc/Makefile: Don't generate headers derived from .x files when
4732         crosscompiling.
4734 1997-01-28 10:51  Richard Henderson  <rth@tamu.edu>
4736         * Makefile: Generate gnu/lib-names.h in before-compile.
4737         * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
4738         * nss/nssswitch.c (__nss_shlib_revision): New variable.  Initialize
4739         to the revision found for LIBNSS_FILES_SO.
4740         (nss_initilized): Removed.  It was tested but never set.
4741         (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
4743         * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
4744         not just libc.  Except instead of ld.so.1.1 use ld-linux.so.2.
4746         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
4748 1997-01-28 12:16  Andreas Jaeger  <aj@arthur.pfalz.de>
4750         * elf/Makefile (CFLAGS-dl-load.c): Use += to not
4751         override the definition.
4753 1997-01-28 20:13  Fila Kolodny  <fila@ibi.com>
4755         * config.make.in (malloc): Remove.
4757 1997-01-28 04:23  Ulrich Drepper  <drepper@cygnus.com>
4759         * version.h (VERSION): Bump to 2.0.1.
4761         * posix/getopt.c: Handle another problem introduced by the
4762         nonoption_flags array.  We must be able to work with reordered
4763         argv arrays.  Reported by Andreas Schwab.
4765 1997-01-28 02:38  Ulrich Drepper  <drepper@cygnus.com>
4767         * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
4768         stack.
4770 1997-01-27 17:34  Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
4772         * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
4773         that it works with yp.h.
4775 1997-01-27 13:28  Ulrich Drepper  <drepper@cygnus.com>
4777         * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
4778         __libc_malloc_initialized so that this variable is not shared with
4779         other users of GNU malloc.
4780         Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
4782         * mcheck.h: Correct typo.  Use malloc/ instead of new-malloc/.
4784         * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
4785         variables to prevent warnings.
4786         * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
4787         using attribute regparm.
4788         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
4789         is changed by the resolver code.
4791 1997-01-14 14:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4793         * malloc/malloc.c (weak_variable): Define.
4794         (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
4795         __memalign_hook): Make them weak definitions.
4797 1997-01-26 11:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4799         * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
4800         limits, correctly take structure padding into account, use correct
4801         offset when resetting the stream, change heuristic to assume an
4802         average name length of 14 characters.
4804 1997-01-25 18:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4806         * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
4807         inclusion.
4810 See ChangeLog.6 for earlier changes.