Update.
[platform/upstream/glibc.git] / ChangeLog
1 1999-12-08  Ulrich Drepper  <drepper@cygnus.com>
2
3         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
4         only IPv6 address.  Reported by Artur Frysiak <wiget@pld.org.pl>.
5
6 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
7
8         * string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small,
9         __stpcpy_small): Cast switch expressions to int to shut up compiler
10         warnings.
11
12 1999-12-07  Scott Bambrough <scottb@netwinder.org>
13
14         * sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24
15         relocs if possible.
16
17 1999-12-06  Andreas Schwab  <schwab@suse.de>
18
19         * sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the
20         ugetrlimit syscall exists.
21
22         * sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on
23         exported symbols.
24         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
25
26 1999-12-07  Ulrich Drepper  <drepper@cygnus.com>
27
28         * iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment
29         pointers if character is illegal.
30         Reported by Bruno Haible <haible@ilog.fr>.
31
32         * iconv/gconv_db.c (gen_steps): Set __counter initialy to 1.
33         (increment_counter): New function.  Broken out of find_derivation.
34         (find_derivation): No need for a lock.  Increment counter only when
35         the derivation was already available.
36         * iconv/gconv_dl.c: Add debugging functions.
37         (known_compare): We have to use strcmp.
38         Reported by Bruno Haible <haible@ilog.fr>.
39
40 1999-12-06  Ulrich Drepper  <drepper@cygnus.com>
41
42         * iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo.
43         * iconvdata/iso_2033.c (CHARSET_NAME): Fix typo.
44         * iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo.
45         * iconvdata/gconv-modules: Correct ISO646-PT2 alias.  Add
46         SHIFT_JIS alias.
47         Reported by Bruno Haible <haible@ilog.fr>.
48
49         * locale/programs/xstrdup.c: It's _LIBC, not __LIBC.
50
51 1999-12-03  Andreas Jaeger  <aj@suse.de>
52
53         * nss/getXXbyYY.c: Include <resolv.h>
54         (FUNCTION_NAME): Use res_ninit instead of res_init.
55
56         * nss/getXXbyYY_r.c [NEED__RES]: Include <resolv.h> for _res
57         declaration and prototypes.
58         Remove extra _res declaration.
59         (INTERNAL): Use thread aware res_ninit function.
60
61         * inet/gethstbyad_r.c: Include <resolv.h>.
62
63         * resolv/res_data.c: Update from Bind 8.2.2-P5.  Moved res_init to
64         res_libc.c.  Disabled unneeded functions.
65
66         * resolv/res_libc.c: New file.
67
68         * Versions.def: Add version GLIBC_2.2 for libpthread.
69         Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv.
70
71         * include/resolv.h: Add internal interfaces.
72
73         * resolv/Makefile (routines): Add new files.
74         (libresolv-routines): Likewise.
75         (distribute): Likewise.
76
77         * resolv/gethnamaddr.c: Use thread safe resolver functions.
78         * resolv/nss_dns/dns-host.c: Likewise.
79         * resolv/nss_dns/dns-network.c: Likewise.
80
81         * resolv/arpa/nameser.h: Update from Bind 8.2.2-P5.
82         * resolv/nsap_addr.c: Likewise.
83         * resolv/res_comp.c: Likewise.
84         * resolv/res_debug.c: Likewise.
85         * resolv/res_init.c: Likewise.
86         * resolv/res_mkquery.c: Likewise.
87         * resolv/res_query.c: Likewise.
88         * resolv/res_send.c: Likewise.
89         * resolv/resolv.h: Likewise.
90
91         * resolv/Versions: Add __res_state and __res_ninit with version
92         GLIBC_2.2 to libc.
93         Add new interfaces with version GLIBC_2.2 to libresolv.
94
95         * resolv/Banner: Update.
96
97         * include/arpa/nameser_compat.h: New file.
98
99         * resolv/ns_name.c: New file from Bind 8.2.2-P5.
100         * resolv/ns_netint.c: Likewise.
101         * resolv/ns_parse.c: Likewise.
102         * resolv/ns_print.c: Likewise.
103         * resolv/ns_samedomain.c: Likewise.
104         * resolv/ns_ttl.c: Likewise.
105         * resolv/arpa/nameser_compat.h: Likewise.
106         * resolv/res_debug.h: Likewise.
107
108         Some patches are based on work done by Adam D. Bradley
109         <artdodge@cs.bu.edu>.
110
111 1999-11-30  Andreas Jaeger  <aj@suse.de>
112
113         Add ldconfig:
114         * elf/Makefile (extra-objs): Added ldconfig-modules.
115         (ldconfig-modules): New.
116         Added vpath for xstrdup and xmalloc.
117         Check for use-ldconfig instead of has-ldconfig.
118         ($(objpfx)ldconfig): New rule with dependencies.
119         (distribute): Add new files.
120
121         * sysdeps/unix/sysv/linux/sparc/readelflib.c: New file,
122         developed together with Jakub Jelinek <jakub@redhat.com>.
123         * sysdeps/generic/readelflib.c: Likewise.
124
125         * elf/cache.c: New file.
126         * elf/ldconfig.c: New file.
127         * elf/ldconfig.h: New file.
128         * elf/readlib.c: New file.
129
130         * Makefile (install): Remove flag -d in ldconfig call.
131
132         * configure.in: Rename has_ldconfig to use_ldconfig, set it to no
133         by default.
134
135         * config.make.in (has-ldconfig): Renamed to use-ldconfig, changed
136         comment.
137
138         * sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig,
139         set always use_ldconfig instead.
140
141 1999-12-03  Ulrich Drepper  <drepper@cygnus.com>
142
143         * sysdeps/generic/bits/stropts.h: Update with LiS types and
144         values.  Patch by David Grothe <dave@gcom.com>.
145
146         * sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t):
147         Make long types.
148         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
149         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
150         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
151
152 1999-12-02  Akira Yoshiyama  <yosshy@debian.or.jp>
153
154         * locale/lc-time.c (_nl_get_era_entry): Separate eras
155         initialization as _nl_init_era_entry().
156         * locale/lc-time.c (_nl_get_era_nf_entry): New function.
157         * locale/lc-time.c (_nl_get_era_year_offset): New function.
158         * locale/lc-time.c (_nl_get_era_year_start): New function.
159         * locale/localeinfo.h: Declare new functions.
160         Define ERA_NAME_FORMAT_MEMBERS, ERA_M_NAME, ERA_M_FORMAT, ERA_W_NAME,
161         and ERA_W_FORMAT.
162
163 1999-12-02  Ulrich Drepper  <drepper@cygnus.com>
164
165         * posix/regex.c (SYNTAX): Make more portable.
166         Patch by Aharon Robbins <arnold@skeeve.com>.
167
168 1999-11-18  Roland McGrath  <roland@baalperazim.frob.com>
169
170         * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is
171         nonzero, use cthread_fork to create the signal thread.
172         * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize
173         _hurd_msgport_thread here (to self).
174         * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end
175         is zero, instead compute child signal thread's starting SP from parent
176         signal thread's current SP and the threadvar_stack variables.
177         * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach.
178         These are now referenced weakly by _hurdsig_init.
179
180         * hurd/report-wait.c (_S_msg_report_wait): Fix typo:
181         &_hurd_itimer_thread not &_hurd_msgport_thread.
182
183 1999-10-01  Roland McGrath  <roland@baalperazim.frob.com>
184
185         * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
186         without HURD_DPORT_USE to clean up warnings.
187         * hurd/dtable.c (get_dtable_port): Likewise.
188
189         * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
190         (install_ctty): Do the changing of the cttyid port cell here, inside
191         the critical section while we holding the dtable lock.
192         (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
193         the port cell and calling rectty_dtable.
194         (_hurd_locked_install_cttyid): New function, split out of install_ctty.
195         (install_ctty): Use it inside a critical section, with the lock held.
196         * sysdeps/mach/hurd/setsid.c (__setsid): Use
197         _hurd_locked_install_cttyid to effect the cttyid and dtable changes
198         after proc_setsid, having held the dtable lock throughout.
199         * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
200         cttyid port for null and bail out early if so.  The dtable lock
201         serializes us after any cttyid change and its associated dtable update.
202
203 1999-11-14  Roland McGrath  <roland@baalperazim.frob.com>
204
205         * sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
206         Its presence lets librpcsvc compile ok.  This from Mark Kettenis.
207         We don't install this file for users.
208         * sysdeps/mach/hurd/Dist: Add it.
209         * sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
210         Append nfs/nfs.h here.
211
212 1999-12-01  Andreas Jaeger  <aj@suse.de>
213
214         * sysdeps/generic/if_index.c (__protocol_available): Add missing
215         int for parameter.
216
217         * stdio/stdio.h: Fix typo.
218         Patches by Marcus G. Daniels <mgd@santafe.edu>.
219
220 1999-12-01  Andreas Jaeger  <aj@suse.de>
221
222         * scripts/test-installation.pl (installation_problem): Filter out
223         libpthread_db.
224
225 1999-12-01  Andreas Schwab  <schwab@suse.de>
226
227         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of
228         __rlim_t and __rlim64_t.
229         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
230         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
231
232 1999-12-01  Andreas Schwab  <schwab@suse.de>
233
234         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
235         oldgetrlimit64 and oldsetrlimit64 for subdir = resource.
236         * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
237         getrlimit64 and setrlimit64 to version GLIBC_2.1.3.
238         * sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and
239         new kernel version.  Add symbol versions.
240         * sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and
241         oldgetrlimit.
242         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
243         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
244         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit
245         and s_ugetrlimit.
246         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
247         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
248         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
249         * sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file.
250         * sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file.
251         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
252         * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file.
253         * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file.
254         * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New
255         file.
256         * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New
257         file.
258
259 1999-12-01  Ulrich Drepper  <drepper@cygnus.com>
260
261         * sysdeps/generic/usleep.c: Fix typo.
262
263         * sysdeps/generic/sys/ptrace.h: Remove K&R compatibility.
264
265         * sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
266         itself.
267
268         * sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not
269         _UTSNAME_H.
270
271         * malloc/set-freeres.c: Really use already_called variable.
272
273         * libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing
274         function call directly.
275         * libio/iosetvbuf.c: Likewise.
276
277 1999-11-29  Ulrich Drepper  <drepper@cygnus.com>
278
279         * configure.in: Add AIX 4.3 support.
280
281         * iconvdata/gconv-modules: Correct alias for ISO-8859-10.  This
282         standard was issued in 1992.
283         Reported by Bruno Haible <haible@ilog.fr>.
284
285 1999-11-29  Thorsten Kukuk  <kukuk@suse.de>
286
287         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for
288         SIGCLD als SIGCHLD.
289
290 1999-11-29  Andreas Jaeger  <aj@suse.de>
291
292         * manual/time.texi (Basic CPU Time): Better describe wrap around.
293         Patch by Andries Brouwer <Andries.Brouwer@cwi.nl>.
294
295 1999-11-29  Ulrich Drepper  <drepper@cygnus.com>
296
297         * iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases.
298         Patch by Bruno Haible <haible@ilog.fr>.
299
300 1999-11-29  Thorsten Kukuk  <kukuk@suse.de>
301
302         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Remove K&R compatibility.
303
304 1999-11-29  Andreas Schwab  <schwab@suse.de>
305
306         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable
307         __v to __bswap_32_v.
308         (__bswap_64): Rename local variables __v and __r to __bswap_64_v
309         and __bswap_64_r to avoid clash with __bswap_32 macro.
310
311 1999-11-28  Ulrich Drepper  <drepper@cygnus.com>
312
313         * iconvdata/t.61.c (CHARSET_NAME): Correct name to what is used in
314         gconv-modules.
315
316 1999-11-26  Ulrich Drepper  <drepper@cygnus.com>
317
318         * locale/programs/ld-ctype.c (allocate_arrays): Complete last
319         patch.  Use wch instead of idx to compute index.
320         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
321
322         * inet/rcmd.c (ruserok): Use iruserok2 not iruserok.
323
324         * locale/iso-3166.def: Update from latest official list.
325
326 1999-11-26  Thorsten Kukuk  <kukuk@suse.de>
327
328         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include
329         asm/ptrace.h, since this will not be done with 2.3.xx automatically
330         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
331
332 1999-11-26  Andreas Jaeger  <aj@suse.de>
333
334         * libio/libioP.h: Remove duplicate declaration of _IO_wsetb.
335
336 1999-11-26  Andreas Jaeger  <aj@suse.de>
337
338         * inet/rcmd.c: Include stdlib for declaration of free.
339         Declare iruserok.
340
341 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
342
343         * iconv/gconv.c (__gconv): Always initialize
344         cd->__data[last_step].__outbuf and cd->__data[last_step].__outbufend.
345
346         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Update number of
347         written bytes.
348         * iconvdata/iso-2022-jp.c: Likewise.
349
350 1999-11-25  H.J. Lu  <hjl@gnu.org>
351
352         * stdlib/exit.c (exit): Run funtions only if
353         __exit_funcs->idx > 0.
354
355 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
356
357         * manual/charset.texi (iconv Examples): Add iconv call to flush
358         state.  Reported by Andrew Clausen <clausen@alphalink.com.au>.
359
360 1999-11-25  Andreas Jaeger  <aj@suse.de>
361
362         * manual/install.texi (Running make install): Better describe
363         update from libc5.
364         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
365
366 1999-11-25  Andreas Jaeger  <aj@suse.de>
367
368         * include/sys/mman.h: Remove K&R compatibility.
369
370 1999-11-15  Andreas Jaeger  <aj@suse.de>
371
372         * misc/sys/mman.h: Use __REDIRECT for mmap, correct prototype to
373         use __off64_t.
374
375 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
376
377         * iconv/iconv_prog.c (process_block): For stateful charsets write
378         out byte sequence to get to initial state at the end of the file.
379
380 1999-11-25  Andreas Schwab  <schwab@suse.de>
381
382         * Makeconfig: Include sys-dirs and sys-sorted earlier.
383         ($(common-objpfx)soversions.mk): Wait until subdirs is complete.
384         ($(common-objpfx)sysd-sorted): Emit marker when this file is
385         complete.
386
387 1999-11-24  Ulrich Drepper  <drepper@cygnus.com>
388
389         * manual/setjmp.texi: Many changes to correct bad English introduced
390         mainly by me.
391         * manual/time.texi: Likewise.
392         Patches by Neil Booth <neil@rosenet.ne.jp>.
393
394         * include/string.h: Remove K&R compatibility.
395
396 1999-11-23  Ulrich Drepper  <drepper@cygnus.com>
397
398         * sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition.
399
400         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added.
401
402         * string/stratcliff.c: Add one more strchr test for something
403         which was reported to not work (which proofed to be wrong).
404
405         * iconv/skeleton.c: It's __is_last, not is_last.
406
407         * locale/programs/ld-ctype.c (ctype_finish): Correct method to find
408         the UCS value.
409         (allocate_arrays): Likewise.
410         (find_idx): Correctly increase array size.
411         Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
412
413 1999-11-23  Thorsten Kukuk  <kukuk@suse.de>
414
415         * iconv/skeleton.c: Don't access next_step->fct if data->is_last
416         is true.
417
418 1999-11-23  Andreas Jaeger  <aj@suse.de>
419
420         * include/sys/select.h: Remove K&R compatibility.
421         * include/sys/statfs.h: Likewise.
422         * include/gnu/libc-version.h: Likewise.
423         * include/db_185.h: Likewise.
424         * include/dlfcn.h: Likewise.
425         * include/search.h: Likewise.
426         * include/setjmp.h: Likewise.
427         * include/signal.h: Likewise.
428         * include/stdio.h: Likewise.
429         * include/unistd.h: Likewise.
430
431 1999-11-23  Andreas Jaeger  <aj@suse.de>
432
433         * include/aio.h: Remove __THROW from internal interfaces.  __THROW
434         is only need in external header files that might be compiled by a
435         C++ compiler.
436         * include/alloca.h: Likewise.
437         * include/db.h: Likewise.
438         * include/dirent.h: Likewise.
439         * include/execinfo.h: Likewise.
440         * include/fpu_control.h: Likewise.
441         * include/glob.h: Likewise.
442         * include/grp.h: Likewise.
443         * include/libintl.h: Likewise.
444         * include/math.h: Likewise.
445         * include/math.h: Likewise.
446         * include/mntent.h: Likewise.
447         * include/mntent.h: Likewise.
448         * include/netdb.h: Likewise.
449         * include/pwd.h: Likewise.
450         * include/sched.h: Likewise.
451         * include/shadow.h: Likewise.
452         * include/stdlib.h: Likewise.
453         * include/sys/file.h: Likewise.
454         * include/sys/gmon.h: Likewise.
455         * include/sys/ioctl.h: Likewise.
456         * include/sys/socket.h: Likewise.
457         * include/sys/stat.h: Likewise.
458         * include/sys/sysinfo.h: Likewise.
459         * include/sys/time.h: Likewise.
460         * include/sys/times.h: Likewise.
461         * include/sys/uio.h: Likewise.
462         * include/sys/wait.h: Likewise.
463         * include/termios.h: Likewise.
464         * include/time.h: Likewise.
465         * include/ulimit.h: Likewise.
466         * include/utmp.h: Likewise.
467         * include/wchar.h: Likewise.
468
469 1999-11-22  Andreas Jaeger  <aj@suse.de>
470
471         * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output.
472         Patch by Jerry Perkins  <jrperkins@iname.com>, closes PR
473         libc/1456+1457.
474
475 1999-11-22  Jakub Jelinek  <jakub@redhat.com>
476
477         * sysdeps/generic/siglist.h: Avoid declaring the same field
478         twice if SIGPWR is defined to SIGLOST.
479         * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument,
480         not signed, so we should not special case it for negative args.
481         * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic
482         memmove, use the one provided in memcpy.S.
483         * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping
484         copies like memmove, while the previous version worked like memcpy.
485         Implement optimized assembly memmove.
486         * sysdeps/sparc/sparc64/memmove.c: New file.
487
488 1999-11-23  Ulrich Drepper  <drepper@cygnus.com>
489
490         * po/cs.po: Update from translators.
491
492 1999-11-23  Andreas Jaeger  <aj@suse.de>
493
494         * sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function.
495         (elf_machine_got): Removed, not needed anymore.
496         (ELF_MACHINE_RELOC_NOPLT): Removed.
497         (ELF_MACHINE_JMP_SLOT): Added.
498         (_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__.
499         (_RTLD_EPILOGUE): Likewise.
500         (RESOLVE_GOTSYM): Use R_MIPS_REL32.
501         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
502         Based on patches from Maciej W. Rozycki <macro@ds2.pg.gda.pl> and
503         Ralf Baechle <baechle@uni-koblenz.de>.
504
505         * sysdeps/mips/mips64/dl-machine.h: Apply same patches.
506
507 1999-11-22  Ulrich Drepper  <drepper@cygnus.com>
508
509         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset
510         name from the locale name.  Only use the value in the LC_CTYPE
511         locale data file.
512
513         * locale/loadlocale.c (_nl_load_locale): Allow index of entry in
514         file be equal to file size.
515
516         * stdlib/longlong.h: Add count_trailing_zeros back.
517
518         * stdlib/longlong.h: Update from latest egcs version.
519
520 1999-11-22  Andreas Jaeger  <aj@suse.de>
521
522         * locale/programs/ld-collate.c (insert_value): Correct order of
523         arguments for lr_error call.
524
525         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add
526         __syscall_setrlimit.
527
528         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Include <sys/types.h>
529         for key_t.
530         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
531
532 1999-11-21  Ulrich Drepper  <drepper@cygnus.com>
533
534         * sysdeps/i386/fpu/libm-test-ulps: Increase error value for latest
535         gcc version.
536
537         * locale/programs/ld-ctype.c (ctype_read): Correctly implement
538         14652-style definition of new maps and classes.
539
540 1999-11-20  Ulrich Drepper  <drepper@cygnus.com>
541
542         * locale/programs/ld-monetary.c (monetary_finish): Don't print
543         individual error message if nothing is defined.
544
545         * locale/programs/ld-time.c (time_startup): Test for lr being
546         nonzero, not time.
547
548         * locale/programs/ld-numeric.c (numeric_finish): Don't crash if
549         decimal_point is not defined.
550
551         * wctype/wctrans.c (wctrans): Use correct base index to access
552         extra mapping tables.
553
554         * locale/loadlocale.c (_nl_load_locale): Use actual number of
555         entries from file and not the fixed (minimal number from the
556         langinfo.h list.
557
558         * locale/programs/ld-ctype.c (ctype_read): Fix reading of <U....>
559         values in charmaps.
560
561 1999-11-18  Paul Eggert  <eggert@twinsun.com>
562
563         * time/strftime.c (my_strftime): Some old compilers object to
564         '\a', so don't bother optimizing for it.
565
566 1999-11-19  Ulrich Drepper  <drepper@cygnus.com>
567
568         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify
569         the rlimits structure passed in.
570
571 1999-11-19  Andreas Jaeger  <aj@suse.de>
572
573         * include/sys/resource.h (__setrlimit): Add prototype.
574
575 1999-11-19  Ulrich Drepper  <drepper@cygnus.com>
576
577         * elf/dl-load.c (_dl_init_paths): Allocate correct number of
578         entries for rtld_search_dirs[0].
579         Patch by David Mosberger <davidm@hpl.hp.com>.
580
581 1999-11-18  Ulrich Drepper  <drepper@cygnus.com>
582
583         * locale/programs/ld-ctype.c: Don't predefine the character
584         classes and mappings of ISO 14652.
585
586         * locale/programs/ld-ctype.c: Punt if character class definitions
587         to not consists of tok_bsymbol (for now).
588
589         * time/strptime.c (day_of_the_week): Make sure result is never
590         negative.
591         (strptime_internal): Allow %C without %y.
592
593 1999-11-18  Andreas Jaeger  <aj@suse.de>
594
595         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Sorted entries and added
596         comments.
597
598         * sysdeps/unix/sysv/linux/getpt.c: Include linux_fsinfo.h instead
599         of defining *_SUPER_MAGIC.
600         * sysdeps/unix/sysv/linux/grantpt.c: Likewise.
601
602 1999-11-18  Ulrich Drepper  <drepper@cygnus.com>
603
604         * locale/programs/locale.c: Don't handle LC_ALL together with the
605         other categories when printing the value.
606         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
607
608         * locale/locale.h: Correct comment about LC_ALL.
609
610 1999-11-17  Ulrich Drepper  <drepper@cygnus.com>
611
612         * locale/programs/ld-ctype.c (ctype_output): Correct computation of
613         nelems.  Correctly compute index for additional character classes.
614         (ctype_read): Handle charclass and charconv definitions.  Also
615         recognize arbitrary strings as mapping names.
616         * locale/programs/ld-time.c (time_finish): Correctly skip over wide
617         character era strings.
618         * locale/lc-time.c (_nl_get_era_entry): Correctly skip era name
619         and format for wide characters.
620         * time/strftime.c: Correctly determine era information for wide
621         wcsftime.
622         * wctype/wctrans.c: Fix after removal of second endianess table.
623         * wctype/wctype.h (_ISwbit): Correctly handle bits > 16.
624         Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
625
626         * wcsmbs/wcwidth.h (internal_wcwidth): Reject non-printable characters.
627         * wcsmbs/wcswidth.c (wcswidth): Don't forget to decrement counter n.
628
629         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove greg_t,
630         gregset_t, fpregset_t, and NGREG definitions.
631
632         * locale/programs/ld-ctype.c: Implement character width information
633         handling.
634
635 1999-11-09  Andreas Jaeger  <aj@suse.de>
636
637         * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Add support for devfs.
638
639         * sysdeps/unix/sysv/linux/getpt.c (__getpt): Check for devfs.
640         Patch by German Jose Gomez Garcia <german@pinon.ccu.uniovi.es>.
641
642         * sysdeps/unix/sysv/linux/linux_fsinfo.h (DEVFS_SUPER_MAGIC): Added.
643
644 1999-11-17  Ulrich Drepper  <drepper@cygnus.com>
645
646         * sysdeps/gnu/netinet/tcp.h: Add TCP_CORK definition.
647
648 1999-11-07  Andreas Jaeger  <aj@suse.de>
649
650         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: New file with some
651         defines from Linux scsi_ioctl.h header.
652
653         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Added
654         scsi_ioctl.h.
655         * sysdeps/unix/sysv/linux/Dist: Likewise.
656
657         * sysdeps/unix/sysv/linux/scsi/sg.h: Synced with Linux 2.3.26;
658         pretty printed.
659
660         * sysdeps/unix/sysv/linux/scsi/scsi.h (TYPE_ENCLOSURE): Added to
661         sync with Linux 2.3.26.
662
663 1999-11-17  Andreas Jaeger  <aj@suse.de>
664
665         * shlib-versions: Allow mipsel for libm.
666         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
667
668 1999-11-16  Andreas Jaeger  <aj@suse.de>
669
670         * math/fenv.h: Fix typos in comments.  Reported by Andreas Schwab.
671
672 1999-11-16  Ulrich Drepper  <drepper@cygnus.com>
673
674         * locale/programs/ld-ctype.c (set_class_defaults): Set default
675         value for alpha and alnum correctly.
676
677         * locale/programs/ld-address.c (address_output): Fix output of
678         country_num.
679
680 1999-11-15  Ulrich Drepper  <drepper@cygnus.com>
681
682         * timezone/asia: Update from tzdata1999j.
683         * timezone/australasia: Likewise.
684         * timezone/europe: Likewise.
685         * timezone/northamerica: Likewise.
686         * timezone/southamerica: Likewise.
687         * timezone/zone.tab: Likewise.
688
689 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
690
691         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove duplicate definitions.
692         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
693         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
694         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise.
695         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
696
697 1999-11-15  Andreas Jaeger  <aj@suse.de>
698
699         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
700         __syscall_setrlimit.
701         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
702
703 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
704
705         * scripts/versions.awk: Don't expect to read predecessor versions,
706         compute them.
707         * Versions.def: Remove predecessors.  They now get computed.
708
709 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
710
711         * sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
712         * sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit
713         prototype.
714         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
715         * sysdeps/powerpc/stackinfo.h: New file.
716         Patches by Franz Sirl <Franz.Sirl@lauterbach.com>.
717
718 1999-11-13  Roland McGrath  <roland@baalperazim.frob.com>
719
720         * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to
721         GLIBC_2.1.3.
722
723 1999-11-13  Roland McGrath  <roland@baalperazim.frob.com>
724
725         * hurd/Versions (GLIBC_2.1.3): Define, adding directory_name_split and
726         hurd_directory_name_split.
727         * Versions.def (libc): Add GLIBC_2.1.3.
728
729 1999-11-09  Roland McGrath  <roland@baalperazim.frob.com>
730
731         * hurd/report-wait.c (describe_port): Return char * and use __stpcpy
732         to return the location of the null byte written into the string.
733         (describe_number): Likewise.
734         (describe_number): Remove assert, not always used with #.
735         If FLAVOR is null, don't use it.
736         (describe_number): Take signed argument and print a - if negative.
737         (_S_msg_report_wait): Report system call number for system calls that
738         aren't mach_msg.  Soup up reporting for mach_msg: If destination port
739         matches SS->intr_port, bracket port description with [...] to indicate
740         a Hurd interruptible RPC; if destination port is null, examine the
741         receive port and report that state; if receive port is also null,
742         check for timeout and report its value.
743         * sysdeps/mach/hurd/i386/intr-msg.h (MSG_EXAMINE): Return int that is
744         zero iff we managed to examine the stack; take new args RCV_NAME,
745         SEND_NAME, OPTION, and TIMEOUT to fill in with mach_msg args.
746
747         * hurd/report-wait.c (describe_port): Recognize MACH_PORT_NULL and
748         MACH_PORT_DEAD specially.
749
750 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
751
752         * hurd/hurdlookup.c (__hurd_directory_name_split): New function.
753         (__directory_name_split): New function.
754         * hurd/hurd.h: Declare them.
755         * sysdeps/mach/hurd/rmdir.c: Use __directory_name_split instead of
756         __file_name_split, so we ignore trailing slashes properly.
757         * sysdeps/mach/hurd/rename.c: Likewise.
758
759 1999-11-13  Thorsten Kukuk  <kukuk@suse.de>
760
761         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add SIGPWR define
762         from current kernel headers.
763
764         * sunrpc/key_call.c: Use /usr/etc/keyenvoy only if we don't have
765         SO_PASSCRED defined.
766
767 1999-11-12  Ulrich Drepper  <drepper@cygnus.com>
768
769         * locale/C-ctype.c: Fix typo in char class name.
770
771         * configure.in: Allow user so specify --enable-kernel=current.
772
773 1999-11-12  Thorsten Kukuk  <kukuk@suse.de>
774
775         * nis/nss_nisplus/nisplus-publickey.c: Check for snprintf return value.
776
777         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Follow changes from
778         i386 version.
779         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
780         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
781         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
782         * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
783
784 1999-11-12  Ulrich Drepper  <drepper@cygnus.com>
785
786         * intl/locale.alias: Add Estonian entries.
787         Patch by Marko Kreen <marko@et.ee> [PR libc/1444].
788
789 1999-11-02  Andreas Jaeger  <aj@suse.de>
790
791         * Versions.def: Add version GLIBC_2.2 for libm.
792         * math/fenv.h: Add prototypes for fegetexcept, feenableexcept and
793         fedisableexcept.
794         * sysdeps/generic/feenablxcpt.c: Stub file.
795         * sysdeps/generic/fedisblxcpt.c: Stub file.
796         * sysdeps/generic/fegetexcept.c: Stub file.
797         * sysdeps/i386/fpu/fedisblxcpt.c: New file.
798         * sysdeps/i386/fpu/feenablxcpt.c: New file.
799         * sysdeps/i386/fpu/fegetexcept.c: New file.
800         * math/Makefile (libm-support): Add new files.
801         * math/Versions: Add new functions with version GLIBC_2.2.
802         * manual/arith.texi (Control Functions): Document fegetexcept,
803         feenableexcept and fedisableexcept.
804
805 1999-11-01  Wolfram Gloger  <wg@malloc.de>
806
807         * malloc/malloc.h: Describe __malloc_initialize_hook.
808         * manual/memory.texi: Document __malloc_initialize_hook.
809
810 1999-11-11  Ulrich Drepper  <drepper@cygnus.com>
811
812         * sysdeps/unix/sysv/linux/setrlimit.c: Correctly use rlimits.
813
814 1999-11-09  Andreas Jaeger  <aj@suse.de>
815
816         * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
817         implementation for ttyname_r call; fix inverted condition; return
818         ut_user.
819         Closes PR libc/1438.
820
821 1999-11-10  Ulrich Drepper  <drepper@cygnus.com>
822
823         * math/fenv.h: Include bits/fenvinline.h if optimizing.
824         * sysdeps/powerpc/fpu/bits/fenv.h: Remove inline functions.  Moved to..
825         * sysdeps/powerpc/fpu/bits/fenvinline.h: ...here.  New file.
826         * sysdeps/generic/bits/fenv.h: New file.
827
828 1999-11-10  Ulrich Drepper  <drepper@cygnus.com>
829
830         * misc/tst-efgcvt.c (output_r_error): Remove extra parameter to
831         printf call.
832
833 1999-11-10  Andreas Jaeger  <aj@suse.de>
834
835         * misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r.
836
837 1999-11-10  Andreas Jaeger  <aj@suse.de>
838
839         * string/strsignal.c (strsignal): Correct check for snprintf
840         return value.
841         * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
842
843         * misc/efgcvt_r.c (APPEND): Correct check for too small buffer
844         according to changed snprintf return value.
845         Reported by Lawrence K. Chen <lchen@opentext.com>.
846
847         * misc/tst-efgcvt.c (special): Add tests for a too small buffer
848         for ecvt_r and fcvt_r.
849
850 1999-11-09  Ulrich Drepper  <drepper@cygnus.com>
851
852         * elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to
853         directory with the reference since this is as secure as using the
854         object with the dependency.
855         (_dl_dst_substitute): Likewise.
856
857         * elf/dl-load.c (_dl_dst_count): Change strings in first two
858         strncmp calls to allow reuse.
859         (_dl_dst_substitute): Likewise.
860
861 1999-11-01  Arnold D. Robbins  <arnold@skeeve.com>
862
863         * posix/regex.c (init_syntax_once): move below definition of
864         ISALNUM etc., then use ISALNUM to init the table, so that
865         the word ops will work if i18n'ed.
866         (SYNTAX): And subscript with 0xFF for 8bit character sets.
867
868 1999-11-09  Andreas Jaeger  <aj@suse.de>
869
870         * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
871         implementation for ttyname_r call; fix inverted condition; return
872         ut_user.  Closes PR libc/1438.
873
874 1999-11-09  Ulrich Drepper  <drepper@cygnus.com>
875
876         * timezone/checktab.awk: Update from tzcode1999h.
877         * timezone/africa: Update from tzdata1999i.
878         * timezone/asia: Likewise.
879         * timezone/australasia: Likewise.
880         * timezone/backward: Likewise.
881         * timezone/europe: Likewise.
882         * timezone/northamerica: Likewise.
883         * timezone/southamerica: Likewise.
884         * timezone/iso3166.tab: Likewise.
885         * timezone/zone.tab: Likewise.
886
887         * sysdeps/unix/sysv/linux/bits/resource.h: Define values also as
888         macros.  Patch by brg@csua.berkeley.edu [PR libc/1439].
889
890 1999-11-09  Andreas Jaeger  <aj@suse.de>
891
892         * posix/Makefile (tests): Added tst-getlogin.
893
894         * posix/tst-getlogin.c: New file, contains simple tests for
895         getlogin and getlogin_r.
896
897 1999-11-09  Andreas Schwab  <schwab@suse.de>
898
899         * misc/syslog.c: For LOG_PERROR only append a newline if
900         necessary.
901
902 1999-11-08  Ulrich Drepper  <drepper@cygnus.com>
903
904         * elf/elf.h: Add STT_REGISTER, STT_HP_OPAQUE, and STT_ST_STUB
905         definitions.
906
907 1999-11-08  Andreas Jaeger  <aj@suse.de>
908
909         * locale/findlocale.c (_nl_find_locale): Free normalized_codeset;
910         this fixes a memory leak (closes PR libc/1435).
911
912         * intl/l10nflist.c (_nl_normalize_codeset): Update comment to
913         reflect memory allocation.
914
915         * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory
916         allocation in _nl_explode_name.
917
918 1999-11-06  Andreas Jaeger  <aj@suse.de>
919
920         * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock
921         to initialize it.
922         Reported by wes@surety.com, closes PR libc/1432.
923
924 1999-11-05  Geoff Keating  <geoffk@cygnus.com>
925
926         * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of
927         enumerator lists (-pedantic complains).
928         (feraiseexcept): Use i#*X as the constraint.  Fix a bug in the
929         test for 'one bit set'.
930         (feclearexcept): Likewise.
931
932 1999-11-05  Ulrich Drepper  <drepper@cygnus.com>
933
934         * sysdeps/unix/sysv/linux/setrlimit.c: New file.
935
936         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust
937         for kernel changes.
938         * sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make
939         unsigned.
940
941 1999-10-04  Tim Waugh  <twaugh@redhat.com>
942
943         * posix/wordexp-test.c: More tests.
944
945         * posix/wordexp.c (wordexp): Explicit null words should be kept.
946
947 1999-11-04  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
948
949         * locale/programs/linereader.c (get_string): Correct type of buf2
950         variable.
951         * locale/programs/ld-ctype.c (ctype_output): Store index correctly
952         for _NL_CTYPE_INDIGITS_MB_LEN, _NL_CTYPE_INDIGITS_WC_LEN,
953         _NL_CTYPE_INDIGITS*_MB, _NL_CTYPE_OUTDIGIT*_MB, and
954         _NL_CTYPE_OUTDIGIT*_WC.
955         (allocate_arrays): Completely initialize mapping tables.
956         * locale/programs/ld-time.c (time_startup): We need the wide car
957         string.
958         (time_finish): Correct handling of era.
959         (time_output): Fix a few array indeces.
960         (time_read): Pass the repertoire map to lr_token.
961
962 1999-11-03  Ulrich Drepper  <drepper@cygnus.com>
963
964         * Versions.def: Add version for libthread_db.
965
966 1999-11-02  Andreas Jaeger  <aj@suse.de>
967
968         * manual/header.texi (Library Summary): The command @indexfonts
969         doesn't exist anymore, use @smallfonts instead.
970
971 1999-11-02  Ulrich Drepper  <drepper@cygnus.com>
972
973         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h
974         instead of duplicating definitions.
975
976 1999-11-01  Ulrich Drepper  <drepper@cygnus.com>
977
978         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used
979         by the debugger.
980         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
981         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise.
982         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
983         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
984         * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
985
986 1999-11-01  Ulrich Drepper  <drepper@cygnus.com>
987
988         * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25.
989
990         * sysdeps/unix/sysv/linux/kernel-features.h
991         (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition.
992         * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file.
993
994         * manual/texinfo.tex: Updated.
995
996 1999-11-01  Andreas Jaeger  <aj@suse.de>
997
998         * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility.
999
1000         * inet/gethstbynm2_r.c: Reorder addresses.
1001
1002 1999-09-11  Paul Eggert  <eggert@twinsun.com>
1003
1004         * posix/glob.h (glob): If #defining to glob64, do this before
1005         declaring it, so that all declarations and uses match, and do not
1006         declare glob64, to avoid a declaration clash.
1007         (globfree): Likewise with globfree64.
1008
1009 1999-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
1010
1011         * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]:
1012         Keep the trailing slash unless DIRNAME is just "x:/".
1013
1014 1999-10-11  Andreas Jaeger  <aj@suse.de>
1015
1016         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added.
1017         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1018         Closes PR libc/1384.
1019
1020 1999-10-20  Andreas Schwab  <schwab@suse.de>
1021
1022         * math/Makefile (libm-tests-generated): Remove libm-test.stmp.
1023         (generated): Add it here.
1024         (before-compile): Add libm-test.c.
1025         ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on
1026         libm-test.stmp.
1027         ($(objpfx)libm-test.stmp): Use $(objpfx) instead of
1028         $(objdir)/math/.
1029
1030 1999-10-31  Ulrich Drepper  <drepper@cygnus.com>
1031
1032         * Makefile (pdf): New goal.
1033         * manual/Makefile: Add definitions and rules for PDF generation.
1034
1035         * Versions.def (libm): Add GLIBC_2.1.3.
1036
1037         ISO C99 TR1 changes various fe* functions to return an error value.
1038         * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag,
1039         feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv.
1040         * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias.
1041         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
1042         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
1043         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
1044         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
1045         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
1046         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
1047         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
1048         * sysdeps/arm/fpu/fegetenv.c: Likewise.
1049         * sysdeps/arm/fpu/fesetenv.c: Likewise.
1050         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
1051         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
1052         * sysdeps/generic/fclrexcpt.c: Likewise.
1053         * sysdeps/generic/fegetenv.c: Likewise.
1054         * sysdeps/generic/fesetenv.c: Likewise.
1055         * sysdeps/generic/feupdateenv.c: Likewise.
1056         * sysdeps/generic/fgetexcptflg.c: Likewise.
1057         * sysdeps/generic/fraiseexcpt.c: Likewise.
1058         * sysdeps/generic/fsetexcptflg.c: Likewise.
1059         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
1060         * sysdeps/i386/fpu/fegetenv.c: Likewise.
1061         * sysdeps/i386/fpu/fesetenv.c: Likewise.
1062         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
1063         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
1064         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1065         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1066         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
1067         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
1068         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
1069         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
1070         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
1071         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
1072         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
1073         * sysdeps/mips/fclrexcpt.c: Likewise.
1074         * sysdeps/mips/fegetenv.c: Likewise.
1075         * sysdeps/mips/fesetenv.c: Likewise.
1076         * sysdeps/mips/feupdateenv.c: Likewise.
1077         * sysdeps/mips/fgetexcptflg.c: Likewise.
1078         * sysdeps/powerpc/fclrexcpt.c: Likewise.
1079         * sysdeps/powerpc/fegetenv.c: Likewise.
1080         * sysdeps/powerpc/fesetenv.c: Likewise.
1081         * sysdeps/powerpc/feupdateenv.c: Likewise.
1082         * sysdeps/powerpc/fgetexcptflg.c: Likewise.
1083         * sysdeps/powerpc/fraiseexcpt.c: Likewise.
1084         * sysdeps/powerpc/fsetexcptflg.c: Likewise.
1085         * sysdeps/sparc/fpu/fclrexcpt.c: Likewise.
1086         * sysdeps/sparc/fpu/fegetenv.c: Likewise.
1087         * sysdeps/sparc/fpu/fesetenv.c: Likewise.
1088         * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
1089         * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
1090         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1091         * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
1092         * math/fenv.h: Adjust prototypes.: Likewise.
1093         * manual/arith.texi: Adjust documentation for these changes.
1094
1095         * manual/arith.texi: Document feraiseexcept.
1096
1097         * sysdeps/powerpc/fegetenv.c: Moved to...
1098         * sysdeps/powerpc/fpu/fegetenv.c: ...here.
1099         * sysdeps/powerpc/fegetround.c: Moved to...
1100         * sysdeps/powerpc/fpu/fegetround.c: ...here.
1101         * sysdeps/powerpc/feholdexcpt.c: Moved to...
1102         * sysdeps/powerpc/fpu/feholdexcpt.c: ...here.
1103         * sysdeps/powerpc/fesetenv.c: Moved to...
1104         * sysdeps/powerpc/fpu/fesetenv.c: ...here.
1105         * sysdeps/powerpc/fenv_libc.h: Moved to...
1106         * sysdeps/powerpc/fpu/fenv_libc.h: ...here.
1107         * sysdeps/powerpc/feupdateenv.c: Moved to...
1108         * sysdeps/powerpc/fpu/feupdateenv.c: ...here.
1109         * sysdeps/powerpc/fgetexcptflg.c: Moved to...
1110         * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here.
1111         * sysdeps/powerpc/fraiseexcpt.c: Moved to...
1112         * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here.
1113         * sysdeps/powerpc/fsetexcptflg.c: Moved to...
1114         * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here.
1115         * sysdeps/powerpc/ftestexcept.c: Moved to...
1116         * sysdeps/powerpc/fpu/ftestexcept.c: ...here.
1117         * sysdeps/powerpc/fesetround.c: Moved to...
1118         * sysdeps/powerpc/fpu/fesetround.c: ...here
1119         * sysdeps/powerpc/fenv_const.c: Moved to...
1120         * sysdeps/powerpc/fpu/fenv_const.c: ...here.
1121
1122         * sysdeps/mips/fclrexcpt.c: Moved to...
1123         * sysdeps/mips/fpu/fclrexcpt.c: ...here.
1124         * sysdeps/mips/fegetenv.c: Moved to...
1125         * sysdeps/mips/fpu/fegetenv.c: ...here.
1126         * sysdeps/mips/fegetround.c: Moved to...
1127         * sysdeps/mips/fpu/fegetround.c: ...here.
1128         * sysdeps/mips/fesetenv.c: Moved to...
1129         * sysdeps/mips/fpu/fesetenv.c: ...here.
1130         * sysdeps/mips/fesetround.c: Moved to...
1131         * sysdeps/mips/fpu/fesetround.c: ...here.
1132         * sysdeps/mips/feupdateenv.c: Moved to...
1133         * sysdeps/mips/fpu/feupdateenv.c: ...here.
1134         * sysdeps/mips/fgetexcptflg.c: Moved to...
1135         * sysdeps/mips/fpu/fgetexcptflg.c: ...here.
1136         * sysdeps/mips/ftestexcept.c: Moved to...
1137         * sysdeps/mips/fpu/ftestexcept.c: ...here.
1138
1139 1999-10-29  Jakub Jelinek  <jakub@redhat.com>
1140
1141         * stdlib/longlong.h: Avoid UDIV_TIME redefinition.
1142         * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus
1143         libraries from statically linked programs.
1144         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309
1145         fix for sigaction on SPARC.
1146         Patches by David S. Miller <davem@redhat.com>.
1147
1148         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare
1149         gregset_t and other required structures and defines for SPARC 64bit
1150         ABI as well, not only 32bit ABI.
1151
1152 1999-10-31  Andreas Jaeger  <aj@suse.de>
1153
1154         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X
1155         by __USE_ISOC99 and update comments.
1156
1157         * math/complex.h: Update comments for ISO C99.
1158         * math/fenv.h: Likewise.
1159         * math/test-fenv.c: Likewise.
1160         * math/tgmath.h: Likewise.
1161         * libio/stdio.h: Likewise.
1162         * posix/sys/types.h: Likewise.
1163         * sysdeps/generic/inttypes.h: Likewise.
1164         * sysdeps/generic/stdint.h: Likewise.
1165
1166 1999-10-31  Ulrich Drepper  <drepper@cygnus.com>
1167
1168         * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE.
1169
1170         * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also
1171         recognize _ISOC99_SOURCE.
1172         * libio/stdio.h: Likewise.
1173         * math/math.h: Likewise.
1174         * math/bits/mathcalls.h: Likewise.
1175         * math/stdio.h: Likewise.
1176         * stdlib/stdlib.h: Likewise.
1177         * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
1178         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
1179         * sysdeps/arm/bits/huge_val.h: Likewise.
1180         * sysdeps/generic/bits/mathdef.h: Likewise.
1181         * sysdeps/i386/bits/huge_val.h: Likewise.
1182         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1183         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
1184         * sysdeps/ieee754/bits/huge_val.h: Likewise.
1185         * sysdeps/m68k/bits/huge_val.h: Likewise.
1186         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1187         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
1188         * sysdeps/powerpc/bits/mathdef.h: Likewise.
1189         * sysdeps/powerpc/bits/mathinline.h: Likewise.
1190         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
1191         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
1192         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
1193         * wcsmbs/wchar.h: Likewise.
1194
1195         * sysdeps/powerpc/bits/mathdef.h: Moved to...
1196         * sysdeps/powerpc/fpu/bits/mathdef.h: ...here.
1197         * sysdeps/powerpc/bits/mathinline.h: Moved to...
1198         * sysdeps/powerpc/fpu/bits/mathinline.h: ...here.
1199         * sysdeps/powerpc/bits/fenv.h: Moved to...
1200         * sysdeps/powerpc/fpu/bits/fenv.h: ...here.
1201
1202 1999-10-31  Andreas Jaeger  <aj@suse.de>
1203
1204         * manual/math.texi (Errors in Math Functions): Correct TeX code.
1205
1206 1999-10-31  Andreas Jaeger  <aj@suse.de>
1207
1208         * math/libm-test.inc:  Change comments to use ISO C99 instead of
1209         ISO C9x.
1210         * math/w_lgamma.c: Likewise.
1211         * math/w_lgammaf.c: Likewise.
1212         * math/w_lgammal.c: Likewise.
1213         * math/test-fenv.c: Likewise.
1214         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1215         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1216         * sysdeps/generic/printf_fphex.c: Likewise.
1217
1218 1999-10-31  Andreas Jaeger  <aj@suse.de>
1219
1220         * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment.
1221
1222         * manual/math.texi: Change ISO C9x to ISO C99.
1223         * manual/startup.texi: Likewise.
1224         * manual/stdio.texi: Likewise.
1225
1226 1999-10-31  Andreas Jaeger  <aj@suse.de>
1227
1228         * manual/arith.texi: Change ISO C9x to ISO C99.
1229         * manual/time.texi (Low-Level Time String Parsing): Likewise.
1230
1231 1999-10-30  Ulrich Drepper  <drepper@cygnus.com>
1232
1233         * socket/Makefile (distribute): Add ifreq.h.
1234
1235         * manual/time.texi (Formatting Date and Time): Revise comments about
1236         origins of the formats with ISO C99 references.
1237
1238 1999-10-30  Andreas Jaeger  <aj@suse.de>
1239
1240         * sysdeps/unix/sysv/linux/ifreq.h: New file.
1241
1242 1999-10-29  Andreas Jaeger  <aj@suse.de>
1243
1244         * manual/arith.texi (Parsing of Floats): Document the hexadecimal
1245         input format; mention that strtof and strtold are part of ISO C99.
1246
1247 1999-10-29  Ulrich Drepper  <drepper@cygnus.com>
1248
1249         * manual/math.texi (Errors in Math Functions): New section.
1250         * math/libm-err-tab.pl: Moved to...
1251         * manual/libm-err-tab.pl: ...here.
1252         * manual/Makefile: Add rules for math function error table generation.
1253
1254         * stdlib/tst-strtod.c: Add more hexadecimal tests.
1255
1256         * stdlib/strtod.c: Handle hexadecimal numbers with leading digit
1257         != 1 correctly and more than one digit before decimal point..
1258
1259 1999-10-27  Andreas Jaeger  <aj@suse.de>
1260
1261         * sysdeps/generic/ifreq.h: New file.
1262
1263         * resolv/res_hconf.c: Add missing includes to get all prototypes.
1264         (_res_hconf_reorder_addrs): Rewrite.  This never worked before.
1265         Reported by John DiMarco <jdd@cs.toronto.edu>.
1266
1267         (_res_hconf_reorder_addrs): Made thread safe.
1268         (free_mem): New function, needed for malloc debugging.
1269
1270 1999-10-29  Andreas Jaeger  <aj@suse.de>
1271
1272         * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ...
1273         * sysdeps/generic/opensock.c (__opensock): ...here in a new file.
1274         * sysdeps/unix/sysv/linux/if_index.c: Change all callers of
1275         opensock to use __opensock.
1276
1277         * socket/Makefile (routines): Add opensock.
1278
1279         * include/sys/socket.h (__opensock): Add prototype declaration.
1280
1281 1999-10-29  Andreas Jaeger  <aj@suse.de>
1282
1283         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing
1284         N_* constants.
1285         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1286
1287         * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added
1288         new constant from Linux 2.3.25pre1.
1289
1290         * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added.
1291
1292 1999-10-29  Andreas Jaeger  <aj@suse.de>
1293
1294         * math/libm-err-tab.pl: New file to generate a table of
1295         libm-test-ulps values.
1296
1297 1999-10-29  Ulrich Drepper  <drepper@cygnus.com>
1298
1299         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file.
1300         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect
1301         struct sigcontext* object as second parameter for profil_counter.
1302         Patches by Jakub Jelinek <jakub@redhat.com>.
1303
1304 1999-10-29  Andreas Jaeger  <aj@suse.de>
1305
1306         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs.
1307         * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
1308
1309         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts,
1310         efs, qnx4 and reiser file systems.
1311
1312 1999-10-29  Andreas Jaeger  <aj@suse.de>
1313
1314         * locale/Makefile (others): Set to localedef and locale for make
1315         clean.
1316
1317         * debug/Makefile (generated): Add xtrace for make clean to work.
1318
1319 1999-10-29  Andreas Jaeger  <aj@suse.de>
1320
1321         * stdlib/tst-strtod.c: Add two testcases for hexadecimal input.
1322
1323 1999-10-25  Andreas Jaeger  <aj@suse.de>
1324
1325         * math/libm-test.inc: Added code to ignore the given max ulps.
1326         (print_max_error): Check for ignore_max_ulp.
1327         (check_float_internal): Likewise.
1328         (parse_opt): Parse --ignore-max-ulp.
1329         (main): Initialize ignore_max_ulp.
1330
1331 1999-10-26  Andreas Jaeger  <aj@suse.de>
1332
1333         * stdlib/msort.c: Include <alloca.h> for prototype.
1334         Remove K&R compatibility and _quicksort prototype.
1335
1336         * stdlib/qsort.c: Make code and comments 64 bit clean; clarify
1337         some comments.
1338         Reported by Bernd Loechner <loechner@informatik.uni-kl.de>.
1339         Remove K&R compatibility.
1340         Move prototype declaration to include/stdlib.h.
1341         Include <alloca.h> for prototype; include <limits.h> for CHAR_BIT.
1342
1343         * include/stdlib.h: Prototype declaration for _quicksort.
1344
1345 1999-10-27  Andreas Jaeger  <aj@suse.de>
1346
1347         * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was
1348         shifted a bit too much.
1349         Reported by Eugen Dedu <dedu@ese-metz.fr>.
1350
1351 1999-10-25  Ulrich Drepper  <drepper@cygnus.com>
1352
1353         * resolv/gethnamaddr.c: Account bytes needed for alignment in
1354         buflen.  Patch by Olaf Kirch <okir@lst.de>.
1355
1356         * md5-crypt/md5test.c: Correct names of MD5 functions after
1357         removing of public names.
1358
1359         * configure.in: Don't allow --enable-kernel without parameter.
1360
1361 1999-10-25  Ulrich Drepper  <drepper@cygnus.com>
1362
1363         * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0
1364         problems.
1365
1366 1999-10-25  Thorsten Kukuk  <kukuk@suse.de>
1367
1368         * md5-crypt/md5.h: Remove prototypes for public interface.  md5 is
1369         only used internally.
1370         * md5-crypt/md5-crypt.c: Use internal names for md5 functions,
1371         remove weak alias for public names.
1372         * md5-crypt/md5.c: Remove weak aliase.
1373
1374 1999-10-25  Andreas Jaeger  <aj@suse.de>
1375
1376         * math/README.libm-test: New file, documents libm-test.inc.
1377
1378 1999-10-25  Andreas Jaeger  <aj@suse.de>
1379
1380         * math/gen-libm-test.pl: Only generate a new ulps file when -n is
1381         given.
1382         (print_ulps_file): Fix loops to not read @tests and @functions
1383         since those are not initialized with -n now.
1384         (parse_ulps): Set $results{..}{"kind"}.
1385
1386 1999-10-25  Andreas Jaeger  <aj@suse.de>
1387
1388         * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.
1389
1390         * math/libm-test.inc (check_float_internal): Don't print ulps for
1391         wrong sign of zero.
1392
1393 1999-10-20  Andreas Jaeger  <aj@suse.de>
1394
1395         * manual/socket.texi (Address Formats): Describe usage of AF_UNIX
1396         versus AF_LOCAL.
1397         Patch by Robert Bihlmeyer <robbe@orcus.priv.at>.
1398
1399 1999-10-24  Ulrich Drepper  <drepper@cygnus.com>
1400
1401         * math/libm-test.inc: Disable some boundary case tests for inline
1402         function testing.
1403
1404         * math/math.h: Pretty printing.
1405
1406         * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN.
1407         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1408         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1409         * sysdeps/i386/fpu/e_log10.S: Likewise.
1410         * sysdeps/i386/fpu/e_log10f.S: Likewise.
1411         * sysdeps/i386/fpu/e_log10l.S: Likewise.
1412         * sysdeps/i386/fpu/s_log1p.S: Likewise.
1413         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1414         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1415         * sysdeps/i386/fpu/s_log2.S: Likewise.
1416         * sysdeps/i386/fpu/s_log2f.S: Likewise.
1417         * sysdeps/i386/fpu/s_log2l.S: Likewise.
1418
1419         * sysdeps/i386/fpu/libm-test-ulps: New file.
1420
1421         * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return
1422         value for x == 0.
1423         (pow): Correct case x == 0.
1424         (__sgn1l): Correct handling of -0.0.
1425
1426 1999-10-22  Andreas Jaeger  <aj@suse.de>
1427
1428         * math/libm-test.inc (asinh_test): Add test for NaN as input parameter.
1429         (atan_test): Likewise.
1430         (atanh_test): Likewise.
1431         (atan2_test): Likewise.
1432         (carg_test): Likewise.
1433         (ceil_test): Likewise.
1434         (cos_test): Likewise.
1435         (cosh_test): Likewise.
1436         (cpow_test): Likewise.
1437         (erf_test): Likewise.
1438         (erfc_test): Likewise.
1439         (exp_test): Likewise.
1440         (exp10_test): Likewise.
1441         (exp2_test): Likewise.
1442         (expm1_test): Likewise.
1443         (fabs_test): Likewise.
1444         (floor_test): Likewise.
1445         (fmod_test): Likewise.
1446         (gamma_test): Likewise.
1447         (lgamma_test): Likewise.
1448         (log10_test): Likewise.
1449         (log1p_test): Likewise.
1450         (log2_test): Likewise.
1451         (logb_test): Likewise.
1452         (nearbyint_test): Likewise.
1453         (remainder_test): Likewise.
1454         (remquo_test): Likewise.
1455         (sin_test): Likewise.
1456         (sincos_test): Likewise.
1457         (sinh_test): Likewise.
1458         (sqrt_test): Likewise.
1459         (tan_test): Likewise.
1460         (tanh_test): Likewise.
1461         (tgamma_test): Likewise.
1462
1463 1999-10-21  Ulrich Drepper  <drepper@cygnus.com>
1464
1465         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y.
1466
1467         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special.
1468
1469         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check
1470         for -Inf and return NaN.
1471
1472         * configure.in: Correct test for Cygnus gcc versions.
1473
1474 1999-10-21  Andreas Jaeger  <aj@suse.de>
1475
1476         * math/libm-test.inc (cimag_test): New function, tests cimag.
1477         (creal_test): New function, tests creal.
1478         (conj_test): New function, tests conj.
1479         (main): Add new functions.
1480
1481 1999-10-20  Andreas Jaeger  <aj@suse.de>
1482
1483         * math/libm-test.inc: Rewrite to allow different deltas for real
1484         and imaginary part of complex functions.
1485         * math/gen-libm-test.pl: Likewise.
1486
1487 1999-10-19  Ulrich Drepper  <drepper@cygnus.com>
1488
1489         * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
1490         aliases.
1491
1492         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.
1493
1494         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
1495         for -Inf and return NaN.
1496
1497         * math/gen-libm-test.pl: Fix program name in help message.
1498
1499         * math/libm-test.inc (check_complex): It's Imaginary, not Complex.
1500
1501         * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.
1502
1503         * sysdeps/i386/Implies: Correct order of libm directories.
1504
1505 1999-10-19  Andreas Jaeger  <aj@suse.de>
1506
1507         * include/bits/ipc.h: Remove K&R compatibility.
1508         * include/libintl.h: Likewise.
1509         * include/math.h: Likewise.
1510         * include/mntent.h: Likewise
1511         * include/netdb.h: Likewise.
1512         * include/pwd.h: Likewise.
1513         * include/sched.h: Likewise.
1514         * include/shadow.h: Likewise
1515         * include/stdlib.h: Likewise.
1516         * include/sys/file.h: Likewise.
1517         * include/sys/gmon.h: Likewise.
1518         * include/sys/ioctl.h: Likewise.
1519         * include/sys/mman.h: Likewise.
1520         * include/sys/resource.h: Likewise.
1521         * include/sys/socket.h: Likewise.
1522         * include/sys/stat.h: Likewise.
1523         * include/sys/sysinfo.h: Likewise.
1524         * include/sys/time.h: Likewise.
1525         * include/sys/times.h: Likewise.
1526         * include/sys/uio.h: Likewise.
1527         * include/sys/wait.h: Likewise.
1528         * include/termios.h: Likewise.
1529         * include/time.h: Likewise.
1530         * include/ulimit.h: Likewise.
1531         * include/utmp.h: Likewise.
1532         * include/wchar.h: Likewise.
1533         * include/wctype.h: Likewise.
1534
1535 1999-10-19  Andreas Jaeger  <aj@suse.de>
1536
1537         * math/libm-test.inc: Remove one K&R compatibility.
1538         (main): Enable nexttoward_test.
1539
1540         * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
1541         libm-test-ulps.h; pretty print output a bit.
1542
1543 1999-10-19  Andreas Jaeger  <aj@suse.de>
1544
1545         * iconv/iconv_prog.c (main): Set exit value in case that reading
1546         from stdin failed [PR libc/1404].
1547
1548 1999-10-18  Andreas Jaeger  <aj@suse.de>
1549
1550         Added improved math testsuite:
1551         * math/libm-test.inc: New file, contains all tests from
1552         libm-test.c but in a different form.
1553         * math/libm-test.c: Removed.
1554         * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file.
1555         * math/gen-libm-test.pl: New file: Preprocessor.
1556         * math/test-double.c: Adopted to new testsuite.
1557         * math/test-idouble.c: Likewise.
1558         * math/test-float.c: Likewise.
1559         * math/test-ifloat.c: Likewise.
1560         * math/test-ldouble.c: Likewise.
1561         * math/test-ildoubl.c: Likewise.
1562         * math/Makefile: Added rules to generate new suite.
1563
1564 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
1565
1566         * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
1567         Patch by J. Richard Sladkey <jrs@world.std.com>.
1568
1569         * scripts/config.sub: Update from latest autoconf version.
1570         * scripts/config.guess: Likewise.
1571
1572 1999-10-18  Andreas Jaeger  <aj@suse.de>
1573
1574         * inet/arpa/inet.h: Remove K&R compatibility.
1575         * math/fenv.h: Likewise.
1576
1577 1999-10-18  Andreas Jaeger  <aj@suse.de>
1578
1579         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
1580         kernel_sigaction): Remove K&R compatibility.
1581         * sysdeps/unix/sysv/linux/net/if.h: Likewise.
1582         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
1583         * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
1584         * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
1585         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
1586         * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
1587         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
1588         * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
1589         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
1590         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
1591         * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
1592         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
1593         * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
1594         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
1595         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1596         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1597         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
1598
1599 1999-10-18  Andreas Jaeger  <aj@suse.de>
1600
1601         * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
1602         Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
1603
1604 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
1605
1606         * po/gl.po: New file.
1607
1608 1999-10-18  Andreas Schwab  <schwab@suse.de>
1609
1610         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
1611         namespace selection.
1612
1613 1999-10-18  Andreas Schwab  <schwab@suse.de>
1614
1615         * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
1616         clash with the TERM environment variable.
1617
1618 1999-10-18  Andreas Jaeger  <aj@suse.de>
1619
1620         * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
1621         returns now NaN + i NaN.
1622         * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
1623         * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
1624
1625 1999-10-18  Andreas Jaeger  <aj@suse.de>
1626
1627         * include/aio.h: Remove K&R compatiblity.
1628         * include/alloca.h: Likewise.
1629         * include/db.h: Likewise.
1630         * include/dirent.h: Likewise.
1631         * include/fcntl.h: Likewise.
1632         * include/fpu_control.h: Likewise.
1633         * include/glob.h: Likewise.
1634         * include/grp.h: Likewise.
1635         * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
1636         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
1637         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
1638         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1639
1640         * include/execinfo.h: Add __THROW.
1641
1642 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
1643
1644         * sysdeps/mips/Implies: Remove wordsize-32 reference.
1645         * sysdeps/mips/mips3/Implies: Add it here.
1646
1647 1999-10-17  Ulrich Drepper  <drepper@cygnus.com>
1648
1649         * elf/elf.h: Add various platform and architecture extensions.
1650
1651         * locale/lc-collate.c (_nl_postload_collate): Disable code for now.
1652         * locale/setlocale.c (setlocale): Don't call _nl_find_locale for
1653         LC_ALL.
1654
1655         * socket/sys/socket.h: Remove K&R compatibility.
1656
1657 1999-10-16  Andreas Jaeger  <aj@suse.de>
1658
1659         * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
1660
1661 1999-10-15  Andreas Jaeger  <aj@suse.de>
1662
1663         * stdlib/Makefile (tests): Added tst-xpg-basename.
1664
1665         * stdlib/tst-xpg-basename.c: New test file.
1666
1667 1999-10-14  Cristian Gafton  <gafton@redhat.com>
1668
1669         * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
1670
1671 1999-10-14  Andreas Jaeger  <aj@suse.de>
1672
1673         * resolv/inet_addr.c (inet_aton): Fix last patch.  The little
1674         endian version works for both endiannesses.
1675
1676         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
1677         seconds.
1678
1679 1999-10-12  Ulrich Drepper  <drepper@cygnus.com>
1680
1681         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
1682         register names unconditionally, only if __USE_GNU.
1683
1684         * debug/Makefile: Fix rules to generate pcprofiledump.
1685
1686         * include/ucontext.h: New file.
1687
1688         * locale/setlocale.c: Fix gcc warning about uninitialized variable.
1689
1690 1999-10-12  Andreas Jaeger  <aj@suse.de>
1691
1692         * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
1693
1694         * math/basic-test.c: Fix typo.
1695
1696         * locale/programs/xstrdup.c: Include string.h for glibc
1697         compilation to get string prototypes.
1698
1699         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
1700         gregset_t and fpregset_t.
1701
1702         * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
1703         warnings.  Correct value for x == 0.
1704
1705         * argp/argp-help.c: Remove broken definition of flockfile and
1706         funlockfile.
1707
1708 1999-10-12  Andreas Schwab  <schwab@suse.de>
1709
1710         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
1711         generic Linux version.
1712
1713 1999-10-12  Ulrich Drepper  <drepper@cygnus.com>
1714
1715         * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
1716
1717 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
1718
1719         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
1720         and fpregset_t definitions.
1721
1722         * malloc/memprof.c (GETSP): Define for PowerPC.
1723         (GETTIME): Fix generic version.
1724
1725 1999-10-10  Philip Blundell  <philb@gnu.org>
1726
1727         * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
1728         __BYTE_ORDER.
1729
1730 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
1731
1732         * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
1733         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
1734         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
1735         * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
1736
1737         * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
1738
1739         * sysdeps/powerpc/e_sqrt.c: Moved to...
1740         * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
1741         * sysdeps/powerpc/e_sqrtf.c: Moved to...
1742         * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
1743
1744         * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
1745         * sysdeps/powerpc/sub_n.S: Likewise.
1746         * sysdeps/powerpc/strlen.S: Likewise.
1747         * sysdeps/powerpc/strcpy.S: Likewise.
1748         * sysdeps/powerpc/strcmp.S: Likewise.
1749         * sysdeps/powerpc/strchr.S: Likewise.
1750         * sysdeps/powerpc/stpcpy.S: Likewise.
1751         * sysdeps/powerpc/setjmp.S: Likewise.
1752         * sysdeps/powerpc/rshift.S: Likewise.
1753         * sysdeps/powerpc/ppc-mcount.S: Likewise.
1754         * sysdeps/powerpc/mul_1.S: Likewise.
1755         * sysdeps/powerpc/memset.S: Likewise.
1756         * sysdeps/powerpc/lshift.S: Likewise.
1757         * sysdeps/powerpc/dl-start.S: Likewise.
1758         * sysdeps/powerpc/bzero.S: Likewise.
1759         * sysdeps/powerpc/bsd-setjmp.S: Likewise.
1760         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
1761         * sysdeps/powerpc/addmul_1.S: Likewise.
1762         * sysdeps/powerpc/add_n.S: Likewise.
1763         * sysdeps/powerpc/__longjmp.S: Likewise.
1764         * sysdeps/powerpc/elf/start.S: Likewise.
1765
1766 1999-10-11  Cristian Gafton  <gafton@redhat.com>
1767
1768         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
1769         SA_SIGINFO.
1770
1771 1999-10-10  Ulrich Drepper  <drepper@cygnus.com>
1772
1773         * stdlib/atexit.c (initial): New variable.  Use to initialize
1774         __exit_funcs.
1775         * stdlib/exit.c (exit): Beware to not free statically allocated
1776         list element [PR libc/1305].
1777
1778         * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
1779         slash before the basename [PR libc/1383].
1780
1781         * argp/argp.h: Fix typo in last patch.
1782
1783         * sysdeps/powerpc/sysdep.h: New file.
1784         * sysdeps/unix/powerpc/sysdep.h: New file.
1785         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
1786         sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
1787         * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
1788         instead of bare numbers.
1789         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
1790         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
1791         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
1792
1793         * sysdeps/hppa/sysdep.h: New file.
1794
1795 1999-10-10  Andreas Jaeger  <aj@suse.de>
1796
1797         * misc/sgtty.h: Fix typo in last patch.
1798
1799 1999-10-09  Ulrich Drepper  <drepper@cygnus.com>
1800
1801         * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
1802         * sysdeps/powerpc/s_copysign.S: Move to...
1803         * sysdeps/powerpc/fpu/s_copysign.S: ...here.  Use portable asm syntax.
1804         * sysdeps/powerpc/s_copysignf.S: Move to...
1805         * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
1806         * sysdeps/powerpc/s_fabs.S: Move to...
1807         * sysdeps/powerpc/fpu/s_fabs.S: ...here.  Use portable asm syntax.
1808         * sysdeps/powerpc/s_fabsf.S: Move to...
1809         * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
1810         * sysdeps/powerpc/s_fdim.c: Move to...
1811         * sysdeps/powerpc/fpu/s_fdim.c: ...here.
1812         * sysdeps/powerpc/s_fdimf.c: Move to...
1813         * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
1814         * sysdeps/powerpc/s_fmax.S: Move to...
1815         * sysdeps/powerpc/fpu/s_fmax.S: ...here.  Use portable asm syntax.
1816         * sysdeps/powerpc/s_fmaxf.S: Move to...
1817         * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
1818         * sysdeps/powerpc/s_fmin.S: Move to...
1819         * sysdeps/powerpc/fpu/s_fmin.S: ...here.  Use portable asm syntax.
1820         * sysdeps/powerpc/s_fminf.S: Move to...
1821         * sysdeps/powerpc/fpu/s_fminf.S: ...here.
1822         * sysdeps/powerpc/s_isnan.S: Move to...
1823         * sysdeps/powerpc/fpu/s_isnan.c: ...here.
1824         * sysdeps/powerpc/s_isnanf.S: Move to...
1825         * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
1826         * sysdeps/powerpc/s_llrint.c: Move to...
1827         * sysdeps/powerpc/fpu/s_llrint.c: ...here.
1828         * sysdeps/powerpc/s_llrintf.c: Move to...
1829         * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
1830         * sysdeps/powerpc/s_llround.c: Move to...
1831         * sysdeps/powerpc/fpu/s_llround.c: ...here.
1832         * sysdeps/powerpc/s_llroundf.c: Move to...
1833         * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
1834         * sysdeps/powerpc/s_lrint.c: Move to...
1835         * sysdeps/powerpc/fpu/s_lrint.c: ...here.
1836         * sysdeps/powerpc/s_lrintf.S: Move to...
1837         * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
1838         * sysdeps/powerpc/s_lround.c: Move to...
1839         * sysdeps/powerpc/fpu/s_lround.c: ...here.
1840         * sysdeps/powerpc/s_lroundf.c: Move to...
1841         * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
1842         * sysdeps/powerpc/s_rint.c: Move to...
1843         * sysdeps/powerpc/fpu/s_rint.c: ...here.
1844         * sysdeps/powerpc/s_rintf.c: Move to...
1845         * sysdeps/powerpc/fpu/s_rintf.c: ...here.
1846         * sysdeps/powerpc/t_sqrt.c: Move to...
1847         * sysdeps/powerpc/fpu/t_sqrt: ...here.
1848         * sysdeps/powerpc/w_sqrt.c: Move to...
1849         * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
1850         * sysdeps/powerpc/w_sqrtf.c: Move to...
1851         * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
1852         * configure.in: Support platforms which have no .text pseudo-op.
1853         Patches partly by Jimi X <jimix@pobox.com>.
1854
1855         * Makeconfig: Look also in all subdirs for shlib-versions files.
1856
1857         * malloc/memprof.sh: Fix --help string a bit.
1858
1859         * argp/argp.h: Remove K&R compatiblity.
1860         * assert/assert.h: Likewise.
1861         * catgets/nl_types.h: Likewise.
1862         * ctype/ctype.h: Likewise.
1863         * db/db.h: Likewise.
1864         * db/ndbm.h: Likewise.
1865         * db2/db.h: Likewise.
1866         * db2/db_185.h: Likewise.
1867         * debug/execinfo.h: Likewise.
1868         * dirent/dirent.h: Likewise.
1869         * dlfcn/dlfcn.h: Likewise.
1870         * gmon/sys/gmon.h: Likewise.
1871         * grp/grp.h: Likewise.
1872         * iconv/gconv.h: Likewise.
1873         * iconv/iconv.h: Likewise.
1874         * include/execinfo.h: Likewise.
1875         * inet/aliases.h: Likewise.
1876         * inet/netinet/ether.h: Likewise.
1877         * inet/netinet/in.h: Likewise.
1878         * intl/libintl.h: Likewise.
1879         * io/fcntl.h: Likewise.
1880         * io/fts.h: Likewise.
1881         * io/ftw.h: Likewise.
1882         * io/utime.h: Likewise.
1883         * io/sys/poll.h: Likewise.
1884         * io/sys/stat.h: Likewise.
1885         * io/sys/statfs.h: Likewise.
1886         * io/sys/statvfs.h: Likewise.
1887         * libio/libio.h: Likewise.
1888         * libio/stdio.h: Likewise.
1889         * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
1890         * locale/locale.h: Likewise.
1891         * login/pty.h: Likewise.
1892         * login/utmp.h: Likewise.
1893         * malloc/mcheck.h: Likewise.
1894         * math/complex.h: Likewise.
1895         * math/math.h: Likewise.
1896         * math/math_private.h: Likewise.
1897         * misc/err.h: Likewise.
1898         * misc/fstab.h: Likewise.
1899         * misc/libgen.h: Likewise.
1900         * misc/mntent.h: Likewise.
1901         * misc/regexp.h: Likewise.
1902         * misc/search.h: Likewise.
1903         * misc/sgtty.h: Likewise.
1904         * misc/ttyent.h: Likewise.
1905         * misc/sys/cdefs.h: Likewise.
1906         * misc/sys/file.h: Likewise.
1907         * misc/sys/ioctl.h: Likewise.
1908         * misc/sys/mman.h: Likewise.
1909         * misc/sys/select.h: Likewise.
1910         * misc/sys/syslog.h: Likewise.
1911         * misc/sys/uio.h: Likewise.
1912         * misc/sys/ustat.h: Likewise.
1913         * nss/nss.h: Likewise.
1914         * posix/sched.h: Likewise.
1915         * posix/unistd.h: Likewise.
1916         * posix/wordexp.h: Likewise.
1917         * posix/sys/times.h: Likewise.
1918         * posix/sys/utsname.h: Likewise.
1919         * posix/sys/wait.h: Likewise.
1920         * pwd/pwd.h: Likewise.
1921         * resolv/netdb.h: Likewise.
1922         * resolv/resolv.h: Likewise.
1923         * resource/ulimit.h: Likewise.
1924         * resource/sys/resource.h: Likewise.
1925         * resource/sys/vlimit.h: Likewise.
1926         * resource/sys/vtimes.h: Likewise.
1927         * rt/aio.h: Likewise.
1928         * setjmp/setjmp.h: Likewise.
1929         * shadow/shadow.h: Likewise.
1930         * signal/signal.h: Likewise.
1931         * socket/socket.h: Likewise.
1932         * stdio/stdio.h: Likewise.
1933         * stdio-common/_itoa.h: Likewise.
1934         * stdio-common/_itowa.h: Likewise.
1935         * stdio-common/printf.h: Likewise.
1936         * stdlib/alloca.h: Likewise.
1937         * stdlib/fmtmsg.h: Likewise.
1938         * stdlib/monetary.h: Likewise.
1939         * stdlib/stdlib.h: Likewise.
1940         * stdlib/ucontext.h: Likewise.
1941         * streams/stropts.h: Likewise.
1942         * string/argz.h: Likewise.
1943         * string/envz.h: Likewise.
1944         * string/string.h: Likewise.
1945         * string/strings.h: Likewise.
1946         * string/bits/string2.h: Likewise.
1947         * sunrpc/rpc/auth.h: Likewise.
1948         * sunrpc/rpc/auth_des.h: Likewise.
1949         * sunrpc/rpc/auth_unix.h: Likewise.
1950         * sunrpc/rpc/clnt.h: Likewise.
1951         * sunrpc/rpc/des_crypt.h: Likewise.
1952         * sunrpc/rpc/netdb.h: Likewise.
1953         * sunrpc/rpc/pmap_clnt.h: Likewise.
1954         * sunrpc/rpc/pmap_prot.h: Likewise.
1955         * sunrpc/rpc/pmap_rmt.h: Likewise.
1956         * sunrpc/rpc/rpc_msg.h: Likewise.
1957         * sunrpc/rpc/svc.h: Likewise.
1958         * sunrpc/rpc/svc_auth.h: Likewise.
1959         * sunrpc/rpc/xdr.h: Likewise.
1960         * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
1961         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1962         * sysvipc/sys/ipc.h: Likewise.
1963         * sysvipc/sys/msg.h: Likewise.
1964         * sysvipc/sys/sem.h: Likewise.
1965         * sysvipc/sys/shm.h: Likewise.
1966         * termios/termios.h: Likewise.
1967         * time/time.h: Likewise.
1968         * time/sys/time.h: Likewise.
1969         * time/sys/timeb.h: Likewise.
1970         * wcsmbs/wchar.h: Likewise.
1971         * wctype/wctype.h: Likewise.
1972
1973 1999-10-05  Roland McGrath  <roland@baalperazim.frob.com>
1974
1975         * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
1976         _GNU_SOURCE be defined.
1977
1978 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
1979
1980         * ctype/ctype.h: Pretty print.
1981
1982         * po/cs.po: Fix typos.
1983
1984         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
1985         handling of empty entries.  [PR libc/1345]
1986         Patch by Thorsten Kukuk <kukuk@suse.de>.
1987
1988 1999-10-08  Andreas Schwab  <schwab@suse.de>
1989
1990         * debug/xtrace.sh: Fix quoting bugs.  Implement --help and --version.
1991
1992 1999-10-08  Andreas Schwab  <schwab@suse.de>
1993
1994         * debug/pcprofiledump.c: Fix typos.
1995
1996 1999-10-07  Andreas Jaeger  <aj@suse.de>
1997
1998         * math/Makefile (tests): Added basic-tests.
1999
2000         * math/basic-test.c: New file.  Contains function basic_tests from
2001         libm-test.
2002
2003 1999-10-07  Andreas Schwab  <schwab@suse.de>
2004
2005         * malloc/memprof.sh: Fix quoting bugs.
2006
2007 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
2008
2009         * timezone/europe: Update from tzdata1999h.
2010
2011 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
2012
2013         * elf/elf.h: Update from last gABI draft.
2014
2015         * elf/elf.h: Remove EM_486 entry.
2016         * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
2017         test for EM_486.
2018
2019 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
2020
2021         * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
2022         Add rules for both programs.
2023         * debug/pcprofiledump.c: New file.
2024         * debug/xtrace.sh: New file.
2025         * debug/pcprofile.c: Allow creating output file.  Add magic signature
2026         to let reader recognize file format.
2027
2028 1999-10-06  Ulrich Drepper  <drepper@cygnus.com>
2029
2030         * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
2031
2032 1999-10-05  Andreas Jaeger  <aj@suse.de>
2033
2034         * locale/programs/ld-identification.c: Fix typo in comment.
2035         * locale/programs/ld-messages.c: Likewise.
2036         * locale/programs/ld-monetary.c: Likewise.
2037         * locale/programs/ld-name.c: Likewise.
2038
2039         * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
2040         (collate_read): Remove unnecessary comparisons with ignore_content.
2041
2042         * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
2043         assigned elements.
2044         (ctype_read): Remove unnecessary comparisons with ignore_content.
2045         Fix typos in comments.
2046
2047         * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
2048         comparisons with ignore_content.
2049
2050 1999-10-05  Ulrich Drepper  <drepper@cygnus.com>
2051
2052         * po/cs.po: Update.
2053
2054         * time/time.h: Move __gmtime_r declaration to ...
2055         * include/time.h: ...here.
2056
2057 1999-10-05  Andreas Jaeger  <aj@suse.de>
2058
2059         * manual/message.texi (The message catalog files): Fix description
2060         to match gencat implementation and Unix98: Message fields are
2061         separated by a single blank space.
2062
2063 1999-10-05  Andreas Jaeger  <aj@suse.de>
2064
2065         * manual/string.texi (Search Functions): Add missing end for
2066         memrchr description.
2067
2068 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
2069
2070         * malloc/memprof.sh: Various small cleanups.  Add short options.
2071         Write error messages to stderr.
2072
2073         * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
2074
2075         * malloc/memprof.sh: Take options to control memprofstat.
2076
2077         * malloc/Makefile: Add rule to generate memprof script.
2078         * malloc/memprof.sh: New file.
2079
2080         * elf/ldd.bash.in: Add "Usage: " in help message to comply with
2081         GNU standard.
2082
2083 1999-10-04  Andreas Jaeger  <aj@suse.de>
2084
2085         * configure.in: Allow makeinfo 4.*.
2086
2087 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
2088
2089         * stdio-common/vfprintf.c: Correct last patch and use outchar
2090         instead of PUTC to output single characters.
2091         * stdio-common/Makefile (tests): Add bug13.
2092         * stdio-common/bug13.c: New file.
2093
2094         * configure.in: Add additional options --with-gd-include and
2095         --with-gd-lib to help people with strange installations.
2096
2097         * malloc/Makefile: Add libdl dependency to libmemprof.so.
2098         * malloc/Depend: New file.
2099
2100 1999-10-04  Andreas Jaeger  <aj@suse.de>
2101
2102         * timezone/README: Change wording to not mention the current
2103         version.  This way we can't forget to update the file.
2104
2105 1999-10-04  Andreas Jaeger  <aj@suse.de>
2106
2107         * manual/time.texi (Basic CPU Time): Fix typo.
2108         Reported by Ben Pfaff <pfaffben@msu.edu>.
2109
2110 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
2111
2112         * string/string.h: Move __memrchr declaration to ...
2113         * include/string.h: ...here.
2114
2115 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
2116
2117         * string/Makefile (routines): Add memrchr.
2118
2119         * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
2120         Correct order of tests for matching bytes.
2121
2122         * string/tester.c: Add tests for memrchr.
2123
2124         * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
2125         Start from the last character and take decrement not increment
2126         into account for correction in return line.  Add memrchr alias.
2127         * sysdeps/i386/bits/string.h: Likewise.
2128
2129 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
2130
2131         * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
2132
2133 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
2134
2135         * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
2136
2137         * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
2138         conventions.
2139
2140         * string/Versions: Export memrchr.
2141
2142 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
2143
2144         * misc/Versions (GLIBC_2.2): Add getloadavg.
2145         * misc/Makefile (routines): Add getloadavg.
2146         * sysdeps/generic/getloadavg.c: New file.
2147         * sysdeps/mach/getloadavg.c: New file.
2148         * sysdeps/unix/sysv/linux/getloadavg.c: New file.
2149
2150         * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
2151         * sysdeps/i386/bits/string.h (__memrchr): New function.
2152         * string/string.h: Declare memrchr, __memrchr.
2153         * manual/string.texi (Search Functions): Document memrchr.
2154
2155 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
2156
2157         * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
2158         CFLAGS-memprofstat.c, and LIBGD variables.
2159         * config.make.in: Add LIBGD.
2160         * malloc/Makefile: Add rules to generate libmemprof.so and
2161         memprofstat.
2162         * malloc/memprof.c: New file.
2163         * malloc/memprofstat.c: New file.
2164
2165 1999-10-02  Ulrich Drepper  <drepper@cygnus.com>
2166
2167         * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
2168
2169         * resolv/inet_ntop.c (inet_ntop4): Little optimization.
2170         (inet_ntop6): Likewise.
2171
2172         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
2173         overruns.
2174
2175         * resolv/tst-aton.c (main): Add more tests.
2176
2177         * resolv/inet_addr.c (inet_aton): Correct some problems with to
2178         large numbers.  Optimize a bit.
2179
2180 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
2181
2182         * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
2183         account for added '0'.
2184
2185         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
2186         handling of IPv6 tunnel address handling with bind 8.2.1.  Allow
2187         len argument to be greater than needed address size.
2188
2189 1999-10-01  Andreas Jaeger  <aj@suse.de>
2190
2191         * locale/programs/ld-collate.c (insert_value): Add cast to avoid
2192         warning.
2193         * intl/finddomain.c (_nl_find_domain): Likewise.
2194
2195 1999-09-30  Andreas Schwab  <schwab@suse.de>
2196
2197         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
2198
2199 1999-09-30  Andreas Jaeger  <aj@suse.de>
2200
2201         * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
2202         * sysdeps/i386/rshift.S: Likewise.
2203         * sysdeps/i386/strchrnul.S: Likewise.
2204         * sysdeps/i386/strchr.S: Likewise.
2205         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
2206         PR libc/1339.
2207
2208 1999-09-30  Andreas Jaeger  <aj@suse.de>
2209
2210         * manual/examples/pipe.c: Close other end of pipe to make example work.
2211
2212 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
2213
2214         * timezone/checktab.awk: Update from tzcode1999g.
2215         * timezone/tzselect.ksh: Likewise.
2216         * timezone/africa: Update from tzdata1999g.
2217         * timezone/asia: Likewise.
2218         * timezone/australasia: Likewise.
2219         * timezone/europe: Likewise.
2220         * timezone/northamerica: Likewise.
2221         * timezone/southamerica: Likewise.
2222         * timezone/iso3166.tab: Likewise.
2223         * timezone/zone.tab: Likewise.
2224
2225 1999-09-27  Andreas Jaeger  <aj@suse.de>
2226
2227         * resolv/netdb.h: Remove declaration of getnodebyname.  It has
2228         been renamed to getipnodebyname.  Move flags around.
2229
2230 1999-09-27  Andreas Schwab  <schwab@suse.de>
2231
2232         * manual/message.texi (Locating gettext catalog): Fix typos.
2233
2234 1999-09-27  Andreas Jaeger  <aj@suse.de>
2235
2236         * manual/socket.texi (Out-of-Band Data): Correct example program,
2237         rename some variables for clarity.
2238         Reported by James Antill <james@and.org>, close PR libc/1329.
2239
2240 1999-09-27  Ulrich Drepper  <drepper@cygnus.com>
2241
2242         * locale/programs/ld-collate.c (insert_value): Add hack to not
2243         crash in incomplete collate implementation.
2244
2245         * locale/programs/ld-collate.c (read_directions): Read new token
2246         after accepting sorting rule.
2247
2248 1999-09-26  Ulrich Drepper  <drepper@cygnus.com>
2249
2250         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
2251         error message printing.  Correctly test whether all characters of
2252         current token are used.
2253         (ctype_read): NUL terminate last_str.
2254
2255 1999-09-26  Thorsten Kukuk  <kukuk@suse.de>
2256
2257         * nscd/connections.c: Invalidate caches on request.
2258         * nscd/nscd-client.h: Add INVALIDATE to request_type.
2259         * nscd/nscd.c: Add invalidate cache option.
2260         * nscd/nscd.conf: Change log directory to /var/log (FHS).
2261
2262 1999-09-24  Ulrich Drepper  <drepper@cygnus.com>
2263
2264         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
2265         not ovverwrite last group member with NULL pointer.
2266         Reported by Thomas Winder <thomas.winder@newlogic.at>.
2267
2268 1999-09-24  Andreas Jaeger  <aj@suse.de>
2269
2270         * stdio-common/tst-printf.c (main): Add a testcase for large
2271         precision.  Reported by Tymm Twillman <tymm@coe.missouri.edu>.
2272
2273 1999-09-24  Andreas Schwab  <schwab@suse.de>
2274
2275         * math/bits/mathcalls.h: Fix last change.  Also declare __finite.
2276
2277 1999-09-24  Andreas Jaeger  <aj@suse.de>
2278
2279         * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
2280         normalized_codeset.  Reported by Belicky Zsolt <zsolt@prolan.hu>.
2281
2282 1999-09-23  Mark Kettenis  <kettenis@gnu.org>
2283
2284         * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
2285         variable.  Define MORECORE_CLEARS to 2.
2286
2287         * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
2288         doesn't clear the contents of memory that is reallocated after
2289         decrementing the break value first.  Update comment about
2290         MORECORE_CLEARS, explaining the meaning of the values it can be
2291         set to.
2292
2293 1999-09-23  Ulrich Drepper  <drepper@cygnus.com>
2294
2295         * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
2296         one more case.
2297
2298         * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
2299         (log): Likewise.
2300         (log10): Likewise.
2301         (log1p): Likewise.
2302         (log2): Likewise.
2303
2304 1999-09-22  Andreas Jaeger  <aj@suse.de>
2305
2306         * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
2307         reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
2308
2309 1999-09-22  Andreas Schwab  <schwab@suse.de>
2310
2311         * stdio-common/vfscanf.c: Fix width handling when scanning floats.
2312
2313 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2314
2315         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
2316         the source directory.  Fixes PR libc/1059.
2317
2318 1999-09-21  Ulrich Drepper  <drepper@cygnus.com>
2319
2320         * locale/programs/repertoire.c (repertoire_find_value): Abort if
2321         rep parameter is NULL.
2322         (repertoire_find_symbol): Likewise.
2323         (repertoire_find_seq): Likewise.
2324
2325 1999-09-20  Jean-Louis Martineau  <martinea@IRO.UMontreal.CA>
2326
2327         * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
2328         returned errno value in some cases.
2329
2330 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
2331
2332         * iconvdata/Makefile (modules): Add GBK.
2333         (distribute): Add gbk.c.
2334         * iconvdata/gbk.c: New file.
2335         * iconvdata/gconv-modules: Add GBK entry.
2336         Contributed by Sean Chen <sean.chen@turbolinux.com>.
2337
2338         * locale/programs/ld-monetary.c (monetary_output): Remove
2339         byte-order code.
2340
2341         * locale/programs/ld-time.c (time_output): Correct expected number
2342         of iov entries.
2343
2344         * manual/filesys.texi (Testing File Access): Correct description of
2345         SUID.
2346
2347 1999-080-25  H.J. Lu  <hjl@gnu.org>
2348
2349         * csu/defs.awk (.end): Only match with leading white spaces.
2350         (.align): Likewise.
2351
2352 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
2353
2354         * stdlib/isomac.c: Add va_copy to allowed macros.
2355
2356         * po/pl.po: Updated.
2357
2358 1999-09-17  Andreas Schwab  <schwab@suse.de>
2359
2360         * Makefile (clean): Also remove $(postclean) files.
2361
2362 1999-09-15  Andreas Jaeger  <aj@suse.de>
2363
2364         * pwd/Makefile (otherlibs): Add for building with static-nss.
2365         * inet/Makefile (otherlibs): Likewise.
2366
2367 1999-09-15  Andreas Jaeger  <aj@suse.de>
2368
2369         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
2370         function definition to avoid a compilation failure.
2371
2372 1999-09-15  Andreas Jaeger  <aj@suse.de>
2373
2374         * stdlib/tst-environ.c (main): Add getenv regression test for
2375         environment variable that's one character long.
2376
2377 1999-09-15  Andreas Jaeger  <aj@suse.de>
2378
2379         * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
2380         signal definitions to let glibc compile with older Linux versions
2381         (2.0.10 to 2.1.100 or so).
2382
2383 1999-09-18  Roland McGrath  <roland@baalperazim.frob.com>
2384
2385         * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
2386         return zero to indicate no children died yet (assuming WNOHANG).
2387
2388         * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
2389
2390 1999-09-17  Roland McGrath  <roland@baalperazim.frob.com>
2391
2392         * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
2393
2394         * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
2395         Return _hurd_pgrp instead of 0.
2396
2397 1999-09-19  Roland McGrath  <roland@baalperazim.frob.com>
2398
2399         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
2400         pages rather than just reprotecting them.  This way we don't hold on
2401         to the backing space.
2402
2403         * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
2404         Use __munmap instead of __vm_deallocate.
2405
2406 1999-09-18  Ulrich Drepper  <drepper@cygnus.com>
2407
2408         * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
2409         returned errno value in some cases.
2410
2411 1999-09-17  Andreas Jaeger  <aj@suse.de>
2412
2413         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
2414         to override user settings.
2415
2416 1999-09-17  Andreas Schwab  <schwab@suse.de>
2417
2418         * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
2419         using a pointer to it.
2420
2421 1999-09-16  Ulrich Drepper  <drepper@cygnus.com>
2422
2423         * time/getdate.c (__getdate_r): Pass correct year to check_mday.
2424         Reported by Vern Staats <staatsvr@asc.hpc.mil>.
2425
2426 1999-09-14  Ulrich Drepper  <drepper@cygnus.com>
2427
2428         * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
2429
2430         * elf/elf.h (PF_MASKOS): New definition.
2431         (EM_VAX): New definition.
2432
2433 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
2434
2435         * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
2436         'unsigned char ftype[8]', and 'unsigned int init_flag' to
2437         struct user_fp.  These were added in version 2.2.12 of the
2438         ARM Linux kernel.
2439         * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
2440         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
2441         The generic procfs.h included <asm/elf.h>.  This causes
2442         structure redefinition errors when <sys/user.h> and <sys/procfs.h>
2443         are included in the same source file.  Found when building GDB.
2444
2445 1999-09-13  Ulrich Drepper  <drepper@cygnus.com>
2446
2447         * locale/langinfo.h: Remove byte-order dependent names.
2448         * locale/categories.def: Update after removal of byte-order dependent
2449         names.
2450         * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
2451         with magic number in other byte order.
2452         * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
2453         * locale/C-collate.c: Remove initializers for other byte-order.
2454         * locale/C-ctype.c: Likewise.
2455         * locale/C-monetary.c: Likewise.
2456         * locale/C-paper.c: Likewise.
2457         * locale/C-time.c: Likewise.
2458         * locale/lc-collate.c: Remove byte-order oriented initialization.
2459         * locale/lc-ctype.c: Likewise.
2460         * locale/lc-monetary.c: Likewise.
2461         * locale/lc-time.c: Likewise.
2462         * locale/programs/ld-address.c: Don't generate output in both
2463         byte-orders.
2464         * locale/programs/ld-ctype.c: Likewise.
2465         * locale/programs/ld-paper.c: Likewise.
2466         * locale/programs/ld-time.c: Likewise.
2467         * time/strftime.c (NLW): Don't use different byte-orders.
2468         * wctype/cname-lookup.h (cname_lookup): Likewise.
2469
2470         * Makeconfig (localedir): Define using libdir, not datadir.
2471         (msgcatdir): New variable.
2472         * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
2473         * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
2474         msgcatdir.
2475         * intl/Makefile (install-others): Install locale.alias in msgcatdir.
2476         (CPPFLAGS): Define paths using msgcatdir.
2477         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
2478         * po/Makefile (mo-installed): Define using msgcatdir.
2479
2480         * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
2481
2482 1999-09-12  Ulrich Drepper  <drepper@cygnus.com>
2483
2484         * stdio-common/vfprintf.c: Remove limitation on size of precision
2485         for integers.
2486
2487         * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
2488         glibc by defining internal_function if it isn't already.
2489
2490         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
2491         fails don't rely on errno value.
2492         (getanswer_r): Set *ERRNOP in error cases.
2493
2494         * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
2495         (gaih_inet_serv): Return EIA_NODATA if name is known but has no
2496         associated data.  Test for matching numeric address and family.
2497         (getaddrinfo): Remember EAI_NODATA result and return this in case
2498         everything fails.
2499         Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
2500
2501         * locale/programs/ld-address.c: Fix handling of non-existing
2502         definitions for this category.  Correctly ignore content of this
2503         category is this is necessary.
2504         * locale/programs/ld-collate.c: Likewise.
2505         * locale/programs/ld-ctype.c: Likewise.
2506         * locale/programs/ld-identification.c: Likewise.
2507         * locale/programs/ld-measurement.c: Likewise.
2508         * locale/programs/ld-messages.c: Likewise.
2509         * locale/programs/ld-monetary.c: Likewise.
2510         * locale/programs/ld-name.c: Likewise.
2511         * locale/programs/ld-numeric.c: Likewise.
2512         * locale/programs/ld-paper.c: Likewise.
2513         * locale/programs/ld-telephone.c: Likewise.
2514         * locale/programs/ld-time.c: Likewise.
2515         * locale/programs/locfile.h (handle_copy): Take extra parameter
2516         with result pointer.  Fill in name of locale from which to copy.
2517         Correctly read token after `END'.
2518
2519         * locale/programs/localedef.c (main): Correct handling copy.
2520         (add_to_readlist): Take extra parameter which says whether we
2521         are supposed to read the file or not.
2522         (find_locale): Call add_to_readlist with extra parameter set to 0.
2523
2524         * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
2525         instead of wrong number in array definitions.
2526         (add_to_readlist): Update prototype.
2527
2528         * locale/programs/locfile.c (locfile_read): Mark categories not
2529         available in source file as read.
2530         (write_all_categories): Fix typo.
2531
2532         * locale/programs/locales.h: Removed.
2533
2534 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
2535
2536         * elf/elf.h (SHF_MASKOS): Added.
2537
2538         * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
2539
2540 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2541
2542         * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
2543
2544 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2545
2546         * configure.in: Fix make version test for make 3.77.95 and later
2547         versions.
2548         Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
2549
2550 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
2551
2552         * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
2553
2554         * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
2555         WINT_MAX values.
2556
2557         * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
2558
2559 1999-09-09  Andreas Schwab  <schwab@suse.de>
2560
2561         * elf/link.h: Fix comment.
2562
2563 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
2564
2565         * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
2566
2567         * math/math.h: Pretty print.
2568
2569 1999-09-10  Andreas Schwab  <schwab@suse.de>
2570
2571         * sysdeps/generic/getenv.c (getenv): Fix lookup for single
2572         character variable on bigendian platforms without unaligned memory
2573         access.
2574
2575 1999-09-07  Cristian Gafton  <gafton@redhat.com>
2576
2577         * sysdeps/unix/sysv/linux/sys/raw.h: New file
2578         * sysdeps/unix/sysv/linux/Dist: Add raw.h.
2579         * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
2580
2581 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
2582
2583         * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
2584
2585         * time/ap.c: Removed.  It was not used.
2586         * time/date.c: Likewise.
2587         * sysdeps/unix/nlist.c: Likewise.
2588         * sysdeps/generic/nlist.c: Likewise.
2589         * sysdeps/generic/varargs.h: Likewise.
2590         * stdio-common/scanf11.c: Likewise.
2591         * stdio-common/scanf6.c: Likewise.
2592         * scripts/=__ify: Likewise.
2593         * scripts/printsources: Likewise.
2594         * resolv/getnetnamadr.c: Likewise.
2595         * posix/id.c: Likewise.
2596         * misc/ioctltst.c: Likewise.
2597         * misc/nlist.h: Likewise.
2598         * math/test-math.h: Likewise.
2599         * include/nlist.h: Likewise.
2600
2601 1999-09-06  Andreas Schwab  <schwab@suse.de>
2602
2603         * time/tzset.c (compute_change): Replace slow loop to compute T by
2604         simple algorithm.
2605
2606 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
2607
2608         * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
2609         escape sequences out even if the character itself does not fit
2610         into the buffer.
2611
2612         * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
2613
2614 1999-08-31  H.J. Lu  <hjl@gnu.org>
2615
2616         * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
2617
2618 1999-09-05  Roland McGrath  <roland@baalperazim.frob.com>
2619
2620         * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
2621         it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
2622         (_hurd_priority_which_map):
2623
2624 1999-09-04  Ulrich Drepper  <drepper@cygnus.com>
2625
2626         * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
2627
2628 1999-09-03  Andreas Schwab  <schwab@suse.de>
2629
2630         * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
2631         fork from __syscall_fork to __libc_fork.
2632         * posix/Versions: Add __libc_fork and __vfork to version
2633         GLIBC_2.1.2.
2634
2635 1999-08-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2636
2637         * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
2638         dependencies in sort.
2639
2640 1999-09-01  H.J. Lu  <hjl@gnu.org>
2641
2642         * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
2643
2644         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
2645         <sys/user.h> instead of <asm/user.h>.
2646
2647 1999-09-02  Ulrich Drepper  <drepper@cygnus.com>
2648
2649         * elf/elf.h: Update PARISC-specific flags and symbolic names.
2650
2651 1999-09-01  Ulrich Drepper  <drepper@cygnus.com>
2652
2653         * elf/elf.h: Update PARISC relocations.
2654
2655 1999-08-31  Scott Bambrough  <scottb@netwinder.org>
2656
2657         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
2658         #ifdef statement to prevent it from being included twice.
2659         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
2660         #include <bits/armsigctx.h>.
2661
2662 1999-08-31  Andreas Schwab  <schwab@suse.de>
2663
2664         * locale/C-collate.c: Add missing initialisations.
2665         * locale/C-ctype.c: Likewise.
2666
2667 1999-08-31  Ulrich Drepper  <drepper@cygnus.com>
2668
2669         * time/strftime.c (my_strftime): Remove unneeded variable len.
2670
2671         * time/strptime.c: Undo last change.
2672
2673 1999-08-30  Ulrich Drepper  <drepper@cygnus.com>
2674
2675         * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
2676         Change charset.h to charmap.h.
2677         (categories): Add new categories.  Leave out collate for now.
2678         Update build rules.
2679         * locale/categories.def: Add definitions for new categories.
2680         * locale/langinfo.h: Likewise.
2681         * locale/locale.h: Likewise.
2682         * locale/C-address.c: New file.
2683         * locale/C-identification.c: New file.
2684         * locale/C-measurement.c: New file.
2685         * locale/C-name.c: New file.
2686         * locale/C-paper.c: New file.
2687         * locale/C-telephone.c: New file.
2688         * locale/lc-address.c: Likewise.
2689         * locale/lc-identification.c: Likewise.
2690         * locale/lc-measurement.c: Likewise.
2691         * locale/lc-name.c: Likewise.
2692         * locale/lc-paper.c: Likewise.
2693         * locale/lc-telephone.c: Likewise.
2694         * locale/C-ctype.c: Update for locale rewrite.
2695         * locale/C-messages.c: Likewise.
2696         * locale/C-monetary.c: Likewise.
2697         * locale/C-time.c: Likewise.
2698         * locale/lc-collate.c: Likewise.
2699         * locale/lc-ctype.c: Likewise.
2700         * locale/lc-monetary.c: Likewise.
2701         * locale/lc-time.c: Likewise.
2702         * locale/localeinfo.h: Likewise.
2703         * locale/newlocale.c: Likewise.
2704         * locale/setlocale.c: Likewise.
2705         * locale/weight.h: Likewise.
2706         * locale/findlocale.c: Unconditionally use mmap.
2707         Handle new categories.
2708         * locale/loadlocale.c: Likewise.
2709         * locale/iso-3166.def: New file.
2710         * locale/iso-639.def: New file.
2711         * locale/programs/charmap-kw.gperf: Add new keywords.
2712         * locale/programs/locfile-kw.gperf: Likewise.
2713         * locale/programs/locfile-token.h: Define new tokens.
2714         * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
2715         * locale/programs/charmap.h: New file.
2716         * locale/programs/charset.h: Removed.
2717         * locale/programs/config.h: Add __LC_LAST.
2718         * locale/programs/lc-address.c: New file.
2719         * locale/programs/lc-identification.c: New file.
2720         * locale/programs/lc-measurement.c: New file.
2721         * locale/programs/lc-name.c: New file.
2722         * locale/programs/lc-paper.c: New file.
2723         * locale/programs/lc-telephone.c: New file.
2724         * locale/programs/lc-collate.c: Update for locale rewrite.
2725         * locale/programs/lc-ctype.c: Likewise.
2726         * locale/programs/lc-messages.c: Likewise.
2727         * locale/programs/lc-monetary.c: Likewise.
2728         * locale/programs/lc-numeric.c: Likewise.
2729         * locale/programs/lc-time.c: Likewise.
2730         * locale/programs/locale.c: Likewise.
2731         * locale/programs/localedef.c: Likewise.
2732         * locale/programs/locfile.c: Likewise.
2733         * locale/programs/repertoire.c: Likewise.
2734         * locale/programs/repertoire.h: Likewise.
2735         * locale/programs/locfile.c: Update prototypes.
2736         Update handle_copy definition.
2737         * locale/programs/linereader.c: Add handling of wide char strings and
2738         new definition file syntax.
2739         * locale/programs/linereader.h (struct token): Add elements for wide
2740         character strings.
2741         * locale/programs/locale-spec.c: Disable handling of collation
2742         elements for now.
2743         * locale/programs/simple-hash.h: Cleanup.
2744         * locale/programs/stringtrans.h: Handle quite of end of line.
2745         * string/strcoll.c: Fall back on strcmp for now.
2746         * string/strxfrm.c: Fall back on strncpy/strlen for now.
2747         * time/strftime.c: Use new wide character data for wcsftime.
2748         * time/strptime.c: Remove _nl_C_LC_TIME declaration.
2749         * wctype/cname-lookup.h: Update for new LC_CTYPE data.
2750
2751         * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
2752         compiling for i386 to avoid i686-like GOT pointer computation.
2753
2754         * db2/db_int.h: Change tsl_t type to u_int32_t.
2755         * db2/mutex/mutex.c: Allow Alpha mutex definitions.
2756         * db2/mutex/alpha.h: New file.
2757         * db2/mutex/sparc.gcc: Fix store code for v9.  Simplify clear code.
2758         * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
2759         known.
2760         Patches by Richard Henderson.
2761
2762         * stdlib/tst-environ.c: Add cast to avoid warning.
2763         * timezone/test-tz.c: Use setenv instead of putenv.
2764
2765 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2766
2767         * manual/libc.texinfo: Update version and date.
2768
2769         * manual/locale.texi (Formatting Numbers): Fix @node pointers.
2770
2771         * manual/filesys.texi (Working with Directory Trees): Add missing @code.
2772         (File System Interface): Correct entry.
2773         (Permission Bits): Add missing commata after @xref.
2774
2775 1999-08-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2776
2777         * timezone/tst-timezone.c (main): Don't pass const strings to
2778         putenv to avoid warnings.
2779
2780         * posix/regexbug1.c: Include <stdio.h> for puts prototype.
2781
2782 1999-08-29  Thorsten Kukuk  <kukuk@suse.de>
2783
2784         * nis/Versions: Add _nss_*_getipnodebyname_r.
2785         * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
2786         * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
2787         * nss/Versions: Add _nss_files_getipnodebyname_r.
2788
2789 1999-08-28  H.J. Lu  <hjl@gnu.org>
2790
2791         * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
2792         memory for buffer.
2793
2794 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
2795
2796         * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
2797         kernel.
2798         * inet/netinet/in.h: Likewise.
2799         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2800         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2801
2802 1999-08-28  Ulrich Drepper  <drepper@cygnus.com>
2803
2804         * malloc/malloc.c (ptmalloc_init): Don't use variables to set
2805         thresholds for SUID binaries.  [PR libc/1277]
2806
2807         * posix/regexbug1.c: Add one more similar case.
2808
2809 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2810
2811         * manual/install.texi (Running make install): Give examples for
2812         timezone and locale installation.
2813
2814 1999-08-28  Zack Weinberg  <zack@bitmover.com>
2815
2816         * glibcbug.in: Get CCVERSION from autoconf substitution.
2817         * configure.in: Calculate and substitute CCVERSION.
2818
2819 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2820
2821         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
2822         partially reverting a patch from 1998-12-29.  We just can't change
2823         the flags, kernels with different flags lead to
2824         incompatibilities.
2825
2826 1999-08-26  Andreas Schwab  <schwab@suse.de>
2827
2828         * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
2829
2830 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
2831
2832         * inet/rexec.c (rexec): Free memory if strings were allocated in
2833         ruserpass.  Reported by Andrew Morton <morton@nortelnetworks.com>.
2834
2835 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
2836
2837         * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
2838
2839         * manual/argp.texi: Fixing language and typos.
2840         * manual/conf.texi: Likewise.
2841         * manual/contrib.texi: Likewise.
2842         * manual/ctype.texi: Likewise.
2843         * manual/filesys.texi: Likewise.
2844         * manual/install.texi: Likewise.
2845         * manual/job.texi: Likewise.
2846         * manual/lang.texi: Likewise.
2847         * manual/llio.texi: Likewise.
2848         * manual/locale.texi: Likewise.
2849         * manual/math.texi: Likewise.
2850         * manual/nss.texi: Likewise.
2851         * manual/pipe.texi: Likewise.
2852         * manual/signal.texi: Likewise.
2853         * manual/socket.texi: Likewise.
2854         * manual/stdio.texi: Likewise.
2855         * manual/sysinfo.texi: Likewise.
2856         * manual/users.texi: Likewise.
2857         Patches by Neil Booth <NeilB@earthling.net>.
2858
2859 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
2860
2861         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
2862         unsigned to avoid warning.  [PR libc/1271].
2863
2864         * conform/conformtest.pl: Allow testing regex.h which requires
2865         sys/types.h being included.
2866
2867         * conform/data/regex.h-data: Allow *_t types.
2868         * conform/data/pwd.h-data: Likewise.
2869         * conform/data/sched.h-data: Likewise.
2870         * conform/data/pthread.h-data: Likewise.
2871         * conform/data/search.h-data: Likewise.
2872
2873         * misc/search.h: Avoid namespace pollution.
2874
2875         * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
2876         pwd.h, and pthread.h.
2877         * conform/data/pthread.h-data: New file.
2878         * conform/data/pwd.h-data: New file.
2879         * conform/data/regex.h-data: New file.
2880         * conform/data/sched.h-data: New file.
2881         * conform/data/search.h-data: New file.
2882
2883         * NAMESPACE: Add REG_ for regex.h.
2884
2885         * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
2886         they are removed.
2887
2888         * configure.in (libc_cv_asm_global_directive): Indent .text in
2889         test code so that the lame HPUX compiler recognizes it.
2890         * sysdeps/hppa/bits/endian.h: New file.
2891         * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
2892         * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
2893         * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
2894         * sysdeps/unix/sysv/hpux/bits/types.h: New file.
2895
2896         * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
2897         Patch by John Tobey <jtobey@banta-im.com>.
2898
2899         * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
2900
2901         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
2902         old_siocfifconf definition to toplevel.
2903         (__protocol_available): Remove old_siocfifconf definition.
2904
2905 1999-08-25  Mark Kettenis  <kettenis@gnu.org>
2906
2907         * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
2908         really dealing with a master pseudo terminal, and really returning
2909         the name of the associated slave pseudo terminal by checking the
2910         device number.
2911         * sysdeps/unix/sysv/linux/pty-private.h: Removed.
2912         * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
2913
2914 1999-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2915
2916         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
2917         underscore in _llseek entry.
2918
2919         * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
2920         entry.
2921
2922         * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
2923         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
2924
2925         * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
2926         Patch by Ralf Baechle <ralf@uni-koblenz.de>.
2927
2928 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
2929
2930         * inet/Makefile (routines): Add getipnodebynm.
2931         * inet/getipnodebynm.c: New file.
2932         * nss/digits_dots.c: If HAVE_TYPE is define type contains the
2933         interface type.
2934         * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
2935         EXTRA_ARGS_VALUE is not already done.
2936         (internal_getent): Allow extra parameters and pass them to parse_line.
2937         (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
2938         (_nss_files_get##name##_r): Likewise.
2939         * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
2940         and EXTRA_ARGS_VALUE to pass flags and type to parser.
2941         Add getipnodebyname function.
2942         * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
2943         EXTRA_ARGS_VALUE is not already done.
2944         (parse_line): Add EXTRA_ARGS_DECL to parameter list.
2945         * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
2946         to parse_line.
2947         (_nss_db_get##name##_r): Pass extra parameters to lookup.
2948         (_nss_db_get,ENTNAME_r): Likewise.
2949         * sysdeps/generic/if_index.c (__protocol_available): New function.
2950         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2951
2952 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
2953
2954         * login/pty-private.h: Move to...
2955         * sysdeps/generic/pty-private.h: ...here.
2956         * sysdeps/unix/sysv/linux/pty-private.h: New file.  Linux specific
2957         version.
2958         * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
2959         available.
2960
2961         * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
2962         of __overflow.
2963
2964         * conform/conformtest.pl (@headers): Add monetary.h-data,
2965         mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
2966         * conform/data/monetary.h-data: New file.
2967         * conform/data/mqueue.h-data: New file.
2968         * conform/data/ndbm.h-data: New file.
2969         * conform/data/nl_types.h.h-data: New file.
2970         * conform/data/poll.h-data: New file.
2971
2972         * stdio-common/Makefile (test): Add tst-cookie.
2973         * stdio-common/tst-cookie.c: New file.
2974
2975         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
2976         changed in last patch.  Reported by Ralf Baechle.
2977
2978 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2979
2980         * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
2981
2982         * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
2983         Patches by Ralf Baechle <ralf@uni-koblenz.de>
2984
2985 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2986
2987         * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
2988         Linux 2.3.15.
2989
2990 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
2991
2992         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
2993         syscall.
2994         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2995
2996         * misc/libgen.h: Don't take basename macro as taking arguments.
2997
2998         * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
2999         for gcc >= 2.95.
3000         * sysdeps/i386/bits/huge_val.h: Likewise.
3001         * sysdeps/i386/bits/huge_val.h: Likewise.
3002         * sysdeps/ieee754/bits/huge_val.h: Likewise.
3003         * sysdeps/m68k/bits/huge_val.h: Likewise.
3004         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
3005         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
3006
3007         * conform/Makefile: New file.
3008         * conform/conformtest.pl: New file.
3009         * conform/data/aio.h-data: New file.
3010         * conform/data/assert.h-data: New file.
3011         * conform/data/cpio.h-data: New file.
3012         * conform/data/ctype.h-data: New file.
3013         * conform/data/dirent.h-data: New file.
3014         * conform/data/dlfcn.h-data: New file.
3015         * conform/data/errno.h-data: New file.
3016         * conform/data/fcntl.h-data: New file.
3017         * conform/data/float.h-data: New file.
3018         * conform/data/fmtmsg.h-data: New file.
3019         * conform/data/fnmatch.h-data: New file.
3020         * conform/data/ftw.h-data: New file.
3021         * conform/data/glob.h-data: New file.
3022         * conform/data/grp.h-data: New file.
3023         * conform/data/iconv.h-data: New file.
3024         * conform/data/inttypes.h-data: New file.
3025         * conform/data/iso646.h-data: New file.
3026         * conform/data/langinfo.h-data: New file.
3027         * conform/data/libgen.h-data: New file.
3028         * conform/data/locale.h-data: New file.
3029         * conform/data/math.h-data: New file.
3030
3031 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
3032
3033         * posix/execvp.c (execvp): Correct copying of file name.
3034
3035 1999-08-23  Mark Kettenis  <kettenis@gnu.org>
3036
3037         * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
3038
3039 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
3040
3041         * stdio-common/Makefile: Move addition to routines to the right place.
3042
3043 1999-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3044
3045         * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file.  Neccessary
3046         since mips*-linux has ECANCELED.
3047
3048 1999-08-23  Andreas Schwab  <schwab@suse.de>
3049
3050         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
3051         SIGCONTEXT_EXTRA_ARGS.
3052         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
3053         * sysdeps/generic/sigcontextinfo.h: Likewise.
3054         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
3055         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
3056         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3057         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
3058         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
3059         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3060
3061 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
3062
3063         * posix/regexbug1.c: Make it an error if the test fails.
3064
3065 1999-08-23  Andreas Schwab  <schwab@suse.de>
3066
3067         * posix/regex.c (re_match_2_internal): Correct check for charset
3068         after exactn in loop.
3069
3070 1999-08-22  Ulrich Drepper  <drepper@cygnus.com>
3071
3072         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
3073         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3074         Patch by Joel Klecker.
3075
3076         * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
3077         (__gconv_find_transform): Update prototype.
3078         (__gconv_open): Likewise.
3079         * iconv/gconv_open.c: Take extra parameter and pass it to
3080         __gconv_find_transform.
3081         * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
3082         flags.  If GCONV_AVOID_NOCONV flag is set don't return copying
3083         transformation.
3084         * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
3085         * wcsmbs/wcsmbsload.c: Likewise.
3086         * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
3087         iconv for glibc.
3088         * intl/gettextP.h: Likewise.
3089         * intl/loadmsgcat.c: Likewise.
3090
3091         * posix/regexbug1.c: New file.
3092         * posix/Makefile (tests): Add regexbug1.
3093
3094 1999-08-22  Mark Kettenis  <kettenis@gnu.org>
3095
3096         * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
3097         * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
3098         installing PORT in the descriptor cell.
3099
3100 1999-08-19  Roland McGrath  <roland@baalperazim.frob.com>
3101
3102         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
3103         TIMEOUT as outputs of the asm to indicate that the signal thread
3104         might mutate them.
3105         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
3106         mach_msg if only sending or only receiving (i.e., not an RPC).  When
3107         making an RPC that might get interrupted, save OPTION and the portion
3108         of the message buffer that gets clobbered by an EINTR reply message,
3109         and properly restore them before attempting to retry the request
3110         message send.
3111
3112 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
3113
3114         * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
3115         definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
3116         CHAR_T, UCHAR_T and WIN_T to make the code compile again when
3117         stdio is used instead of libio.
3118         * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
3119         definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
3120         to make the code compile again when stdio is used instead of
3121         libio.
3122         (vfprintf): Only check for correct orientation if ORIENT is
3123         defined.
3124         * stdio-common/Makefile (routines): Only add vfwprintf and
3125         vfwscanf if we're using libio.
3126
3127 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
3128
3129         * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
3130         any additional prototype just as we do for libio.
3131
3132 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
3133
3134         * include/bits/xopen_lim.h: Do not define STREAM_MAX and
3135         TZNAME_MAX.  These limits are not X/Open specific.
3136         * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
3137         is defined.
3138
3139 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
3140
3141         * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
3142         UIO_MAXIOV is left undefined in sys/uio.h.
3143         * stdio-common/stdio_lim.h.in: Adapt for change above.
3144
3145 1999-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3146
3147         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
3148         * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
3149         Patches by Ralf Baechle <ralf@uni-koblenz.de>
3150
3151 1999-08-21  Ulrich Drepper  <drepper@cygnus.com>
3152
3153         * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
3154
3155 1999-08-20  Ulrich Drepper  <drepper@cygnus.com>
3156
3157         * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
3158
3159         * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
3160         call.  It should not be necessary andis harmful for Alpha.
3161
3162         * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
3163         type.  [PR libc/1269]
3164
3165         * posix/execvp.c (execvp): Allocate array name of correct size.
3166         Optimize inner loop.  Use execve directly, not execv.
3167
3168         * elf/elf.h: Corrected SHT_ values from new draft.
3169
3170         * intl/gettextP.h (struct loaded_domain): Add conv element.
3171         * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
3172         Instead of returning found message directly convert it using iconv
3173         if a conversion was found when opening the file.
3174         * intl/loadinfo.h: Protect against multiple inclusion.
3175         Declare _nl_find_msg.
3176         * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
3177         in the message file and if necessary find approrpiate
3178         conversion to match currently selected charset.
3179         * include/libintl.h: Declare __dgettext and __dcgettext.
3180         * include/iconv.h: New file.
3181
3182 1999-08-20  Andreas Schwab  <schwab@suse.de>
3183
3184         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
3185
3186 1999-08-19  Ulrich Drepper  <drepper@cygnus.com>
3187
3188         * sysdeps/unix/sysv/linux/execve.c: New file.  This version terminates
3189         all threads [PR libc/1223].
3190
3191         * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
3192         [PR libc/1165].
3193
3194         * configure.in: Search for programs with prefix gnu* and g* first.
3195         [PR libc/1104].
3196
3197         * dirent/Makefile (routines): Add getdents64.
3198         * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
3199         Remove getdents64.
3200         * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
3201         compiled with _FILE_OFFSET_BITS=64.
3202         * sysdeps/generic/getdents64.c: New file.
3203         * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
3204         __lseek for getdirentries64 definition.
3205
3206         * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
3207
3208         * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
3209         _FILE_OFFSET_BITS=64.
3210
3211         * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
3212         parameter.
3213
3214         * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
3215         after we have the lock.
3216
3217         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
3218         Patch by Richard Henderson.
3219
3220 1999-08-19  Andreas Schwab  <schwab@suse.de>
3221
3222         * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
3223         and call _IO_fwide, to get the wide stream state initialized
3224         correctly.  Don't set _IO_JUMPS.
3225         * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
3226         * libio/vswprintf.c (_IO_vswprintf): Likewise.  Pass
3227         _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
3228         directly.
3229
3230 1999-08-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3231
3232         * math/libm-test.c (jn_test): Fix typo in description.
3233         (erfc_test): Add some more tests.
3234         (erf_test): Add some more tests.
3235
3236 1999-08-19  Andreas Schwab  <schwab@suse.de>
3237
3238         * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
3239         expression using $(exceptions).
3240
3241 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
3242
3243         * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
3244
3245         * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
3246         allocated so far.  [PR libc/1261].
3247
3248         * math/libm-test.c (j0_test): Adjust deltas for m68k.
3249         (jn_test): Likewise.
3250
3251         * dirent/dirent.h: Only define ino64_t if not already done.
3252         * posix/sys/types.h: Likewise.
3253
3254         * ctype/ctype.h: Avoid useless #endif #if pairs.
3255
3256         * dirent/dirent.h: Define ino_t and ino64_t if not done already.
3257         (seekdir): Fix type of second parameter.
3258         * sysdeps/generic/seekdir.c: Likewise.
3259         * sysdeps/mach/hurd/seekdir.c: Likewise.
3260         * sysdeps/unix/seekdir.c: Likewise.
3261
3262         * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
3263
3264 1999-08-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3265
3266         * manual/install.texi (Configuring and compiling): Clarify ix86
3267         situation.
3268
3269 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
3270
3271         * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
3272         * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
3273         * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
3274         stdio_lim.h.  Define LONG_BIT and WORD_BIT.
3275
3276         * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
3277
3278         * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
3279
3280         * misc/search.h: Don't define NULL.
3281
3282         * posix/sys/types.h: Define blksize_t if it hasn't happened.
3283         Only define key_t and blkcnt_t if it hasn't happened before.
3284         Define blksize_t if not happened before.
3285         * io/sys/stat.h: Don't define pid_t.  Define blkcnt_t and blksize_t.
3286         * sysdeps/generic/bits/types.h: Define __blksize_t.
3287         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3288         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3289         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3290         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3291         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
3292         * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
3293         st_blksize member.
3294         (struct stat64): Likewise.
3295         * sysdeps/unix/bsd/bits/stat.h: Likewise.
3296         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
3297         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
3298         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3299         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
3300         * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
3301         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
3302
3303         * stdlib/getsubopt.c: Correct type of second argument.
3304         * stdlib/stdlib.h: Likewise.
3305
3306         * stdlib/monetary.h: Don't include sys/types.h.  Define only size_t
3307         and ssize_t.
3308
3309         * sysdeps/generic/putenv.c: Correct type of parameter.
3310         * stdlib/stdlib.h: Likewise.
3311
3312         * sysdeps/generic/msgsnd.c: Correct type of second parameter.
3313         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
3314         * sysvips/sys/msg.h: Likewise.
3315
3316         * sysdeps/generic/semop.c: Correct type of third parameter.
3317         * sysdeps/unix/sysv/linux/semop.c: Likewise.
3318         * sysvipc/sys/sem.h: Likewise.  Don't include sys/types.h, define
3319         size_t.
3320
3321         * sysdeps/generic/shmget.c: Correct type of second parameter.
3322         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
3323         * sysvips/sys/shm.h: Likewise.  Don't include unistd.h and sys/types.h.
3324         Declare __getpagesize here.
3325
3326         * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
3327         sys/types.h.
3328         * sysdeps/gnu/bits/ipc.h: Likewise.
3329         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
3330         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
3331         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3332         * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
3333         already done.
3334
3335         * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
3336
3337         * debug/versions: Export __cyg_profile_func_enter and
3338         __cyg_profile_func_exit.
3339
3340         * math/bits/mathcalls.h: Pretty print.
3341
3342 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
3343
3344         * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
3345         case for new tzdata.
3346
3347         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
3348         unsigned.
3349         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3350         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3351         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3352         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
3353
3354         * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
3355
3356         * sysdeps/generic/ualarm.c (ualarm): Change return value and
3357         parameter type to useconds_t.
3358         * sysdeps/unix/bsd/ualarm.c: Likewise.
3359
3360         * sysdeps/generic/usleep.c (usleep): Change parameter type to
3361         useconds_t.
3362         * sysdeps/unix/sysv/linux/usleep.c: Likewise.
3363         * sysdeps/mach/usleep.c: Likewise.
3364
3365         * locale/weight.h: Include <errno.h>.
3366
3367         * posix/sys/types.h: Define type useconds_t if not done already.
3368         * posix/unistd.h: Likewise.  Use this in ualarm and usleep
3369         declarations.
3370         * sysdeps/generic/bits/types.h: Define type __useconds_t.
3371         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3372         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3373         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3374         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3375         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
3376
3377         * dirent/dirent.h (telldir): Change return type to long int.
3378         * sysdeps/generic/telldir.c: Likewise.
3379         * sysdeps/mach/hurd/telldir.c: Likewise.
3380         * sysdeps/unix/telldir.c: Likewise.
3381         * sysdeps/unix/bsd/telldir.c: Likewise.  Fix locking problem.
3382
3383         * locale/weight.h: Set errno if an invalid character is found.
3384
3385 1999-08-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3386
3387         * math/libm-test.c (erfc_test): Add test for example from PR
3388         libc/1259.
3389         (erf_test): Likewise.
3390
3391 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
3392
3393         * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
3394         rewrite.  Patch by Alan Stern <stern@kitsilano.rowland.org>.
3395
3396         * timezone/private.h: Update from tzcode1999e.
3397         * timezone/zic.c: Likewise.
3398
3399         * timezone/africa: Update from tzdata1999e.
3400         * timezone/antarctica: Likewise.
3401         * timezone/asia: Likewise.
3402         * timezone/australasia: Likewise.
3403         * timezone/europe: Likewise.
3404         * timezone/leapseconds: Likewise.
3405         * timezone/northamerica: Likewise.
3406         * timezone/southamerica: Likewise.
3407
3408         * stdio-common/vfprintf.c (process_string_arg): Correct last patch
3409         and write correct number of bytes in case of %ls with precision.
3410         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3411
3412 1999-08-16  Ulrich Drepper  <drepper@cygnus.com>
3413
3414         * nscd/nscd.init: Test for kernel version and make LSB compliant.
3415         Patch by Christian Gafton.
3416
3417         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
3418         O_RSYNC.  Patch by Christian Gafton.
3419
3420         * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
3421         possibly unterminated strings for %ls when a precision is
3422         specified.
3423         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
3424
3425         * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
3426         update_conversion_ptrs.
3427         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3428
3429 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
3430
3431         * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
3432         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3433
3434         * wcsmbs/Makefile (tests): Add tst-wcsnlen.
3435         * wcsmbs/tst-wcsnlen.c: New file.
3436
3437 1999-08-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3438
3439         * libio/ioputs.c (_IO_puts): Add missing brace.
3440
3441 1999-07-20  Geoff Keating  <geoffk@cygnus.com>
3442
3443         * math/libm-test.c: Tweak deltas for a clean run on ppc.
3444
3445 1999-08-10  H.J. Lu  <hjl@gnu.org>
3446
3447         * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
3448         (vfprintf): Likewise.
3449         * stdio-common/vfscanf.c (ORIENT): Likewise.
3450         * libio/genops.c (__underflow): Likewise.
3451         (__uflow): Likewise.
3452         * libio/iofputs.c (_IO_fputs): Likewise.
3453         * libio/ioftell.c (_IO_ftell): Likewise.
3454         * libio/iofwrite.c (_IO_fwrite): Likewise.
3455         * libio/ioputs.c (_IO_puts): Likewise.
3456         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
3457         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
3458
3459 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
3460
3461         * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
3462
3463 1999-08-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3464
3465         * manual/job.texi (Process Group Functions): Document getpgid,
3466         getsid.
3467
3468 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
3469
3470         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
3471         initialize si_pid from it.
3472         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
3473         parameter.
3474         * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
3475         * rt/aio_misc.h (struct waitlist): Add caller_pid element.
3476         (struct requestlist): Likewise.
3477         Adjust prototypes of __aio_notify_only and __aio_sigqueue.
3478         * rt/aio_notify.c (__aio_notify_only): Take extra parameter.  Pass it
3479         to __aio_sigqueue.
3480         (__aio_notify): Pass caller PID to __aio_notify_only.
3481         * rt/aio_suspend.c: Initialize caller_pid.
3482         * rt/lio_listio.c: Likewise.
3483         * rt/lio_listio64.c: Likewise.
3484
3485         * rt/lio_listio.c: If nothing has to be done free mutex before
3486         signalling.
3487         * rt/lio_listio64.c: Likewise.
3488
3489 1999-08-10  H.J. Lu  <hjl@gnu.org>
3490
3491         * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
3492         handling.
3493
3494 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
3495
3496         * elf/elf.h: Define ElfXX_Versym.
3497         * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
3498         definition.
3499
3500         * stdio-common/vfprintf.c (process_string_arg): Handle precisions
3501         for string output correctly in the wide character case.
3502         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
3503
3504         * intl/locale.alias: Add catalan.
3505
3506 1999-08-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3507
3508         * manual/install.texi (Configuring and compiling): Mention CFLAGS.
3509
3510 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
3511
3512         * po/pt_BR.po: New file.
3513
3514 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3515
3516         * math/libm-test.c (yn_test): Adjust deltas for i386.
3517         (ccosh_test): Likewise.
3518         (jn_test): Likewise.
3519
3520 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
3521
3522         * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
3523
3524 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
3525
3526         * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
3527         problem.
3528
3529 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3530
3531         * configure.in: install-sh lives now in scripts subdir.
3532         PR libc/1255 (bug 4).
3533
3534 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
3535
3536         * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
3537         version.
3538
3539         * po/fr.po: Update.
3540
3541 1999-08-11  Thorsten Kukuk  <kukuk@suse.de>
3542
3543         * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
3544
3545 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
3546
3547         * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
3548         exponent.
3549
3550 1999-08-10  Andreas Schwab  <schwab@suse.de>
3551
3552         * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
3553         header.
3554
3555 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
3556
3557         * elf/elf.h: Added definition of ELFOSABI_ARM.
3558         * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
3559         VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
3560         object's header and ABI values are acceptable.
3561         (VALID_ELF_HEADER): New macro; provide default definition.
3562         (VALID_ELF_OSABI): New macro; provide default definition.
3563         (VALID_ELF_ABIVERSION): New macro; provide default definition.
3564         * sysdeps/arm/dl-machine.h Define ARM specific versions of
3565         VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
3566
3567 1999-08-09  Andreas Schwab  <schwab@suse.de>
3568
3569         * inet/tst-ipnode.c (main): Don't compare integer with NULL.
3570
3571 1999-08-09  Thorsten Kukuk  <kukuk@suse.de>
3572
3573         * sunrpc/svc_run.c (svc_run): Free my_pollfd.
3574
3575 1999-08-09  Andreas Schwab  <schwab@suse.de>
3576
3577         * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
3578
3579 1999-08-08  Ulrich Drepper  <drepper@cygnus.com>
3580
3581         * sysdeps/ieee754/ieee754.h: Handle platforms with special
3582         __FLOAT_WORD_ORDER.  Patch by Joel Klecker <jk@espy.org>.
3583
3584         * string/bits/string2.h: Mark void* operations as extensions.
3585         * sysdeps/i386/i486/bits/string.h: Likewise.
3586
3587         * debug/Makefile (routines): Add noophooks.
3588         (extra-libs): Add libpcprofile.  Add rules to build libpcprofile.
3589         * debug/noophooks.c: New file.
3590         * debug/pcprofile.c: New file.
3591
3592 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
3593
3594         * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
3595         systems which allow using the functions also on non-seekable
3596         devices.
3597
3598         * resolv/res_send.c (res_send): Recompute timeout for poll for
3599         each jump to `wait'.
3600
3601         * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
3602         braces to avoid warnings.
3603         (IN6ADDR_LOOPBACK_INIT): Likewise.
3604
3605         * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
3606         MSG_DONTWAIT).
3607
3608 1999-08-06  H.J. Lu  <hjl@gnu.org>
3609
3610         * malloc/malloc.c: Initialize __libc_pagesize early.
3611
3612 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
3613
3614         * string/string-inlines.c: Undefined __USE_STRING_INLINES before
3615         defining it.
3616
3617         * inet/Makefile (tests): Add tst-ipnode.
3618         * inet/tst-ipnode.c: New file.
3619
3620 1999-08-06  Andreas Schwab  <schwab@suse.de>
3621
3622         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
3623         New definitions.
3624         (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
3625         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
3626         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
3627         New definitions.
3628         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
3629         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
3630
3631 1999-08-06  Jakub Jelinek  <jj@ultra.linux.cz>
3632
3633         * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
3634         * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
3635         * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
3636
3637 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
3638
3639         * resolv/res_send.c (res_send): Don't test file descriptor for
3640         range, we use poll now.  [PR libc/1240]
3641
3642 1999-08-05  Ulrich Drepper  <drepper@cygnus.com>
3643
3644         * libio/genops.c (_IO_flush_all): Don't access elements beyond what
3645         2.0 defined if they are not available.
3646
3647 1999-08-05  Thorsten Kukuk  <kukuk@suse.de>
3648
3649         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
3650         Define.
3651
3652 1999-08-04  Ulrich Drepper  <drepper@cygnus.com>
3653
3654         * rt/aio_read.c: Fix return value.
3655         * rt/aio_read64.c: Likewise.
3656         Reported by Christian Gafton.
3657
3658         * rt/aio_write.c: Fix return value.
3659         * rt/aio_write64.c: Likewise.
3660         * rt/aio_fsync.c: Likewise.
3661
3662         * rt/aio_misc.c: Set errno at correct place.
3663
3664         * rt/aio_fsync.c: Test OP parameter for correct values.
3665
3666         * hesiod/hesiod.c: Avoid emitting rcsid in object file.
3667
3668 1999-08-04  Andreas Schwab  <schwab@suse.de>
3669
3670         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
3671         Initialize result to one.
3672         (GET_NPROCS_CONF_PARSER): Likewise.
3673
3674 1999-08-03  Ulrich Drepper  <drepper@cygnus.com>
3675
3676         * inet/ether_hton.c: Pass errno pointer to NSS function.
3677         * inet/getnetgrent_r.c: Likewise.
3678         Reported by Marty Leisner <leisner@rochester.rr.com>.
3679
3680 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
3681
3682         * nis/nis_callback.c: Fix port problem on big-endian machines
3683         * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
3684         fields are always 32 bit.
3685         Patches from Paul Mackerras <paulus@cs.anu.edu.au>
3686
3687         * nis/nss_nis/nis-service.c: Remove htons, port is always in
3688         network-byte-order.
3689         * nis/nss_nisplus/nisplus-service.c: Rename number to port.
3690
3691 1999-08-03  Andreas Schwab  <schwab@suse.de>
3692
3693         * sysdeps/posix/sigset.c: Unblock the signal after setting its
3694         disposition.  Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
3695         avoid two calls to sigprocmask.
3696
3697 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
3698
3699         * sysdeps/generic/s_nexttowardf.c: Fix typo.
3700
3701 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
3702
3703         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
3704         Only allow rt signal frames. No SA_SIGINFO signals will have the
3705         siginfo_t just not filled out with SI_NOINFO code.
3706         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
3707         (register_dump): Take the above change into account.
3708         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
3709         (rt_signal_frame): Likewise.
3710
3711         * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
3712
3713 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
3714
3715         * nis/nis_callback.c (internal_nis_do_callback): Use poll()
3716         instead of select().
3717
3718 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
3719
3720         * sysdeps/generic/s_nextafter.c: Define __nexttoward and
3721         nexttoward so something else so that aliasing works.
3722
3723 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
3724
3725         * sysdeps/generic/math_ldbl.h: Fix typo.
3726         * sysdeps/generic/strtold.c: Remove unbalanced #endif.
3727         * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
3728
3729 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
3730
3731         * elf/resolvfail.c: Include stdio.h.  Also test dlerror.
3732
3733 1999-08-01  Ulrich Drepper  <drepper@cygnus.com>
3734
3735         * elf/Makefile (tests): Add resolvfail.  Add rules to build the
3736         program.
3737         * elf/resolvfail.c: New file.
3738
3739         * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
3740         pass it to _dl_lookup_symbol.
3741
3742         * elf/dl-error.c (_dl_signal_error): Optimize string generation a
3743         bit.  Reword message.
3744
3745         * dlfcn/dlerror.c: Make code thread-safe.
3746
3747 1999-07-31  Roland McGrath  <roland@baalperazim.frob.com>
3748
3749         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
3750         initializer in CHECK: a bit size, not the type code repeated!
3751
3752 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
3753
3754         * string/tester.c: Add tests with constant arguments for strcpy
3755         and stpcpy.
3756
3757 1999-07-31  H.J. Lu  <hjl@gnu.org>
3758
3759         * string/bits/string2.h (__strcpy_small): Fix a typo.
3760
3761 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
3762
3763         * Makeconfig (link-libc): Always define it, not only for shared
3764         builds.
3765
3766         * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
3767         * sysdeps/i386/fpu/e_powf.S: Likewise.
3768         * sysdeps/i386/fpu/e_powl.S: Likewise.  [PR libc/1213].
3769
3770         * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
3771         * sysdeps/generic/e_gammal_r.c: Likewise.  [PR libc/1212].
3772
3773 1999-07-30  Andreas Schwab  <schwab@suse.de>
3774
3775         * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
3776         definition.
3777         (__get_nprocs): Use it.
3778         (__get_nprocs_conf): Define as separate function if
3779         GET_NPROCS_CONF_PARSER is defined.
3780         * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
3781
3782         * include/sys/sysinfo.h: New file.
3783         * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
3784         interface.
3785         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
3786
3787 1999-07-30  H.J. Lu  <hjl@gnu.org>
3788
3789         * libio/iofflush.c (fflush_unlocked): Weak aliase if
3790         _IO_MTSAFE_IO is not defined.
3791         * libio/clearerr.c (clearerr_unlocked): Likewise.
3792         * libio/feof.c (feof_unlocked): Likewise.
3793         * libio/ferror.c (ferror_unlocked): Likewise.
3794         * libio/fputc.c (fputc_unlocked): Likewise.
3795         * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
3796         * libio/getchar.c (getchar_unlocked): Likewise.
3797         * libio/putc.c (putc_unlocked): Likewise.
3798         * libio/putchar.c (putchar_unlocked): Likewise.
3799
3800 1999-07-30  Thorsten Kukuk  <kukuk@suse.de>
3801
3802         * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
3803           svc_max_pollfd and svc_pollfd to GLIBC_2.2
3804         * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
3805           for svc_run/poll interface.
3806         * sunrpc/rpc/types.h: Add rpc*_t typedefs.
3807         * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
3808           global variable.
3809         * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
3810           rewrite other svc_getreq* functions to use svc_getreq_common.
3811         * sunrpc/svc_run.c: Use poll().
3812
3813 1999-07-30  Andreas Schwab  <schwab@suse.de>
3814
3815         * Makerules: Put sysd-versions and Versions.all on
3816         postclean-generated instead of common-generated.
3817
3818 1999-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3819
3820         * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
3821         around and CLOCKS_PER_SEC is 1e6.
3822
3823 1999-07-30  Ulrich Drepper  <drepper@cygnus.com>
3824
3825         * configure.in: Add test for local label subtraction.
3826         * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
3827         * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
3828         labels to reduce number of runtime relocations and move jump
3829         tables in read-only seciton.
3830
3831         * malloc/malloc.c (ptmalloc_init): Correct last patch.  The
3832         assignment cannot be moved.
3833
3834 1999-07-29  H.J. Lu  <hjl@gnu.org>
3835
3836         * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
3837         if no threads are used.
3838
3839         * libio/iofwrite.c: Add weak alias for _unlocked function if not
3840         _IO_MTSAFE_IO.
3841         * libio/iofread.c: Likewise.
3842         * libio/iofgets.c: Likewise.
3843         * libio/iofputs.c: Likewise.
3844
3845         * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
3846         definition.
3847
3848         * stdlib/mbtowc.c: Include <string.h>.
3849         * stdlib/wctomb.c: Likewise.
3850         * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
3851         * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
3852
3853         * misc/mntent_r.c: Include <alloca.h>.
3854         * elf/dl-runtime.c: Likewise.
3855
3856 1999-07-29  Andreas Schwab  <schwab@suse.de>
3857
3858         * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
3859         all floating point formats supported by gcc.  Error out for
3860         unhandled precisions.
3861         * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
3862         * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
3863         * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
3864
3865 1999-07-29  Ulrich Drepper  <drepper@cygnus.com>
3866
3867         * sysdeps/generic/setenv.c: Move setenv code in new function
3868         __add_to_environ.  Add new parameter specifying already
3869         constructed string for the environment.
3870         (setenv): Call __add_to_environ with new parameter set to NULL.
3871         (unsetenv): Really test all elements for duplicated name.  Missed those
3872         cases where the two are following each other.
3873         * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
3874         * include/stdlib.h: Add prototype of __add_to_environ.
3875         * stdlib/tst-environ.c: New file.
3876         * stdlib/Makefile (tests): Add tst-environ.
3877
3878         * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
3879
3880         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
3881         argument in realloc call.
3882         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
3883         Likewise.
3884         Reported by Danny Braniss <danny@cs.huji.ac.il>.
3885
3886 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
3887
3888         * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
3889         to print.
3890         * misc/efgcvt_r.c: Likewise.
3891         * misc/qefgcvt.c: Likewise.
3892         * misc/qefgcvt_r.c: Likewise.
3893         * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
3894         anymore.
3895
3896 1999-07-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3897
3898         * manual/math.texi (FP Function Optimization): Mention drawbacks.
3899
3900 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
3901
3902         * stdlib/mblen.c: Use static state.
3903         Reported by Bruno Haible <haible@ilog.fr>.
3904
3905         * stdlib/mbtowc.c: Reset state for s == NULL.
3906         * stdlib/wctomb.c: Likewise.
3907         Reported by Bruno Haible <haible@ilog.fr>.
3908
3909         * stdlib/mbstowcs.c: Do not use global state.
3910         Reported by Bruno Haible <haible@ilog.fr>.
3911
3912 1999-07-28  Andeas Schwab  <schwab@suse.de>
3913
3914         * iconvdata/Makefile: Don't try to run iconv tests when cross
3915         compiling.
3916
3917 1999-07-27  Mark Kettenis  <kettenis@gnu.org>
3918
3919         * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
3920         assembler code to switch stacks and call init1 outside this
3921         function.  Inside `init' the code was optimized away by gcc
3922         2.95 since it was "clearly" unreachable.
3923         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
3924         Do something similar for the trampoline code.
3925
3926 1999-07-27  Ulrich Drepper  <drepper@cygnus.com>
3927
3928         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
3929         for the hinted protocol.
3930
3931 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3932
3933         * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
3934
3935 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
3936
3937         * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
3938         * elf/dl-lookup.c (_dl_setup_hash): Likewise.
3939         * elf/dl-load.c (_dl_map_object): Likewise.
3940         * elf/do-lookup.h (do_lookup*): Likewise.
3941         * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
3942         * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
3943         as uint64_t.
3944         * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
3945
3946 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
3947
3948         * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
3949         * sysdeps/generic/getpgrp.c: Likewise.
3950         * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
3951         * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
3952         Patch by John Tobey <jtobey@banta-im.com>.
3953
3954         * sysdeps/posix/wait3.c: Help compiling in presence of
3955         __transparent_union__.  Reported by John Tobey <jtobey@banta-im.com>.
3956
3957 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
3958
3959         * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
3960         as much as possible. Declare them using .register pseudo-op if they
3961         are still used.
3962         * sysdeps/sparc/sparc64/lshift.S: Likewise.
3963         * sysdeps/sparc/sparc64/memchr.S: Likewise.
3964         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3965         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3966         * sysdeps/sparc/sparc64/memset.S: Likewise.
3967         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3968         * sysdeps/sparc/sparc64/rshift.S: Likewise.
3969         * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
3970         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3971         * sysdeps/sparc/sparc64/strcat.S: Likewise.
3972         * sysdeps/sparc/sparc64/strchr.S: Likewise.
3973         * sysdeps/sparc/sparc64/strcmp.S: Likewise.
3974         * sysdeps/sparc/sparc64/strcpy.S: Likewise.
3975         * sysdeps/sparc/sparc64/strcspn.S: Likewise.
3976         * sysdeps/sparc/sparc64/strlen.S: Likewise.
3977         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3978         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3979         * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
3980         * sysdeps/sparc/sparc64/strspn.S: Likewise.
3981         * sysdeps/sparc/sparc64/sub_n.S: Likewise.
3982         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3983         Optimize trampoline code for .plt4-.plt32767.
3984         Fix trampolines for .plt32768+.
3985
3986 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
3987
3988         * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
3989         -mcpu=v8.
3990         * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
3991         * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
3992         libc's private use (as assembly routine clobber it anyway).
3993
3994 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3995
3996         * README.template (configurations): The crypt add-on has a new
3997         ftp site.
3998         * manual/install.texi (Installation): Likewise.
3999
4000 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
4001
4002         * time/time.h: Add forward for struct sigevent.  Unix98 maybe
4003         requires to have a full definition but we wait for a bug report
4004         based on the test suite.
4005
4006         * sysdeps/generic/clock_getres.c: New file.
4007         * sysdeps/generic/clock_gettime.c: New file.
4008         * sysdeps/generic/clock_settime.c: New file.
4009         * sysdeps/generic/timer_create.c: New file.
4010         * sysdeps/generic/timer_delete.c: New file.
4011         * sysdeps/generic/timer_getoverr.c: New file.
4012         * sysdeps/generic/timer_gettime.c: New file.
4013         * sysdeps/generic/timer_settime.c: New file.
4014
4015         * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
4016         CLOCK_REALTIME, and TIMER_ABSTIME.
4017         * sysdeps/mach/hurd/bits/time.h: Likewise.
4018         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
4019         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
4020
4021         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
4022
4023         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
4024         si_timer2.
4025
4026         * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
4027
4028         * time/Makefile (routines): Add clock_getres, clock_gettime,
4029         clock_setres, timer_create, timer_delete, timer_getoverr,
4030         timer_gettime, and timer_settime.
4031
4032         * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
4033         POSIX.1b.  Add prototypes for clock and timer functions.
4034
4035 1999-07-26  Roland McGrath  <roland@baalperazim.frob.com>
4036
4037         * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
4038         Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
4039
4040 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
4041
4042         * stdlib/wcstombs.c: Do not use global state.
4043         Reported by Bruno Haible <haible@ilog.fr>.
4044
4045         * wcsmbs/wctob.c: Avoid sign extension when returning character.
4046         Reported by Bruno Haible <haible@ilog.fr>.
4047
4048         * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
4049         of wide characters to convert do it right and don't overestimate
4050         by multiplying with MB_CUR_MAX.
4051         Reported by Bruno Haible <haible@ilog.fr>.
4052
4053 1999-07-26  Jakub Jelinek  <jj@ultra.linux.jz>
4054
4055         * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
4056         (__stpcpy_small): Likewise.
4057         Union has no __uc member but __c.
4058
4059 1999-07-26  Andreas Schwab  <schwab@suse.de>
4060
4061         * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
4062
4063 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
4064
4065         * libio/iofclose.c (_IO_new_fclose): Only fall back on
4066         _IO_old_fclose if doing versioning.
4067
4068         * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
4069         them appropriately.
4070         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4071
4072         * misc/mntent_r.c: Allow spaces and tabs in entry names by
4073         encoding these characters.
4074         * misc/tst-mntent.c: Add test case for addmntent and getmntent.
4075
4076         * string/bits/string2.h: Fix aliasing problems.
4077         * sysdeps/i386/i486/bits/string.h: Likewise.
4078         * sysdeps/i386/bits/string.h: Likewise.
4079
4080 1998-12-28  Geoff Keating  <geoffk@ozemail.com.au>
4081
4082         * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
4083         * elf/rtld.c (dl_main): Don't call malloc() between
4084         re-relocating the dynamic linker and running the application's crt0.
4085
4086 1999-07-21  Paul D. Smith  <psmith@gnu.org>
4087
4088         * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
4089         glob.h to get __P() macro.
4090
4091         * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
4092         not ANSI.
4093         (__strchrnul): This won't exist outside GLIBC, so create one.
4094
4095 1999-07-25  Jakub Jelinek   <jj@ultra.linux.cz>
4096
4097         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
4098         __ino64_t should be 32bit unsigned type on sparc32.
4099         Define __off64_t to __quad_t instead of __int64_t.
4100         Make __pic_pid_t unsigned on sparc32.
4101
4102 1999-07-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4103
4104         * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
4105         in bash 2.03.
4106
4107 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
4108
4109         * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
4110         of an error.  Patch by Changwoo Ryu <cwryu@debian.org>.
4111
4112 1999-07-24  Ulrich Drepper  <drepper@cygnus.com>
4113
4114         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
4115         accesses.
4116
4117         * resolv/res_send.c: Add locks for res_send and res_close use.
4118
4119         * elf/Makefile (dl-routines): Add preinit.
4120         * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
4121         * elf/link.h (struct link_map): Add new field l_preinitcount.
4122         * elf/dl-preinit.c: New file.
4123         * elf/dynamic-link.h: Initialize l_preinitcount.
4124         * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
4125
4126         * elf/dl-fini.c: Handle DT_FINI_ARRAY.
4127         * elf/link.h (struct link_map): Remove l_init_running.  Add l_runcount
4128         and l_initcount.
4129         * elf/dl-init.c: Handle DT_INIT_ARRAY.
4130         * elf/dynamic-link.h: Change parameters.  Now only get link_map
4131         pointer.  Calculate l_initcount.
4132
4133         * elf/link.h (struct link_map): Add l_runpath_dirs.
4134         * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
4135         * elf/dl-load.c: Pretty print.
4136         (decompose_rpath): Take new parameter with info from where the path
4137         comes.  Pass it the fillin_rpath.
4138         (_dl_init_paths): Initialize l_runpath_dirs.
4139         (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
4140         Search using RUNPATH after LD_LIBRARY_PATH.
4141         * elf/dl-support.c: Adjust comment.
4142         * elf/rtld.c: Adjust help message.
4143
4144 1999-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4145
4146         * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
4147         interface.
4148
4149 1999-07-23  Roland McGrath  <roland@baalperazim.frob.com>
4150
4151         * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
4152         match BSD value; previous value of 1<<8 was a typo.  I bet nothing
4153         ever used this, so I'm not going to worry about compatibility.
4154         [__USE_GNU] (IUCLC, OLCUC): New macros.
4155
4156 1999-07-23  Ulrich Drepper  <drepper@cygnus.com>
4157
4158         * include/libintl.h: Undefine N_ and _ first to avoid warnings.
4159
4160         * elf/elf.h: Add ET_LOOS and ET_HIOS.
4161         Add various EM_* constants.
4162         Add SHN_LOOS and SHN_HIOS.
4163         Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
4164         Add SHF_MERGE and SHF_STRINGS.
4165         (ElfXX_Sym): Update description of st_other field.
4166         Add STT_COMMON.
4167         Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
4168         Add STV_* macros.
4169         Update comment on DT_RPATH.  Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
4170         DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
4171         Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
4172
4173         * posix/unistd.h: Move declaration of __libc_enable_secure to...
4174         * include/unistd.h: ...here.
4175
4176         * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
4177         * elf/dl-deps.c (expand_dst): Likewise.
4178
4179         * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
4180         based on DT_FLAGS value.
4181
4182         * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
4183         Add test for symbols marked STV_HIDDEN.
4184         * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
4185         add undef_map.  Compute reference_name locally.  Update call to
4186         do_lookup.
4187         (_dl_lookup_symbol_skip): Likewise.
4188         (_dl_lookup_versioned_symbol): Likewise.
4189         (_dl_lookup_versioned_symbol_skip): Likewise.
4190         * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
4191         * elf/dl-runtime.c: Likewise.
4192         * elf/dl-sym.c: Likewise.
4193         * elf/dl-symbol.c: Likewise.
4194         * elf/ldsodefs.h: Adjust prototypes.
4195
4196         * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
4197         handle appropriately.  Add comment about DT_TEXTREL.
4198         * elf/dl-runtime.c: Likewise.
4199
4200 1999-07-21  Roland McGrath  <roland@baalperazim.frob.com>
4201
4202         * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
4203         * elf/ldsodefs.h: Declare it.
4204         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
4205         instead of assert.
4206         (elf_machine_lazy_rel): Likewise.  Take new arg MAP.
4207         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4208         (elf_machine_lazy_rel): Likewise.
4209         * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
4210         (elf_machine_lazy_rel): Likewise.
4211         * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
4212         (elf_machine_lazy_rel): Likewise.
4213         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
4214         (elf_machine_lazy_rel): Likewise.
4215         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4216         (elf_machine_lazy_rel): Likewise.
4217         * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
4218         * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
4219         (elf_machine_lazy_rel): Likewise.
4220         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
4221         (elf_machine_lazy_rel): Likewise.
4222         * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
4223         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
4224         _dl_reloc_bad_type instead of _dl_signal_error.
4225         * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
4226
4227 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
4228
4229         * sysdeps/mach/_strerror.c: Include <libintl.h>.
4230
4231 1999-07-19  Roland McGrath  <roland@baalperazim.frob.com>
4232
4233         * hurd/hurdsig.c (_hurd_internal_post_signal): If a
4234         hurd_signal_preemptor matches but its `preemptor' field is null, use
4235         its `handler' field directly.  This is to comply with behavior
4236         documented in <hurd/sigpreempt.h>.
4237
4238 1999-07-21  Andreas Schwab  <schwab@suse.de>
4239
4240         * libio/fileops.c (_IO_new_file_underflow): Set error indicator
4241         when reading from write-only stream.
4242         * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
4243         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4244
4245 1999-07-21  Andreas Schwab  <schwab@suse.de>
4246
4247         * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
4248         NULL.
4249
4250 1999-07-21  Mark Kettenis  <kettenis@gnu.org>
4251
4252         * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
4253         <hurd/fd.h>.
4254         * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
4255         <hurd/fd.h>.
4256         (__libc_write): Call __pwrite instead of __pread.
4257
4258 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
4259
4260         * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
4261         __vm_allocate calls.
4262
4263         * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>.  Fix typo.
4264         * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
4265
4266         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
4267         _hurd_fd_read with new OFFSET argument set to -1.
4268         (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
4269         to -1.
4270
4271 1999-07-17  Roland McGrath  <roland@baalperazim.frob.com>
4272
4273         * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
4274         descriptor table sent in the RPC.
4275
4276 1999-07-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4277
4278         * time/strptime.c [!_LIBC]: Fix __mon_day size.  Reported by
4279         bill@taniwha.org [PR libc/1211].
4280
4281 1999-07-19  Andreas Schwab  <schwab@suse.de>
4282
4283         * libio/Makefile (routines): Add fwprintf.
4284
4285         PowerPC has own version of w_sqrt.c and w_sqrtf.c.
4286         * math/w_sqrt.c: Moved to ...
4287         * sysdeps/generic/w_sqrt.c: ... here.
4288         * math/w_sqrtf.c: Moved to ...
4289         * sysdeps/generic/w_sqrtf.c: ... here.
4290
4291         * Make-dist (generic-dirs): New variable.
4292         (try-sysdeps, +sysdep-names): Use it.
4293         * extra-lib.mk (all-$(lib)-routines): New variable.  Use it
4294         instead of $(lib)-routines.
4295         * elf/Makefile (distribute): Add dl-cache.h.
4296         * db2/Makefile (distribute): Add all new files.
4297         * iconvdata/Makefile (distribute): Don't distribute CVS
4298         directory.
4299         * math/Makefile (distribute): Remove machine/endian.h, add
4300         math_ldbl.h.
4301         * stdio-common/Makefile (distribute): Add _itowa.h.
4302         * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
4303         * sysdeps/gnu/Dist: Add eval.c
4304         * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
4305         dlfcn]: Add to this instead of libdl-routines.
4306         * sysdeps/ieee754/ldbl-128/Dist: New file.
4307         * sysdeps/mach/hurd/Dist: Add siglist.h
4308         * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
4309
4310 1999-07-18  Ulrich Drepper  <drepper@cygnus.com>
4311
4312         * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
4313
4314         * inet/Makefile (routines): Add getipnodebyad and freehostent.
4315         * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
4316         * inet/freehostent.c: New file.
4317         * inet/getipnodebyad.c: New file.
4318         * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
4319         and getipnodebyname.  The latter comes soon.
4320         * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
4321         Add support for getipnode* functions.
4322
4323         * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
4324         Set h_aliases to NULL and not to a pointer to an array with a NULL
4325         pointer following XNS 5.2.
4326
4327         * posix/sched.h: Remove internal interfaces.
4328         * include/sched.h: Add internal interfaces.
4329
4330         * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
4331
4332         * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
4333
4334         * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
4335         and return an error in this case.
4336         * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
4337         available.
4338
4339 1999-07-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4340
4341         * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
4342         1999-07-17 and adjust len parameter.
4343         * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
4344         * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
4345         * manual/socket.texi (Host Names): Likewise.
4346         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
4347         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
4348         Likewise.
4349         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
4350         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
4351         (ht_gethostbyaddr): Likewise.
4352         (_gethtbyaddr): Likewise.
4353
4354 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
4355
4356         * resolv/netdb.h: Adjust parameters of gethostbyaddr and
4357         gethostbyaddr_r.
4358         * include/netdb.h: Likewise.
4359         * inet/gethstbyad.c: Correct type of len parameter.
4360         * inet/gethstbyad_r.c: Likewise.
4361
4362         * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
4363
4364 1999-07-17  Zack Weinberg  <zack@rabi.columbia.edu>
4365
4366         * include/libc-symbol.h: Clean up definitions of weak_alias,
4367         strong_alias, symbol_version, etc. etc.
4368         * posix/getopt.h: Use ctype.h to get features.h included, and don't
4369         include it at all if __GNU_LIBRARY__ is already defined.
4370
4371 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
4372
4373         * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
4374
4375         * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
4376
4377         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
4378         type for tv_usec element.
4379         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
4380         * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
4381         * sysdeps/generic/bits/time.h: Likewise.
4382         * sysdeps/mach/hurd/bits/time.h: Likewise.
4383         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4384         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4385         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4386         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
4387         * sysdeps/generic/bits/types.h: Likewise.
4388         * posix/sys/types.h: Define suseconds_t for X/Open.
4389
4390 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
4391
4392         * stdio-common/bug1.c: Avoid memory leak.
4393
4394         * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
4395         program deterministic.
4396         * sysdeps/i386/fpu/e_powf.S: Likewise.
4397         * sysdeps/i386/fpu/e_powl.S: Likewise.
4398
4399 1999-07-15  Jakub Jelinek  <jj@ultra.linux.cz>
4400
4401         * math/Makefile: Add t_sincosl and k_sincosl support routines.
4402         * math/math_private.h (__kernel_sincosl): New declaration.
4403         * sysdeps/generic/t_sincosl.c: New file.
4404         * sysdeps/generic/k_sincosl.c: New file.
4405         * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
4406         * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
4407         * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
4408         * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
4409         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
4410         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
4411         __kernel_sincosl.
4412         * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
4413         definition.
4414
4415 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
4416
4417         * posix/unistd.h: Use __PMT for exit.
4418
4419 1999-07-15  Philip Blundell  <pb@nexus.co.uk>
4420
4421         * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
4422         _outw, _outl): Added to GLIBC_2.1.2.
4423
4424 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
4425
4426         * posix/fnmatch.h: Use __name instead of __string in prototype to
4427         allow use outside glibc.
4428
4429 1999-07-14  Ulrich Drepper  <drepper@cygnus.com>
4430
4431         * time/tst-strptime.c (main): Add one more test case.  Produce
4432         output even when result is ok.
4433
4434         * time/strptime.c (get_number): Handle number parsing more
4435         consistent with strftime.  Only parse a given number of digits.
4436         (get_alt_number):  Fix implementation.  Was broken.
4437         (strptime_internal): Add third parameter to get_number and
4438         get_alt_number calls.
4439
4440 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
4441
4442         * elf/ldd.bash.in: Add support for multiple dynamic linkers.
4443         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
4444         try both 32bit and 64bit dynamic linker.
4445         * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
4446         script on all sparc targets.
4447
4448 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
4449
4450         * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
4451         to int.
4452
4453 1999-07-13  Andreas Schwab  <schwab@suse.de>
4454
4455         * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
4456         inlining.  Fixes PR libc/1198.
4457
4458 1999-07-14  Andreas Schwab  <schwab@suse.de>
4459
4460         * Makerules (common-generated): Don't prepend $(common-objpfx).
4461
4462 1999-07-12  Jakub Jelinek  <jj@ultra.linux.cz>
4463
4464         * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
4465         as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
4466         * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
4467         quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
4468         macro.
4469         * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
4470         instead of ieee754.
4471         * sysdeps/arm/Implies: Likewise.
4472         * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
4473         ieee754/ldbl-96 instead of ieee754.
4474         * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
4475         * sysdeps/generic/e_atanhl.c: New file.
4476         * sysdeps/generic/e_coshl.c: New file.
4477         * sysdeps/generic/e_sinhl.c: New file.
4478         * sysdeps/generic/e_gammal_r.c: New file.
4479         * sysdeps/generic/e_hypotl.c: New file.
4480         * sysdeps/generic/s_cbrtl.c: New file.
4481         * sysdeps/generic/s_asinhl.c: New file.
4482         * sysdeps/generic/s_tanhl.c: New file.
4483         * sysdeps/generic/w_expl.c: New file.
4484         * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
4485         instead of ieee754.
4486         * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
4487         ieee754/ldbl-96 instead of ieee754.
4488         * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
4489         * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
4490         printf_fphex.
4491         * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
4492         instead of ieee754.
4493         * sysdeps/mips/mips64/Implies: Likewise.
4494         * sysdeps/powerpc/Implies: Likewise.
4495         * sysdeps/sparc/Implies: Remove.
4496         * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
4497         ieee754/dbl-64.
4498         * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
4499         and ieee754/ldbl-128.
4500
4501         * sysdeps/sparc/bits/wordsize.h: Remove.
4502         * sysdeps/sparc/fpu/bits/mathinline.h: New file.
4503         * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
4504         only for sparc32.
4505         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
4506         * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
4507         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
4508         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
4509         * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
4510         support.
4511
4512         * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
4513         of carries. Optimize.
4514
4515         * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
4516         * sysdeps/generic/e_exp10.c: ...here.
4517         * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
4518         * sysdeps/generic/e_exp10f.c: ...here.
4519         * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
4520         * sysdeps/generic/e_exp10l.c: ...here.
4521         * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
4522         * sysdeps/generic/e_scalb.c: ...here.
4523         * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
4524         * sysdeps/generic/e_scalbf.c: ...here.
4525         * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
4526         * sysdeps/generic/e_scalbl.c: ...here.
4527         * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
4528         * sysdeps/generic/s_cacos.c: ...here.
4529         * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
4530         * sysdeps/generic/s_cacosf.c: ...here.
4531         * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
4532         * sysdeps/generic/s_cacosh.c: ...here.
4533         * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
4534         * sysdeps/generic/s_cacoshf.c: ...here.
4535         * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
4536         * sysdeps/generic/s_cacoshl.c: ...here.
4537         * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
4538         * sysdeps/generic/s_cacosl.c: ...here.
4539         * sysdeps/libm-ieee754/s_casin.c: Moved to ...
4540         * sysdeps/generic/s_casin.c: ...here.
4541         * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
4542         * sysdeps/generic/s_casinf.c: ...here.
4543         * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
4544         * sysdeps/generic/s_casinh.c: ...here.
4545         * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
4546         * sysdeps/generic/s_casinhf.c: ...here.
4547         * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
4548         * sysdeps/generic/s_casinhl.c: ...here.
4549         * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
4550         * sysdeps/generic/s_casinl.c: ...here.
4551         * sysdeps/libm-ieee754/s_catan.c: Moved to ...
4552         * sysdeps/generic/s_catan.c: ...here.
4553         * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
4554         * sysdeps/generic/s_catanf.c: ...here.
4555         * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
4556         * sysdeps/generic/s_catanh.c: ...here.
4557         * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
4558         * sysdeps/generic/s_catanhf.c: ...here.
4559         * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
4560         * sysdeps/generic/s_catanhl.c: ...here.
4561         * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
4562         * sysdeps/generic/s_catanl.c: ...here.
4563         * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
4564         * sysdeps/generic/s_ccos.c: ...here.
4565         * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
4566         * sysdeps/generic/s_ccosf.c: ...here.
4567         * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
4568         * sysdeps/generic/s_ccosh.c: ...here.
4569         * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
4570         * sysdeps/generic/s_ccoshf.c: ...here.
4571         * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
4572         * sysdeps/generic/s_ccoshl.c: ...here.
4573         * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
4574         * sysdeps/generic/s_ccosl.c: ...here.
4575         * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
4576         * sysdeps/generic/s_cexp.c: ...here.
4577         * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
4578         * sysdeps/generic/s_cexpf.c: ...here.
4579         * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
4580         * sysdeps/generic/s_cexpl.c: ...here.
4581         * sysdeps/libm-ieee754/s_clog.c: Moved to ...
4582         * sysdeps/generic/s_clog.c: ...here.
4583         * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
4584         * sysdeps/generic/s_clog10.c: ...here.
4585         * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
4586         * sysdeps/generic/s_clog10f.c: ...here.
4587         * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
4588         * sysdeps/generic/s_clog10l.c: ...here.
4589         * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
4590         * sysdeps/generic/s_clogf.c: ...here.
4591         * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
4592         * sysdeps/generic/s_clogl.c: ...here.
4593         * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
4594         * sysdeps/generic/s_cpow.c: ...here.
4595         * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
4596         * sysdeps/generic/s_cpowf.c: ...here.
4597         * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
4598         * sysdeps/generic/s_cpowl.c: ...here.
4599         * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
4600         * sysdeps/generic/s_cproj.c: ...here.
4601         * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
4602         * sysdeps/generic/s_cprojf.c: ...here.
4603         * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
4604         * sysdeps/generic/s_cprojl.c: ...here.
4605         * sysdeps/libm-ieee754/s_csin.c: Moved to ...
4606         * sysdeps/generic/s_csin.c: ...here.
4607         * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
4608         * sysdeps/generic/s_csinf.c: ...here.
4609         * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
4610         * sysdeps/generic/s_csinh.c: ...here.
4611         * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
4612         * sysdeps/generic/s_csinhf.c: ...here.
4613         * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
4614         * sysdeps/generic/s_csinhl.c: ...here.
4615         * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
4616         * sysdeps/generic/s_csinl.c: ...here.
4617         * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
4618         * sysdeps/generic/s_csqrt.c: ...here.
4619         * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
4620         * sysdeps/generic/s_csqrtf.c: ...here.
4621         * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
4622         * sysdeps/generic/s_csqrtl.c: ...here.
4623         * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
4624         * sysdeps/generic/s_ctan.c: ...here.
4625         * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
4626         * sysdeps/generic/s_ctanf.c: ...here.
4627         * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
4628         * sysdeps/generic/s_ctanh.c: ...here.
4629         * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
4630         * sysdeps/generic/s_ctanhf.c: ...here.
4631         * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
4632         * sysdeps/generic/s_ctanhl.c: ...here.
4633         * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
4634         * sysdeps/generic/s_ctanl.c: ...here.
4635         * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
4636         * sysdeps/generic/s_fdim.c: ...here.
4637         * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
4638         * sysdeps/generic/s_fdimf.c: ...here.
4639         * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
4640         * sysdeps/generic/s_fdiml.c: ...here.
4641         * sysdeps/libm-ieee754/s_fma.c: Moved to ...
4642         * sysdeps/generic/s_fma.c: ...here.
4643         * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
4644         * sysdeps/generic/s_fmaf.c: ...here.
4645         * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
4646         * sysdeps/generic/s_fmal.c: ...here.
4647         * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
4648         * sysdeps/generic/s_fmax.c: ...here.
4649         * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
4650         * sysdeps/generic/s_fmaxf.c: ...here.
4651         * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
4652         * sysdeps/generic/s_fmaxl.c: ...here.
4653         * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
4654         * sysdeps/generic/s_fmin.c: ...here.
4655         * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
4656         * sysdeps/generic/s_fminf.c: ...here.
4657         * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
4658         * sysdeps/generic/s_fminl.c: ...here.
4659         * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
4660         * sysdeps/generic/s_ldexp.c: ...here.
4661         * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
4662         * sysdeps/generic/s_ldexpf.c: ...here.
4663         * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
4664         * sysdeps/generic/s_ldexpl.c: ...here.
4665         * sysdeps/libm-ieee754/s_nan.c: Moved to ...
4666         * sysdeps/generic/s_nan.c: ...here.
4667         * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
4668         * sysdeps/generic/s_nanf.c: ...here.
4669         * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
4670         * sysdeps/generic/s_nanl.c: ...here.
4671         * sysdeps/libm-ieee754/s_significand.c: Moved to ...
4672         * sysdeps/generic/s_significand.c: ...here.
4673         * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
4674         * sysdeps/generic/s_significandf.c: ...here.
4675         * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
4676         * sysdeps/generic/s_significandl.c: ...here.
4677         Avoid conversion from int to double and then to long double.
4678         * sysdeps/libm-ieee754/w_acos.c: Moved to ...
4679         * math/w_acos.c: ...here.
4680         * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
4681         * math/w_acosf.c: ...here.
4682         * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
4683         * math/w_acosh.c: ...here.
4684         * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
4685         * math/w_acoshf.c: ...here.
4686         * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
4687         * math/w_acoshl.c: ...here.
4688         * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
4689         * math/w_acosl.c: ...here.
4690         * sysdeps/libm-ieee754/w_asin.c: Moved to ...
4691         * math/w_asin.c: ...here.
4692         * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
4693         * math/w_asinf.c: ...here.
4694         * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
4695         * math/w_asinl.c: ...here.
4696         * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
4697         * math/w_atan2.c: ...here.
4698         * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
4699         * math/w_atan2f.c: ...here.
4700         * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
4701         * math/w_atan2l.c: ...here.
4702         * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
4703         * math/w_atanh.c: ...here.
4704         * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
4705         * math/w_atanhf.c: ...here.
4706         * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
4707         * math/w_atanhl.c: ...here.
4708         * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
4709         * math/w_cosh.c: ...here.
4710         * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
4711         * math/w_coshf.c: ...here.
4712         * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
4713         * math/w_coshl.c: ...here.
4714         * sysdeps/libm-ieee754/w_drem.c: Moved to ...
4715         * math/w_drem.c: ...here.
4716         * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
4717         * math/w_dremf.c: ...here.
4718         * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
4719         * math/w_dreml.c: ...here.
4720         * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
4721         * math/w_exp10.c: ...here.
4722         * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
4723         * math/w_exp10f.c: ...here.
4724         * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
4725         * math/w_exp10l.c: ...here.
4726         * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
4727         * math/w_exp2.c: ...here.
4728         * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
4729         * math/w_exp2f.c: ...here.
4730         * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
4731         * math/w_exp2l.c: ...here.
4732         * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
4733         * math/w_fmod.c: ...here.
4734         * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
4735         * math/w_fmodf.c: ...here.
4736         * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
4737         * math/w_fmodl.c: ...here.
4738         * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
4739         * math/w_hypot.c: ...here.
4740         * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
4741         * math/w_hypotf.c: ...here.
4742         * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
4743         * math/w_hypotl.c: ...here.
4744         * sysdeps/libm-ieee754/w_j0.c: Moved to ...
4745         * math/w_j0.c: ...here.
4746         * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
4747         * math/w_j0f.c: ...here.
4748         * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
4749         * math/w_j0l.c: ...here.
4750         * sysdeps/libm-ieee754/w_j1.c: Moved to ...
4751         * math/w_j1.c: ...here.
4752         * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
4753         * math/w_j1f.c: ...here.
4754         * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
4755         * math/w_j1l.c: ...here.
4756         * sysdeps/libm-ieee754/w_jn.c: Moved to ...
4757         * math/w_jn.c: ...here.
4758         * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
4759         * math/w_jnf.c: ...here.
4760         * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
4761         * math/w_jnl.c: ...here.
4762         * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
4763         * math/w_lgamma.c: ...here.
4764         * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
4765         * math/w_lgamma_r.c: ...here.
4766         * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
4767         * math/w_lgammaf.c: ...here.
4768         * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
4769         * math/w_lgammaf_r.c: ...here.
4770         * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
4771         * math/w_lgammal.c: ...here.
4772         * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
4773         * math/w_lgammal_r.c: ...here.
4774         * sysdeps/libm-ieee754/w_log.c: Moved to ...
4775         * math/w_log.c: ...here.
4776         * sysdeps/libm-ieee754/w_log10.c: Moved to ...
4777         * math/w_log10.c: ...here.
4778         * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
4779         * math/w_log10f.c: ...here.
4780         * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
4781         * math/w_log10l.c: ...here.
4782         * sysdeps/libm-ieee754/w_logf.c: Moved to ...
4783         * math/w_logf.c: ...here.
4784         * sysdeps/libm-ieee754/w_logl.c: Moved to ...
4785         * math/w_logl.c: ...here.
4786         * sysdeps/libm-ieee754/w_pow.c: Moved to ...
4787         * math/w_pow.c: ...here.
4788         * sysdeps/libm-ieee754/w_powf.c: Moved to ...
4789         * math/w_powf.c: ...here.
4790         * sysdeps/libm-ieee754/w_powl.c: Moved to ...
4791         * math/w_powl.c: ...here.
4792         * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
4793         * math/w_remainder.c: ...here.
4794         * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
4795         * math/w_remainderf.c: ...here.
4796         * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
4797         * math/w_remainderl.c: ...here.
4798         * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
4799         * math/w_scalb.c: ...here.
4800         * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
4801         * math/w_scalbf.c: ...here.
4802         * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
4803         * math/w_scalbl.c: ...here.
4804         * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
4805         * math/w_sinh.c: ...here.
4806         * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
4807         * math/w_sinhf.c: ...here.
4808         * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
4809         * math/w_sinhl.c: ...here.
4810         * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
4811         * math/w_sqrt.c: ...here.
4812         * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
4813         * math/w_sqrtf.c: ...here.
4814         * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
4815         * math/w_sqrtl.c: ...here.
4816         * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
4817         * math/w_tgamma.c: ...here.
4818         * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
4819         * math/w_tgammaf.c: ...here.
4820         * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
4821         * math/w_tgammal.c: ...here.
4822         * sysdeps/libm-i387/e_acos.S: Moved to ...
4823         * sysdeps/i386/fpu/e_acos.S: ...here.
4824         * sysdeps/libm-i387/e_acosf.S: Moved to ...
4825         * sysdeps/i386/fpu/e_acosf.S: ...here.
4826         * sysdeps/libm-i387/e_acosh.S: Moved to ...
4827         * sysdeps/i386/fpu/e_acosh.S: ...here.
4828         * sysdeps/libm-i387/e_acoshf.S: Moved to ...
4829         * sysdeps/i386/fpu/e_acoshf.S: ...here.
4830         * sysdeps/libm-i387/e_acoshl.S: Moved to ...
4831         * sysdeps/i386/fpu/e_acoshl.S: ...here.
4832         * sysdeps/libm-i387/e_acosl.S: Moved to ...
4833         * sysdeps/i386/fpu/e_acosl.S: ...here.
4834         * sysdeps/libm-i387/e_asin.S: Moved to ...
4835         * sysdeps/i386/fpu/e_asin.S: ...here.
4836         * sysdeps/libm-i387/e_asinf.S: Moved to ...
4837         * sysdeps/i386/fpu/e_asinf.S: ...here.
4838         * sysdeps/libm-i387/e_asinl.S: Moved to ...
4839         * sysdeps/i386/fpu/e_asinl.S: ...here.
4840         * sysdeps/libm-i387/e_atan2.S: Moved to ...
4841         * sysdeps/i386/fpu/e_atan2.S: ...here.
4842         * sysdeps/libm-i387/e_atan2f.S: Moved to ...
4843         * sysdeps/i386/fpu/e_atan2f.S: ...here.
4844         * sysdeps/libm-i387/e_atan2l.S: Moved to ...
4845         * sysdeps/i386/fpu/e_atan2l.S: ...here.
4846         * sysdeps/libm-i387/e_atanh.S: Moved to ...
4847         * sysdeps/i386/fpu/e_atanh.S: ...here.
4848         * sysdeps/libm-i387/e_atanhf.S: Moved to ...
4849         * sysdeps/i386/fpu/e_atanhf.S: ...here.
4850         * sysdeps/libm-i387/e_atanhl.S: Moved to ...
4851         * sysdeps/i386/fpu/e_atanhl.S: ...here.
4852         * sysdeps/libm-i387/e_exp.S: Moved to ...
4853         * sysdeps/i386/fpu/e_exp.S: ...here.
4854         * sysdeps/libm-i387/e_exp10.S: Moved to ...
4855         * sysdeps/i386/fpu/e_exp10.S: ...here.
4856         * sysdeps/libm-i387/e_exp10f.S: Moved to ...
4857         * sysdeps/i386/fpu/e_exp10f.S: ...here.
4858         * sysdeps/libm-i387/e_exp10l.S: Moved to ...
4859         * sysdeps/i386/fpu/e_exp10l.S: ...here.
4860         * sysdeps/libm-i387/e_expf.S: Moved to ...
4861         * sysdeps/i386/fpu/e_expf.S: ...here.
4862         * sysdeps/libm-i387/e_expl.S: Moved to ...
4863         * sysdeps/i386/fpu/e_expl.S: ...here.
4864         * sysdeps/libm-i387/e_fmod.S: Moved to ...
4865         * sysdeps/i386/fpu/e_fmod.S: ...here.
4866         * sysdeps/libm-i387/e_fmodf.S: Moved to ...
4867         * sysdeps/i386/fpu/e_fmodf.S: ...here.
4868         * sysdeps/libm-i387/e_fmodl.S: Moved to ...
4869         * sysdeps/i386/fpu/e_fmodl.S: ...here.
4870         * sysdeps/libm-i387/e_hypot.S: Moved to ...
4871         * sysdeps/i386/fpu/e_hypot.S: ...here.
4872         * sysdeps/libm-i387/e_hypotf.S: Moved to ...
4873         * sysdeps/i386/fpu/e_hypotf.S: ...here.
4874         * sysdeps/libm-i387/e_log.S: Moved to ...
4875         * sysdeps/i386/fpu/e_log.S: ...here.
4876         * sysdeps/libm-i387/e_log10.S: Moved to ...
4877         * sysdeps/i386/fpu/e_log10.S: ...here.
4878         * sysdeps/libm-i387/e_log10f.S: Moved to ...
4879         * sysdeps/i386/fpu/e_log10f.S: ...here.
4880         * sysdeps/libm-i387/e_log10l.S: Moved to ...
4881         * sysdeps/i386/fpu/e_log10l.S: ...here.
4882         * sysdeps/libm-i387/e_logf.S: Moved to ...
4883         * sysdeps/i386/fpu/e_logf.S: ...here.
4884         * sysdeps/libm-i387/e_logl.S: Moved to ...
4885         * sysdeps/i386/fpu/e_logl.S: ...here.
4886         * sysdeps/libm-i387/e_pow.S: Moved to ...
4887         * sysdeps/i386/fpu/e_pow.S: ...here.
4888         * sysdeps/libm-i387/e_powf.S: Moved to ...
4889         * sysdeps/i386/fpu/e_powf.S: ...here.
4890         * sysdeps/libm-i387/e_powl.S: Moved to ...
4891         * sysdeps/i386/fpu/e_powl.S: ...here.
4892         * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
4893         * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
4894         * sysdeps/libm-i387/e_remainder.S: Moved to ...
4895         * sysdeps/i386/fpu/e_remainder.S: ...here.
4896         * sysdeps/libm-i387/e_remainderf.S: Moved to ...
4897         * sysdeps/i386/fpu/e_remainderf.S: ...here.
4898         * sysdeps/libm-i387/e_remainderl.S: Moved to ...
4899         * sysdeps/i386/fpu/e_remainderl.S: ...here.
4900         * sysdeps/libm-i387/e_scalb.S: Moved to ...
4901         * sysdeps/i386/fpu/e_scalb.S: ...here.
4902         * sysdeps/libm-i387/e_scalbf.S: Moved to ...
4903         * sysdeps/i386/fpu/e_scalbf.S: ...here.
4904         * sysdeps/libm-i387/e_scalbl.S: Moved to ...
4905         * sysdeps/i386/fpu/e_scalbl.S: ...here.
4906         * sysdeps/libm-i387/e_sqrt.S: Moved to ...
4907         * sysdeps/i386/fpu/e_sqrt.S: ...here.
4908         * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
4909         * sysdeps/i386/fpu/e_sqrtf.S: ...here.
4910         * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
4911         * sysdeps/i386/fpu/e_sqrtl.S: ...here.
4912         * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
4913         * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
4914         * sysdeps/libm-i387/s_asinh.S: Moved to ...
4915         * sysdeps/i386/fpu/s_asinh.S: ...here.
4916         * sysdeps/libm-i387/s_asinhf.S: Moved to ...
4917         * sysdeps/i386/fpu/s_asinhf.S: ...here.
4918         * sysdeps/libm-i387/s_asinhl.S: Moved to ...
4919         * sysdeps/i386/fpu/s_asinhl.S: ...here.
4920         * sysdeps/libm-i387/s_atan.S: Moved to ...
4921         * sysdeps/i386/fpu/s_atan.S: ...here.
4922         * sysdeps/libm-i387/s_atanf.S: Moved to ...
4923         * sysdeps/i386/fpu/s_atanf.S: ...here.
4924         * sysdeps/libm-i387/s_atanl.S: Moved to ...
4925         * sysdeps/i386/fpu/s_atanl.S: ...here.
4926         * sysdeps/libm-i387/s_cbrt.S: Moved to ...
4927         * sysdeps/i386/fpu/s_cbrt.S: ...here.
4928         * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
4929         * sysdeps/i386/fpu/s_cbrtf.S: ...here.
4930         * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
4931         * sysdeps/i386/fpu/s_cbrtl.S: ...here.
4932         * sysdeps/libm-i387/s_ceil.S: Moved to ...
4933         * sysdeps/i386/fpu/s_ceil.S: ...here.
4934         * sysdeps/libm-i387/s_ceilf.S: Moved to ...
4935         * sysdeps/i386/fpu/s_ceilf.S: ...here.
4936         * sysdeps/libm-i387/s_ceill.S: Moved to ...
4937         * sysdeps/i386/fpu/s_ceill.S: ...here.
4938         * sysdeps/libm-i387/s_cexp.S: Moved to ...
4939         * sysdeps/i386/fpu/s_cexp.S: ...here.
4940         * sysdeps/libm-i387/s_cexpf.S: Moved to ...
4941         * sysdeps/i386/fpu/s_cexpf.S: ...here.
4942         * sysdeps/libm-i387/s_cexpl.S: Moved to ...
4943         * sysdeps/i386/fpu/s_cexpl.S: ...here.
4944         * sysdeps/libm-i387/s_copysign.S: Moved to ...
4945         * sysdeps/i386/fpu/s_copysign.S: ...here.
4946         * sysdeps/libm-i387/s_copysignf.S: Moved to ...
4947         * sysdeps/i386/fpu/s_copysignf.S: ...here.
4948         * sysdeps/libm-i387/s_copysignl.S: Moved to ...
4949         * sysdeps/i386/fpu/s_copysignl.S: ...here.
4950         * sysdeps/libm-i387/s_cos.S: Moved to ...
4951         * sysdeps/i386/fpu/s_cos.S: ...here.
4952         * sysdeps/libm-i387/s_cosf.S: Moved to ...
4953         * sysdeps/i386/fpu/s_cosf.S: ...here.
4954         * sysdeps/libm-i387/s_cosl.S: Moved to ...
4955         * sysdeps/i386/fpu/s_cosl.S: ...here.
4956         * sysdeps/libm-i387/s_exp2.S: Moved to ...
4957         * sysdeps/i386/fpu/s_exp2.S: ...here.
4958         * sysdeps/libm-i387/s_exp2f.S: Moved to ...
4959         * sysdeps/i386/fpu/s_exp2f.S: ...here.
4960         * sysdeps/libm-i387/s_exp2l.S: Moved to ...
4961         * sysdeps/i386/fpu/s_exp2l.S: ...here.
4962         * sysdeps/libm-i387/s_expm1.S: Moved to ...
4963         * sysdeps/i386/fpu/s_expm1.S: ...here.
4964         * sysdeps/libm-i387/s_expm1f.S: Moved to ...
4965         * sysdeps/i386/fpu/s_expm1f.S: ...here.
4966         * sysdeps/libm-i387/s_expm1l.S: Moved to ...
4967         * sysdeps/i386/fpu/s_expm1l.S: ...here.
4968         * sysdeps/libm-i387/s_fdim.S: Moved to ...
4969         * sysdeps/i386/fpu/s_fdim.S: ...here.
4970         * sysdeps/libm-i387/s_fdimf.S: Moved to ...
4971         * sysdeps/i386/fpu/s_fdimf.S: ...here.
4972         * sysdeps/libm-i387/s_fdiml.S: Moved to ...
4973         * sysdeps/i386/fpu/s_fdiml.S: ...here.
4974         * sysdeps/libm-i387/s_finite.S: Moved to ...
4975         * sysdeps/i386/fpu/s_finite.S: ...here.
4976         * sysdeps/libm-i387/s_finitef.S: Moved to ...
4977         * sysdeps/i386/fpu/s_finitef.S: ...here.
4978         * sysdeps/libm-i387/s_finitel.S: Moved to ...
4979         * sysdeps/i386/fpu/s_finitel.S: ...here.
4980         * sysdeps/libm-i387/s_floor.S: Moved to ...
4981         * sysdeps/i386/fpu/s_floor.S: ...here.
4982         * sysdeps/libm-i387/s_floorf.S: Moved to ...
4983         * sysdeps/i386/fpu/s_floorf.S: ...here.
4984         * sysdeps/libm-i387/s_floorl.S: Moved to ...
4985         * sysdeps/i386/fpu/s_floorl.S: ...here.
4986         * sysdeps/libm-i387/s_fma.S: Moved to ...
4987         * sysdeps/i386/fpu/s_fma.S: ...here.
4988         * sysdeps/libm-i387/s_fmaf.S: Moved to ...
4989         * sysdeps/i386/fpu/s_fmaf.S: ...here.
4990         * sysdeps/libm-i387/s_fmal.S: Moved to ...
4991         * sysdeps/i386/fpu/s_fmal.S: ...here.
4992         * sysdeps/libm-i387/s_fmax.S: Moved to ...
4993         * sysdeps/i386/fpu/s_fmax.S: ...here.
4994         * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
4995         * sysdeps/i386/fpu/s_fmaxf.S: ...here.
4996         * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
4997         * sysdeps/i386/fpu/s_fmaxl.S: ...here.
4998         * sysdeps/libm-i387/s_fmin.S: Moved to ...
4999         * sysdeps/i386/fpu/s_fmin.S: ...here.
5000         * sysdeps/libm-i387/s_fminf.S: Moved to ...
5001         * sysdeps/i386/fpu/s_fminf.S: ...here.
5002         * sysdeps/libm-i387/s_fminl.S: Moved to ...
5003         * sysdeps/i386/fpu/s_fminl.S: ...here.
5004         * sysdeps/libm-i387/s_frexp.S: Moved to ...
5005         * sysdeps/i386/fpu/s_frexp.S: ...here.
5006         * sysdeps/libm-i387/s_frexpf.S: Moved to ...
5007         * sysdeps/i386/fpu/s_frexpf.S: ...here.
5008         * sysdeps/libm-i387/s_frexpl.S: Moved to ...
5009         * sysdeps/i386/fpu/s_frexpl.S: ...here.
5010         * sysdeps/libm-i387/s_ilogb.S: Moved to ...
5011         * sysdeps/i386/fpu/s_ilogb.S: ...here.
5012         * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
5013         * sysdeps/i386/fpu/s_ilogbf.S: ...here.
5014         * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
5015         * sysdeps/i386/fpu/s_ilogbl.S: ...here.
5016         * sysdeps/libm-i387/s_llrint.S: Moved to ...
5017         * sysdeps/i386/fpu/s_llrint.S: ...here.
5018         * sysdeps/libm-i387/s_llrintf.S: Moved to ...
5019         * sysdeps/i386/fpu/s_llrintf.S: ...here.
5020         * sysdeps/libm-i387/s_llrintl.S: Moved to ...
5021         * sysdeps/i386/fpu/s_llrintl.S: ...here.
5022         * sysdeps/libm-i387/s_log1p.S: Moved to ...
5023         * sysdeps/i386/fpu/s_log1p.S: ...here.
5024         * sysdeps/libm-i387/s_log1pf.S: Moved to ...
5025         * sysdeps/i386/fpu/s_log1pf.S: ...here.
5026         * sysdeps/libm-i387/s_log1pl.S: Moved to ...
5027         * sysdeps/i386/fpu/s_log1pl.S: ...here.
5028         * sysdeps/libm-i387/s_log2.S: Moved to ...
5029         * sysdeps/i386/fpu/s_log2.S: ...here.
5030         * sysdeps/libm-i387/s_log2f.S: Moved to ...
5031         * sysdeps/i386/fpu/s_log2f.S: ...here.
5032         * sysdeps/libm-i387/s_log2l.S: Moved to ...
5033         * sysdeps/i386/fpu/s_log2l.S: ...here.
5034         * sysdeps/libm-i387/s_logb.S: Moved to ...
5035         * sysdeps/i386/fpu/s_logb.S: ...here.
5036         * sysdeps/libm-i387/s_logbf.S: Moved to ...
5037         * sysdeps/i386/fpu/s_logbf.S: ...here.
5038         * sysdeps/libm-i387/s_logbl.S: Moved to ...
5039         * sysdeps/i386/fpu/s_logbl.S: ...here.
5040         * sysdeps/libm-i387/s_lrint.S: Moved to ...
5041         * sysdeps/i386/fpu/s_lrint.S: ...here.
5042         * sysdeps/libm-i387/s_lrintf.S: Moved to ...
5043         * sysdeps/i386/fpu/s_lrintf.S: ...here.
5044         * sysdeps/libm-i387/s_lrintl.S: Moved to ...
5045         * sysdeps/i386/fpu/s_lrintl.S: ...here.
5046         * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
5047         * sysdeps/i386/fpu/s_nearbyint.S: ...here.
5048         * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
5049         * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
5050         * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
5051         * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
5052         * sysdeps/libm-i387/s_remquo.S: Moved to ...
5053         * sysdeps/i386/fpu/s_remquo.S: ...here.
5054         * sysdeps/libm-i387/s_remquof.S: Moved to ...
5055         * sysdeps/i386/fpu/s_remquof.S: ...here.
5056         * sysdeps/libm-i387/s_remquol.S: Moved to ...
5057         * sysdeps/i386/fpu/s_remquol.S: ...here.
5058         * sysdeps/libm-i387/s_rint.S: Moved to ...
5059         * sysdeps/i386/fpu/s_rint.S: ...here.
5060         * sysdeps/libm-i387/s_rintf.S: Moved to ...
5061         * sysdeps/i386/fpu/s_rintf.S: ...here.
5062         * sysdeps/libm-i387/s_rintl.S: Moved to ...
5063         * sysdeps/i386/fpu/s_rintl.S: ...here.
5064         * sysdeps/libm-i387/s_scalbn.S: Moved to ...
5065         * sysdeps/i386/fpu/s_scalbn.S: ...here.
5066         * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
5067         * sysdeps/i386/fpu/s_scalbnf.S: ...here.
5068         * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
5069         * sysdeps/i386/fpu/s_scalbnl.S: ...here.
5070         * sysdeps/libm-i387/s_significand.S: Moved to ...
5071         * sysdeps/i386/fpu/s_significand.S: ...here.
5072         * sysdeps/libm-i387/s_significandf.S: Moved to ...
5073         * sysdeps/i386/fpu/s_significandf.S: ...here.
5074         * sysdeps/libm-i387/s_significandl.S: Moved to ...
5075         * sysdeps/i386/fpu/s_significandl.S: ...here.
5076         * sysdeps/libm-i387/s_sin.S: Moved to ...
5077         * sysdeps/i386/fpu/s_sin.S: ...here.
5078         * sysdeps/libm-i387/s_sincos.S: Moved to ...
5079         * sysdeps/i386/fpu/s_sincos.S: ...here.
5080         * sysdeps/libm-i387/s_sincosf.S: Moved to ...
5081         * sysdeps/i386/fpu/s_sincosf.S: ...here.
5082         * sysdeps/libm-i387/s_sincosl.S: Moved to ...
5083         * sysdeps/i386/fpu/s_sincosl.S: ...here.
5084         * sysdeps/libm-i387/s_sinf.S: Moved to ...
5085         * sysdeps/i386/fpu/s_sinf.S: ...here.
5086         * sysdeps/libm-i387/s_sinl.S: Moved to ...
5087         * sysdeps/i386/fpu/s_sinl.S: ...here.
5088         * sysdeps/libm-i387/s_tan.S: Moved to ...
5089         * sysdeps/i386/fpu/s_tan.S: ...here.
5090         * sysdeps/libm-i387/s_tanf.S: Moved to ...
5091         * sysdeps/i386/fpu/s_tanf.S: ...here.
5092         * sysdeps/libm-i387/s_tanl.S: Moved to ...
5093         * sysdeps/i386/fpu/s_tanl.S: ...here.
5094         * sysdeps/libm-i387/s_trunc.S: Moved to ...
5095         * sysdeps/i386/fpu/s_trunc.S: ...here.
5096         * sysdeps/libm-i387/s_truncf.S: Moved to ...
5097         * sysdeps/i386/fpu/s_truncf.S: ...here.
5098         * sysdeps/libm-i387/s_truncl.S: Moved to ...
5099         * sysdeps/i386/fpu/s_truncl.S: ...here.
5100         * sysdeps/libm-ieee754/k_standard.c: Moved to ...
5101         * sysdeps/ieee754/k_standard.c: ...here.
5102         * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
5103         * sysdeps/ieee754/s_lib_version.c: ...here.
5104         * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
5105         * sysdeps/ieee754/s_matherr.c: ...here.
5106         * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
5107         * sysdeps/ieee754/s_signgam.c: ...here.
5108         * sysdeps/ieee754/dbl2mpn.c: Moved to ...
5109         * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
5110         * sysdeps/ieee754/mpn2dbl.c: Moved to ...
5111         * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
5112         * sysdeps/libm-ieee754/e_acos.c: Moved to ...
5113         * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
5114         * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
5115         * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
5116         * sysdeps/libm-ieee754/e_asin.c: Moved to ...
5117         * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
5118         * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
5119         * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
5120         * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
5121         * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
5122         * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
5123         * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
5124         * sysdeps/libm-ieee754/e_exp.c: Moved to ...
5125         * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
5126         * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
5127         * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
5128         * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
5129         * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
5130         * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
5131         * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
5132         * sysdeps/libm-ieee754/e_j0.c: Moved to ...
5133         * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
5134         * sysdeps/libm-ieee754/e_j1.c: Moved to ...
5135         * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
5136         * sysdeps/libm-ieee754/e_jn.c: Moved to ...
5137         * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
5138         * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
5139         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
5140         * sysdeps/libm-ieee754/e_log.c: Moved to ...
5141         * sysdeps/ieee754/dbl-64/e_log.c: ...here.
5142         * sysdeps/libm-ieee754/e_log10.c: Moved to ...
5143         * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
5144         * sysdeps/libm-ieee754/e_pow.c: Moved to ...
5145         * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
5146         * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
5147         * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
5148         * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
5149         * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
5150         * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
5151         * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
5152         * sysdeps/libm-ieee754/k_cos.c: Moved to ...
5153         * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
5154         * sysdeps/libm-ieee754/k_sin.c: Moved to ...
5155         * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
5156         * sysdeps/libm-ieee754/k_tan.c: Moved to ...
5157         * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
5158         * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
5159         * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
5160         * sysdeps/libm-ieee754/s_atan.c: Moved to ...
5161         * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
5162         * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
5163         * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
5164         * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
5165         * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
5166         * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
5167         * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
5168         * sysdeps/libm-ieee754/s_cos.c: Moved to ...
5169         * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
5170         * sysdeps/libm-ieee754/s_erf.c: Moved to ...
5171         * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
5172         * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
5173         * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
5174         * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
5175         * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
5176         * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
5177         * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
5178         * sysdeps/libm-ieee754/s_finite.c: Moved to ...
5179         * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
5180         * sysdeps/libm-ieee754/s_floor.c: Moved to ...
5181         * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
5182         * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
5183         * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
5184         * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
5185         * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
5186         * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
5187         * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
5188         * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
5189         * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
5190         * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
5191         * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
5192         (__isnan): Comment above function says it returns 0 or 1, but it
5193         used to return 0 or -1.
5194         * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
5195         * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
5196         * sysdeps/libm-ieee754/s_llround.c: Moved to ...
5197         * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
5198         * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
5199         * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
5200         * sysdeps/libm-ieee754/s_log2.c: Moved to ...
5201         * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
5202         * sysdeps/libm-ieee754/s_logb.c: Moved to ...
5203         * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
5204         * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
5205         * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
5206         * sysdeps/libm-ieee754/s_lround.c: Moved to ...
5207         * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
5208         * sysdeps/libm-ieee754/s_modf.c: Moved to ...
5209         * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
5210         * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
5211         * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
5212         * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
5213         * sysdeps/generic/s_nextafter.c: ...here.
5214         Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
5215         * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
5216         * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
5217         * sysdeps/libm-ieee754/s_rint.c: Moved to ...
5218         * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
5219         * sysdeps/libm-ieee754/s_round.c: Moved to ...
5220         * sysdeps/ieee754/dbl-64/s_round.c: ...here.
5221         * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
5222         * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
5223         * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
5224         * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
5225         * sysdeps/libm-ieee754/s_sin.c: Moved to ...
5226         * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
5227         * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
5228         * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
5229         * sysdeps/libm-ieee754/s_tan.c: Moved to ...
5230         * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
5231         * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
5232         * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
5233         * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
5234         * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
5235         * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
5236         * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
5237         * sysdeps/libm-ieee754/w_exp.c: Moved to ...
5238         * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
5239         * sysdeps/ieee754/mpn2flt.c: Moved to ...
5240         * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
5241         * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
5242         * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
5243         * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
5244         * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
5245         * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
5246         * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
5247         * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
5248         * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
5249         * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
5250         * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
5251         * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
5252         * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
5253         * sysdeps/libm-ieee754/e_expf.c: Moved to ...
5254         * sysdeps/ieee754/flt-32/e_expf.c: ...here.
5255         * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
5256         * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
5257         * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
5258         * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
5259         * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
5260         * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
5261         * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
5262         * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
5263         * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
5264         * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
5265         * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
5266         * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
5267         * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
5268         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
5269         * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
5270         * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
5271         * sysdeps/libm-ieee754/e_logf.c: Moved to ...
5272         * sysdeps/ieee754/flt-32/e_logf.c: ...here.
5273         * sysdeps/libm-ieee754/e_powf.c: Moved to ...
5274         * sysdeps/ieee754/flt-32/e_powf.c: ...here.
5275         * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
5276         * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
5277         * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
5278         * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
5279         * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
5280         * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
5281         * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
5282         * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
5283         * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
5284         * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
5285         * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
5286         * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
5287         * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
5288         * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
5289         * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
5290         * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
5291         * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
5292         * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
5293         * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
5294         * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
5295         * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
5296         * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
5297         * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
5298         * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
5299         * sysdeps/libm-ieee754/s_erff.c: Moved to ...
5300         * sysdeps/ieee754/flt-32/s_erff.c: ...here.
5301         * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
5302         * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
5303         * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
5304         * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
5305         * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
5306         * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
5307         * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
5308         * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
5309         * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
5310         * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
5311         * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
5312         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
5313         * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
5314         * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
5315         * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
5316         * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
5317         * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
5318         * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
5319         * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
5320         * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
5321         * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
5322         * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
5323         * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
5324         * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
5325         * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
5326         * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
5327         * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
5328         * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
5329         * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
5330         * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
5331         * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
5332         * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
5333         * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
5334         * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
5335         * sysdeps/libm-ieee754/s_modff.c: Moved to ...
5336         * sysdeps/ieee754/flt-32/s_modff.c: ...here.
5337         * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
5338         * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
5339         * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
5340         * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
5341         * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
5342         * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
5343         * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
5344         * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
5345         * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
5346         * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
5347         * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
5348         * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
5349         * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
5350         * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
5351         * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
5352         * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
5353         * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
5354         * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
5355         * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
5356         * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
5357         * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
5358         * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
5359         * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
5360         * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
5361         * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
5362         * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
5363         * sysdeps/libm-ieee754/w_expf.c: Moved to ...
5364         * sysdeps/ieee754/flt-32/w_expf.c: ...here.
5365         * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
5366         * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
5367         * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
5368         * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
5369         * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
5370         * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
5371         * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
5372         * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
5373         * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
5374         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
5375         * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
5376         * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
5377         * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
5378         * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
5379         * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
5380         * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
5381         * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
5382         * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
5383         * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
5384         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
5385         * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
5386         * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
5387         * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
5388         * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
5389         * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
5390         * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
5391         * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
5392         * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
5393         * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
5394         * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
5395         * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
5396         * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
5397         * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
5398         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
5399         * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
5400         * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
5401         * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
5402         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
5403         * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
5404         * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
5405         * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
5406         * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
5407         * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
5408         * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
5409         * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
5410         * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
5411         * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
5412         * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
5413         * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
5414         * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
5415         (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
5416         INSERT_WORDS.
5417         * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
5418         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
5419         (__nearbyintl): Fix for exponents 2^30.
5420         * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
5421         * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
5422         * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
5423         * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
5424         (__rintl): Fix for exponents 2^30.
5425         * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
5426         * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
5427         * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
5428         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
5429         (__scalbnl): Fix exponent for subnormal result.
5430         * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
5431         * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
5432         * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
5433         * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
5434         * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
5435         * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
5436         * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
5437         * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
5438         * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
5439         * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
5440         * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
5441         * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
5442         * sysdeps/libm-ieee754/w_expl.c: Moved to ...
5443         * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
5444         * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
5445         * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
5446         * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
5447         * sysdeps/i386/fpu/s_scalblnf.c: ...here.
5448         * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
5449         * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
5450         * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
5451         * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
5452         * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
5453         * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
5454         * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
5455         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
5456         * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
5457         * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
5458         * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
5459         * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
5460         * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
5461         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
5462         * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
5463         * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
5464         * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
5465         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
5466         * sysdeps/libm-i387/s_scalbln.c: Moved to ...
5467         * sysdeps/i386/fpu/s_scalbln.c: ...here.
5468         * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
5469         * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
5470         * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
5471         * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
5472         * sysdeps/libm-i387/t_exp.c: Moved to ...
5473         * sysdeps/i386/fpu/t_exp.c: ...here.
5474         * sysdeps/libm-ieee754/t_exp.c: Moved to ...
5475         * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
5476         * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
5477         * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
5478         * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
5479         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
5480         * sysdeps/libm-i387/s_isinfl.c: Moved to ...
5481         * sysdeps/i386/fpu/s_isinfl.c: ...here.
5482         * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
5483         * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
5484         * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
5485         * sysdeps/i386/fpu/s_scalblnl.c: ...here.
5486         * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
5487         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
5488         Fix exponent for subnormal result.
5489         * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
5490         * sysdeps/generic/s_nexttowardl.c: ...here.
5491         * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
5492         * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
5493         * sysdeps/libm-i387/s_isnanl.c: Moved to ...
5494         * sysdeps/i386/fpu/s_isnanl.c: ...here.
5495         * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
5496         * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
5497         Comment above function says it returns 0 or 1, but it used to return
5498         0 or -1.
5499         * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
5500         * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
5501         * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
5502         * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
5503         * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
5504         * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
5505         * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
5506         * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
5507         * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
5508         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
5509         Cannot compare exponents with different biases without adjusting.
5510         * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
5511         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
5512         Cannot compare exponents with different biases without adjusting.
5513         * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
5514         * sysdeps/i386/fpu/s_nextafterl.c: ...here.
5515         * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
5516         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
5517         * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
5518         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
5519         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
5520         * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
5521         * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
5522         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
5523         * sysdeps/libm-ieee754/Dist: Split into ...
5524         * sysdeps/ieee754/dbl-64/Dist: ...this and ...
5525         * sysdeps/ieee754/flt-32/Dist: ...this file.
5526
5527         * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
5528         * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
5529         * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
5530         * sysdeps/ieee754/ldbl-96/strtold.c: New file.
5531         * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
5532         * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
5533         * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
5534         * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
5535         * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
5536         * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
5537         * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
5538         * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
5539         * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
5540         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
5541         * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
5542         * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
5543         * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
5544         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
5545         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
5546         * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
5547         * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
5548         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
5549         * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
5550         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
5551         * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
5552         * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
5553         * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
5554         * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
5555         * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
5556         * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
5557         * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
5558         * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
5559         * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
5560         * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
5561         * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
5562         * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
5563         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
5564         * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
5565         * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
5566         * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
5567         * sysdeps/ieee754/ldbl-128/strtold.c: New file.
5568         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
5569         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
5570         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
5571         * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
5572         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
5573         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
5574
5575         * sysdeps/generic/math_ldbl.h: New file.
5576         * sysdeps/generic/s_nexttowardf.c: New file.
5577         * sysdeps/generic/strtold.c: New file.
5578         * sysdeps/generic/ldbl2mpn.c: New file.
5579
5580         * math/machine/endian.h: Remove.
5581         * sysdeps/i386/fpu/Implies: Remove.
5582         * sysdeps/ieee754/Implies: Remove.
5583
5584         * math/math_private.h: Move long double macros to math_ldbl.h
5585         header.
5586
5587 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
5588
5589         * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
5590         connections without a hostname set address to localhost address.
5591
5592 1999-07-11  H.J. Lu  <hjl@gnu.org>
5593
5594         * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
5595         nscd's own strong version of the get[a-z]*_r function.
5596         * nscd/hstcache.c: Likewise.
5597         * nscd/pwdcache.c: Likewise.
5598
5599 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
5600
5601         * configure.in: Recognize 2.95 as gcc version number.
5602         Patch by Joel Klecker <jk@espy.org>.
5603
5604 1999-07-12  Andreas Schwab  <schwab@suse.de>
5605
5606         * elf/rtld.c (dl_main): When putting back the interpreter object
5607         handle the case where a missing object might occur in the list of
5608         objects but not in the search list when in trace mode.
5609
5610 1999-07-11  Ulrich Drepper  <drepper@cygnus.com>
5611
5612         * Versions.def (libnss_hesiod): Add GLIBC_2.2.
5613         * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
5614         _nss_hesiod_initgroups.
5615
5616 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
5617
5618         * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
5619         (_hurd_set_brk, init_brk): Use that instead of &__data_start.
5620         Initialize it from &__data_start if defined, or else &_end.
5621
5622 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
5623
5624         * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
5625         for MAP_ANON, prot==PROT_READ|PROT_WRITE.
5626
5627 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
5628
5629         * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
5630
5631 1999-07-09  H.J. Lu  <hjl@gnu.org>
5632
5633         * Versions.def (GLIBC_2.1.2): Added.
5634
5635         * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
5636         old one as GLIBC_2.0.
5637         * nss/getXXbyYY_r.c: Likewise.
5638
5639         * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
5640         GLIBC_2.1.2.
5641         * inet/Versions (getaliasbyname_r, getaliasent_r,
5642         gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
5643         gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
5644         getnetgrent_r, getprotobyname_r, getprotobynumber_r,
5645         getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
5646         getservbyname_r): Likewise.
5647         * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
5648         * shadow/Versions (getspent_r, getspnam_r): Likewise.
5649
5650 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
5651
5652         * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
5653         compilers.
5654         (__memset_cc): Likewise.
5655
5656         * sysdeps/generic/libc-start.c: For SUID binaries check whether
5657         the standard file descriptors are open.
5658         Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
5659
5660         * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
5661         * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
5662         range of mmap.  If not fail.
5663         Patches by Daniel Jacobowitz <dan@debian.org>.
5664
5665         * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
5666         before the relocation happened.
5667         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
5668
5669         * Versions.def (libnsl): Add GLIBC_2.2.
5670         * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
5671
5672 1999-07-08  Cristian Gafton  <gafton@redhat.com>
5673
5674         * nis/yp_xdr.c (xdr_ypall): New function.
5675
5676 1999-07-09  Andreas Schwab  <schwab@suse.de>
5677
5678         * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
5679
5680         * dlfcn/Makefile (headers): Add bits/dlfcn.h.
5681
5682 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
5683
5684         * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
5685         * hesiod/hesiod-grp.c: Add initgroups support.
5686         Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
5687
5688 1999-07-08  Andreas Schwab  <schwab@suse.de>
5689
5690         * libio/iofopncook.c (fopencookie): Set _fileno to -2.
5691
5692         * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
5693         negative numbers.
5694
5695         * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
5696         EOF.
5697         * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
5698
5699 1999-07-08  Andreas Schwab  <schwab@suse.de>
5700
5701         * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
5702
5703 1999-07-08  Andreas Schwab  <schwab@suse.de>
5704
5705         * libio/fileno.c: Return -1 instead of EOF and set errno if the
5706         stream is not a real file stream.
5707
5708 1999-07-08  Andreas Schwab  <schwab@suse.de>
5709
5710         * manual/charset.texi: Fix typos.
5711
5712 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
5713
5714         * sysdeps/gnu/Makefile (libdl-routines): Add eval.
5715
5716 1999-07-06  Zack Weinberg  <zack@rabi.columbia.edu>
5717
5718         * dlfcn: New directory.  Move the following files from elf:
5719         dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
5720         dlopenold.c, dlsym.c, dlvsym.c.
5721         * dlfcn/Makefile: New file.
5722         * dlfcn/Versions: New file.
5723         * dlfcn/dlsym.c: All ELF-specific code split out to new
5724         function _dl_sym.
5725         * dlfcn/dlvsym.c: All ELF-specific code split out to new
5726         function _dl_vsym.
5727         * elf/dl-sym.c: New file.  _dl_sym and _dl_vsym are
5728         implemented here.
5729
5730         * dlfcn/dladdr.c: Remove all references to ELF data structures
5731         or headers.
5732         * dlfcn/dlclose.c: Likewise.
5733         * dlfcn/dlerror.c: Likewise.
5734         * dlfcn/dlopen.c: Likewise.
5735         * dlfcn/dlopenold.c: Likewise.
5736
5737         * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
5738         yes, empty otherwise.
5739         (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
5740         depending on build-shared.
5741         (subdirs): Add $(dlfcn).
5742         (rpath-dirs): Add dlfcn.
5743         * elf/Makefile: Remove all references to libdl or its
5744         components, except the ones relating to the test cases.
5745         (routines): Add dl-sym.
5746         * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
5747         (libdl): Delete.
5748
5749         * elf/dl-close.c (_dl_close): Change argument to void *.
5750         * elf/dl-open.c (_dl_open): Change return type to void *.
5751         * elf/eval.c: Removed.
5752         * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
5753         _dlerror_run, _dl_open, _dl_close, _dl_addr, and
5754         _dl_mcount_wrapper_check to include/dlfcn.h.  Delete
5755         _CALL_DL_FCT macro.
5756         * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
5757         Include real header from dlfcn directory.
5758         * include/ldsodefs.h: Removed.
5759
5760         * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
5761         * nss/getXXbyYY_r.c: Likewise.
5762         * nss/getXXent_r.c: Likewise.
5763         * iconv/gconv.c: Likewise.  Don't include ldsodefs.h.
5764         * iconv/gconv_db.c: Likewise.  Don't include ldsodefs.h.
5765         * iconv/skeleton.c: Don't include ldsodefs.h.
5766         * nss/nsswitch.h: Don't include ldsodefs.h.  Include dlfcn.h.
5767
5768 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
5769
5770         * sysdeps/generic/setenv.c: Describe problem.
5771
5772         * malloc/malloc.c (request2size): Also set errno if failing.
5773
5774         * malloc/malloc.c (request2size): Take care of overflow in
5775         addition.
5776
5777         * sysdeps/posix/getcwd.c: Correct last patch.  Handle getcwd
5778         (NULL, != 0) correctly.
5779
5780         * elf/dl-load.c: Use a few more __builtin_expect.
5781
5782         * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
5783         is large enough.
5784
5785 1999-07-07  Andreas Schwab  <schwab@suse.de>
5786
5787         * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
5788         (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
5789         (_PATH_DEVPTMX): Use _PATH_DEV.
5790
5791 1999-07-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5792
5793         * malloc/tst-malloc.c: New file.  Tests some basic functionality.
5794         * malloc/Makefile (tests): Add tst-malloc.
5795
5796 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
5797
5798         * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
5799         convention.
5800
5801         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
5802         motherboards.
5803         Patch by Jay Estabrook.
5804
5805         * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
5806         ldd for SPARC.
5807         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
5808         Patch by Cristian Gafton.
5809
5810 1999-07-02  Cristian Gafton  <gafton@redhat.com>
5811
5812         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
5813         instead of "return NULL" to make C++ happy.
5814
5815 1999-07-04  Mark Kettenis  <kettenis@gnu.org>
5816
5817         * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
5818         allowed by the file access mode of the open file.
5819
5820 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
5821
5822         * sysdeps/generic/setfpucw.c: Include math.h to get all needed
5823         macros defined.
5824
5825 1999-07-03  Jakub Jelinek   <jj@ultra.linux.cz>
5826
5827         * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
5828         * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
5829         * sysdeps/sparc/sparc64/rshift.S: Likewise.
5830         * sysdeps/sparc/sparc64/mul_1.S: Optimize.
5831
5832 1999-07-04  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
5833
5834         * malloc/malloc.c (request2size): Check for overflow and return
5835         NULL whenever it is encountered.
5836
5837 1999-07-04  Zack Weinberg  <zack@rabi.columbia.edu>
5838
5839         * sysdeps/posix/tempname.c (__gen_tempname):   Add
5840         ability to create directories.  Replace OPENIT and LARGEFILE
5841         args with a single flags parameter.
5842         * sysdeps/generic/tempname.c: Likewise.
5843         * include/stdio.h: Adjust prototype of __gen_tempname to
5844         match.  Define symbolic constants for second argument.
5845
5846         * misc/mkdtemp.c: New file, provides new function mkdtemp().
5847         * stdlib/stdlib.h: Prototype it.
5848         * misc/Versions: Export it.
5849         * misc/Makefile (routines): Add mktemp.
5850         * manual/filesys.texi: Document it.
5851
5852         * misc/mktemp.c: Adjust call of __gen_tempname to match new
5853         convention.
5854         * misc/mkstemp.c: Likewise.
5855         * stdio-common/tempnam.c: Likewise.
5856         * stdio-common/tmpfile.c: Likewise.
5857         * stdio-common/tmpfile64.c: Likewise.
5858         * stdio-common/tmpnam.c: Likewise.
5859         * stdio-common/tmpnam_r.c: Likewise.
5860
5861 1999-07-05  Jakub Jelinek   <jj@ultra.linux.cz>
5862
5863         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
5864         R_SPARC_OLO10 relocations.
5865         * elf/elf.h (R_SPARC_OLO10): Fix comment.
5866
5867 1999-07-02  Tim Waugh  <tim@cyberelk.demon.co.uk>
5868
5869         * posix/wordexp-test.c: Revert bogus 'unset IFS' change.  It
5870         doesn't belong in the tests, but in the wordexp implementation.
5871
5872         * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
5873         split fields.
5874
5875 1999-07-01  Cristian Gafton  <gafton@redhat.com>
5876
5877         * time/strptime.c (strptime): Initialize the tm struct first to avoid
5878         returning bogus results on incomplete data.
5879         (strptime_internal): day_of_the_week() requres both tm_mon and
5880         tm_mday to be initialized.
5881         Compute them first if they are not given.
5882         (strptime_internal): (have_mon, have_mday): New variables.
5883
5884 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5885
5886         * inet/rcmd.c (__icheckhost): Fix typo in last patch.
5887
5888 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5889
5890         * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
5891         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5892
5893 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5894
5895         * posix/wordexp.c (parse_tilde): Handle failing call to
5896         get.*_r functions correctly for non-existing entry.
5897         * sysdeps/posix/cuserid.c (cuserid): Likewise.
5898         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
5899
5900 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
5901
5902         * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
5903         getxxbyYY_r functions correctly for non-existing entry.
5904         * sunrpc/getrpcport.c: Likewise.
5905         * sunrpc/clnt_simp.c: Likewise.
5906         * inet/rexec.c: Likewise.
5907         * sunrpc/clnt_gen.c: Likewise.
5908         * inet/rcmd.c: Likewise.
5909         * sysdeps/generic/glob.c: Likewise.
5910
5911 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5912
5913         * pwd/Makefile (tests): Add rules for tst-getpw.
5914
5915         * pwd/tst-getpw.c: New program to test getpw.
5916
5917 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5918
5919         * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
5920         correctly.
5921
5922 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5923
5924         * manual/arith.texi (System V Number Conversion): Fix the
5925         description which confused pointer and value to pointer.
5926         Reported by Andries.Brouwer@cwi.nl.
5927
5928 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5929
5930         * pwd/getpw.c (__getpw): Check for NULL result pointer.
5931
5932 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5933
5934         * manual/users.texi (Lookup User): Document POSIX return
5935         semantics for getpwuid_r and getgrgid_r.
5936
5937         * manual/socket.texi (Host Names): Document that the result
5938         pointer is null in case of error or host not found and fix a
5939         typo.  Give a small example.
5940
5941 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
5942
5943         * pwd/getpw.c: Add warning since no buffer size is given and
5944         therefore no overrun tests are possible.
5945
5946 1999-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5947
5948         * pwd/pwd.h: Add getpw prototype declaration.
5949
5950 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
5951
5952         * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
5953         * wcsmbs/wcschr.c: Likewise.
5954
5955 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
5956
5957         * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
5958         returns.
5959         * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
5960         * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
5961         Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
5962
5963         * elf/dl-dst.h: Fix typo.
5964         * elf/dl-open.c: Likewise.
5965
5966 1999-06-26  Zack Weinberg  <zack@rabi.columbia.edu>
5967
5968         * elf/dl-libc.c: New file, provides three functions:
5969         __libc_dlopen, __libc_dlclose, __libc_dlsym.
5970         * include/dlfcn.h: Prototype them.  Prototype _dl_addr.
5971         * elf/Makefile (routines): Add dl-libc.c.
5972         * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
5973         argument to void *.
5974         * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
5975
5976         * iconv/gconv.c: Include dlfcn.h.
5977         * iconv/gconv_db.c: Likewise.
5978         * malloc/mtrace.c: Likewise.  Don't include ldsodefs.h.
5979
5980         * iconv/gconv_int.h (struct __gconv_loaded_object): Change
5981         `handle' to a void *.
5982         (__gconv_find_func): Delete prototype.
5983
5984         * iconv/gconv_dl.c: Don't include ldsodefs.h.  Remove
5985         dlerror_run and related functions and structs.  Use
5986         __libc_dlopen, __libc_dlsym, __libc_dlclose.
5987         * nss/nsswitch.c: Likewise.
5988
5989 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
5990
5991         * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
5992         function correctly.
5993
5994         * sunrpc/getrpcport.c: Test for gethostbyname_r function
5995         correctly.
5996
5997         * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
5998
5999         * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
6000         functions correctly.
6001
6002         * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
6003
6004         * inet/rcmd.c: Test for gethostbyname_r result correctly.  Optimize
6005         file reading a bit.
6006
6007         * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
6008
6009 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6010
6011         * manual/string.texi (Copying and Concatenation): Mention that
6012         strndup is a GNU extension.
6013
6014 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6015
6016         * pwd/getpw.c (__getpw): Fix check for error return.
6017
6018 1999-06-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6019
6020         * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
6021         occurence of the aux object start with the current list entry, not
6022         the new one.  Adjust tail pointer in the unique list.  Explain how
6023         the meaning of the variables changes [PR libc/1168].
6024
6025 1999-06-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6026
6027         * sysdeps/m68k/fpu/Dist: New file.
6028
6029 1999-06-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6030
6031         * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
6032         definitions...
6033         * sysdeps/m68k/fpu/mathimpl.h: ... here.  New file.
6034         * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
6035         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
6036         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
6037         * sysdeps/m68k/fpu/e_pow.c: Likewise.
6038         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
6039         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
6040         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
6041         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
6042         * sysdeps/m68k/fpu/s_csin.c: Likewise.
6043         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
6044         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
6045         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
6046         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
6047         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
6048         * sysdeps/m68k/fpu/s_modf.c: Likewise.
6049
6050 1999-06-25  Roland McGrath  <roland@baalperazim.frob.com>
6051
6052         * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
6053         hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
6054         _EXTERN_INLINE, use a macro specific to each file,
6055         _HURD_FD_H_EXTERN_INLINE and the like.
6056         * hurd/Makefile (inline-headers): New variable.
6057         (routines): Remove hurdinline.  Add $(inlines).
6058         (inlines): New variable.
6059         ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
6060         (generated): Append those here.
6061         * hurd/hurdinline.c: File removed.
6062
6063         * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
6064
6065         * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
6066
6067 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6068
6069         * nscd/connections.c (nscd_run): Use correct type for optlen variable.
6070
6071 1999-06-25  Ulrich Drepper  <drepper@cygnus.com>
6072
6073         * string/bits/string2.h (strnlen): Remove extra prototype.
6074
6075 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6076
6077         * manual/filesys.texi (Working on Directory Trees): Fix typos.
6078         Reported by Andries.Brouwer@cwi.nl.
6079
6080 1999-06-24  Ulrich Drepper  <drepper@cygnus.com>
6081
6082         * nscd/connections.c (handle_request): Use correct type for optlen
6083         variable.
6084
6085         * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
6086         * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
6087
6088 1999-06-24  Thorsten Kukuk  <kukuk@suse.de>
6089
6090         * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
6091         * nscd/pwdcache.c: Likewise.
6092         * nscd/hstcache.c: Likewise.
6093
6094 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
6095
6096         * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
6097
6098         * posix/getopt.h: Include stdio.h.
6099
6100         * manual/arith.texi: Document restriction of ndigit parameter of
6101         ecvt and friends.
6102         * misc/efgcvt.c: Define NDIGIT_MAX.
6103         (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
6104         Do not dynamically allocate the static buffers.  They are small enough.
6105         * misc/efgcvt_r.c: Define NDIGIT_MAX.
6106         (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
6107         * misc/qefgcvt.c: Define NDIGIT_MAX.
6108         * misc/qefgcvt_r.c: Likewise.
6109         * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
6110
6111 1999-06-23  Zack Weinberg  <zack@rabi.columbia.edu>
6112
6113         * libio/stdio.h: Define stdin, stdout, stderr as macros.
6114         * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
6115         These are *pragmas* not macros.
6116         * wcsmbs/wchar.h: Fix comment.
6117
6118         * grp/grp.h: Use __foo_t_defined convention to typedef things
6119         only once.
6120         * io/sys/stat.h: Likewise.
6121         * libio/stdio.h: Likewise.
6122         * posix/unistd.h: Likewise.
6123         * posix/sys/types.h: Likewise.
6124         * posix/sys/wait.h: Likewise.
6125         * pwd/pwd.h: Likewise.
6126         * signal/signal.h: Likewise.
6127         * sysdeps/generic/stdint.h: Likewise.
6128         * sysdeps/gnu/utmpx.h: Likewise.
6129         * termios/termios.h: Likewise.
6130
6131 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
6132
6133         * stdio/fputc.c: Don't define alias if fputc is defined as a
6134         macro.
6135         * stdio/putc.c: Define weak alias here since it is not done
6136         anymore in fputc.c.
6137
6138 1999-06-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6139
6140         * assert/assert.h: Don't produce `defined' as part of macro
6141         expansion.
6142
6143 1999-06-23  Roland McGrath  <roland@baalperazim.frob.com>
6144
6145         * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
6146         OFFSET argument of (off_t) -1.
6147         * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
6148         OFFSET argument of (off_t) -1.
6149
6150         * sysdeps/mach/hurd/pwrite.c: New file.
6151         * sysdeps/mach/hurd/pread.c: New file.
6152
6153         * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
6154         pass it in the RPC instead of always -1.
6155         * hurd/fd-write.c (_hurd_fd_write): Likewise.
6156         * hurd/hurd/fd.h: Update decls.
6157
6158 1999-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6159
6160         * libio/wscanf.c: Include <wchar.h> for prototype.
6161
6162 1999-06-22  Ulrich Drepper  <drepper@cygnus.com>
6163
6164         * manual/io.texi. Fix typos.
6165         * manual/stdio.texi: Likewise.
6166         Patches by Brian Youmans <3diff@gnu.org>.
6167
6168 1999-06-22  Geoff Keating  <geoffk@ozemail.com.au>
6169
6170         * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
6171         bits of two words differ.
6172
6173 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6174
6175         * libio/Makefile (routines): Add putwchar and putwchar_u.
6176
6177         * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
6178         * libio/putwchar_u.c: Likewise.  Use _IO_stdout instead of
6179         stdout.  Fix parameter name.
6180
6181         * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
6182         * libio/getchar_u.c: Likewise.
6183
6184         * libio/putchar_u.c: Use _IO_stdout instead of stdout.
6185
6186 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6187
6188         * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
6189         macro expansion---it's undefined.  Properly parenthesize
6190         substituted parameters.
6191         (__GLIBC_PREREQ): Likewise.
6192
6193 1999-06-21  Ulrich Drepper  <drepper@cygnus.com>
6194
6195         * Makeconfig (CPPFLAGS): Revert last change.  It has too many
6196         weird effects.
6197
6198         * stdlib/longlong.h: Provide __P definition if not already
6199         defined.
6200
6201         * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
6202
6203 1999-06-18  Thorsten Kukuk  <kukuk@suse.de>
6204
6205         * sysdeps/alpha/atomicity.h: Correct counting of subsections.
6206
6207 1999-06-17  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6208
6209         * stdlib/tst-strtoll.c: Avoid warning about huge constant.
6210
6211 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6212
6213         * stdio-common/vfprintf.c (group_member): Make parameters and
6214         return types pointers to CHAR_T instead of UCHAR_T.
6215         (vfprintf): Change type of work_buffer, workend and string to
6216         CHAR_T pointer/array.
6217         (process_arg, process_string_arg): Adjust/remove casts.  Add
6218         missing use of L_ macro.
6219         (printf_unknown): Add missing uses of L_ macro.
6220
6221 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6222
6223         * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
6224         warning.
6225
6226 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6227
6228         * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF.  Call
6229         _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
6230         (__wunderflow): Likewise.
6231         (_IO_switch_to_wget_mode): Likewise.
6232         (_IO_init_wmarker): Likewise.
6233
6234         * libio/wfileops.c (_IO_wfile_seekoff): Call
6235         _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
6236         (_IO_wfile_jumps): Fix pbackfail entry.
6237
6238         * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
6239         function if the stream is currently unoriented.
6240
6241 1999-06-19  Zack Weinberg  <zack@rabi.columbia.edu>
6242
6243         * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
6244         Wrap all wide stream functions with #ifdef __USE_ISOC9X.  Use
6245         __gnuc_va_list in v*w(printf|scanf) prototypes.
6246
6247 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6248
6249         * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
6250         1999-03-29 to iopopen also here.
6251         Reported by Richard Braakman <dark@xs4all.nl>.
6252
6253 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6254
6255         * include/features.h: Use __GNUC_PREREQ.
6256         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
6257
6258 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6259
6260         * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
6261         Change EOF to WEOF and remove cast.
6262         (UNGETC): Remove macro.
6263         (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
6264         * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
6265         Change ISASCII to isascii and MBRLEN to mbrlen.
6266         (parse_one_spec): Compare info.spec always against wchar_t
6267         values.
6268         * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
6269         (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
6270         (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
6271
6272 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6273
6274         * libio/Makefile (shared-only-routines): Add oldiofgetpos,
6275         oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
6276         (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
6277         oldiofsetpos64 only if doing versioning.
6278
6279 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
6280
6281         * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
6282
6283 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6284
6285         * libio/libio.h: Fix last patch.
6286
6287 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
6288
6289         * libio/libio.h (_IO_putwc): Correct type of first argument.
6290         * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
6291         putwc_unlocked, putwchar_unlocked): Likewise.
6292         * libio/fputwc.c: Likewise.
6293         * libio/fputwc_unlocked.c: Likewise.
6294         * libio/putwc.c: Likewise.
6295         * libio/putwc_unlocked.c: Likewise.
6296         * libio/putwchar.c: Likewise.
6297         * libio/putwchar_unlocked.c: Likewise.
6298
6299 1999-06-19  Roland McGrath  <roland@baalperazim.frob.com>
6300
6301         * sysdeps/gnu/siglist.h: File moved to ...
6302         * sysdeps/generic/siglist.h: ... here.  This file should be usable for
6303         any platform, since it just associates the SIG* macros with text names
6304         and descriptions. For any signal macros do not exist on every
6305         platform, we can use #ifdef tests here and still use this single
6306         common file for all platforms.
6307         * sysdeps/generic/siglist.c: Rewrite using <siglist.h>.  This file
6308         should be usable for all platforms after the binary compatibility
6309         stuff in the current sysdeps/gnu version is no longer required.
6310         * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
6311         * sysdeps/generic/make_siglist.c: File removed.
6312         * sysdeps/mach/hurd/siglist.h: Use #include_next.
6313         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
6314
6315 1999-06-16  Roland McGrath  <roland@baalperazim.frob.com>
6316
6317         * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
6318         * sysdeps/gnu/siglist.c: ... here.
6319         Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
6320         Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
6321         * sysdeps/gnu/siglist.h: New file, contents from linux version.
6322         Add entry for SIGLOST protected by #ifdef.
6323         * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
6324         and define OLD_SIGLIST_SIZE_STR.
6325         * sysdeps/mach/hurd/siglist.h: New file, likewise.
6326
6327 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
6328
6329         * include/features.h: Define new macros __GNUC_PREREQ and
6330         __GLIBC_PREREQ which can be used to test the version of gcc
6331         and glibc respectively.
6332
6333         * assert/assert.h: Use __GNUC_PREREQ.
6334         * intl/libintl.h: Likewise.
6335         * math/complex.h: Likewise.
6336         * math/tgmath.h: Likewise.
6337         * misc/sys/cdefs.h: Likewise.
6338         * posix/sys/types.h: Likewise.
6339         * socket/sys/socket.h: Likewise.
6340         * string/bits/string2.h: Likewise.
6341         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
6342         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
6343
6344 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
6345
6346         * include/libintl.h: Declare _libc_intl_domainname here.
6347         Define _ and N_ here.
6348         * include/libc-symbols.h: Don't include <libintl.h>.  Don't
6349         define _ and N_.  Don't declare _libc_intl_domainname.
6350         * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
6351
6352         * db2/config.h: Don't include sys/stat.h or define
6353         HAVE_ST_BLKSIZE here...
6354         * db2/compat.h: ...do it here.
6355
6356         * linuxthreads/internals.h: Include bits/libc-tsd.h after all
6357         other headers.
6358         * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
6359         * iconv/iconv.c: Include stddef.h for NULL.
6360         * malloc/malloc.h: Include features.h.
6361         * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
6362
6363         * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
6364         into the generated file.
6365         * sysdeps/gnu/errlist.awk: Likewise.
6366         * sysdeps/gnu/errlist.c: Rebuilt.
6367
6368         * assert/assert-perr.c: Include libintl.h.
6369         * assert/assert.c: Likewise.
6370         * elf/dl-open.c: Likewise.
6371         * elf/dlsym.c: Likewise.
6372         * elf/dlvsym.c: Likewise.
6373         * iconv/iconv_prog.c: Likewise.
6374         * inet/rcmd.c: Likewise.
6375         * inet/ruserpass.c: Likewise.
6376         * locale/programs/charset.c: Likewise.
6377         * locale/programs/ld-collate.c: Likewise.
6378         * locale/programs/ld-ctype.c: Likewise.
6379         * locale/programs/ld-messages.c: Likewise.
6380         * locale/programs/ld-monetary.c: Likewise.
6381         * locale/programs/ld-numeric.c: Likewise.
6382         * locale/programs/ld-time.c: Likewise.
6383         * locale/programs/locfile.c: Likewise.
6384         * locale/programs/repertoire.c: Likewise.
6385         * login/programs/database.c: Likewise.
6386         * login/programs/request.c: Likewise.
6387         * malloc/mcheck.c: Likewise.
6388         * misc/error.c: Likewise.
6389         * nis/nis_call.c: Likewise.
6390         * nis/nis_callback.c: Likewise.
6391         * nis/nis_error.c: Likewise.
6392         * nis/nis_local_names.c: Likewise.
6393         * nis/nis_print.c: Likewise.
6394         * nis/nis_print_group_entry.c: Likewise.
6395         * nis/ypclnt.c: Likewise.
6396         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
6397         * nscd/cache.c: Likewise.
6398         * nscd/connections.c: Likewise.
6399         * nscd/grpcache.c: Likewise.
6400         * nscd/hstcache.c: Likewise.
6401         * nscd/nscd_conf.c: Likewise.
6402         * nscd/nscd_stat.c: Likewise.
6403         * nscd/pwdcache.c: Likewise.
6404         * posix/id.c: Likewise.
6405         * resolv/herror.c: Likewise.
6406         * stdio-common/psignal.c: Likewise.
6407         * string/strsignal.c: Likewise.
6408         * sunrpc/auth_unix.c: Likewise.
6409         * sunrpc/clnt_perr.c: Likewise.
6410         * sunrpc/clnt_raw.c: Likewise.
6411         * sunrpc/clnt_tcp.c: Likewise.
6412         * sunrpc/clnt_udp.c: Likewise.
6413         * sunrpc/clnt_unix.c: Likewise.
6414         * sunrpc/get_myaddr.c: Likewise.
6415         * sunrpc/pm_getmaps.c: Likewise.
6416         * sunrpc/pmap_clnt.c: Likewise.
6417         * sunrpc/pmap_rmt.c: Likewise.
6418         * sunrpc/rpc_main.c: Likewise.
6419         * sunrpc/rpc_scan.c: Likewise.
6420         * sunrpc/svc_run.c: Likewise.
6421         * sunrpc/svc_simple.c: Likewise.
6422         * sunrpc/svc_tcp.c: Likewise.
6423         * sunrpc/svc_udp.c: Likewise.
6424         * sunrpc/svc_unix.c: Likewise.
6425         * sunrpc/xdr_rec.c: Likewise.
6426         * sunrpc/xdr_ref.c: Likewise.
6427         * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
6428         * sysdeps/posix/gai_strerror.c: Likewise.
6429         * sysdeps/unix/siglist.c: Likewise.
6430         * sysdeps/unix/sysv/linux/siglist.c: Likewise.
6431         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
6432         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
6433         * timezone/zic.c: Likewise.
6434
6435 1999-06-18  H.J. Lu  <hjl@gnu.org>
6436
6437         * localedata/Makefile (charmaps): Exclude SCCS.
6438         (locales): Likewise.
6439         (repertoiremaps): Likewise.
6440
6441 1999-06-18  Ulrich Drepper  <drepper@cygnus.com>
6442
6443         * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
6444         * sysdeps/generic/bsd-setjmp.c: Likewise.
6445
6446         * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
6447
6448         * iconv/gconv_open.c: Include string.h for memset prototype.
6449
6450         * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
6451         definitions.
6452
6453         * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
6454         assignment to avoid warning on 64bit platforms.
6455
6456 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
6457
6458         * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
6459
6460         * nss/getXXbyYY_r.c: Return error code not -1.
6461         * nss/getXXent_r.c: Likewise.
6462         * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
6463         small.
6464         * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
6465         value > 0 for error.
6466         * nscd/nscd_gethst_r.c: Likewise.
6467         * nscd/nscd_getpw_r.c: Likewise.
6468
6469 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6470
6471         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
6472         disciplines.
6473
6474 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6475
6476         * nscd/nscd_nischeck.c: Fix typos.
6477
6478 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
6479
6480         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
6481         always when oact is NULL.
6482         Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
6483
6484 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6485
6486         * math/libm-test.c (jn_test): Adjust delta.
6487
6488 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6489
6490         * libio/vwprintf.c: Include <wchar.h> for prototypes.
6491         * libio/wprintf.c: Likewise.
6492
6493 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6494
6495         * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
6496         to not write beyond allocated memory.
6497         Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
6498
6499 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
6500
6501         * malloc/mtrace.c: Keep lock while printing output lines.
6502         Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
6503
6504 1999-06-16  Ulrich Drepper  <drepper@cygnus.com>
6505
6506         * configure.in: Add warnings about broken code.
6507
6508         * Versions.def: Add GLIBC_2.2 for libc.
6509
6510         * iconv/gconv.h: Make header suitable for inclusion in public header
6511         by protecting all names with __.
6512         * iconv/gconv.c: Adapt for symbol name changes.
6513         * iconv/gconv.h: Likewise.
6514         * iconv/gconv_builtin.c: Likewise.
6515         * iconv/gconv_close.c: Likewise.
6516         * iconv/gconv_db.c: Likewise.
6517         * iconv/gconv_dl.c: Likewise.
6518         * iconv/gconv_int.h: Likewise.
6519         * iconv/gconv_open.c: Likewise.
6520         * iconv/gconv_simple.c: Likewise.
6521         * iconv/iconv.c: Likewise.
6522         * iconv/iconv_close.c: Likewise.
6523         * iconv/iconv_open.c: Likewise.
6524         * iconv/loop.c: Likewise.
6525         * iconv/skeleton.c: Likewise.
6526         * iconvdata/8bit-gap.c: Likewise.
6527         * iconvdata/8bit-generic.c: Likewise.
6528         * iconvdata/ansi_x3.110.c: Likewise.
6529         * iconvdata/big5.c: Likewise.
6530         * iconvdata/cns11643.h: Likewise.
6531         * iconvdata/cns11643l1.h: Likewise.
6532         * iconvdata/euc-cn.c: Likewise.
6533         * iconvdata/euc-jp.c: Likewise.
6534         * iconvdata/euc-kr.c: Likewise.
6535         * iconvdata/euc-tw.c: Likewise.
6536         * iconvdata/gb2312.h: Likewise.
6537         * iconvdata/iso-2022-jp.c: Likewise.
6538         * iconvdata/iso-2022-kr.c: Likewise.
6539         * iconvdata/iso646.c: Likewise.
6540         * iconvdata/iso8859-1.c: Likewise.
6541         * iconvdata/iso_6937-2.c: Likewise.
6542         * iconvdata/iso_6937.c: Likewise.
6543         * iconvdata/jis0201.h: Likewise.
6544         * iconvdata/jis0208.h: Likewise.
6545         * iconvdata/jis0212.h: Likewise.
6546         * iconvdata/johab.c: Likewise.
6547         * iconvdata/ksc5601.h: Likewise.
6548         * iconvdata/sjis.c: Likewise.
6549         * iconvdata/t.61.c: Likewise.
6550         * iconvdata/uhc.c: Likewise.
6551         * stdlib/mblen.c: Likewise.
6552         * stdlib/mbtowc.c: Likewise.
6553         * stdlib/wctomb.c: Likewise.
6554         * wcsmbs/btowc.c: Likewise.
6555         * wcsmbs/mbrtowc.c: Likewise.
6556         * wcsmbs/mbsnrtowcs.c: Likewise.
6557         * wcsmbs/mbsrtowcs.c: Likewise.
6558         * wcsmbs/wchar.h: Likewise.
6559         * wcsmbs/wcrtomb.c: Likewise.
6560         * wcsmbs/wcsmbsload.c: Likewise.
6561         * wcsmbs/wcsmbsload.h: Likewise.
6562         * wcsmbs/wcsnrtombs.c: Likewise.
6563         * wcsmbs/wcsrtombs.c: Likewise.
6564         * wcsmbs/wctob.c: Likewise.
6565
6566         * include/limits.h (MB_LEN_MAX): Increase to 16.
6567
6568         * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct.  Define
6569         _G_iconv_t.
6570         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
6571         * include/wchar.h: Change mbstate_t to __mbstate_t.
6572
6573         * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
6574         oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
6575         getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
6576         iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
6577         putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
6578         vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
6579         and iofwide.
6580         (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
6581         * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
6582         _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
6583         fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
6584         fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
6585         getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
6586         putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
6587         vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
6588         GLIBC_2.2 for libc.
6589         * libio/libio.h: Define codecvt struct.  Define _IO_wide_data.
6590         Extend _IO_file contain pointer to codecvt, widedata and mode.
6591         (_IO_getwc_unlocked): New macro.
6592         (_IO_putwc_unlocked): New macro.
6593         (_IO_fwide): New macro.
6594         * libio/libioP.h: Add new prototypes and adjust existing declarations.
6595         * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
6596         buffers based on mode.
6597         (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
6598         oriented.
6599         (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
6600         flag to be enough to signal unallocated buffer.  For wide oriented
6601         stream don't make it linebuffered.  Don't use _IO_do_flush, use
6602         _IO_new_do_write directly.
6603         (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
6604         (_IO_file_seek): Likewise.
6605         * libio/genops.c (_IO_least_marker): Make global.
6606         (__underflow): Orient stream if not already done.
6607         (__uflow): Likewise.
6608         (_IO_default_seekpos): Change to type _IO_off64_t.
6609         (_IO_default_seekoff): Likewise.
6610         (_IO_default_seek): Likewise.
6611         (_IO_no_init): New function.  Similar to _IO_init but allows to orient
6612         in initialization.
6613         * libio/iolibio.h: Add prototype for _IO_vswprintf.  Change _IO_pos_BAD
6614         to use _IO_off64_t.
6615         * libio/ftello.c: Use _IO_off_t.  For now abort when use with wide
6616         char stream.
6617         * libio/ftello64.c: Likewise.
6618         * libio/ioftell.c: Likewise.
6619         * libio/iofopncook.c: Likewise.
6620         * libio/ioseekoff.c: Likewise.
6621         * libio/ioseekpos.c: Likewise.
6622         * libio/oldfileops.c: Likewise.
6623         * libio/iofgetpos.c: Store state of conversion if necessary.
6624         * libio/iofgetpos64.c: Likewise.
6625         * libio/iofsetpos.c: Restore conversion state if necessary.
6626         * libio/iofsetpos64.c: Likewise.
6627         * libio/iofdopen.c: Initialize so that stream can be wide oriented.
6628         * libio/iofopen.c: Likewise.
6629         * libio/iofopen64.c: Likewise.
6630         * libio/iopopen.c: Likewise.
6631         * libio/iovdprintf.c: Likewise.
6632         * libio/iovsprintf.c: Likewise.
6633         * libio/iovsscanf.c: Likewise.
6634         * libio/memstream.c: Likewise.
6635         * libio/obprintf.c: Likewise.
6636         * libio/iofputs.c: Orient stream if not already happened.
6637         * libio/iofputs_u.c: Likewise.
6638         * libio/iofwrite.c: Likewise.
6639         * libio/iofwrite_u.c: Likewise.
6640         * libio/ioputs.c: Likewise.
6641         * libio/iosetbuffer.c: Handle not yet oriented stream.
6642         * libio/iosetvbuf.c: Likewise.
6643         * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
6644         * libio/stdfiles.c: Likewise.
6645         * libio/strops.c (_IO_str_overflow): Correctly free buffer after
6646         failed allocation.
6647         (_IO_str_seekoff): Use _IO_off64_t.
6648         * libio/vasprintf.c: Pre-orient stream.
6649         * libio/vsnprintf.c: Likewise.
6650         * libio/fputwc.c: New file.
6651         * libio/fputwc_u.c: New file.
6652         * libio/fwprintf.c: New file.
6653         * libio/fwscanf.c: New file.
6654         * libio/getwc.c: New file.
6655         * libio/getwc_u.c: New file.
6656         * libio/getwchar.c: New file.
6657         * libio/getwchar_u.c: New file.
6658         * libio/iofgetws.c: New file.
6659         * libio/iofgetws_u.c: New file.
6660         * libio/iofputws.c: New file.
6661         * libio/iofputws_u.c: New file.
6662         * libio/iofwide.c: New file.
6663         * libio/iogetwline.c: New file.
6664         * libio/ioungetwc.c: New file.
6665         * libio/iovswscanf.c: New file.
6666         * libio/iowpadn.c: New file.
6667         * libio/oldiofgetpos.c: New file.
6668         * libio/oldiofgetpos64.c: New file.
6669         * libio/oldiofsetpos.c: New file.
6670         * libio/oldiofsetpos64.c: New file.
6671         * libio/putwc.c: New file.
6672         * libio/putwc_u.c: New file.
6673         * libio/putwchar.c: New file.
6674         * libio/putwchar_u.c: New file.
6675         * libio/swprintf.c: New file.
6676         * libio/swscanf.c: New file.
6677         * libio/tst_swprintf.c: New file.
6678         * libio/tst_swscanf.c: New file.
6679         * libio/tst_wprintf.c: New file.
6680         * libio/tst_wscanf.c: New file.
6681         * libio/tst_wscanf.input: New file.
6682         * libio/vswprintf.c: New file.
6683         * libio/vwprintf.c: New file.
6684         * libio/vwscanf.c: New file.
6685         * libio/wfiledoalloc.c: New file.
6686         * libio/wfileops.c: New file.
6687         * libio/wgenops.c: New file.
6688         * libio/wprintf.c: New file.
6689         * libio/wscanf.c: New file.
6690         * libio/wstrops.c: New file.
6691         * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
6692         vfwprintf, and vfwscanf.
6693         * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
6694         make global.
6695         * stdio-common/_itowa.c: New file.
6696         * stdio-common/_itowa.h: New file.
6697         * stdio-common/itoa-digits.c: Minimal optimization.
6698         * stdio-common/itowa-digits.c: New file.
6699         * stdio-common/printf-parse.h: Allow use in wide character context.
6700         * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
6701         * stdio-common/printf.h (printf_info): Add wide bit.
6702         * stdio-common/printf_fp.c: Determine from wide bit whether stream
6703         is wide oriented or not.
6704         * stdio-common/printf_size.c: Likewise.
6705         * sysdeps/generic/printf_fphex.c: Likewise.
6706         * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
6707         * stdio-common/vfprintf.c: Rewrite to allow use in wide character
6708         context.
6709         * stdio-common/vfscand.c: Likewise.
6710         * stdio-common/vfwprintf.c: New file.
6711         * stdio-common/vfwscanf.c: New file.
6712
6713         * time/Makefile (routines): Add wcsftime.
6714         (tests): Add tst_wcsftime.
6715         * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
6716         * time/strftime.c: Make usable as wcsftime.
6717         * time/wcsftime.c: New file.
6718         * time/tst_wcsftime.c: New file.
6719
6720         * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
6721         * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
6722         * wcsmbs/wcschrnul.c: New file.
6723         * wcsmbs/wmemcpy.c: New file.
6724         * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
6725         * wcsmbs/wmemmove.c: Likewise for wmemmove.
6726
6727         * manual/stdio.texi: Document is_char and wide element if printf_info.
6728
6729         * manual/time.texi: Document wcsftime.
6730
6731         * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
6732         __wmemmove, __wcschrnul, and __vfwscanf.
6733
6734         * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
6735         * locale/C-time.c: Adapt for above change.
6736         * locale/categories.def: Likewise.
6737         * locale/localeinfo.h: Likewise.
6738         * localedata/Makefile: Don't run tests for now.
6739
6740         * manual/errno.texi: Fix typos.
6741         * manual/memory.texi: Likewise.
6742         * manual/ctype.texi: Likewise.
6743         Patches by Brian Youmans <3diff@gnu.org>.
6744
6745 1999-06-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6746
6747         * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
6748
6749 1999-06-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6750
6751         * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
6752         word order.
6753         * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
6754         * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
6755
6756 1999-06-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6757
6758         * db2/db/db.c: Restore __nss_db_open alias.
6759         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
6760         include.
6761         * db2/os/os_rw.c (__os_write): Maintain const correctness.
6762         * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
6763
6764 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
6765
6766         * stdio-common/printf-parse.h (parse_one_spec): Don't set
6767         is_longlong if not necessary.
6768
6769 1999-06-15  H.J. Lu  <hjl@gnu.org>
6770
6771         * Make-dist (sysdep_dirs): Exclude SCCS.
6772         * MakeTAGS (sysdep_dirs): Likewise.
6773
6774 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
6775
6776         * posix/regex.c (re_error_msgid): Remove extra commas.
6777
6778 1999-06-14  Geoff Keating  <geoffk@ozemail.com.au>
6779
6780         * stdlib/tst-strtoll.c: New file.
6781         * stdlib/Makefile (tests): Add tst-strtoll.c
6782         * stdlib/strtol.c: It is not generally true that if
6783         (unsigned)a*(unsigned)b overflows, then the result is
6784         less than 'a'.
6785
6786 1999-06-14  Thorsten Kukuk  <kukuk@suse.de>
6787
6788         * nscd/connections.c (handle_request): Only root is allowed to
6789         send GETSTAT request in non secure mode.
6790         * nscd/nscd.c: Print error message if other then root try to
6791         use getstat.
6792
6793 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6794
6795         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
6796
6797 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6798
6799         * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
6800         Closes PR libc/1164, reported by sascha@schumann.2ns.de.
6801
6802 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6803
6804         * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
6805         for character to search, to help the compiler.
6806         * sysdeps/generic/strchrnul.c: Likewise.
6807         * sysdeps/generic/memchr.c: Likewise.
6808         * sysdeps/generic/memccpy.c: Likewise.
6809         * sysdeps/generic/rawmemchr.c: Likewise.  Fix comment.
6810
6811 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6812
6813         * sysdeps/m68k/memchr.S: New file.
6814         * sysdeps/m68k/rawmemchr.S: New file.
6815         * sysdeps/m68k/strchr.S: New file.
6816         * sysdeps/m68k/strchrnul.S: New file.
6817
6818 1999-06-13  Geoff Keating  <geoffk@ozemail.com.au>
6819
6820         * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
6821         add `memory' clobber; optimise for constant `val'.
6822         (atomic_add): Likewise.
6823         (test_and_set): Remove `volatile'; add `memory' clobber; be more
6824         like the original `test_and_set'.
6825         (compare_and_swap): Remove `volatile'; add `memory' clobber;
6826         optimise for constant `oldval'.
6827         (always_swap): Remove `volatile'; add `memory' clobber.
6828
6829 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6830
6831         * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
6832         functions for gcc <= 2.7.x.
6833
6834 1999-06-13  Roland McGrath  <roland@baalperazim.frob.com>
6835
6836         * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
6837         change.
6838
6839 1999-06-13  Ulrich Drepper  <drepper@cygnus.com>
6840
6841         * db2/Makefile (distribute): Remove files which do not exist
6842         anymore.
6843
6844         * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
6845         definitions to calm down gcc.
6846
6847         * db2/db.h: Update from db 2.7.5.
6848         * db2/db_185.h: Likewise.
6849         * db2/db_int.h: Likewise.
6850         * db2/btree/bt_compare.c: Likewise.
6851         * db2/btree/bt_conv.c: Likewise.
6852         * db2/btree/bt_curadj.c: Likewise.
6853         * db2/btree/bt_cursor.c: Likewise.
6854         * db2/btree/bt_delete.c: Likewise.
6855         * db2/btree/bt_open.c: Likewise.
6856         * db2/btree/bt_page.c: Likewise.
6857         * db2/btree/bt_put.c: Likewise.
6858         * db2/btree/bt_rec.c: Likewise.
6859         * db2/btree/bt_recno.c: Likewise.
6860         * db2/btree/bt_rsearch.c: Likewise.
6861         * db2/btree/bt_search.c: Likewise.
6862         * db2/btree/bt_split.c: Likewise.
6863         * db2/btree/bt_stat.c: Likewise.
6864         * db2/btree/btree_auto.c: Likewise.
6865         * db2/common/db_appinit.c: Likewise.
6866         * db2/common/db_apprec.c: Likewise.
6867         * db2/common/db_err.c: Likewise.
6868         * db2/common/db_region.c: Likewise.
6869         * db2/common/db_salloc.c: Likewise.
6870         * db2/db/db.c: Likewise.
6871         * db2/db/db.src: Likewise.
6872         * db2/db/db_am.c: Likewise.
6873         * db2/db/db_auto.c: Likewise.
6874         * db2/db/db_dispatch.c: Likewise.
6875         * db2/db/db_dup.c: Likewise.
6876         * db2/db/db_iface.c: Likewise.
6877         * db2/db/db_join.c: Likewise.
6878         * db2/db/db_overflow.c: Likewise.
6879         * db2/db/db_pr.c: Likewise.
6880         * db2/db/db_rec.c: Likewise.
6881         * db2/db/db_ret.c: Likewise.
6882         * db2/db185/db185.c: Likewise.
6883         * db2/dbm/dbm.c: Likewise.
6884         * db2/hash/hash.c: Likewise.
6885         * db2/hash/hash_auto.c: Likewise.
6886         * db2/hash/hash_dup.c: Likewise.
6887         * db2/hash/hash_page.c: Likewise.
6888         * db2/hash/hash_rec.c: Likewise.
6889         * db2/hash/hash_stat.c: Likewise.
6890         * db2/include/btree.h: Likewise.
6891         * db2/include/btree_ext.h: Likewise.
6892         * db2/include/clib_ext.h: Likewise.
6893         * db2/include/common_ext.h: Likewise.
6894         * db2/include/db_am.h: Likewise.
6895         * db2/include/db_auto.h: Likewise.
6896         * db2/include/db_cxx.h: Likewise.
6897         * db2/include/db_ext.h: Likewise.
6898         * db2/include/db_join.h: Likewise.
6899         * db2/include/db_page.h: Likewise.
6900         * db2/include/hash.h: Likewise.
6901         * db2/include/hash_ext.h: Likewise.
6902         * db2/include/lock.h: Likewise.
6903         * db2/include/lock_ext.h: Likewise.
6904         * db2/include/log.h: Likewise.
6905         * db2/include/log_ext.h: Likewise.
6906         * db2/include/mp.h: Likewise.
6907         * db2/include/mp_ext.h: Likewise.
6908         * db2/include/os.h: Likewise.
6909         * db2/include/os_ext.h: Likewise.
6910         * db2/include/os_func.h: Likewise.
6911         * db2/include/txn.h: Likewise.
6912         * db2/include/txn_auto.h: Likewise.
6913         * db2/include/txn_ext.h: Likewise.
6914         * db2/include/xa.h: Likewise.
6915         * db2/include/xa_ext.h: Likewise.
6916         * db2/lock/lock.c: Likewise.
6917         * db2/lock/lock_conflict.c: Likewise.
6918         * db2/lock/lock_deadlock.c: Likewise.
6919         * db2/lock/lock_region.c: Likewise.
6920         * db2/lock/lock_util.c: Likewise.
6921         * db2/log/log.c: Likewise.
6922         * db2/log/log_archive.c: Likewise.
6923         * db2/log/log_auto.c: Likewise.
6924         * db2/log/log_findckp.c: Likewise.
6925         * db2/log/log_get.c: Likewise.
6926         * db2/log/log_put.c: Likewise.
6927         * db2/log/log_rec.c: Likewise.
6928         * db2/log/log_register.c: Likewise.
6929         * db2/mp/mp_bh.c: Likewise.
6930         * db2/mp/mp_fget.c: Likewise.
6931         * db2/mp/mp_fopen.c: Likewise.
6932         * db2/mp/mp_fput.c: Likewise.
6933         * db2/mp/mp_fset.c: Likewise.
6934         * db2/mp/mp_open.c: Likewise.
6935         * db2/mp/mp_pr.c: Likewise.
6936         * db2/mp/mp_region.c: Likewise.
6937         * db2/mp/mp_sync.c: Likewise.
6938         * db2/mutex/mutex.c: Likewise.
6939         * db2/mutex/uts4_cc.s: Likewise.
6940         * db2/os/os_abs.c: Likewise.
6941         * db2/os/os_alloc.c: Likewise.
6942         * db2/os/os_config.c: Likewise.
6943         * db2/os/os_dir.c: Likewise.
6944         * db2/os/os_fid.c: Likewise.
6945         * db2/os/os_fsync.c: Likewise.
6946         * db2/os/os_map.c: Likewise.
6947         * db2/os/os_oflags.c: Likewise.
6948         * db2/os/os_open.c: Likewise.
6949         * db2/os/os_rw.c: Likewise.
6950         * db2/os/os_seek.c: Likewise.
6951         * db2/os/os_sleep.c: Likewise.
6952         * db2/os/os_spin.c: Likewise.
6953         * db2/os/os_stat.c: Likewise.
6954         * db2/os/os_tmpdir.c: Likewise.
6955         * db2/os/os_unlink.c: Likewise.
6956         * db2/progs/db_archive/db_archive.c: Likewise.
6957         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
6958         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
6959         * db2/progs/db_dump/db_dump.c: Likewise.
6960         * db2/progs/db_load/db_load.c: Likewise.
6961         * db2/progs/db_printlog/README: Likewise.
6962         * db2/progs/db_printlog/commit.awk: Likewise.
6963         * db2/progs/db_printlog/count.awk: Likewise.
6964         * db2/progs/db_printlog/db_printlog.c: Likewise.
6965         * db2/progs/db_printlog/pgno.awk: Likewise.
6966         * db2/progs/db_printlog/range.awk: Likewise.
6967         * db2/progs/db_printlog/status.awk: Likewise.
6968         * db2/progs/db_printlog/txn.awk: Likewise.
6969         * db2/progs/db_recover/db_recover.c: Likewise.
6970         * db2/progs/db_stat/db_stat.c: Likewise.
6971         * db2/txn/txn.c: Likewise.
6972         * db2/txn/txn.src: Likewise.
6973         * db2/txn/txn_auto.c: Likewise.
6974         * db2/txn/txn_rec.c: Likewise.
6975         * db2/xa/xa.c: Likewise.
6976         * db2/xa/xa_db.c: Likewise.
6977         * db2/xa/xa_map.c: Likewise.
6978
6979         * db2/btree/bt_close.c: Removed.
6980         * db2/db/db_thread.c: Likewise.
6981         * db2/hash/hash_debug.c: Likewise.
6982         * db2/include/db.h.src: Likewise.
6983         * db2/include/db_int.h.src: Likewise.
6984         * db2/include/os_jump.h: Likewise.
6985         * db2/mutex/alpha.dec: Likewise.
6986         * db2/mutex/alpha.gcc: Likewise.
6987         * db2/mutex/parisc.hp: Likewise.
6988         * db2/mutex/uts4.cc.s: Likewise.
6989
6990         * db2/Makefile: Add new routines, remove old for 2.7.5.
6991         * db2/Versions: Add internal function names for the helper programs.
6992         * db2/makedb.c: Update for new cursor callback.
6993         * Versions.def: Define versions for libdb.
6994
6995 1999-06-13  Thorsten Kukuk  <kukuk@suse.de>
6996
6997         * nscd/connections.c (nscd_run): Get user ID for all non-db services.
6998         * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
6999         * nscd/nscd_nischeck.c: New file.
7000         * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
7001
7002 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7003
7004         * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
7005         MSG_* flags from Linux 2.2.9.
7006
7007 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
7008
7009         * Makeconfig (static-start-installed-name): Set to
7010         $(start-installed-name) if not defined.
7011         (+link-static): Use $(static-start-installed-name) instead of
7012         $(start-installed-name).
7013         * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
7014         Set to crt0.o.
7015
7016 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
7017
7018         * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
7019         inserting a send right into the child instead of unconditionally
7020         copying the send right.
7021
7022 1999-06-12  Ulrich Drepper  <drepper@cygnus.com>
7023
7024         * locale/lc-time.c: Add free_mem function to free if necessary
7025         statically allocated memory.
7026
7027 1999-06-10  Jakub Jelinek  <jj@ultra.linux.cz>
7028
7029         * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
7030         bias from the raw exponent.
7031
7032 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
7033
7034         * inet/arpa/tftp.h: Move attribute declaration in right position.
7035
7036 1999-06-11  Thorsten Kukuk  <kukuk@suse.de>
7037
7038         * nscd/nscd.c: Add -S options for separate caching of data for
7039         every user. So one user couldn't see the data another user
7040         has gotten with his credentials.
7041         * nscd/nscd.h: Add new prototypes.
7042         * nscd/cache.c: Compare owner of cache entry if in secure mode.
7043         * nscd/connections.c: Check on shutdown if caller really was root.
7044         In secure mode get uid of caller.
7045         * nscd/grpcache.c: Add support for new secure group mode.
7046         * nscd/hstcache.c: Add support for new secure hosts mode.
7047         * nscd/pwdcache.c: Add support for new secure passwd mode.
7048
7049 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
7050
7051         * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
7052         of user-provided buffer.
7053
7054 1999-06-11  Mark Kettenis  <kettenis@gnu.org>
7055
7056         * hurd/hurdsock.c (max_domain): Initialize to `-1'.
7057         (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
7058
7059 1999-06-10  Ulrich Drepper  <drepper@cygnus.com>
7060
7061         * stdio-common/printf-parse.h (parse_one_spec): Add support for a
7062         and A format.
7063
7064         * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
7065         returning after last entry.
7066         * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
7067
7068 1999-06-09  Ulrich Drepper  <drepper@cygnus.com>
7069
7070         * misc/sysexits.h: Remove advertising clause of copyright.
7071         * resolv/getnetnamadr.c: Likewise.
7072         * sysdeps/vax/bcopy.s: Likewise.
7073         * sysdeps/vax/bzero.s: Likewise.
7074         * sysdeps/vax/ffs.s: Likewise.
7075         * sysdeps/vax/memchr.s: Likewise.
7076         * sysdeps/vax/memcmp.s: Likewise.
7077         * sysdeps/vax/memmove.s: Likewise.
7078         * sysdeps/vax/memset.s: Likewise.
7079         * sysdeps/vax/strcat.s: Likewise.
7080         * sysdeps/vax/strchr.s: Likewise.
7081         * sysdeps/vax/strcmp.s: Likewise.
7082         * sysdeps/vax/strcpy.s: Likewise.
7083         * sysdeps/vax/strcspn.s: Likewise.
7084         * sysdeps/vax/strlen.s: Likewise.
7085         * sysdeps/vax/strncat.s: Likewise.
7086         * sysdeps/vax/strncmp.s: Likewise.
7087         * sysdeps/vax/strncpy.s: Likewise.
7088         * sysdeps/vax/strpbrk.s: Likewise.
7089         * sysdeps/vax/strrchr.s: Likewise.
7090         * sysdeps/vax/strsep.s: Likewise.
7091         * sysdeps/vax/strspn.s: Likewise.
7092         * sysdeps/vax/strstr.s: Likewise.
7093
7094         * libio/iofopncook.c: Adjust for renaming of structure elements.
7095         * libio/libio.h: Define cookie functions with all the names.
7096
7097         * pwd/fgetpwent_r.c: Set errno in the correct way.
7098         * shadow/fgetspent_r.c: Likewise.
7099         * pwd/fgetpwent.c: Handle long lines correctly.  Little
7100         optimizations.  Free static buffer when debugging memory handling.
7101         * shadow/fgetspent.c: Likewise.
7102
7103         * grp/fgetgrent.c: Little optimization in loop.
7104
7105 1999-06-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7106
7107         * grp/tst_fgetgrent.c (write_group): Fix generation of long line
7108         in a different way.
7109
7110 1999-06-09  Jakub Jelinek   <jj@ultra.linux.cz>
7111
7112         * stdlib/longlong.h: gas changed sethi handling when without
7113         %hi(). Fix assembly.
7114         * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
7115         port specific cache id checks.
7116         * sysdeps/generic/dl-cache.h: New file.
7117         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
7118
7119 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
7120
7121         * gmon/gmon.c: Remove advertising clause of copyright.
7122         * gmon/mcount.c: Likewise.
7123         * gmon/sys/gmon.h: Likewise.
7124         * inet/arpa/ftp.h: Likewise.
7125         * inet/arpa/telnet.h: Likewise.
7126         * inet/arpa/tftp.h: Likewise.
7127         * inet/inet_lnaof.c: Likewise.
7128         * inet/inet_mkadr.c: Likewise.
7129         * inet/inet_net.c: Likewise.
7130         * inet/inet_netof.c: Likewise.
7131         * inet/protocols/routed.h: Likewise.
7132         * inet/protocols/rwhod.h: Likewise.
7133         * inet/protocols/talkd.h: Likewise.
7134         * inet/protocols/timed.h: Likewise.
7135         * inet/rcmd.c: Likewise.
7136         * inet/rexec.c: Likewise.
7137         * inet/ruserpass.c: Likewise.
7138         * io/fts.c: Likewise.
7139         * io/fts.h: Likewise.
7140         * login/login_tty.c: Likewise.
7141         * misc/fstab.h: Likewise.
7142         * misc/getttyent.c: Likewise.
7143         * misc/getusershell.c: Likewise.
7144         * misc/sys/queue.h: Likewise.
7145         * misc/sys/syslog.h: Likewise.
7146         * misc/syslog.c: Likewise.
7147         * misc/ttyent.h: Likewise.
7148         * misc/ttyslot.c: Likewise.
7149         * resolv/arpa/nameser.h: Likewise.
7150         * resolv/gethnamaddr.c: Likewise.
7151         * resolv/herror.c: Likewise.
7152         * resolv/inet_addr.c: Likewise.
7153         * resolv/mapv4v6addr.h: Likewise.
7154         * resolv/mapv4v6hostent.h: Likewise.
7155         * resolv/nss_dns/dns-host.c: Likewise.
7156         * resolv/nss_dns/dns-network.c: Likewise.
7157         * resolv/res_comp.c: Likewise.
7158         * resolv/res_data.c: Likewise.
7159         * resolv/res_debug.c: Likewise.
7160         * resolv/res_init.c: Likewise.
7161         * resolv/res_mkquery.c: Likewise.
7162         * resolv/res_query.c: Likewise.
7163         * resolv/res_send.c: Likewise.
7164         * resolv/resolv.h: Likewise.
7165         * sysdeps/generic/div.c: Likewise.
7166         * sysdeps/generic/netinet/ip.h: Likewise.
7167         * sysdeps/generic/netinet/tcp.h: Likewise.
7168         * sysdeps/generic/paths.h: Likewise.
7169         * sysdeps/generic/prof-freq.c: Likewise.
7170         * sysdeps/generic/sys/ttydefaults.h: Likewise.
7171         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7172         * sysdeps/gnu/netinet/tcp.h: Likewise.
7173         * sysdeps/ieee754/support.c: Likewise.
7174         * sysdeps/mach/hurd/sys/param.h: Likewise.
7175         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
7176         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7177         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
7178         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7179         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
7180         * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
7181         * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
7182         * sysdeps/unix/sysv/linux/paths.h: Likewise.
7183         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
7184         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
7185         * sysdeps/vax/DEFS.h: Likewise.
7186         * termios/sys/ttychars.h: Likewise.
7187         * misc/daemon.c: Likewise.  Call fork.
7188
7189         * grp/fgetgrent.c (buffer): Make file local variable.
7190         (free_mem): New function.  Call for malloc debugging.
7191
7192         * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
7193
7194 1999-06-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7195
7196         * grp/Makefile: Add rules for tst_fgetgrent.
7197
7198         * grp/tst_fgetgrent.c: Rewritten to read only one file.
7199
7200         * grp/tst_fgetgrent.sh: New file.
7201
7202 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
7203
7204         * grp/Makefile (tests): Add tst_fgetgrent.
7205         * grp/tst_fgetgrent.c: New file.
7206         Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
7207
7208 1999-06-07  Roland McGrath  <roland@baalperazim.frob.com>
7209
7210         * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
7211         be POSIX compliant.  Prior definition was broken for Hurd.
7212         Reported by Mark Kettenis <kettenis@gnu.org>.
7213
7214 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
7215
7216         * ctype/ctype.h: Protect __tobody code by __extension__.
7217
7218 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
7219
7220         * grp/fgetgrent.c (fgetgrent): Remember position of stream before
7221         reading and reset in case the buffer was too small.
7222
7223         * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
7224         of EOF.
7225
7226 1999-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7227
7228         * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
7229         another SIOGIFNAME typo.
7230
7231 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
7232
7233         * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
7234
7235         * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
7236         bit.
7237
7238 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7239
7240         * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
7241         the precision if the mantissa is zero.
7242
7243 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7244
7245         * manual/lang.texi (Floating Point Parameters): GCC already
7246         supports long double for a long time.
7247
7248 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7249
7250         * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
7251         yn_test): Increase some epsilons.
7252
7253 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
7254
7255         * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
7256         parameters.
7257
7258 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
7259
7260         * sysdeps/unix/sysv/linux/kernel-features.h: Define
7261         __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
7262         * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
7263         SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
7264
7265         * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
7266         * sysdeps/libm-ieee754/w_j0f.c: Likewise.
7267         * sysdeps/libm-ieee754/w_j0l.c: Likewise.
7268         * sysdeps/libm-ieee754/w_j1.c: Likewise.
7269         * sysdeps/libm-ieee754/w_j1f.c: Likewise.
7270         * sysdeps/libm-ieee754/w_j1l.c: Likewise.
7271         * sysdeps/libm-ieee754/w_jn.c: Likewise.
7272         * sysdeps/libm-ieee754/w_jnf.c: Likewise.
7273         * sysdeps/libm-ieee754/w_jnl.c: Likewise.
7274
7275         * stdio-common/vfprintf.c: Correct typos.
7276
7277         * math/libm-test.c (jn_test): Adjust delta.
7278         (y1_test): Likewise.
7279         (yn_test): Likewise.
7280
7281         * elf/do-lookup.h: It should never happen that if we expect a versioned
7282         symbol from a file the file has no version table.  This should have
7283         been checked in dl-version.c.
7284         * elf/dl-lookup.c: Include assert.h.
7285
7286         * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
7287         function handling.
7288
7289         * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
7290
7291 1999-06-06  Andi Kleen  <ak@muc.de>
7292
7293         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
7294         SA_RESTORER flag.
7295
7296 1999-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7297
7298         * math/libm-test.c (yn_test): Change one delta.
7299         (jn_test): Likewise.
7300         (j1_test): Likewise.
7301         (y0_test): Likewise.
7302
7303 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
7304
7305         * malloc/malloc.c: Introduce local variable __libc_getpagesize to
7306         avoid multiple calls to getpagesize() which might be a syscall.
7307
7308 1999-06-06  Philip Blundell  <philb@gnu.org>
7309
7310         * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
7311
7312 1999-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7313
7314         * manual/install.texi (Running make install): Correct typo in
7315         dynamic linker invocation.
7316
7317 1999-06-05  Philip Blundell  <philb@gnu.org>
7318
7319         * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
7320         problems with GOT addressing.
7321
7322 1999-06-05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
7323
7324         * malloc/malloc.c (check_action): Change into bitmap so that both
7325         diagnostic and abort can be requested by setting it to 3.
7326         (mALLOC_SET_STATe): Disable malloc checking if necessary.
7327
7328 1999-06-03  Ulrich Drepper  <drepper@cygnus.com>
7329
7330         * configure.in: Few changes for HPUX.
7331
7332         * scripts/config.guess: Update from latest version.
7333         * scripts/config.sub: Likewise.
7334
7335 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7336
7337         * Makerules: Set LC_ALL explicitly to archieve correct sorting of
7338         map files.  Closes PR libc/1147.
7339
7340 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7341
7342         * math/libm-test.c (main): Add new test functions.
7343         (jn_test): New tests.
7344         (j1_test): Add some more tests.
7345         (j0_test): Add some more tests.
7346         (y0_test): Add some more tests.
7347         (y1_test): Add some more tests.
7348
7349 1999-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7350
7351         * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
7352         Patch by mhagger@dera.gov.uk [PR libc/1145].
7353
7354         * math/libm-test.c (y1_test): New tests.
7355         (y0_test): Likewise.
7356         (j1_test): Likewise.
7357         (j0_test): Likewise.
7358         (main): Added new tests.
7359
7360 1999-06-02  Jakub Jelinek  <jj@ultra.linux.cz>
7361
7362         * stdlib/longlong.h: Define UDIV_TIME on sparc64.
7363         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
7364         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
7365         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
7366         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
7367         * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
7368
7369 1999-06-02  David S. Miller  <davem@redhat.com>
7370
7371         * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
7372         pointers properly.
7373
7374 1999-06-02  Ulrich Drepper  <drepper@cygnus.com>
7375
7376         * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
7377         and elide compatibility code if possible.
7378
7379 1999-06-01  Ulrich Drepper  <drepper@cygnus.com>
7380
7381         * manual/llio.texi: Remove menu entry for removed section.
7382
7383 1999-05-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7384
7385         * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
7386         variables.
7387
7388 1999-06-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7389
7390         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
7391         (from Linux 2.3.4).
7392
7393 1999-05-30  Ulrich Drepper  <drepper@cygnus.com>
7394
7395         * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
7396
7397 1999-05-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7398
7399         * manual/stdio.texi: Fix some typos.
7400
7401 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7402
7403         * malloc/malloc.h: Properly handle future GCC versions.
7404
7405 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7406
7407         * sysdeps/unix/sysv/linux/configure.in: Change version checks to
7408         use AC_EGREP_CPP.  Change sed pattern to not use alternation.  Fix
7409         text of error message.
7410
7411         * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
7412
7413 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
7414
7415         * manual/filesys.texi: Extend (f)truncate documentation.
7416         * manual/llio.texi: Remove duplicate (f)truncate definition.
7417
7418 1999-05-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7419
7420         * manual/stdio.texi (Formatted Output Functions): Mention
7421         semantics of snprintf in glibc 2.0.
7422         Reported by Ben Pfaff <pfaffben@msu.edu>.
7423
7424 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
7425
7426         * include/features.h (__GLIBC_MINOR__): Bump to 2.
7427
7428 1999-05-27  Ulrich Drepper  <drepper@cygnus.com>
7429
7430         * math/libm-test.c: Adjust a few more deltas for the poor ARM
7431         FPU emulator.
7432
7433 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7434
7435         * configure.in: Fix typo.
7436
7437 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7438
7439         * manual/socket.texi (Host Names): Remove statement that h_errno
7440         needs to be declared since this isn't true anymore.
7441         Closes PR libc/1138.
7442
7443 1999-05-26  Ulrich Drepper  <drepper@cygnus.com>
7444
7445         * config.h.in: Add __LINUX_KERNEL_VERSION.
7446         * configure.in: Recognize --enable-kernel.
7447         * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
7448         headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
7449         appropriately.
7450         * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
7451         given perform runtime test.
7452
7453         * sysdeps/unix/sysv/linux/kernel-features.h: New file.
7454         * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
7455         minimal supported kernel is known to have the feature.
7456         * sysdeps/unix/sysv/linux/poll.c: Likewise.
7457         * sysdeps/unix/sysv/linux/pread.c: Likewise.
7458         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7459         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7460         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7461         * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
7462         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7463         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7464         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7465         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7466         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7467         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
7468         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
7469         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
7470         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
7471
7472         * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
7473
7474 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
7475
7476         * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
7477
7478 1999-05-26  Jakub Jelinek   <jj@ultra.linux.cz>
7479
7480         * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
7481         Optimized sparc64 routines.
7482
7483 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
7484
7485         * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
7486         they are the same as ints.
7487         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
7488
7489         * version.h (VERSION): Bump to 2.1.90.
7490         (RELEASE): Mark as development.
7491
7492         * stdio-common/vfprintf.c (vfprintf): Don't implement special
7493         handling for long long if it is the same as long.
7494         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
7495
7496         * stdlib/strtol.c: Moved to ...
7497         * sysdeps/generic/strtol.c: ...here.
7498         * stdlib/strtoul.c: Moved to ...
7499         * sysdeps/generic/strtoul.c: ...here.
7500         * stdlib/strtoll.c: Moved to ...
7501         * sysdeps/generic/strtoll.c: ...here.
7502         * stdlib/strtoull.c: Moved to ...
7503         * sysdeps/generic/strtoull.c: ...here.
7504         * stdlib/strtol_l.c: Moved to ...
7505         * sysdeps/generic/strtol_l.c: ...here.
7506         * stdlib/strtoul_l.c: Moved to ...
7507         * sysdeps/generic/strtoul_l.c: ...here.
7508         * stdlib/strtoll_l.c: Moved to ...
7509         * sysdeps/generic/strtoll_l.c: ...here.
7510         * stdlib/strtoull_l.c: Moved to ...
7511         * sysdeps/generic/strtoull_l.c: ...here.
7512
7513         * sysdeps/wordsize-64/strtol.c: New file.
7514         * sysdeps/wordsize-64/strtoul.c: New file.
7515         * sysdeps/wordsize-64/strtoll.c: New file.
7516         * sysdeps/wordsize-64/strtoull.c: New file.
7517         * sysdeps/wordsize-64/strtol_l.c: New file.
7518         * sysdeps/wordsize-64/strtoul_l.c: New file.
7519         * sysdeps/wordsize-64/strtoll_l.c: New file.
7520         * sysdeps/wordsize-64/strtoull_l.c: New file.
7521
7522         * wcsmbs/wcstol.c: Moved to ...
7523         * sysdeps/generic/wcstol.c: ...here.
7524         * wcsmbs/wcstoul.c: Moved to ...
7525         * sysdeps/generic/wcstoul.c: ...here.
7526         * wcsmbs/wcstoll.c: Moved to ...
7527         * sysdeps/generic/wcstoll.c: ...here.
7528         * wcsmbs/wcstoull.c: Moved to ...
7529         * sysdeps/generic/wcstoull.c: ...here.
7530         * wcsmbs/wcstol_l.c: Moved to ...
7531         * sysdeps/generic/wcstol_l.c: ...here.
7532         * wcsmbs/wcstoul_l.c: Moved to ...
7533         * sysdeps/generic/wcstoul_l.c: ...here.
7534         * wcsmbs/wcstoll_l.c: Moved to ...
7535         * sysdeps/generic/wcstoll_l.c: ...here.
7536         * wcsmbs/wcstoull_l.c: Moved to ...
7537         * sysdeps/generic/wcstoull_l.c: ...here.
7538
7539         * sysdeps/wordsize-64/wcstol.c: New file.
7540         * sysdeps/wordsize-64/wcstoul.c: New file.
7541         * sysdeps/wordsize-64/wcstoll.c: New file.
7542         * sysdeps/wordsize-64/wcstoull.c: New file.
7543         * sysdeps/wordsize-64/wcstol_l.c: New file.
7544         * sysdeps/wordsize-64/wcstoul_l.c: New file.
7545         * sysdeps/wordsize-64/wcstoll_l.c: New file.
7546         * sysdeps/wordsize-64/wcstoull_l.c: New file.
7547
7548 1999-05-24  Jakub Jelinek  <jj@ultra.linux.cz>
7549
7550         * sysdeps/sparc/bits/wordsize.h: New file.
7551         * sysdeps/sparc/fpu/bits/fenv.h: New file.
7552         * sysdeps/sparc/fpu/fpu_control.h: New file.
7553         * sysdeps/sparc/gmp-mparam.h: New file.
7554
7555         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
7556         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
7557         * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
7558         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
7559         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
7560         * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
7561
7562         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
7563         * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
7564         * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
7565         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
7566
7567         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
7568         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
7569         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
7570         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
7571         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
7572
7573 1999-05-24  Ulrich Drepper  <drepper@cygnus.com>
7574
7575         * login/openpty.c (openpty): Make sure pty does not because
7576         controlling TTY.
7577
7578         * ctype/ctype.h: Don't optimize toupper/tolower for C++.
7579
7580 1999-05-23  Roland McGrath  <roland@baalperazim.frob.com>
7581
7582         * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
7583         Do proper error return.
7584
7585 1999-05-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7586
7587         * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
7588         of __P in the rest of glibc; define __MALLOC_PMT and use it.
7589         Reported by Stephan Kulow <coolo@kde.org>.
7590
7591 1999-05-23  Ulrich Drepper  <drepper@cygnus.com>
7592
7593         * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
7594
7595         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
7596
7597 1999-05-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7598
7599         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
7600         names to protect from user's macro namespace.
7601         * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
7602         * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
7603         * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
7604         * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
7605         * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
7606         Adapted.
7607         * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
7608         sysdeps/arm/fpu/fesetenv.c: Likewise.
7609         * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
7610         sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
7611         sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
7612         * sysdeps/mips/fesetenv.c: Likewise.
7613
7614 1999-05-22  Roland McGrath  <roland@baalperazim.frob.com>
7615
7616         * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
7617
7618 1999-05-20  Ulrich Drepper  <drepper@cygnus.com>
7619
7620         * configure.in: Recognize and allow gcc 2.95.
7621
7622 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
7623
7624         * sysdeps/generic/bits/elfclass.h: Version common to
7625         wordsize-32 and wordsize-64.
7626         * sysdeps/generic/bits/environments.h: Ditto.
7627         * sysdeps/generic/stdint.h: Ditto.
7628         * sysdeps/generic/inttypes.h: Ditto.
7629
7630         * sysdeps/generic/bits/wordsize.h: New file.
7631         * stdlib/Makefile: Add bits/wordsize.h to headers.
7632
7633         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
7634
7635         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
7636         headers to be used for 32bit and 64bit ABI compilations.
7637         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
7638         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
7639         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
7640         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
7641         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
7642
7643         * sysdeps/wordsize-64/bits/elfclass.h: Remove.
7644         * sysdeps/wordsize-64/bits/environments.h: Remove.
7645         * sysdeps/wordsize-64/stdint.h: Remove.
7646         * sysdeps/wordsize-64/inttypes.h: Remove.
7647         * sysdeps/wordsize-64/bits/wordsize.h: New file.
7648
7649         * sysdeps/wordsize-32/bits/elfclass.h: Remove.
7650         * sysdeps/wordsize-32/bits/environments.h: Remove.
7651         * sysdeps/wordsize-32/stdint.h: Remove.
7652         * sysdeps/wordsize-32/inttypes.h: Remove.
7653         * sysdeps/wordsize-32/bits/wordsize.h: New file.
7654
7655 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
7656
7657         * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
7658         __align_cpy_16): New functions.
7659         (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
7660
7661         * sysdeps/sparc/sparc32/Versions: New file.
7662         * sysdeps/sparc/sparc64/Versions: New file.
7663         * sysdeps/sparc/Versions: Remove.
7664
7665 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
7666
7667         * sysdeps/unix/sysv/linux/configure.in:
7668         On sparc64-*-linux*, set slibdir to /lib64 if prefix
7669         is /usr, plus set libdir to ${exec_prefix}/lib64.
7670         * sysdeps/unix/sysv/linux/configure: Regenerated.
7671         * config.make.in: Propagate libdir settings from configure
7672         to the Makefiles.
7673         * shlib-versions: sparc64-*-linux* dynamic linker is
7674         /lib64/ld-linux.so.2.
7675
7676 1999-05-18  Thorsten Kukuk  <kukuk@suse.de>
7677
7678         * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
7679         RPC connection.
7680
7681 1999-05-18  Jakub Jelinek  <jj@ultra.linux.cz>
7682
7683         * sysdeps/sparc/sparc64/rawmemchr.S: New file.
7684         * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
7685
7686         * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
7687         contains garbage in bits 8-63.
7688         * sysdeps/sparc/sparc64/memset.S: Ditto.
7689         * sysdeps/sparc/sparc64/strchr.S: Ditto.
7690
7691 1999-05-18  Ulrich Drepper  <drepper@cygnus.com>
7692
7693         * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
7694
7695 1999-05-17  David S. Miller  <davem@redhat.com>
7696
7697         * sysdeps/sparc/sparc32/atomicity.h: New file.
7698         * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
7699         * sysdeps/sparc/sparc64/atomicity.h: New file.
7700         * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
7701         sysdep-CFLAGS.
7702
7703 1999-05-18  Richard Henderson  <rth@twiddle.net>
7704
7705         * sysdeps/alpha/memchr.S: Zap high byte of length.  Reschedule.
7706
7707 1999-05-04  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7708
7709         * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
7710         posix/sys/types.h: Handle the case of __GNUC__=3,
7711         __GNUC_MINOR__=(anything).
7712
7713 1999-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7714
7715         * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
7716         if _FORCE_INLINES.
7717
7718 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
7719
7720         * elf/Makefile (distribute): Remove dl-origin.h.
7721         Add dl-dst.h and gen-trusted-dirs.awk.
7722
7723 1999-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7724
7725         * sysdeps/i386/i486/Versions: New file with inline functions from
7726         sysdeps/i386/i486/bits/string.h for now.
7727
7728         * sysdeps/i386/Versions: Add inline functions from
7729         sysdeps/i386/bits/string.h.
7730
7731         * string/Versions: Add inline functions from <bits/string2.h>.
7732
7733         * string/Makefile (routines): Add string-inlines.
7734         * string/string-inlines.c: New file, used for implementation of
7735         extern inline functions.
7736
7737         * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
7738         non inlined versions of functions.
7739         * string/bits/string2.h: Likewise.
7740         * sysdeps/i386/bits/string.h: Likewise.
7741
7742 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
7743
7744         * inet/arpa/tftp.h: Add second packed attribute.
7745
7746 1999-05-16  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
7747
7748         * malloc/malloc.c: Cleanup to bring in line with released
7749         stand-alone version `ptmalloc'.  Update some comments.
7750         (internal_function): Move fallback definition so that the source
7751         compiles outside of libc, and use it in more places.
7752         (malloc_atfork): Fix when malloc_check is in use.
7753
7754 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7755
7756         * stdlib/tst-strtod.c: Fix typo.
7757
7758 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7759
7760         * elf/dl-close.c (_dl_close): Add cast to avoid warning about
7761         const incorrectness.
7762
7763 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
7764
7765         * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
7766
7767 1999-05-16  Thorsten Kukuk  <kukuk@suse.de>
7768
7769         * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
7770         * sunrpc/key_call.c: Fix memory leak, close file handle.
7771         * nis/nis_creategroup.c: Use malloc instead of calloc,
7772         set ctime and mtime.
7773         * nis/nis_subr.c: Check for realloc result.
7774         * nis/nis_file.c: Fix memory leak.
7775         * nis/nis_table.c: Pretty print.
7776         * nis/nis_getservlist.c: Likewise.
7777         * nis/nis_ismember.c: Likewise.
7778         * nis/nis_lookup.c: Likewise.
7779         * nis/nis_ping.c: Likewise.
7780         * nis/nis_removemember.c: Likewise.
7781         * nis/nis_util.c: Likewise, check calloc result.
7782
7783 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
7784
7785         * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
7786         * sysdeps/generic/sys/socketvar.h: ... here.
7787         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
7788         * sysdeps/generic/netinet/in_systm.h: ... here.
7789         * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
7790         sys/socketvar.h.
7791         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
7792         * inet/Makefile (headers): Add netinet/in_systm.h here.
7793         * socket/Makefile (headers): Add sys/socketvar.h here.
7794
7795 1999-05-15  Ulrich Drepper  <drepper@cygnus.com>
7796
7797         * stdlib/strtol.c: Optimize inner loop of long long versions.
7798
7799         * sysdeps/gnu/utmpx.h: Add needed type definitions according to
7800         Unix98.  Add forward declaration of struct utmp.
7801
7802 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
7803
7804         * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
7805         calloc.
7806
7807         * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
7808         * nis/nis_addmember.c (nis_addmember): Fix memory leak.  Test
7809         memory allocation results.
7810
7811 1999-05-14  Mark Kettenis  <kettenis@gnu.org>
7812
7813         * sysdeps/generic/getutmp.c: Include <string.h>
7814         (getutmp): Rewrite to only copy those members that are really
7815         present in `struct utmp'.
7816         * sysdeps/generic/getutmpx.c: Likewise.
7817
7818 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
7819
7820         * nss/getXXbyYY.c: Add free_mem function which disposes all
7821         statically allocated memory when debugging.
7822         * nss/getXXent.c: Likewise.
7823         * nss/nsswitch.c: Likewise.
7824
7825 1999-05-13  Ulrich Drepper  <drepper@cygnus.com>
7826
7827         * sysdeps/gnu/getutmpx.c: New file.
7828         * sysdeps/gnu/getutmp.c: New file.
7829
7830 1999-05-13  H.J. Lu  <hjl@gnu.org>
7831
7832         * login/Versions (getutmpx): Added to GLIBC_2.1.1.
7833         (getutmp): Likewise.
7834
7835         * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
7836         getutmpx for login.
7837
7838         * sysdeps/gnu/utmpx.h (getutmp): Added.
7839         (getutmpx): Likewise.
7840
7841         * sysdeps/generic/getutmp.c: New file.
7842
7843         * sysdeps/generic/getutmpx.c: New file.
7844
7845 1999-05-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7846
7847         * glibcbug.in (BUGGLIBC): Change address to
7848         libc-alpha@sourceware.cygnus.com.
7849
7850 1999-05-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7851
7852         * resolv/arpa/nameser.h: Add C++ protectors.
7853
7854 1999-05-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7855
7856         * iconvdata/gconv-modules: Fix alias for CP1255.  Reported by
7857         Elad Tsur <eladts@post.tau.ac.il>.
7858
7859 1999-05-11  Ulrich Drepper  <drepper@cygnus.com>
7860
7861         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
7862         * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
7863         lazily if LD_BIND_NOW is not set.
7864         * elf/dl-support.c (_dl_lazy): New variable.
7865         (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
7866         * elf/rtld.c (_dl_lazy): new global variable.
7867         ( dl_main): Remove lazy, replace it by _dl_lazy.
7868
7869 1999-05-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7870
7871         * locale/setlocale.c (new_composite_name): Check also whether the
7872         first category name differs.
7873
7874 1999-05-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7875
7876         * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
7877         the generic one.
7878
7879 1999-05-11  Philip Blundell  <pb@nexus.co.uk>
7880
7881         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
7882         structure; storage suitable for any socket address.
7883         * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
7884         Likewise.
7885         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
7886         sockaddr_storage): Likewise.
7887
7888         * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
7889         platform.
7890
7891 1999-05-10  Ulrich Drepper  <drepper@cygnus.com>
7892
7893         * hesiod/Versions: Change _nss_hesiod_getpwuid and
7894         _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
7895         _nss_hesiod_getgrgid_r respectively.  Fixes pr libc/1115.
7896
7897 1999-05-09  Mark Kettenis  <kettenis@gnu.org>
7898
7899         * hurd/get-host.c (_hurd_get_host_config): Return an empty value
7900         if the file is empty.
7901
7902 1999-05-07  Ulrich Drepper  <drepper@cygnus.com>
7903
7904         * elf/do-lookup.h: Fix typo in comment.
7905
7906         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
7907         f_bsize to help some broken programs.
7908
7909         * stdio-common/tst-printf.c: Add test case for last _itoa problem.
7910
7911         * stdio-common/vfprintf.c: Fix typo.
7912
7913 1999-05-06  Ulrich Drepper  <drepper@cygnus.com>
7914
7915         * elf/link.h (struct link_map): New field l_phdr_allocated.
7916         * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
7917         the program header being part of any loaded segment.  If it is not
7918         allocate memory and set l_phdr_allocated flag.
7919         * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
7920
7921         * nss/digits_dots.c: Correct return value interpretation of
7922         inet_ntoa.  Fix PR libc/1109.
7923
7924 1999-05-06  Zack Weinberg  <zack@rabi.columbia.edu>
7925
7926         * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
7927
7928 1999-05-06  Thorsten Kukuk  <kukuk@suse.de>
7929
7930         * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
7931         * stdlib/fpioconst.c: Move #endif before end of struct.
7932
7933 1999-05-05  Ulrich Drepper  <drepper@cygnus.com>
7934
7935         * Versions.def (ld.so): Add GLIBC_2.1.1.
7936         * elf/Makefile (routines): Add dl-origin.
7937         (tests): Add origtest.  Add dependencies for the program.
7938         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
7939         _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
7940         * elf/dl-deps.c (expand_dst): New macro.  Expand DSTs in filename.
7941         (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
7942         DT_AUXILIARY, and DT_FILTER filenames.
7943         * elf/dl-load.c (expand_dynamic_string_token): Explode into
7944         two functions and three macros.
7945         (_dl_dst_count, _dl_dst_substitute): New functions.
7946         * elf/dl-dst.h: New file.
7947         * elf/dl-open.c (_dl_open): Take extra parameter with address of
7948         caller.  Pass address in args structure.
7949         (dl_open_worker): Recognize and expand DSTs in filename.
7950         * elf/ldsodefs.h (_dl_open): Adapt prototype.
7951         * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
7952         (__dlopen_check): Pass caller address to dlopen_doit in args.
7953         * elf/dlopendoit.c: Likewise.
7954         * iconv/gconv_dl.c: Adapt call of _dl_open.
7955         * nss/nsswitch.c: Likewise.
7956         * elf/origtest.c: New file.
7957         * sysdeps/generic/dl-origin.h: Moved to...
7958         * sysdeps/generic/dl-origin.c: ...here.
7959         * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
7960         * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
7961
7962         * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
7963         with specific bases and only few bits set in second word.
7964
7965         * timezone/Makefile (install-others): Create target directory
7966         before creating tzfiles.
7967
7968 1999-05-05  Thorsten Kukuk  <kukuk@suse.de>
7969
7970         * nis/nis_file.c (readColdStartFile): Allocate memory only after
7971         the file is opened successfully.
7972
7973         * nis/nis_table.c: Fix some memory leaks.
7974
7975 1999-05-04  Ulrich Drepper  <drepper@cygnus.com>
7976
7977         * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
7978         variable.
7979
7980         * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
7981         around DST.  Correctly ignore ORIGIN IN SUID binaries.
7982
7983 1999-05-03  Ulrich Drepper  <drepper@cygnus.com>
7984
7985         * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
7986         * sysdeps/generic/strtok.c: Likewise.
7987
7988         * string/tester.c: Add test of rawmemchr.
7989
7990         * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
7991         specification.  It's not necessary.
7992
7993         * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
7994         * elf/gen-trusted-dirs.awk: New file.
7995         * elf/dl-load.c (systems_dirs): Moved into file scope.  Initialize
7996         from SYSTEM_DIRS macro.
7997         (system_dirs_len): New variable.  Contains lengths of system_dirs
7998         strings.
7999         (fillin_rpath): Rewrite for systems_dirs being a simple string.
8000         Improve string comparisons.  Change parameter trusted to be a flag.
8001         Change all callers.
8002         (_dt_init_paths): Improve using new format for system_dirs.
8003
8004         * elf/dl-load.c (expand_dynamic_string_token): Don't expand
8005         $ORIGIN for SUID binaries.
8006
8007         * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
8008
8009 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8010
8011         * sunrpc/Makefile: Generate dependencies for all flavors of
8012         librpcsvc objects.
8013         (rpcgen-cmd): Pass -Y flag here and remove it from the macro
8014         invocations.
8015
8016 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8017
8018         * elf/dlopenold.c: Move #if down after includes to get
8019         dependencies right.
8020
8021 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8022
8023         * sysdeps/generic/bzero.c: Undefine __bzero.
8024
8025 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
8026
8027         * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
8028         * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
8029         * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
8030         Patch by Craig Small <csmall@scooter.eye-net.com.au>.
8031
8032         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
8033         parameter to struct gaih_servtuple *.  Adapt appropriately.
8034         (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
8035         This fixes a memory leak.
8036         Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
8037
8038         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
8039         and fpregset_t definition.  They are defined in ucontext.h.
8040
8041 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
8042
8043         * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
8044         and struct ether_header must be packed on the ARM.  The default
8045         alignment constraints add padding to the end of the structures.
8046
8047 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
8048
8049         * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM.  The
8050         default alignment constraints add padding to the end of the
8051         structure and between members.
8052
8053 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
8054
8055         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
8056         _dl_cache_libcmp instead of strcmp.
8057
8058         * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
8059         fails on a file.
8060         Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
8061
8062 1998-03-30  Joel Klecker  <espy@debian.org>
8063
8064         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
8065         (sysdep-others,install-bin): Add lddlibc4.
8066
8067 1999-05-02  H.J. Lu  <hjl@gnu.org>
8068
8069         * timezone/zic.c (dolink): Remove the symlink destination first.
8070
8071         * catgets/open_catalog.c (__open_catalog): Set catalog->status
8072         to "nonexisting" if failed to open the file.
8073
8074 1999-05-01  Ulrich Drepper  <drepper@cygnus.com>
8075
8076         * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
8077         gcc3.
8078
8079         * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
8080         Prevent warnings from multiplication with 0x01010101 by another cast.
8081
8082 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8083
8084         * string/bits/string2.h (memset): Revert to previous version if
8085         unaligned writes are not available.
8086
8087 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
8088
8089         * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
8090         better code in presence of the asm.
8091
8092 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8093
8094         * stdlib/fmtmsg.c (keywords): Increase array size for faster
8095         indexing.
8096
8097         * locale/localeinfo.h (_nl_category_names): Increase array element
8098         size for faster indexing.
8099         * locale/setlocale.c (_nl_category_names): Adjusted.
8100
8101 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8102
8103         * iconv/gconv_conf.c (add_alias): Remove wrong cast.
8104
8105 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8106
8107         * sysdeps/m68k/stackinfo.h: New file.
8108
8109 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
8110
8111         * string/tester.c (test_strchrnul): New function.
8112         (test_memset): Test one more special case.
8113
8114         * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
8115         25% of all cases.
8116
8117         * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
8118         base types.
8119
8120         * string/bits/string2.h: Fix bugs I introduced in last change.
8121
8122         * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
8123         register stall.
8124         Extend memset optimization.
8125         Correct i686 version of memchr.
8126
8127 1999-04-30  Roland McGrath  <roland@baalperazim.frob.com>
8128
8129         * sysdeps/i386/bzero.c: Add #undef __bzero.
8130
8131         * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
8132         EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
8133         exec server simulated a SIGTRAP before we even started up, so gdb is
8134         already happy.
8135
8136 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
8137
8138         * nss/digits_dots.c: Always initialize not_ok.
8139
8140 1999-04-30 09:02 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
8141
8142         * string/bits/string2.h (memset): Avoid arithmetic overflow at
8143         compile time, which produces obnoxious warnings.  If GCCv2 is
8144         in use, map __bzero to __builtin_memset to enable that
8145         optimization.
8146
8147 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
8148
8149         * string/bits/string2.h: Add more memset optimizations.
8150
8151         * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
8152
8153         * resolv/inet_pton.c (inet_pton4): Little optimizations.
8154         (inet_pton6): Likewise.
8155
8156         * nss/getXXbyYY_r.c: Include assert.h.
8157         * nss/getXXbyYY.c: Likewise.
8158
8159 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8160
8161         * termios/tcgetsid.c (tcgetsid): Rename variable to
8162         tiocgsid_does_not_work.
8163
8164 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
8165
8166         * inet/getnameinfo.c (nrl_domainname): Fix last patch.
8167
8168 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8169
8170         * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
8171         This allows e.g. gethostbyname to accept "10.1234".
8172         Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
8173
8174         * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
8175         non quad IPv4 numbers.
8176
8177 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8178
8179         * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
8180
8181 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
8182
8183         * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
8184         * argp/argp-parse.c (_argp_hang): Likewise.
8185         * argp/argp-pv.c (argp_program_version): Likewise.
8186         * argp/argp-pvh.c (argp_program_version_hook): Likewise.
8187         * inet/ether_hton.c (ether_hton, startp): Likewise.
8188         * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
8189         * inet/getnetgrent_r.c (setup, startp): Likewise.
8190         * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
8191         * intl/localealias.c (string_space, string_space_act, string_space_max,
8192         nmap, maxmap): Likewise.
8193         * libio/iopopen.c (proc_file_chain): Likewise.
8194         * libio/oldiopopen.c (old_proc_file_chain): Likewise.
8195         * locale/lc-collate.c (__collate_table, __collate_extra,
8196         __collate_element_hash, __collate_element_strings,
8197         __collate_element_values): Likewise.
8198         * malloc/mcheck.c (mcheck_used): Likewise.
8199         * malloc/mtrace.c (added_atexit_handler): Likewise.
8200         * malloc/set-freeres.c (already_called): Likewise.
8201         * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
8202         * misc/syslog.c (LogStat, LogTag): Likewise.
8203         * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
8204         * nss/getXXbyYY_r.c (startp): Likewise.
8205         * posix/getopt.c (optarg, __getopt_initialized): Likewise.
8206         * posix/regex.c (init_syntax_once) [done]: Likewise.
8207         (debug): Likewise.
8208         * string/strfry.c (init): Likewise.
8209         * sunrpc/svc_run.c (svc_top): Likewise.
8210         * posix/euidaccess.c (have_ids): Likewise.
8211         * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
8212         * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
8213         * time/getdate.c (getdate_err): Likewise.
8214         * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
8215         Likewise.
8216         * time/tzset.c (old_tz, is_initialized): Likewise.
8217
8218         * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
8219         of static data with zero.
8220         * signal/allocrtsig.c (init): Likewise.
8221
8222         * string/Makefile (routines): Add strchrnul.
8223         * string/Versions [GLIBC_2.1.1]: Add strchrnul.
8224         * string/string.c: Add strchrnul prototype.
8225         * include/string.h: Add __strchrnul prototype.
8226         * sysdeps/generic/strchrnul.c: New file.
8227         * sysdeps/i386/strchrnul.S: New file.
8228         * sysdeps/i386/bits/string.c: Add strchrnul optimization.
8229         * sysdeps/i386/i486/bits/string.c: Likewise.
8230         * argp/argp-help.c (argp_args_usage): Use __strchrnul.
8231         * inet/ether_line.c (ether_line): Likewise.
8232         * nscd/nscd_conf.c (nscd_parse_file): Likewise.
8233         * nss/nsswitch.c (nss_parse_file): Likewise.
8234         * posix/execvp.c (execvp): Likewise.
8235         * posix/fnmatch.c (internal_fnmatch): Likewise.
8236         * resolv/res_hconf.c (_res_hconv_init): Likewise.
8237         * resolv/res_init.c (res_init): Likewise.
8238         * stdlib/fmtmsg.c (init): Likewise.
8239         * stdlib/getsubopt.c (getsubopt): Likewise.
8240
8241         * catgets/catgets.c (catopen): Only allocate one memory block.
8242         (catclose): Only one free call necessary.
8243
8244         * catgets/open_catalog.c (__open_catalog): Simplify handling of
8245         file descriptor.
8246
8247         * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
8248         of real functions.  Simplify _tolower and _toupper.
8249
8250         * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
8251         variable.
8252
8253         * iconv/gconv.h (struct gconv_info): Change data element from pointer
8254         to array of size 0.
8255         * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
8256         * iconv/gconv_close.c (__gconv_close): Don't free data.
8257
8258         * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
8259         insert new alias.
8260
8261         * iconv/gconv_db.c (add_derivation): More efficient copying.  Check
8262         for error while inserting in tree.
8263
8264         * include/time.h: Pretty print.
8265
8266         * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
8267         in table and lots of relocations.
8268         * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
8269         string pointers in table and lots of relocations.
8270
8271         * intl/finddomain.c: Remove definition of strchr macro.
8272
8273         * io/ftw.c (nftw_arr, ftw_arr): Make const.
8274
8275         * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
8276
8277         * locale/localeinfo.h (_nl_category_names): Change into an array with
8278         fixed width char string elements.
8279         * locale/setlocale.c (_nl_category_names): Likewise.
8280         (_nl_current): Make global.
8281         * locale/nl_langinfo.c (nldata): Removed.  Use _nl_current now.
8282
8283         * malloc/Makefile (distribute): Add stackinfo.h.
8284         * sysdeps/generic/stackinfo.h: New file.
8285         * sysdeps/i386/stackinfo.h: New file.
8286         * posix/execl.c: Use stackinfo.h in optimizing alloca use.
8287         * posix/execle.c: Likewise.
8288         * posix/execlp.c: Likewise.
8289
8290         * nis/nis_table.c (__create_ib_request): Always use realloc.
8291
8292         * posix/execvp.c (execute): Rename to script_execute and keep only
8293         code to execute using shell.
8294         (execvp): Call execv directly and only fall back on script_execute.
8295
8296         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
8297         and always use xdigits instead.
8298
8299         * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
8300         where appropriate.
8301
8302         * stdlib/fpioconst.h (__tens): New declaration.
8303         (struct mp_power): Remove array, add arrayoff element.
8304         * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
8305         __tens array and add in _fpioconst_pow10 offsets into __tens.
8306         * stdio-common/printf_fp.c: Rewrite to use new __tens array.
8307         * stdlib/strtod.c: Likewise.
8308
8309         * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
8310
8311         * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
8312         of the list.
8313         * stdlib/atexit.c (__exit_funcs): Don't initialize.
8314
8315         * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
8316
8317         * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
8318         a single and an array with offsets.
8319
8320         * sunrpc/des_soft.c (partab): Make it const.
8321
8322         * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
8323         (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
8324         (__key_decryptsession_pk_LOCAL): Likewise.
8325         (__key_gendes_LOCAL): Likewise.
8326         (MESSENGER): Mark const.
8327         (key_call_private_main): Don't initialize with 0.
8328         (use_keyenvoy): Don't initialize with 0.
8329         (key_call): Rewrite to reverse logic of use_doors variable.
8330
8331         * sunrpc/netname.c (OPSYS): Define as array, not pointer.
8332         (startp): Don't initialize with zero.
8333
8334         * sunrpc/openchild.c (_openchild): Make first argument const.
8335
8336         * sunrpc/pmap_rmt.c (timeout): Mark const.
8337         * sunrpc/xcrypt.c (hex): Likewise.
8338
8339         * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
8340         initialization of global variables.
8341         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
8342         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8343         * termios/tcgetsid.c: Likewise.
8344
8345         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
8346         fxsr to osfxsr.
8347
8348         * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
8349         block.  Add function to free memory if wanted.
8350         * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
8351
8352         * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
8353
8354         * wcsmbs/wmemset.c: Little code optimization.
8355
8356 1999-04-23  Paul Eggert  <eggert@twinsun.com>
8357
8358         * stdlib/strtoull.c: Surround strong_alias and weak_alias with
8359         ifdef _LIBC.
8360
8361 1999-04-28  Roland McGrath  <roland@baalperazim.frob.com>
8362
8363         * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
8364         implementation and just always fail with ENOSYS.  This entry point is
8365         obsolete.  Add link warning to that effect.
8366
8367 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
8368
8369         * hurd/get-host.c: Include <hurd/lookup.h>.
8370
8371 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
8372
8373         * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
8374         is != NULL.
8375
8376 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8377
8378         * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
8379         ISO C9x and Unix98.
8380
8381 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
8382
8383         * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
8384         Patch by Peter Miller <millerp@canb.auug.org.au>.
8385
8386 1999-04-27  Thorsten Kukuk  <kukuk@suse.de>
8387
8388         * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
8389         prefers loopback device.
8390
8391 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
8392
8393         * posix/fnmatch.c (internal_fnmatch): Finish incomplete
8394         no_leading_period change.
8395
8396         * posix/testfnm.c: More test cases.
8397
8398 1999-04-27  Ulrich Drepper  <drepper@cygnus.com>
8399
8400         * include/dirent.h: Remove __getdirentries declaration, add __getdents
8401         and __getdents64.
8402         * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
8403         * sysdeps/unix/readdir_r.c: Likewise.
8404         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8405         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
8406         * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
8407         __getdirentries.  Remove fourth argument.
8408         * sysdeps/unix/sysv/linux/getdirentries.c: New file.
8409         * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
8410         * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
8411         Add getdirentries and getdirentries64.
8412         * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
8413
8414         * posix/fnmatch.c (internal_fnmatch): Correctly reset string
8415         pointer in case of an invalid [[: expression.
8416
8417         * posix/testfnm.c: Add more test cases.
8418
8419 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
8420
8421         * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
8422         set, pass EXEC_SIGTRAP flag in exec RPC.
8423
8424 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
8425
8426         * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch.  Take
8427         extra parameter.  Fix several more bugs involving wildcard and
8428         ranges.
8429         (fnmatch): New function.  Call internal_fnmatch.
8430
8431         * posix/testfnm.c: More test cases.
8432
8433 1999-04-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8434
8435         * manual/install.texi (Configuring and compiling): Explain that
8436         files are changed in the source directory.
8437         Closes PR libc/981.
8438         (Configuring and compiling): Explain situation with PARALLELMFLAGS
8439         in the source directory.
8440
8441 1999-04-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8442
8443         * locale/programs/ld-ctype.c: Spelling fixes.
8444         (ctype_finish): Fix argument of error message format.
8445         * locale/programs/ld-messages.c: Spelling fixes.
8446         * locale/programs/ld-monetary.c: Spelling fixes.
8447         * locale/programs/ld-time.c (time_finish): Make sure that name and
8448         format of era_entries are adjacent.
8449         (time_output): Reduce the size of the io vector.
8450
8451 1999-04-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8452
8453         * manual/filesys.texi (Attribute Meanings): Move a misplaced
8454         paragraph.
8455
8456 1999-04-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8457
8458         * locale/programs/ld-collate.c (collate_output): Convert
8459         undefined_offset to an array index.  Fix computation of other
8460         endian extra table.
8461
8462 1999-04-26  Roland McGrath  <roland@baalperazim.frob.com>
8463
8464         * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
8465         return success with empty value.
8466
8467 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
8468
8469         * posix/fnmatch.c: Include string.h also for glibc.
8470         (fnmatch, case '?'): Optimize if cascades a bit.
8471         (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
8472
8473         * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
8474
8475 1999-04-24  Ulrich Drepper  <drepper@cygnus.com>
8476
8477         * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
8478         * iconv/gconv_int.h: Declare UTF16 functions.
8479         * iconv/gconv_simple.c: Add UTF16 conversion functions.
8480
8481 1999-04-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8482
8483         * posix/wordexp.c (parse_param): Fix type of offset to allow it to
8484         be used correctly as parameter for parse_dollars/parse_tilde.
8485
8486 1999-04-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8487
8488         * manual/conf.texi (Utility Limits): Remove duplicate description
8489         of BC_DIM_MAX.
8490
8491 1999-04-19  Ulrich Drepper  <drepper@cygnus.com>
8492
8493         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
8494         outbufend for dst==NULL.
8495
8496 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
8497
8498         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
8499         for dst==NULL.
8500         Fixes PR libc/1084.
8501
8502         * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
8503         Fixes PR libc/1083.
8504
8505 1999-04-18  Thorsten Kukuk  <kukuk@suse.de>
8506
8507         * sunrpc/Makefile: Remove special handling of bootparam.x,
8508         add rpcsvc/bootparam.h to headers.
8509         * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
8510         * sunrpc/rpcsvc/bootparam.x: Renamed to...
8511         * sunrpc/rpcsvc/bootparam_prot.x: ...this.
8512
8513 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
8514
8515         * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
8516         detect and handle invalid descriptors.
8517
8518 1999-04-17  Thorsten Kukuk  <kukuk@suse.de>
8519
8520         * timezone/zic.c (dolink): Append complete path not only filename
8521         to ../ list.
8522
8523 1999-04-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8524
8525         * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
8526
8527 1999-04-17  Ulrich Drepper  <drepper@cygnus.com>
8528
8529         * iconvdata/gconv-modules: Rename CP874 to IBM874.
8530         * iconvdata/Makefile: Likewise.
8531         * iconvdata/cp874.h: Removed.
8532         * iconvdata/cp874.c: Renamed to...
8533         * iconvdata/ibm874.c: ...this.
8534
8535 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
8536
8537         * sysdeps/unix/sysv/linux/bits/types.h: Correct
8538         signed/unsigned-ness of blkcnt and fsblkcnt.
8539         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
8540         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
8541
8542         * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
8543         SOL_AAL, and SOL_IRDA.
8544
8545 1999-04-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8546
8547         * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero.  Don't
8548         include "linux_fsinfo.h".
8549         Based on a patch by H.J. Lu <hjl@gnu.org>.
8550
8551 1999-04-16  Thorsten Kukuk  <kukuk@suse.de>
8552
8553         * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
8554
8555 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
8556
8557         * nscd/cache.c (prune_cache): Only disable file checking for
8558         future if the file does not exist.
8559         Update file_mtime if cache was flushed.
8560
8561 1999-04-15  David S. Miller  <davem@redhat.com>
8562
8563         * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
8564         * sysdeps/sparc/sparc32/strcpy.S: Likewise.
8565
8566 1999-04-15  Scott Bambrough  <scottb@netwinder.org>
8567
8568         * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
8569         compilation of file.
8570
8571 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
8572
8573         * Versions.def: Add GLIBC_2.1.1 to libpthread.
8574
8575         * iconvdata/Makefile (modules): Add KOI8-U.
8576         (distribute): Add koi8-u.c.
8577         (gen-8bit-gap-modules): Add koi8-u.
8578         * iconvdata/gconv-modules: Add KOI8-U entries.
8579         * iconvdata/koi8-u.c: New file.
8580
8581 1999-04-13  Thorsten Kukuk  <kukuk@suse.de>
8582
8583         * sunrpc/auth_des.c: 64bit fixes, security fixes.
8584         * sunrpc/auth_none.c: Pretty print.
8585         * sunrpc/auth_unix.c: Likewise.
8586         * sunrpc/authdes_prot.c: Likewise.
8587         * sunrpc/authuxprot.c: Likewise.
8588         * sunrpc/bindrsvprt.c: Likewise.
8589         * sunrpc/clnt_gen.c: Likewise.
8590         * sunrpc/rpc/xdr.h: Likewise.
8591         * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
8592         * sunrpc/rpc_cmsg.c: Don't use *long pointers.
8593         * sunrpc/rtime.c: Use new rpc_timeval.
8594         * sunrpc/svc_authux.c: Don't use *long pointers.
8595         * sunrpc/svcauth_des.c: Likewise + security fixes.
8596         * sunrpc/xdr_mem.c: Don't use *long pointers.
8597         * sunrpc/xdr_rec.c: Likewise.
8598         * sunrpc/xdr_sizeof.c: Likewise.
8599         * sunrpc/xdr_stdio.c: Likewise.
8600
8601 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
8602
8603         * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
8604         so that it is redone for each sending.
8605
8606 1999-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8607
8608         * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
8609
8610 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
8611
8612         * iconv/gconv_db.c (__gconv_find_transform): If conversion is
8613         known to not exist don't try to load shared objects.
8614         Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
8615
8616         * nscd/cache.c (prune_cache): The table might not be unused.  In
8617         this case do nothing.
8618
8619         * catgets/gencat.c (read_input_file): Don't drop white spaces
8620         between number/identifier and string.
8621         Patch by Dima Barsky <dima@pwd.hp.com>.
8622         If no white space at all follows number/identifier remove existing
8623         message with the number/identifier.
8624
8625 1999-04-14  H.J. Lu  <hjl@gnu.org>
8626
8627         * sunrpc/clnt_udp.c (is_network_up): New function.
8628         (clntudp_call): Call is_network_up () to check if any network
8629         interface is up in case of timeout.
8630
8631 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8632
8633         * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
8634         * wctype/Makefile (tests): Add test_wcfuncs.
8635
8636 1999-04-14  Jakub Jelinek  <jj@ultra.linux.cz>
8637
8638         * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
8639         architectures.
8640         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
8641         instead of CFLAGS.
8642         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
8643         instead of CFLAGS. For gnulib and string directories use
8644         -Wa,-Av9a gcc ASFLAGS.
8645         * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
8646         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
8647         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
8648         * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
8649         the same way as sparc-*.
8650
8651 1999-04-14  Ulrich Drepper  <drepper@cygnus.com>
8652
8653         * locale/programs/locfile.c (locfile_read): Fix typo.
8654         Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
8655
8656 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
8657
8658         * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
8659         restarted after being interrupted by a signal.  The parameters on
8660         the stack were corrupted by the signal handler.
8661
8662         * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
8663         restarted after being interrupted by a signal.  The parameters on
8664         the stack were corrupted by the signal handler.
8665
8666 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8667
8668         * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
8669         Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
8670
8671 1999-04-12  Tim Waugh  <tim@cyberelk.demon.co.uk>
8672
8673         * posix/wordexp-test.c: In field-splitting test cases where
8674         subshells were involved, unset IFS first: some shells (ash) use
8675         IFS even when no expansion is performed.
8676
8677 1999-04-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8678
8679         * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
8680         the real end of the chunk, not some random point inbetween.
8681         (_IO_obstack_xsputn): Likewise.  Actually copy the data into the
8682         obstack when growing.  Use fast version of obstack_blank when
8683         shrinking.
8684         (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
8685         allocating the vtable pointer.
8686         (_IO_obstack_vprintf): Adjust for above change and avoid
8687         unnecessary casts.  Use fast version of obstack_blank when
8688         shrinking.
8689         Fixes PR libc/1075.
8690
8691 1999-04-12  Ulrich Drepper  <drepper@cygnus.com>
8692
8693         * iconvdata/gconv-modules: Fix typo.  Add UJIS alias.
8694         Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
8695
8696 1999-04-11  Tim Waugh  <tim@cyberelk.demon.co.uk>
8697
8698         * posix/wordexp.c (wordexp): Fix a leak when an invalid character
8699         is seen, as well as fixing semantics.  Don't reset the word count
8700         to zero when an invalid character is seen, but leave it as it was
8701         (this makes a difference with WRDE_APPEND).
8702
8703         * posix/wordexp-test.c: More test cases.
8704
8705         * posix/wordexp.c (parse_param): In words like ${var#pattern},
8706         always expand pattern when it is needed.  Also, handle quoting in
8707         pattern properly.
8708
8709 1999-04-12  Philip Blundell  <philb@gnu.org>
8710
8711         * elf/elf.h: Update ARM definitions to match current gas2.
8712
8713         * sysdeps/arm/bits/endian.h: Support big endian operation.
8714
8715         * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
8716         Don't bother range checking the port number.
8717
8718         * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
8719
8720         * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
8721         the syscall name in assembler output for ease of debugging.
8722
8723         * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
8724         compiler behaviour.
8725         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
8726         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
8727         (sysdep_routines): Add sigrestorer.
8728
8729         * string/tester.c (test_strcpy): Add new tests for unaligned
8730         arguments.
8731         * sysdeps/arm/bits/string.h: Delete inline implementations of
8732         strcpy and stpcpy.
8733
8734 1999-04-11  Ulrich Drepper  <drepper@cygnus.com>
8735
8736         * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
8737
8738 1999-04-10  Mark Kettenis  <kettenis@gnu.org>
8739
8740         * sysdeps/mach/hurd/Dist: Add clk_tck.c.
8741
8742 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
8743
8744         * iconvdata/Makefile (modules): Add TIS-620.
8745         (distribute): Add tis-620.c.
8746         (gen-8bit-gap-modules): tis-620.
8747         * iconvdata/tis-620.c: New file.
8748         * iconvdata/gconv-modules: Add TIS-620 entries.
8749
8750         * iconvdata/asmo_449.c: Correct comment.
8751
8752 1999-04-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8753
8754         * manual/install.texi (Configuring and compiling): Comment out
8755         description of --disable-static since this doesn't work currently
8756         (see change by Ulrich Drepper on 1998-12-07 for configure.in).
8757
8758 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
8759
8760         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
8761         use binary search.
8762         Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
8763
8764 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8765
8766         * scripts/test-installation.pl (installation_problem): Skip
8767         libnss1_* libraries from glibc-compat add-on.
8768
8769 1999-04-07  H.J. Lu  <hjl@gnu.org>
8770
8771         * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
8772         libstdc++ 2.7.2.
8773         * posix/Versions (__waitpid): Likewise.
8774
8775 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8776
8777         * manual/install.texi (Reporting Bugs): Add section about reported
8778         bugs and correct email address of glibcbug script.
8779
8780 1999-04-01  Thorsten Kukuk  <kukuk@suse.de>
8781
8782         * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
8783         * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
8784         xdr_u_longlong_t. Based on patch from Dan Shechter
8785         <damageboy@isdn.net.il>.
8786         * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
8787         * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
8788
8789         * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
8790
8791 1999-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8792
8793         * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
8794         directly if getdents returns with error set.
8795
8796 1999-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8797
8798         * locale/langinfo.h (THOUSEP): Rename second occurence of
8799         THOUSANDS_SEP to THOUSEP.
8800         Reported by Roman Belenov <roman@nstl.nnov.ru>.
8801
8802 1999-04-05  Roland McGrath  <roland@baalperazim.frob.com>
8803
8804         * hurd/STATUS: File removed.  Moved items that are still relevant into
8805         TODO list in hurd source.
8806
8807 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
8808
8809         * sysdeps/mach/hurd/bits/time.h: New file.
8810         * sysdeps/mach/hurd/getrusage.c: New file.
8811         * sysdeps/mach/hurd/clk_tck.c: New file.
8812         * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
8813         * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
8814         (sysdep_routines): Add clk_tck.
8815         * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
8816         implemented.
8817
8818 1999-04-02  Ulrich Drepper  <drepper@cygnus.com>
8819
8820         * misc/syslog.c (closelog_internal): Do not reset LogTag here.
8821         (closelog): But instead here.
8822         Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
8823
8824 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8825
8826         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
8827         the source directory.  Fixes PR libc/1059.
8828
8829 1999-04-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8830
8831         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
8832         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8833
8834 1999-04-01  Ulrich Drepper  <drepper@cygnus.com>
8835
8836         * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
8837         * iconvdata/testdata/ISO-8859-14: New file.
8838         * iconvdata/testdata/ISO-8859-14..UTF8: New file.
8839         * iconvdata/testdata/ISO-8859-15: New file.
8840         * iconvdata/testdata/ISO-8859-15..UTF8: New file.
8841
8842 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
8843
8844         * iconvdata/testdata/CP1258: New file.
8845         * iconvdata/testdata/CP1258..UTF8: New file.
8846         * iconvdata/TESTS: Add CP1258 entry.
8847
8848         * iconvdata/cp874.h (to_ucs4): Add Euro sign.
8849
8850         * timezone/africa: Update from tzdata1999d.
8851         * timezone/europe: Likewise.
8852         * timezone/northamerica: Likewise.
8853
8854 1999-03-31  Mark Kettenis  <kettenis@gnu.org>
8855
8856         * login/programs/pt_chown.c (main): Save effective user ID before
8857         dropping priviliges and use this to check if the program is
8858         properly installed.
8859
8860 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
8861
8862         * iconvdata/testdata/CP1254: Update for charmap changes.
8863         * iconvdata/testdata/CP1254..UTF8: Likewise.
8864         * iconvdata/testdata/CP1255: Likewise.
8865         * iconvdata/testdata/CP1255..UTF8: Likewise.
8866         * iconvdata/testdata/CP1256: Likewise.
8867         * iconvdata/testdata/CP1256..UTF8: Likewise.
8868         * iconvdata/testdata/CP1257: Likewise.
8869         * iconvdata/testdata/CP1257..UTF8: Likewise.
8870
8871         * iconvdata/Makefile (distribute): Remove cp1258.h.
8872         (gen-8bit-gap-modules): Add cp1258.
8873         * iconvdata/cp1258.h: Removed.
8874
8875 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
8876
8877         * timezone/tst-timezone.c (tests): Add more cases.
8878         (check_tzvars): Mark errors clearer.
8879         (main): Likewise.
8880
8881 1999-03-30 20:59 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8882
8883         * login/programs/pt_chown.c: Drop privileges if invoked with
8884         arguments.  Don't close the master pty.
8885
8886 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
8887
8888         * time/tzfile.c (__tzfile_read): Process transitions from the rear.
8889         Minor optimization.
8890
8891 1999-03-29  Ulrich Drepper  <drepper@cygnus.com>
8892
8893         * elf/rtld.c (process_envvars): Do not automatically prevent lazy
8894         relocation for SUID binaries.
8895
8896 1999-03-29  Paul Eggert  <eggert@twinsun.com>
8897
8898         * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
8899         while in child process.
8900
8901 1999-03-29  Jakub Jelinek  <jj@ultra.linux.cz>
8902
8903         * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
8904         * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
8905         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
8906         * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
8907         * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
8908
8909         * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
8910         * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
8911         * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
8912         * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
8913         * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
8914         * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
8915         * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
8916         * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
8917         * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
8918         * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
8919         * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
8920         * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
8921         * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
8922         * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
8923         * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
8924         * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
8925         * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
8926         * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
8927         * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
8928         * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
8929         * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
8930         * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
8931         * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
8932         * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
8933         * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
8934         * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
8935
8936         * sysdeps/sparc/sparc32/bcopy.c: New file.
8937         * sysdeps/sparc/sparc32/bzero.c: New file.
8938         * sysdeps/sparc/sparc32/memchr.S: New file.
8939         * sysdeps/sparc/sparc32/memcpy.S: New file.
8940         * sysdeps/sparc/sparc32/memmove.c: New file.
8941         * sysdeps/sparc/sparc32/memset.S: New file.
8942         * sysdeps/sparc/sparc32/stpcpy.S: New file.
8943         * sysdeps/sparc/sparc32/strchr.S: New file.
8944         * sysdeps/sparc/sparc32/strrchr.c: New file.
8945         * sysdeps/sparc/sparc32/strcpy.S: New file.
8946         * sysdeps/sparc/sparc32/strlen.S: New file.
8947         * sysdeps/sparc/sparc32/strcat.S: New file.
8948         * sysdeps/sparc/sparc32/strcmp.S: New file.
8949
8950         * sysdeps/sparc/sparc64/bcopy.c: New file.
8951         * sysdeps/sparc/sparc64/bzero.c: New file.
8952         * sysdeps/sparc/sparc64/memchr.S: New file.
8953         * sysdeps/sparc/sparc64/memcmp.S: New file.
8954         * sysdeps/sparc/sparc64/memcpy.S: New file.
8955         * sysdeps/sparc/sparc64/memset.S: New file.
8956         * sysdeps/sparc/sparc64/stpcpy.S: New file.
8957         * sysdeps/sparc/sparc64/strcat.S: New file.
8958         * sysdeps/sparc/sparc64/strchr.S: New file.
8959         * sysdeps/sparc/sparc64/strcmp.S: New file.
8960         * sysdeps/sparc/sparc64/strcpy.S: New file.
8961         * sysdeps/sparc/sparc64/strcspn.S: New file.
8962         * sysdeps/sparc/sparc64/strlen.S: New file.
8963         * sysdeps/sparc/sparc64/strncpy.S: New file.
8964         * sysdeps/sparc/sparc64/strpbrk.S: New file.
8965         * sysdeps/sparc/sparc64/strrchr.c: New file.
8966         * sysdeps/sparc/sparc64/strspn.S: New file.
8967         * sysdeps/sparc/sparc64/stpncpy.S: New file.
8968         * sysdeps/sparc/sparc64/strncmp.S: New file.
8969
8970         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
8971         Append -fPIC, don't replace.
8972
8973         * configure.in: Recognize sparcv8plus / sparcv9.
8974
8975 1999-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8976
8977         * malloc/obstack.h (obstack_free): Explicitly convert __obj to
8978         char * to avoid C++ warning.
8979         Patch by yasushi@cs.washington.edu [PR libc/1035].
8980
8981 1999-03-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8982
8983         * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
8984         declared in stdlib.h, correct return value of mkstemp.
8985         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
8986
8987         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
8988         from Linux 2.2.5.
8989
8990 1999-03-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8991
8992         * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
8993         C++ warning.
8994
8995         * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
8996         inline functions.  Closes PR libc/1049.
8997
8998 1999-03-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8999
9000         * timezone/README: Update from tzdata1999c and tzcode1999c.
9001
9002         * timezone/africa: Update from tzdata1999c.
9003         * timezone/antarctica: Likewise.
9004         * timezone/asia: Likewise.
9005         * timezone/australasia: Likewise.
9006         * timezone/europe: Likewise.
9007         * timezone/northamerica: Likewise.
9008         * timezone/southamerica: Likewise.
9009         * timezone/zone.tab: Likewise.
9010
9011         * timezone/zic.c: Update from tzcode1999c.
9012
9013 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9014
9015         * Makerules: Add $(common-objpfx)Versions.all to common-generated
9016         outside of ifndef avoid-generated.
9017
9018         * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
9019         in iofdopen.c.
9020         * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
9021         iofopen.c.
9022         * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
9023         in iofclose.c.
9024         * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
9025         _IO_old_file_seekoff): Bring over recent changes in fileops.c.
9026
9027 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
9028
9029         * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
9030         if we build the profiled library.
9031
9032 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9033
9034         * math/Makefile (gmp-objs): Add inlines.  Reported by Andreas
9035         Jaeger <aj@arthur.rhein-neckar.de>
9036
9037 1999-03-25  Roland McGrath  <roland@yaumatei.ai.mit.edu>
9038
9039         * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
9040         (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
9041         This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
9042
9043 1999-03-24  Roland McGrath  <roland@baalperazim.frob.com>
9044
9045         * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
9046         works properly in subdirs.
9047
9048 1999-03-23  Roland McGrath  <roland@baalperazim.frob.com>
9049
9050         * sysdeps/mach/hurd/Makefile: Undo last change.
9051         [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
9052         [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
9053
9054         * mach/Machrules (+preinit, +postinit, +interp,
9055         LDFLAGS-$(interface.so)): Variables removed.  Interface libraries get
9056         linked just like other shared libraries.
9057         (interface.so): Fix typo in defn, so it works.
9058         ($(objpfx)$(interface.so)): Make it depend on libc.so.
9059
9060 1999-03-21  Roland McGrath  <roland@baalperazim.frob.com>
9061
9062         * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
9063         $(link-rpcuserlibs).
9064
9065 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9066
9067         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
9068         $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
9069         targets if not building shared libraries.
9070
9071 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9072
9073         * configure.in: Also look in $PATH when searching for
9074         install-info.  Remove autoconf bug workaround and require autoconf
9075         2.13.
9076
9077 1999-03-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9078
9079         * db/Makefile: Don't try to install shared library link if not
9080         building with shared libs.
9081
9082 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9083
9084         * rt/Makefile: Link against static library if no shared lib is
9085         available.
9086
9087         * localedata/Makefile: The shells scripts implementing the test
9088         require the dynamic linker which is not available with
9089         --disable-shared.  Skip the test if --disable-shared is given.
9090
9091         * linuxthreads/Makefile: Link test against static libpthread if no
9092         shared lib is available.
9093
9094         * iconvdata/Makefile (tests): Run iconv-test only if we're
9095         building shared libraries.
9096         * elf/Makefile (tests): Likewise for elf tests.
9097
9098         * posix/Makefile: The test frameworks globtest and wordexp-test
9099         require the dynamic linker which is not available with
9100         --disable-shared.  Skip the test if --disable-shared is given.
9101
9102         * grp/Makefile (otherlibs): For static nss build link against
9103         necessary libs.
9104
9105 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9106
9107         * debug/Makefile (install-bin): Install and build catchsegv only
9108         if build-shared == yes.  Reported by jussi@jlaako.pp.fi [PR
9109         libc/965].
9110
9111 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9112
9113         * time/tzfile.c (__tzfile_read): Handle the case where there are
9114         transitions but no DST.
9115
9116 1999-03-20  Roland McGrath  <roland@baalperazim.frob.com>
9117
9118         * mach/Machrules (extra-libs-others): Add $(interface-library) here
9119         too, so it gets built in the others pass rather than the lib pass.
9120         This is necessary since the RPC libraries need to be linked against
9121         libc.
9122
9123 1999-03-19  Roland McGrath  <roland@baalperazim.frob.com>
9124
9125         * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
9126         _itoa_word decl.
9127
9128         * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
9129         ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
9130         ($(link-rpcuserlibs)): New static pattern rule; link intermediate
9131         versions of lib{mach,hurd}user.so without reference to libc.so,
9132         then link libc.so against that to get deps and symbol versions, then
9133         finally link real lib*user.so against libc.so.
9134
9135         * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
9136         Support whole-file locking (only) by using the file_lock RPC.  This
9137         has very wrong semantics, but is better than nothing for the time
9138         being.  (Correct POSIX.1 locking will require new RPCs in the Hurd
9139         protocols that will be somewhat hairy to specify.)
9140
9141 1999-03-17  Mark Kettenis  <kettenis@gnu.org>
9142
9143         * sysdeps/mach/hurd/ptsname.c: New file.
9144
9145 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9146
9147         * timezone/asia: Fix rule in Asia/Nicosia entry.
9148
9149 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9150
9151         * manual/getopt.texi (Using Getopt): Explain "::" in option
9152         string.  Reported by Yuri Niyazov <yuricake@geocities.com>.
9153
9154 1999-03-18  Thorsten Kukuk  <kukuk@suse.de>
9155
9156         * sunrpc/clnt_unix.c: Fix creation of parameters for
9157         sendmsg/recvmsg on non intel platforms.
9158         * sunrpc/svc_unix.c: Likewise.
9159
9160 1999-03-18  Philip Blundell  <philb@gnu.org>
9161
9162         * sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386
9163         implementation.
9164
9165 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9166
9167         * timezone/africa: Update from tzdata1999b.
9168         * timezone/asia: Likewise.
9169         * timezone/australasia: Likewise.
9170         * timezone/europe: Likewise.
9171         * timezone/northamerica: Likewise.
9172         * timezone/southamerica: Likewise.
9173         * timezone/zone.tab: Likewise.
9174
9175         * timezone/README: Mention tzdata1999b.
9176
9177 1999-03-17  Ulrich Drepper  <drepper@cygnus.com>
9178
9179         * sysdeps/generic/segfault.c (write_strsignal): New function.
9180         (catch_segfault): Use it instead of calling strsignal.
9181
9182 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9183
9184         * iconv/gconv.c (__gconv): Change type of last_start to unsigned
9185         char to avoid warning.
9186
9187 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
9188
9189         * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
9190
9191         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
9192         outbuf to unsigned char to avoid warning.
9193
9194 1999-03-11  David S. Miller  <davem@redhat.com>
9195
9196         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
9197         masks.
9198         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
9199
9200 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
9201
9202         * iconv/gconv.h (gconv_fct): Change parameter from `char' to
9203         `unsigned char'.
9204         (gconv_step_data): Likewise.
9205         * iconv/gconv_int.h (__gconv): Likewise.
9206         (__BUILINT_TRANS): Likewise.
9207         * iconv/gconv.c (__gconv): Likewise.
9208         * iconv/iconv.c (iconv): Add casts for call of __gconv.
9209         * iconv/skeleton.c: Change local parameters and variable from `char' to
9210         `unsigned char'.  Remove casts from calls into modules.
9211         * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
9212         `char' to `unsigned char'.
9213         * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
9214         * wcsmbs/mbrtowc.c: Likewise.
9215         * wcsmbs/mbsnrtowcs.c: Likewise.
9216         * wcsmbs/mbsrtowcs.c: Likewise.
9217         * wcsmbs/wcrtomb.c: Likewise.
9218         * wcsmbs/wcsnrtombs.c: Likewise.
9219         * wcsmbs/wcsrtombs.c: Likewise.
9220         * wcsmbs/wctob.c: Likewise.
9221
9222 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
9223
9224         * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
9225         __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
9226         __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
9227         __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
9228         __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
9229         __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
9230
9231 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
9232
9233         * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
9234         _hurd_select if TIMEMOUT is -1.
9235
9236 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
9237
9238         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
9239
9240 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
9241
9242         * elf/dl-load.c: Compute rtld_search_dir array size correctly.
9243         Reported by Yasushi Saito <yasushi@cs.washington.edu>.
9244
9245 1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9246
9247         * manual/libc.texinfo: Undo last change for now.
9248
9249 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
9250
9251         * intl/locale.alias: Add entries for Croatian.
9252         Patch by Tomislav Vujec <tvujec@CARNet.hr>.
9253
9254 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
9255
9256         * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
9257         if the opened master pty really is a pty.  `isatty' checks for
9258         tty-ness and a pty is not a tty.  Return ENOENT instead of ENFILE
9259         if we are out of pty's.
9260
9261 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
9262
9263         * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
9264         opened file is closed on exec.
9265         * login/utmp_daemon.c (setutent_daemon): Likewise for the just
9266         opened socket.
9267
9268 1999-03-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9269
9270         * manual/llio.texi (File Position Primitive): Reformat @end
9271         command.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
9272
9273 1999-03-14  Ulrich Drepper  <drepper@cygnus.com>
9274
9275         * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
9276         entry is found.
9277         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9278         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
9279
9280         * locale/programs/localedef.c (main): Initialize `cat' to please
9281         the compiler.
9282
9283 1999-03-14  Roland McGrath  <roland@baalperazim.frob.com>
9284
9285         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
9286         check for root-owned symlinks and reject them too.
9287
9288 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9289
9290         * stdio-common/printf_fphex.c: Move to ...
9291         * sysdeps/generic/printf_fphex.c: ... here.  Fix exponent of
9292         extended precision number.
9293         * sysdeps/m68k/printf_fphex.c: New file.
9294
9295 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9296
9297         * manual/stdio.texi: Fix typos.
9298
9299 1999-03-09  Ulrich Drepper  <drepper@cygnus.com>
9300
9301         * version.h (VERSION): Bump to 2.1.1.
9302
9303 1999-03-09  Thorsten Kukuk  <kukuk@suse.de>
9304
9305         * nis/ypclnt.c: Try only twice to connect to NIS server.
9306
9307 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
9308
9309         * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
9310
9311 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9312
9313         * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
9314         (DENORM_EXP): New define.  Use it as the exponent for a denormal.
9315         * stdlib/strtold.c: Moved to ...
9316         * sysdeps/generic/strtold.c: ... here.
9317         * sysdeps/m68k/strtold.c: New file.
9318
9319 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9320
9321         * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
9322         point if the precision is zero, even if the mantissa is non-zero.
9323
9324 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
9325
9326         * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
9327         arguments into the request message buffer inside `send_rpc'
9328         subfunction.  We must repeat the marshalling when retrying the RPC
9329         after a SIGTTOU delivery.
9330
9331         * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
9332         path when there is no ctty port.
9333         * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
9334         Move sigstate check inside loop so we recheck after handling a signal.
9335
9336 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9337
9338         * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
9339         O_EXLOCK are BSD extensions.
9340         Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
9341
9342 1999-03-08  Ulrich Drepper  <drepper@cygnus.com>
9343
9344         * manual/signal.texi (Termination in Handler): Correct example.
9345         Install default handler before reraising the signal.
9346         Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
9347
9348 1999-03-08  Roland McGrath  <roland@baalperazim.frob.com>
9349
9350         * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
9351         null, in which case send an empty string.
9352
9353 1999-03-02  Mark Kettenis  <kettenis@gnu.org>
9354
9355         * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
9356         backward compatibility EH functions to be linked when using
9357         gcc-2.8.1.  Patch by Zack Weinberg <zack@rabi.columbia.edu>.
9358
9359 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9360
9361         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
9362         /dev/pts status may change during runtime.
9363
9364 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9365
9366         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
9367         change.  /dev/pts status can change during runtime.
9368
9369 1999-03-07  Thorsten Kukuk  <kukuk@suse.de>
9370
9371         * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
9372         poll reports error.
9373         * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
9374         add some more sanity checks.
9375         * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
9376         parser prototype.
9377
9378 1999-03-05  Thorsten Kukuk  <kukuk@suse.de>
9379
9380         * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
9381         change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
9382         * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
9383         * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
9384         * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
9385         for x_getint32.
9386         * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
9387         * nis/nis_print.c: Fix ctime argument for platforms where
9388         sizeof (time_t) != sizeof (int).
9389
9390 1999-03-07  Mark Kettenis  <kettenis@gnu.org>
9391
9392         * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
9393         CLOCKS_PER_SEC instead of CLK_TCK.
9394
9395 1999-03-05  Ulrich Drepper  <drepper@cygnus.com>
9396
9397         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
9398         whether /dev/pts is available.
9399         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
9400         dev_pts_available.
9401
9402         * posix/globtest.sh: Make common_objpfx path absolute and and db2
9403         and hesiod directory to library path [PR libc/1007].
9404
9405 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9406
9407         * resolv/inet_addr.c (inet_aton): Don't allow componets >
9408         255.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
9409
9410 1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>
9411
9412         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
9413         DT_PLTGOT has already been relocated.
9414         (__elf_machine_fixup_plt): Likewise.
9415         Minor cleanups.
9416
9417 1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>
9418
9419         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
9420
9421 1999-03-03  Ulrich Drepper  <drepper@cygnus.com>
9422
9423         * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
9424         and fold string to uppercase [PR libc/1005].
9425
9426 1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9427
9428         * elf/dl-load.c (lose): Fix return type.
9429
9430 1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>
9431
9432         * sysdeps/mach/hurd/bits/fcntl.h
9433         [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
9434         * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
9435         set O_NOTRANS as well.
9436         (__hurd_file_name_lookup_retry): At successful end of lookup,
9437         if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
9438         it is a translated node not owned by root.
9439         (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
9440         on the file name passed to LOOKUP.
9441
9442 1999-03-02  Ulrich Drepper  <drepper@cygnus.com>
9443
9444         * manual/time.texi (High Resolution Timer): Correct computation in
9445         example.  Reported by jjf@devel.cemsys.com.
9446
9447 1999-03-02  Philip Blundell  <pb@nexus.co.uk>
9448
9449         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
9450         entry is already relocated.
9451
9452 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9453
9454         * resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
9455         by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
9456
9457 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9458
9459         * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
9460         uc_link which is the right name according to Unix98.
9461         Reported by Craig Metz [PR libc/1001].
9462         * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
9463         * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
9464         * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
9465         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
9466         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise.
9467         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
9468
9469 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9470
9471         * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
9472         @ifinfo.
9473
9474 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9475
9476         * iconvdata/Makefile: Always include iconv-rules, but disable rule
9477         to regenerate it if avoid-generated.
9478
9479         * Makeconfig: Always include sys-dirs, but disable rule to
9480         regenerate it when avoid-generated.
9481
9482         * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
9483         rule to generate sysd-syscalls.
9484
9485         * elf/Makefile (generated): Remove $(objpfx) from names.
9486
9487 1999-02-28  Mark Kettenis  <kettenis@gnu.org>
9488
9489         * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
9490         actual length if the adress length is smaller than the input
9491         value.  Change type of *LEN paramater to socklen_t.
9492         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
9493         * sysdeps/mach/hurd/accept.c (accept): Likewise.
9494         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
9495         * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
9496         paramater to socklen_t.
9497
9498 1999-02-28  Roland McGrath  <roland@baalperazim.frob.com>
9499
9500         * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
9501         msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
9502         with the RPC.
9503
9504 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
9505
9506         * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
9507         __get_phys_pages): Cast &HBI to silence warning.
9508
9509         * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
9510         * hurd/hurdchdir.c: New file.
9511         * hurd/hurdfchdir.c: New file.
9512         * sysdeps/mach/hurd/chroot.c: Call
9513         _hurd_change_directory_port_from_name to do the work.
9514         * sysdeps/mach/hurd/chdir.c: Likewise.
9515         * sysdeps/mach/hurd/fchdir.c: Call
9516         _hurd_change_directory_port_from_fd to do the work.
9517         * hurd/fchroot.c: Likewise.
9518         * hurd/hurd.h: Declare them.
9519
9520 1999-02-27  Ulrich Drepper  <drepper@cygnus.com>
9521
9522         * elf/dl-load.c (lose): Add more comments to explain the `why'.
9523         (_dl_map_object): Remove redundant test.
9524
9525 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
9526
9527         * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
9528         try to _hurd_port_free a lower-numbered descriptor that was not in any
9529         fd_set.
9530
9531 1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9532
9533         * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
9534         declaration for ____wcstod_l_internal.
9535
9536         * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
9537         __strtod_internal prototype.
9538         * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
9539         (____strtold_l_internal): Add prototype declaration.
9540         (__strtold_l): Call correct function.
9541
9542 1999-02-24  Ulrich Drepper  <drepper@cygnus.com>
9543
9544         * elf/elf.h: Add 32bit HPPA definitions.
9545
9546 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9547
9548         * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
9549         non-checked heap is restored when malloc checking was requested by
9550         the user.
9551         (struct malloc_state): Add using_malloc_checking.
9552         (MALLOC_STATE_VERSION): Increment minor.
9553         (using_malloc_checking, disallow_malloc_check): New variables.
9554         (__malloc_check_init): Use them.
9555         (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
9556         that it can the chunk is properly instrumented when malloc
9557         checking is enabled.  Set the new using_malloc_checking field.
9558         (malloc_hook_ini): Correct signature when _LIBC is not defined.
9559
9560 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9561
9562         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
9563         (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
9564         time.
9565
9566         * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
9567         Don't call elf_get_dynamic_info and _dl_setup_hash a second time
9568         if ld.so is the main program.
9569
9570 1999-02-23  Ulrich Drepper  <drepper@cygnus.com>
9571
9572         * stdio-common/vfprintf.c (vfprintf): If precision or width is too
9573         large for work_buffer, allocate new buffer.
9574         (printf_unknown): Likewise.  [PR libc/988]
9575
9576 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
9577
9578         * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
9579         instead of stat and fstat.
9580         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9581
9582 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9583
9584         * elf/dl-error.c (_dl_signal_cerror): New function.
9585         (_dl_signal_error): Don't call receiver function.
9586         * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
9587         instead of _dl_signal_error when reporting references to undefined
9588         symbols or versions.
9589         (_dl_lookup_versioned_symbol): Likewise.
9590         (_dl_lookup_versioned_symbol_skip): Likewise.
9591         * elf/dl-version.c (match_symbol): Likewise.
9592
9593         * elf/ldsodefs.h: Declare _dl_signal_cerror.
9594
9595 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
9596
9597         * misc/getttyent.c (getttyent): Release lock on stream later to
9598         also protect global variable zapchar.
9599
9600         * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
9601         __times [PR libc/990].
9602
9603 1999-02-21  David S. Miller  <davem@redhat.com>
9604
9605         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
9606         parentheses in Feb 2 changes.
9607         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
9608
9609 1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9610
9611         * sysdeps/generic/glob.c (glob): Save previous errno.
9612
9613 1999-02-21  Ulrich Drepper  <drepper@cygnus.com>
9614
9615         * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
9616         lookup functions if it is too small.
9617
9618 1999-02-20  Ulrich Drepper  <drepper@cygnus.com>
9619
9620         * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
9621         for tracing to the scope lists.
9622         * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
9623         DT_SYMTAB is always available according to ELF spec.
9624
9625         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
9626         call test whether there is any scope left.
9627         (_dl_lookup_versioned_symbol_skip): Likewise.
9628
9629         * elf/Makefile (distribute): Add do-lookup.h.
9630         * elf/do-lookup.h: New file.  Split out from dl-lookup.c.
9631         * elf/dl-lookup.c: Move do_lookup function in separate file and
9632         include the file twice, for handling versioning and without it.
9633
9634         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
9635         entry is already relocated.
9636         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
9637         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
9638         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
9639         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
9640         Likewise.
9641         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
9642         Likewise.
9643         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
9644         Likewise.
9645
9646         * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
9647         load address.  Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
9648         DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
9649         (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
9650         rel and rela relocations can both happen and skip one test if this
9651         is not possible.
9652         (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
9653         appropriately.
9654         * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
9655         already relocated.
9656         * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
9657         relocated.
9658         * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
9659         (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
9660         (_dl_map_object): DT_STRTAB entry is already relocated.
9661         * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
9662         already relocated.
9663         * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
9664         relocated.
9665         * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
9666         DT_VERSYM entries are already relocated.
9667         (profile_fixup): Likewise.
9668         * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX.  Replace
9669         all users.
9670         (match_symbol): DT_STRTAB entry is already relocated.
9671         (_dl_check_map_versions): Likewise.  Also fo DT_VERSYM.
9672         * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
9673         relocated already.  DT_SYMTAB and DT_VERSYM entries are also relocated.
9674         * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
9675         (find_needed): DT_STRTAB entry is already relocated.
9676         (dl_main): Pass extra argument to elf_get_dynamic_info.
9677         DT_STRTAB entry is already relocated.
9678         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
9679         DT_PLTGOT entries are already relocated.
9680         (elf_machine_rela): Likewise for DT_SYMTAB.
9681         * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
9682         relocated.
9683         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9684         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
9685         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9686         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9687         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
9688         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
9689         (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
9690         * sysdeps/mips/mips64/dl-machine.h: Likewise.
9691
9692         * grp/initgroups.c (initgroups): If function in current module was
9693         successful don't stop but continue to process to get all the groups.
9694
9695         * elf/dl-load.c (_dl_map_object_from_fd): Use global
9696         _dl_pf_to_proot array to convert p_flags value.
9697         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9698
9699         * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
9700         loop to clear `info'.
9701
9702         * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
9703         do the work and don't use inline assembler.
9704
9705 1999-02-19  Ulrich Drepper  <drepper@cygnus.com>
9706
9707         * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
9708         * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
9709         noreturn, and prevent it from being inlined.
9710         Define LOSE appropriately.
9711         (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
9712         Optimize decoding of p_flags for certain platforms.
9713
9714 1999-02-19  Philip Blundell  <pb@nexus.co.uk>
9715
9716         * Makeconfig (link-libc): When doing a static link, make sure that
9717         libgcc.a is included both before and after libc.a.
9718
9719 1999-02-18  Thorsten Kukuk  <kukuk@suse.de>
9720
9721         * nis/nss_compat/compat-spwd.c: Fix handling of default values for
9722         sp_warn, sp_inact, sp_expire and sp_flag.
9723
9724 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
9725
9726         * elf/link.h (link_map): Add l_dev and l_ino.
9727         * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
9728         loaded shared object with all loaded objects.  Initialize l_ino
9729         and l_dev in case it's new.
9730         * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
9731         object.
9732         * elf/Makefile: Compile and run new test.
9733         * elf/multiload.c: New file.
9734
9735         * nss/nsswitch.h (service_user): Change name field from const char *
9736         to char[0].
9737         (name_database_entry): Likewise.
9738         * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
9739         for change of `service_user'.
9740         (nss_getline): Adjust memory allocation for change of
9741         `name_database_entry'.
9742
9743         * catgets/catgets.c: Correctly handle NLSPATH from environment
9744         [PR libc/980].
9745
9746         * io/Makefile (routines): Add lock64.
9747         * io/Versions: Add lockf64 for GLIBC_2.1.1.
9748         * sysdeps/generic/lockf64.c: New file.
9749
9750 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
9751
9752         * string/bits/string2.h: Only use strncmp optimization if count
9753         argument is constant.
9754
9755 1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>
9756
9757         * sysdeps/mach/hurd/revoke.c: New file.
9758
9759 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
9760
9761         * wctype/wctype.h (_ISwbit): Cast result of shift operations to
9762         int to avoid warning about `ISO C restricts enumerator values to
9763         range of `int''.
9764
9765 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9766
9767         * elf/dlfcn.h: Fix typo.
9768         * sysdeps/generic/bits/dlfcn.h: Likewise.
9769         * sysdeps/mips/bits/dlfcn.h: Likewise.
9770
9771 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
9772
9773         * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
9774         for the case N == 0.
9775
9776         * db2/Makefile (distribute): Add LICENSE.
9777
9778 1999-02-03  Jeff Bailey  <jbailey@nisa.net>
9779
9780         * sysdeps/unix/make_errlist.c: Add i18n and copyright to
9781         generated files.
9782
9783         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
9784
9785 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
9786
9787         * time/mktime.c: Use ISO C form for function definitions and
9788         remove unnecessary prototypes.
9789
9790         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
9791
9792         * time/time.h: Avoid unneccesary #ifdef.
9793
9794 1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
9795
9796         * stdio-common/_itoa.c (_itoa): Correct parameters to
9797         udiv_qrnnd_preinv.
9798
9799 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9800
9801         * misc/sys/cdefs.h: Undefine __PMT since it might be defined
9802         before (e.g. in glob.h).
9803         Closes PR libc/959.
9804
9805 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9806
9807         * sysdeps/mips/fpu_control.h: Fix typo.
9808         Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
9809         Remove __setfpucw.
9810
9811 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
9812
9813         * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
9814         the "unused" ends of the sockets.  Let pipes be bidirectional.
9815
9816 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
9817
9818         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
9819         invalid ai_flags.
9820
9821 1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9822
9823         * manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
9824         Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
9825
9826         * manual/setjmp.texi (Non-Local Exits and Signals): Fix
9827         typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
9828
9829 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
9830
9831         * string/Versions: Add __strverscmp to GLIBC_2.1.1.
9832
9833 1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9834
9835         * misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
9836         check for priority mask.
9837
9838 1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
9839
9840         * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
9841         Reported by Craig Metz <cmetz@inner.net> .
9842
9843 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9844
9845         * stdio-common/Makefile (tests): tllformat added.
9846
9847         * stdio-common/tllformat.c: New program, based on tiformat.c with
9848         examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
9849
9850 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9851
9852         * posix/test-vfork.c: Fix exit status test.
9853
9854 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9855
9856         * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
9857         missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
9858
9859 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9860
9861         * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
9862         of separare explicit comparisons.
9863
9864 1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9865
9866         * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
9867         defined.
9868
9869         * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
9870         defined.
9871
9872 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
9873
9874         * po/el.po: Update from translation team.
9875
9876 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9877
9878         * intl/locale.alias: Fix slovenian entry [PR libc/948].
9879
9880 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9881
9882         * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
9883         * inet/ruserpass.c: Likewise.
9884         * locale/programs/stringtrans.c: Likewise.
9885         * locale/programs/localedef.c: Likewise.
9886         * nscd/grpcache.c: Likewise.
9887         * nss/nss_files/files-XXX.c: Likewise.
9888         * stdlib/canonicalize.c: Likewise.
9889         * sysdeps/posix/sigwait.c: Likewise.
9890
9891 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9892
9893         * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
9894         even on 64 bit platforms.
9895
9896         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
9897         Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
9898
9899 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
9900
9901         * intl/dcgettext.c: Include locale.h is available.
9902
9903 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
9904
9905         * po/nl.po: Update from translation team.
9906
9907         * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
9908
9909         * Makefile: Allow calling goals for po subdir.
9910
9911         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
9912         signal definitions.
9913
9914         * po/el.po: New file.
9915
9916 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9917
9918         * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
9919         when processing DT_SYMBOLIC objects.
9920
9921 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9922
9923         * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
9924         program headers without PT_PHDR only require that they are
9925         contained within one of the loaded segments.  Don't use assert,
9926         since that would be a bug in the object, not the dynamic linker.
9927
9928 1999-02-08  Richard Henderson  <rth@cygnus.com>
9929
9930         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
9931         restore all call-clobbered fp regs.
9932
9933 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
9934
9935         * po/cs.po: New file.
9936
9937         * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
9938         SUID binaries.
9939
9940 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
9941
9942         * signal/signal.h: Don't declare __libc_allocate_rtsig.
9943         * include/signal.h: Declare __libc_allocate_rtsig here.
9944
9945         * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
9946         point functions, not do_lookup since the later can be called more
9947         than once.
9948
9949 1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>
9950
9951         * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
9952         macro, so that architectures which need to add some special
9953         offset to stack pointer can share this file.
9954
9955         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
9956         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
9957         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
9958         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
9959
9960         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
9961         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
9962         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
9963         between sparc32 and sparc64.
9964
9965         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
9966         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
9967         * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
9968         between sparc32 and sparc64.
9969
9970         * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
9971         * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
9972         * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
9973         between sparc32 and sparc64.
9974
9975         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
9976         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
9977         * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
9978         between sparc32 and sparc64.
9979
9980 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
9981
9982         * Versions.def: New version GLIBC_2.1.1 for libc.
9983         * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
9984         * stdlib/labs.c: Moved to...
9985         * sysdeps/generic/labs.c: ...here.
9986         * stdlib/llabs.c: Moved to...
9987         * sysdeps/generic/llabs.c: ...here.
9988         * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
9989         header.  Declare _Exit.
9990         * sysdeps/generic/_exit.c: Add alias _Exit.
9991         * sysdeps/mach/hurd/_exit.c: Likewise.
9992         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
9993         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
9994         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
9995         * sysdeps/unix/_exit.c: Likewise.
9996         * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
9997         imaxdiv and imaxabs.  Declare lldiv_t if necessary.
9998         * sysdeps/wordsize-64/inttypes.h: Likewise.
9999         * sysdeps/wordsize-32/llabs.c: New file.
10000         * sysdeps/wordsize-32/lldiv.c: New file.
10001         * sysdeps/wordsize-64/labs.c: New file.
10002         * sysdeps/wordsize-64/ldiv.c: New file.
10003         * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
10004         * manual/startup.texi: Document _Exit.
10005
10006 1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10007
10008         * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
10009
10010 1999-02-06  Ulrich Drepper  <drepper@cygnus.com>
10011
10012         * Versions.def: Add versions for ld.so.
10013         * csu/Versions: Remove __libc_stack_end here.
10014         * elf/Versions: Split libc definitions in libc and ld.so definitions.
10015         * elf/Makefile (ld-map): Change to ld.so.map.
10016         * scripts/versions.awk: Recognize dot in library names.
10017
10018         * ctype/ctype.h: Remove definitions of __tolower and __toupper.
10019         Don't use __tolower and __toupper in inline functions.
10020         Add optimizing macros for tolower and toupper.
10021         * ctype/ctype-extn.c (_tolower): Don't use __tolower.
10022         (_toupper): Don't use __toupper.
10023         * ctype/ctype.c (tolower): Don't use __tolower.
10024         (toupper): Don't use toupper.
10025
10026         * nscd/cache.c (prune_cache): Correct printing of debugging messages.
10027
10028         * resolv/Versions (libresolv): Export __ns_name_unpack and
10029         __ns_name_ntop.
10030         * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
10031         make it global.  Change all users.  Similar for ns_name_ntop.
10032         * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
10033         user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
10034         directly to detect too small buffer.
10035         * resolv/nss_dns/dns-network.c: Likewise.
10036
10037         * stdio-common/Makefile (tests): Add scanf12.
10038         * stdio-common/scanf12.c: New file.
10039         * stdio-common/scanf12.input: New file.
10040         * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
10041         floating-point correctly if the number is invalid.
10042
10043         * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
10044         functions.
10045         * stdio-common/printf_fp.c: Likewise.
10046         * stdio-common/printf_fphex.c: Likewise.
10047         * stdio-common/vfprintf.c: Likewise.
10048
10049
10050 See ChangeLog.9 for earlier changes.