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