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