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