Update.
[glibc.git] / ChangeLog
blobbbf244da7e4f8abcfe1eede6ea1502cccfad5d15
1 1999-10-12  Andreas Jaeger  <aj@suse.de>
3         * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
5         * math/basic-test.c: Fix typo.
7         * locale/programs/xstrdup.c: Include string.h for glibc
8         compilation to get string prototypes.
10         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
11         gregset_t and fpregset_t.
13         * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
14         warnings.  Correct value for x == 0.
16         * argp/argp-help.c: Remove broken definition of flockfile and
17         funlockfile.
19 1999-10-12  Andreas Schwab  <schwab@suse.de>
21         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
22         generic Linux version.
24 1999-10-12  Ulrich Drepper  <drepper@cygnus.com>
26         * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
28 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
30         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
31         and fpregset_t definitions.
33         * malloc/memprof.c (GETSP): Define for PowerPC.
34         (GETTIME): Fix generic version.
36 1999-10-10  Philip Blundell  <philb@gnu.org>
38         * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
39         __BYTE_ORDER.
41 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
43         * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
44         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
45         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
46         * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
48         * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
50         * sysdeps/powerpc/e_sqrt.c: Moved to...
51         * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
52         * sysdeps/powerpc/e_sqrtf.c: Moved to...
53         * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
55         * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
56         * sysdeps/powerpc/sub_n.S: Likewise.
57         * sysdeps/powerpc/strlen.S: Likewise.
58         * sysdeps/powerpc/strcpy.S: Likewise.
59         * sysdeps/powerpc/strcmp.S: Likewise.
60         * sysdeps/powerpc/strchr.S: Likewise.
61         * sysdeps/powerpc/stpcpy.S: Likewise.
62         * sysdeps/powerpc/setjmp.S: Likewise.
63         * sysdeps/powerpc/rshift.S: Likewise.
64         * sysdeps/powerpc/ppc-mcount.S: Likewise.
65         * sysdeps/powerpc/mul_1.S: Likewise.
66         * sysdeps/powerpc/memset.S: Likewise.
67         * sysdeps/powerpc/lshift.S: Likewise.
68         * sysdeps/powerpc/dl-start.S: Likewise.
69         * sysdeps/powerpc/bzero.S: Likewise.
70         * sysdeps/powerpc/bsd-setjmp.S: Likewise.
71         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
72         * sysdeps/powerpc/addmul_1.S: Likewise.
73         * sysdeps/powerpc/add_n.S: Likewise.
74         * sysdeps/powerpc/__longjmp.S: Likewise.
75         * sysdeps/powerpc/elf/start.S: Likewise.
77 1999-10-11  Cristian Gafton  <gafton@redhat.com>
79         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
80         SA_SIGINFO.
82 1999-10-10  Ulrich Drepper  <drepper@cygnus.com>
84         * stdlib/atexit.c (initial): New variable.  Use to initialize
85         __exit_funcs.
86         * stdlib/exit.c (exit): Beware to not free statically allocated
87         list element [PR libc/1305].
89         * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
90         slash before the basename [PR libc/1383].
92         * argp/argp.h: Fix typo in last patch.
94         * sysdeps/powerpc/sysdep.h: New file.
95         * sysdeps/unix/powerpc/sysdep.h: New file.
96         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
97         sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
98         * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
99         instead of bare numbers.
100         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
101         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
102         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
104         * sysdeps/hppa/sysdep.h: New file.
106 1999-10-10  Andreas Jaeger  <aj@suse.de>
108         * misc/sgtty.h: Fix typo in last patch.
110 1999-10-09  Ulrich Drepper  <drepper@cygnus.com>
112         * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
113         * sysdeps/powerpc/s_copysign.S: Move to...
114         * sysdeps/powerpc/fpu/s_copysign.S: ...here.  Use portable asm syntax.
115         * sysdeps/powerpc/s_copysignf.S: Move to...
116         * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
117         * sysdeps/powerpc/s_fabs.S: Move to...
118         * sysdeps/powerpc/fpu/s_fabs.S: ...here.  Use portable asm syntax.
119         * sysdeps/powerpc/s_fabsf.S: Move to...
120         * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
121         * sysdeps/powerpc/s_fdim.c: Move to...
122         * sysdeps/powerpc/fpu/s_fdim.c: ...here.
123         * sysdeps/powerpc/s_fdimf.c: Move to...
124         * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
125         * sysdeps/powerpc/s_fmax.S: Move to...
126         * sysdeps/powerpc/fpu/s_fmax.S: ...here.  Use portable asm syntax.
127         * sysdeps/powerpc/s_fmaxf.S: Move to...
128         * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
129         * sysdeps/powerpc/s_fmin.S: Move to...
130         * sysdeps/powerpc/fpu/s_fmin.S: ...here.  Use portable asm syntax.
131         * sysdeps/powerpc/s_fminf.S: Move to...
132         * sysdeps/powerpc/fpu/s_fminf.S: ...here.
133         * sysdeps/powerpc/s_isnan.S: Move to...
134         * sysdeps/powerpc/fpu/s_isnan.c: ...here.
135         * sysdeps/powerpc/s_isnanf.S: Move to...
136         * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
137         * sysdeps/powerpc/s_llrint.c: Move to...
138         * sysdeps/powerpc/fpu/s_llrint.c: ...here.
139         * sysdeps/powerpc/s_llrintf.c: Move to...
140         * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
141         * sysdeps/powerpc/s_llround.c: Move to...
142         * sysdeps/powerpc/fpu/s_llround.c: ...here.
143         * sysdeps/powerpc/s_llroundf.c: Move to...
144         * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
145         * sysdeps/powerpc/s_lrint.c: Move to...
146         * sysdeps/powerpc/fpu/s_lrint.c: ...here.
147         * sysdeps/powerpc/s_lrintf.S: Move to...
148         * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
149         * sysdeps/powerpc/s_lround.c: Move to...
150         * sysdeps/powerpc/fpu/s_lround.c: ...here.
151         * sysdeps/powerpc/s_lroundf.c: Move to...
152         * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
153         * sysdeps/powerpc/s_rint.c: Move to...
154         * sysdeps/powerpc/fpu/s_rint.c: ...here.
155         * sysdeps/powerpc/s_rintf.c: Move to...
156         * sysdeps/powerpc/fpu/s_rintf.c: ...here.
157         * sysdeps/powerpc/t_sqrt.c: Move to...
158         * sysdeps/powerpc/fpu/t_sqrt: ...here.
159         * sysdeps/powerpc/w_sqrt.c: Move to...
160         * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
161         * sysdeps/powerpc/w_sqrtf.c: Move to...
162         * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
163         * configure.in: Support platforms which have no .text pseudo-op.
164         Patches partly by Jimi X <jimix@pobox.com>.
166         * Makeconfig: Look also in all subdirs for shlib-versions files.
168         * malloc/memprof.sh: Fix --help string a bit.
170         * argp/argp.h: Remove K&R compatiblity.
171         * assert/assert.h: Likewise.
172         * catgets/nl_types.h: Likewise.
173         * ctype/ctype.h: Likewise.
174         * db/db.h: Likewise.
175         * db/ndbm.h: Likewise.
176         * db2/db.h: Likewise.
177         * db2/db_185.h: Likewise.
178         * debug/execinfo.h: Likewise.
179         * dirent/dirent.h: Likewise.
180         * dlfcn/dlfcn.h: Likewise.
181         * gmon/sys/gmon.h: Likewise.
182         * grp/grp.h: Likewise.
183         * iconv/gconv.h: Likewise.
184         * iconv/iconv.h: Likewise.
185         * include/execinfo.h: Likewise.
186         * inet/aliases.h: Likewise.
187         * inet/netinet/ether.h: Likewise.
188         * inet/netinet/in.h: Likewise.
189         * intl/libintl.h: Likewise.
190         * io/fcntl.h: Likewise.
191         * io/fts.h: Likewise.
192         * io/ftw.h: Likewise.
193         * io/utime.h: Likewise.
194         * io/sys/poll.h: Likewise.
195         * io/sys/stat.h: Likewise.
196         * io/sys/statfs.h: Likewise.
197         * io/sys/statvfs.h: Likewise.
198         * libio/libio.h: Likewise.
199         * libio/stdio.h: Likewise.
200         * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
201         * locale/locale.h: Likewise.
202         * login/pty.h: Likewise.
203         * login/utmp.h: Likewise.
204         * malloc/mcheck.h: Likewise.
205         * math/complex.h: Likewise.
206         * math/math.h: Likewise.
207         * math/math_private.h: Likewise.
208         * misc/err.h: Likewise.
209         * misc/fstab.h: Likewise.
210         * misc/libgen.h: Likewise.
211         * misc/mntent.h: Likewise.
212         * misc/regexp.h: Likewise.
213         * misc/search.h: Likewise.
214         * misc/sgtty.h: Likewise.
215         * misc/ttyent.h: Likewise.
216         * misc/sys/cdefs.h: Likewise.
217         * misc/sys/file.h: Likewise.
218         * misc/sys/ioctl.h: Likewise.
219         * misc/sys/mman.h: Likewise.
220         * misc/sys/select.h: Likewise.
221         * misc/sys/syslog.h: Likewise.
222         * misc/sys/uio.h: Likewise.
223         * misc/sys/ustat.h: Likewise.
224         * nss/nss.h: Likewise.
225         * posix/sched.h: Likewise.
226         * posix/unistd.h: Likewise.
227         * posix/wordexp.h: Likewise.
228         * posix/sys/times.h: Likewise.
229         * posix/sys/utsname.h: Likewise.
230         * posix/sys/wait.h: Likewise.
231         * pwd/pwd.h: Likewise.
232         * resolv/netdb.h: Likewise.
233         * resolv/resolv.h: Likewise.
234         * resource/ulimit.h: Likewise.
235         * resource/sys/resource.h: Likewise.
236         * resource/sys/vlimit.h: Likewise.
237         * resource/sys/vtimes.h: Likewise.
238         * rt/aio.h: Likewise.
239         * setjmp/setjmp.h: Likewise.
240         * shadow/shadow.h: Likewise.
241         * signal/signal.h: Likewise.
242         * socket/socket.h: Likewise.
243         * stdio/stdio.h: Likewise.
244         * stdio-common/_itoa.h: Likewise.
245         * stdio-common/_itowa.h: Likewise.
246         * stdio-common/printf.h: Likewise.
247         * stdlib/alloca.h: Likewise.
248         * stdlib/fmtmsg.h: Likewise.
249         * stdlib/monetary.h: Likewise.
250         * stdlib/stdlib.h: Likewise.
251         * stdlib/ucontext.h: Likewise.
252         * streams/stropts.h: Likewise.
253         * string/argz.h: Likewise.
254         * string/envz.h: Likewise.
255         * string/string.h: Likewise.
256         * string/strings.h: Likewise.
257         * string/bits/string2.h: Likewise.
258         * sunrpc/rpc/auth.h: Likewise.
259         * sunrpc/rpc/auth_des.h: Likewise.
260         * sunrpc/rpc/auth_unix.h: Likewise.
261         * sunrpc/rpc/clnt.h: Likewise.
262         * sunrpc/rpc/des_crypt.h: Likewise.
263         * sunrpc/rpc/netdb.h: Likewise.
264         * sunrpc/rpc/pmap_clnt.h: Likewise.
265         * sunrpc/rpc/pmap_prot.h: Likewise.
266         * sunrpc/rpc/pmap_rmt.h: Likewise.
267         * sunrpc/rpc/rpc_msg.h: Likewise.
268         * sunrpc/rpc/svc.h: Likewise.
269         * sunrpc/rpc/svc_auth.h: Likewise.
270         * sunrpc/rpc/xdr.h: Likewise.
271         * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
272         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
273         * sysvipc/sys/ipc.h: Likewise.
274         * sysvipc/sys/msg.h: Likewise.
275         * sysvipc/sys/sem.h: Likewise.
276         * sysvipc/sys/shm.h: Likewise.
277         * termios/termios.h: Likewise.
278         * time/time.h: Likewise.
279         * time/sys/time.h: Likewise.
280         * time/sys/timeb.h: Likewise.
281         * wcsmbs/wchar.h: Likewise.
282         * wctype/wctype.h: Likewise.
284 1999-10-05  Roland McGrath  <roland@baalperazim.frob.com>
286         * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
287         _GNU_SOURCE be defined.
289 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
291         * ctype/ctype.h: Pretty print.
293         * po/cs.po: Fix typos.
295         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
296         handling of empty entries.  [PR libc/1345]
297         Patch by Thorsten Kukuk <kukuk@suse.de>.
299 1999-10-08  Andreas Schwab  <schwab@suse.de>
301         * debug/xtrace.sh: Fix quoting bugs.  Implement --help and --version.
303 1999-10-08  Andreas Schwab  <schwab@suse.de>
305         * debug/pcprofiledump.c: Fix typos.
307 1999-10-07  Andreas Jaeger  <aj@suse.de>
309         * math/Makefile (tests): Added basic-tests.
311         * math/basic-test.c: New file.  Contains function basic_tests from
312         libm-test.
314 1999-10-07  Andreas Schwab  <schwab@suse.de>
316         * malloc/memprof.sh: Fix quoting bugs.
318 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
320         * timezone/europe: Update from tzdata1999h.
322 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
324         * elf/elf.h: Update from last gABI draft.
326         * elf/elf.h: Remove EM_486 entry.
327         * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
328         test for EM_486.
330 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
332         * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
333         Add rules for both programs.
334         * debug/pcprofiledump.c: New file.
335         * debug/xtrace.sh: New file.
336         * debug/pcprofile.c: Allow creating output file.  Add magic signature
337         to let reader recognize file format.
339 1999-10-06  Ulrich Drepper  <drepper@cygnus.com>
341         * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
343 1999-10-05  Andreas Jaeger  <aj@suse.de>
345         * locale/programs/ld-identification.c: Fix typo in comment.
346         * locale/programs/ld-messages.c: Likewise.
347         * locale/programs/ld-monetary.c: Likewise.
348         * locale/programs/ld-name.c: Likewise.
350         * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
351         (collate_read): Remove unnecessary comparisons with ignore_content.
353         * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
354         assigned elements.
355         (ctype_read): Remove unnecessary comparisons with ignore_content.
356         Fix typos in comments.
358         * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
359         comparisons with ignore_content.
361 1999-10-05  Ulrich Drepper  <drepper@cygnus.com>
363         * po/cs.po: Update.
365         * time/time.h: Move __gmtime_r declaration to ...
366         * include/time.h: ...here.
368 1999-10-05  Andreas Jaeger  <aj@suse.de>
370         * manual/message.texi (The message catalog files): Fix description
371         to match gencat implementation and Unix98: Message fields are
372         separated by a single blank space.
374 1999-10-05  Andreas Jaeger  <aj@suse.de>
376         * manual/string.texi (Search Functions): Add missing end for
377         memrchr description.
379 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
381         * malloc/memprof.sh: Various small cleanups.  Add short options.
382         Write error messages to stderr.
384         * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
386         * malloc/memprof.sh: Take options to control memprofstat.
388         * malloc/Makefile: Add rule to generate memprof script.
389         * malloc/memprof.sh: New file.
391         * elf/ldd.bash.in: Add "Usage: " in help message to comply with
392         GNU standard.
394 1999-10-04  Andreas Jaeger  <aj@suse.de>
396         * configure.in: Allow makeinfo 4.*.
398 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
400         * stdio-common/vfprintf.c: Correct last patch and use outchar
401         instead of PUTC to output single characters.
402         * stdio-common/Makefile (tests): Add bug13.
403         * stdio-common/bug13.c: New file.
405         * configure.in: Add additional options --with-gd-include and
406         --with-gd-lib to help people with strange installations.
408         * malloc/Makefile: Add libdl dependency to libmemprof.so.
409         * malloc/Depend: New file.
411 1999-10-04  Andreas Jaeger  <aj@suse.de>
413         * timezone/README: Change wording to not mention the current
414         version.  This way we can't forget to update the file.
416 1999-10-04  Andreas Jaeger  <aj@suse.de>
418         * manual/time.texi (Basic CPU Time): Fix typo.
419         Reported by Ben Pfaff <pfaffben@msu.edu>.
421 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
423         * string/string.h: Move __memrchr declaration to ...
424         * include/string.h: ...here.
426 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
428         * string/Makefile (routines): Add memrchr.
430         * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
431         Correct order of tests for matching bytes.
433         * string/tester.c: Add tests for memrchr.
435         * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
436         Start from the last character and take decrement not increment
437         into account for correction in return line.  Add memrchr alias.
438         * sysdeps/i386/bits/string.h: Likewise.
440 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
442         * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
444 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
446         * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
448         * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
449         conventions.
451         * string/Versions: Export memrchr.
453 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
455         * misc/Versions (GLIBC_2.2): Add getloadavg.
456         * misc/Makefile (routines): Add getloadavg.
457         * sysdeps/generic/getloadavg.c: New file.
458         * sysdeps/mach/getloadavg.c: New file.
459         * sysdeps/unix/sysv/linux/getloadavg.c: New file.
461         * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
462         * sysdeps/i386/bits/string.h (__memrchr): New function.
463         * string/string.h: Declare memrchr, __memrchr.
464         * manual/string.texi (Search Functions): Document memrchr.
466 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
468         * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
469         CFLAGS-memprofstat.c, and LIBGD variables.
470         * config.make.in: Add LIBGD.
471         * malloc/Makefile: Add rules to generate libmemprof.so and
472         memprofstat.
473         * malloc/memprof.c: New file.
474         * malloc/memprofstat.c: New file.
476 1999-10-02  Ulrich Drepper  <drepper@cygnus.com>
478         * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
480         * resolv/inet_ntop.c (inet_ntop4): Little optimization.
481         (inet_ntop6): Likewise.
483         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
484         overruns.
486         * resolv/tst-aton.c (main): Add more tests.
488         * resolv/inet_addr.c (inet_aton): Correct some problems with to
489         large numbers.  Optimize a bit.
491 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
493         * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
494         account for added '0'.
496         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
497         handling of IPv6 tunnel address handling with bind 8.2.1.  Allow
498         len argument to be greater than needed address size.
500 1999-10-01  Andreas Jaeger  <aj@suse.de>
502         * locale/programs/ld-collate.c (insert_value): Add cast to avoid
503         warning.
504         * intl/finddomain.c (_nl_find_domain): Likewise.
506 1999-09-30  Andreas Schwab  <schwab@suse.de>
508         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
510 1999-09-30  Andreas Jaeger  <aj@suse.de>
512         * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
513         * sysdeps/i386/rshift.S: Likewise.
514         * sysdeps/i386/strchrnul.S: Likewise.
515         * sysdeps/i386/strchr.S: Likewise.
516         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
517         PR libc/1339.
519 1999-09-30  Andreas Jaeger  <aj@suse.de>
521         * manual/examples/pipe.c: Close other end of pipe to make example work.
523 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
525         * timezone/checktab.awk: Update from tzcode1999g.
526         * timezone/tzselect.ksh: Likewise.
527         * timezone/africa: Update from tzdata1999g.
528         * timezone/asia: Likewise.
529         * timezone/australasia: Likewise.
530         * timezone/europe: Likewise.
531         * timezone/northamerica: Likewise.
532         * timezone/southamerica: Likewise.
533         * timezone/iso3166.tab: Likewise.
534         * timezone/zone.tab: Likewise.
536 1999-09-27  Andreas Jaeger  <aj@suse.de>
538         * resolv/netdb.h: Remove declaration of getnodebyname.  It has
539         been renamed to getipnodebyname.  Move flags around.
541 1999-09-27  Andreas Schwab  <schwab@suse.de>
543         * manual/message.texi (Locating gettext catalog): Fix typos.
545 1999-09-27  Andreas Jaeger  <aj@suse.de>
547         * manual/socket.texi (Out-of-Band Data): Correct example program,
548         rename some variables for clarity.
549         Reported by James Antill <james@and.org>, close PR libc/1329.
551 1999-09-27  Ulrich Drepper  <drepper@cygnus.com>
553         * locale/programs/ld-collate.c (insert_value): Add hack to not
554         crash in incomplete collate implementation.
556         * locale/programs/ld-collate.c (read_directions): Read new token
557         after accepting sorting rule.
559 1999-09-26  Ulrich Drepper  <drepper@cygnus.com>
561         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
562         error message printing.  Correctly test whether all characters of
563         current token are used.
564         (ctype_read): NUL terminate last_str.
566 1999-09-26  Thorsten Kukuk  <kukuk@suse.de>
568         * nscd/connections.c: Invalidate caches on request.
569         * nscd/nscd-client.h: Add INVALIDATE to request_type.
570         * nscd/nscd.c: Add invalidate cache option.
571         * nscd/nscd.conf: Change log directory to /var/log (FHS).
573 1999-09-24  Ulrich Drepper  <drepper@cygnus.com>
575         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
576         not ovverwrite last group member with NULL pointer.
577         Reported by Thomas Winder <thomas.winder@newlogic.at>.
579 1999-09-24  Andreas Jaeger  <aj@suse.de>
581         * stdio-common/tst-printf.c (main): Add a testcase for large
582         precision.  Reported by Tymm Twillman <tymm@coe.missouri.edu>.
584 1999-09-24  Andreas Schwab  <schwab@suse.de>
586         * math/bits/mathcalls.h: Fix last change.  Also declare __finite.
588 1999-09-24  Andreas Jaeger  <aj@suse.de>
590         * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
591         normalized_codeset.  Reported by Belicky Zsolt <zsolt@prolan.hu>.
593 1999-09-23  Mark Kettenis  <kettenis@gnu.org>
595         * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
596         variable.  Define MORECORE_CLEARS to 2.
598         * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
599         doesn't clear the contents of memory that is reallocated after
600         decrementing the break value first.  Update comment about
601         MORECORE_CLEARS, explaining the meaning of the values it can be
602         set to.
604 1999-09-23  Ulrich Drepper  <drepper@cygnus.com>
606         * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
607         one more case.
609         * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
610         (log): Likewise.
611         (log10): Likewise.
612         (log1p): Likewise.
613         (log2): Likewise.
615 1999-09-22  Andreas Jaeger  <aj@suse.de>
617         * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
618         reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
620 1999-09-22  Andreas Schwab  <schwab@suse.de>
622         * stdio-common/vfscanf.c: Fix width handling when scanning floats.
624 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
626         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
627         the source directory.  Fixes PR libc/1059.
629 1999-09-21  Ulrich Drepper  <drepper@cygnus.com>
631         * locale/programs/repertoire.c (repertoire_find_value): Abort if
632         rep parameter is NULL.
633         (repertoire_find_symbol): Likewise.
634         (repertoire_find_seq): Likewise.
636 1999-09-20  Jean-Louis Martineau  <martinea@IRO.UMontreal.CA>
638         * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
639         returned errno value in some cases.
641 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
643         * iconvdata/Makefile (modules): Add GBK.
644         (distribute): Add gbk.c.
645         * iconvdata/gbk.c: New file.
646         * iconvdata/gconv-modules: Add GBK entry.
647         Contributed by Sean Chen <sean.chen@turbolinux.com>.
649         * locale/programs/ld-monetary.c (monetary_output): Remove
650         byte-order code.
652         * locale/programs/ld-time.c (time_output): Correct expected number
653         of iov entries.
655         * manual/filesys.texi (Testing File Access): Correct description of
656         SUID.
658 1999-080-25  H.J. Lu  <hjl@gnu.org>
660         * csu/defs.awk (.end): Only match with leading white spaces.
661         (.align): Likewise.
663 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
665         * stdlib/isomac.c: Add va_copy to allowed macros.
667         * po/pl.po: Updated.
669 1999-09-17  Andreas Schwab  <schwab@suse.de>
671         * Makefile (clean): Also remove $(postclean) files.
673 1999-09-15  Andreas Jaeger  <aj@suse.de>
675         * pwd/Makefile (otherlibs): Add for building with static-nss.
676         * inet/Makefile (otherlibs): Likewise.
678 1999-09-15  Andreas Jaeger  <aj@suse.de>
680         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
681         function definition to avoid a compilation failure.
683 1999-09-15  Andreas Jaeger  <aj@suse.de>
685         * stdlib/tst-environ.c (main): Add getenv regression test for
686         environment variable that's one character long.
688 1999-09-15  Andreas Jaeger  <aj@suse.de>
690         * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
691         signal definitions to let glibc compile with older Linux versions
692         (2.0.10 to 2.1.100 or so).
694 1999-09-18  Roland McGrath  <roland@baalperazim.frob.com>
696         * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
697         return zero to indicate no children died yet (assuming WNOHANG).
699         * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
701 1999-09-17  Roland McGrath  <roland@baalperazim.frob.com>
703         * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
705         * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
706         Return _hurd_pgrp instead of 0.
708 1999-09-19  Roland McGrath  <roland@baalperazim.frob.com>
710         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
711         pages rather than just reprotecting them.  This way we don't hold on
712         to the backing space.
714         * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
715         Use __munmap instead of __vm_deallocate.
717 1999-09-18  Ulrich Drepper  <drepper@cygnus.com>
719         * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
720         returned errno value in some cases.
722 1999-09-17  Andreas Jaeger  <aj@suse.de>
724         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
725         to override user settings.
727 1999-09-17  Andreas Schwab  <schwab@suse.de>
729         * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
730         using a pointer to it.
732 1999-09-16  Ulrich Drepper  <drepper@cygnus.com>
734         * time/getdate.c (__getdate_r): Pass correct year to check_mday.
735         Reported by Vern Staats <staatsvr@asc.hpc.mil>.
737 1999-09-14  Ulrich Drepper  <drepper@cygnus.com>
739         * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
741         * elf/elf.h (PF_MASKOS): New definition.
742         (EM_VAX): New definition.
744 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
746         * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
747         'unsigned char ftype[8]', and 'unsigned int init_flag' to
748         struct user_fp.  These were added in version 2.2.12 of the
749         ARM Linux kernel.
750         * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
751         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
752         The generic procfs.h included <asm/elf.h>.  This causes
753         structure redefinition errors when <sys/user.h> and <sys/procfs.h>
754         are included in the same source file.  Found when building GDB.
756 1999-09-13  Ulrich Drepper  <drepper@cygnus.com>
758         * locale/langinfo.h: Remove byte-order dependent names.
759         * locale/categories.def: Update after removal of byte-order dependent
760         names.
761         * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
762         with magic number in other byte order.
763         * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
764         * locale/C-collate.c: Remove initializers for other byte-order.
765         * locale/C-ctype.c: Likewise.
766         * locale/C-monetary.c: Likewise.
767         * locale/C-paper.c: Likewise.
768         * locale/C-time.c: Likewise.
769         * locale/lc-collate.c: Remove byte-order oriented initialization.
770         * locale/lc-ctype.c: Likewise.
771         * locale/lc-monetary.c: Likewise.
772         * locale/lc-time.c: Likewise.
773         * locale/programs/ld-address.c: Don't generate output in both
774         byte-orders.
775         * locale/programs/ld-ctype.c: Likewise.
776         * locale/programs/ld-paper.c: Likewise.
777         * locale/programs/ld-time.c: Likewise.
778         * time/strftime.c (NLW): Don't use different byte-orders.
779         * wctype/cname-lookup.h (cname_lookup): Likewise.
781         * Makeconfig (localedir): Define using libdir, not datadir.
782         (msgcatdir): New variable.
783         * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
784         * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
785         msgcatdir.
786         * intl/Makefile (install-others): Install locale.alias in msgcatdir.
787         (CPPFLAGS): Define paths using msgcatdir.
788         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
789         * po/Makefile (mo-installed): Define using msgcatdir.
791         * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
793 1999-09-12  Ulrich Drepper  <drepper@cygnus.com>
795         * stdio-common/vfprintf.c: Remove limitation on size of precision
796         for integers.
798         * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
799         glibc by defining internal_function if it isn't already.
801         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
802         fails don't rely on errno value.
803         (getanswer_r): Set *ERRNOP in error cases.
805         * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
806         (gaih_inet_serv): Return EIA_NODATA if name is known but has no
807         associated data.  Test for matching numeric address and family.
808         (getaddrinfo): Remember EAI_NODATA result and return this in case
809         everything fails.
810         Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
812         * locale/programs/ld-address.c: Fix handling of non-existing
813         definitions for this category.  Correctly ignore content of this
814         category is this is necessary.
815         * locale/programs/ld-collate.c: Likewise.
816         * locale/programs/ld-ctype.c: Likewise.
817         * locale/programs/ld-identification.c: Likewise.
818         * locale/programs/ld-measurement.c: Likewise.
819         * locale/programs/ld-messages.c: Likewise.
820         * locale/programs/ld-monetary.c: Likewise.
821         * locale/programs/ld-name.c: Likewise.
822         * locale/programs/ld-numeric.c: Likewise.
823         * locale/programs/ld-paper.c: Likewise.
824         * locale/programs/ld-telephone.c: Likewise.
825         * locale/programs/ld-time.c: Likewise.
826         * locale/programs/locfile.h (handle_copy): Take extra parameter
827         with result pointer.  Fill in name of locale from which to copy.
828         Correctly read token after `END'.
830         * locale/programs/localedef.c (main): Correct handling copy.
831         (add_to_readlist): Take extra parameter which says whether we
832         are supposed to read the file or not.
833         (find_locale): Call add_to_readlist with extra parameter set to 0.
835         * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
836         instead of wrong number in array definitions.
837         (add_to_readlist): Update prototype.
839         * locale/programs/locfile.c (locfile_read): Mark categories not
840         available in source file as read.
841         (write_all_categories): Fix typo.
843         * locale/programs/locales.h: Removed.
845 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
847         * elf/elf.h (SHF_MASKOS): Added.
849         * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
851 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
853         * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
855 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
857         * configure.in: Fix make version test for make 3.77.95 and later
858         versions.
859         Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
861 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
863         * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
865         * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
866         WINT_MAX values.
868         * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
870 1999-09-09  Andreas Schwab  <schwab@suse.de>
872         * elf/link.h: Fix comment.
874 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
876         * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
878         * math/math.h: Pretty print.
880 1999-09-10  Andreas Schwab  <schwab@suse.de>
882         * sysdeps/generic/getenv.c (getenv): Fix lookup for single
883         character variable on bigendian platforms without unaligned memory
884         access.
886 1999-09-07  Cristian Gafton  <gafton@redhat.com>
888         * sysdeps/unix/sysv/linux/sys/raw.h: New file
889         * sysdeps/unix/sysv/linux/Dist: Add raw.h.
890         * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
892 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
894         * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
896         * time/ap.c: Removed.  It was not used.
897         * time/date.c: Likewise.
898         * sysdeps/unix/nlist.c: Likewise.
899         * sysdeps/generic/nlist.c: Likewise.
900         * sysdeps/generic/varargs.h: Likewise.
901         * stdio-common/scanf11.c: Likewise.
902         * stdio-common/scanf6.c: Likewise.
903         * scripts/=__ify: Likewise.
904         * scripts/printsources: Likewise.
905         * resolv/getnetnamadr.c: Likewise.
906         * posix/id.c: Likewise.
907         * misc/ioctltst.c: Likewise.
908         * misc/nlist.h: Likewise.
909         * math/test-math.h: Likewise.
910         * include/nlist.h: Likewise.
912 1999-09-06  Andreas Schwab  <schwab@suse.de>
914         * time/tzset.c (compute_change): Replace slow loop to compute T by
915         simple algorithm.
917 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
919         * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
920         escape sequences out even if the character itself does not fit
921         into the buffer.
923         * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
925 1999-08-31  H.J. Lu  <hjl@gnu.org>
927         * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
929 1999-09-05  Roland McGrath  <roland@baalperazim.frob.com>
931         * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
932         it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
933         (_hurd_priority_which_map):
935 1999-09-04  Ulrich Drepper  <drepper@cygnus.com>
937         * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
939 1999-09-03  Andreas Schwab  <schwab@suse.de>
941         * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
942         fork from __syscall_fork to __libc_fork.
943         * posix/Versions: Add __libc_fork and __vfork to version
944         GLIBC_2.1.2.
946 1999-08-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
948         * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
949         dependencies in sort.
951 1999-09-01  H.J. Lu  <hjl@gnu.org>
953         * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
955         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
956         <sys/user.h> instead of <asm/user.h>.
958 1999-09-02  Ulrich Drepper  <drepper@cygnus.com>
960         * elf/elf.h: Update PARISC-specific flags and symbolic names.
962 1999-09-01  Ulrich Drepper  <drepper@cygnus.com>
964         * elf/elf.h: Update PARISC relocations.
966 1999-08-31  Scott Bambrough  <scottb@netwinder.org>
968         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
969         #ifdef statement to prevent it from being included twice.
970         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
971         #include <bits/armsigctx.h>.
973 1999-08-31  Andreas Schwab  <schwab@suse.de>
975         * locale/C-collate.c: Add missing initialisations.
976         * locale/C-ctype.c: Likewise.
978 1999-08-31  Ulrich Drepper  <drepper@cygnus.com>
980         * time/strftime.c (my_strftime): Remove unneeded variable len.
982         * time/strptime.c: Undo last change.
984 1999-08-30  Ulrich Drepper  <drepper@cygnus.com>
986         * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
987         Change charset.h to charmap.h.
988         (categories): Add new categories.  Leave out collate for now.
989         Update build rules.
990         * locale/categories.def: Add definitions for new categories.
991         * locale/langinfo.h: Likewise.
992         * locale/locale.h: Likewise.
993         * locale/C-address.c: New file.
994         * locale/C-identification.c: New file.
995         * locale/C-measurement.c: New file.
996         * locale/C-name.c: New file.
997         * locale/C-paper.c: New file.
998         * locale/C-telephone.c: New file.
999         * locale/lc-address.c: Likewise.
1000         * locale/lc-identification.c: Likewise.
1001         * locale/lc-measurement.c: Likewise.
1002         * locale/lc-name.c: Likewise.
1003         * locale/lc-paper.c: Likewise.
1004         * locale/lc-telephone.c: Likewise.
1005         * locale/C-ctype.c: Update for locale rewrite.
1006         * locale/C-messages.c: Likewise.
1007         * locale/C-monetary.c: Likewise.
1008         * locale/C-time.c: Likewise.
1009         * locale/lc-collate.c: Likewise.
1010         * locale/lc-ctype.c: Likewise.
1011         * locale/lc-monetary.c: Likewise.
1012         * locale/lc-time.c: Likewise.
1013         * locale/localeinfo.h: Likewise.
1014         * locale/newlocale.c: Likewise.
1015         * locale/setlocale.c: Likewise.
1016         * locale/weight.h: Likewise.
1017         * locale/findlocale.c: Unconditionally use mmap.
1018         Handle new categories.
1019         * locale/loadlocale.c: Likewise.
1020         * locale/iso-3166.def: New file.
1021         * locale/iso-639.def: New file.
1022         * locale/programs/charmap-kw.gperf: Add new keywords.
1023         * locale/programs/locfile-kw.gperf: Likewise.
1024         * locale/programs/locfile-token.h: Define new tokens.
1025         * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
1026         * locale/programs/charmap.h: New file.
1027         * locale/programs/charset.h: Removed.
1028         * locale/programs/config.h: Add __LC_LAST.
1029         * locale/programs/lc-address.c: New file.
1030         * locale/programs/lc-identification.c: New file.
1031         * locale/programs/lc-measurement.c: New file.
1032         * locale/programs/lc-name.c: New file.
1033         * locale/programs/lc-paper.c: New file.
1034         * locale/programs/lc-telephone.c: New file.
1035         * locale/programs/lc-collate.c: Update for locale rewrite.
1036         * locale/programs/lc-ctype.c: Likewise.
1037         * locale/programs/lc-messages.c: Likewise.
1038         * locale/programs/lc-monetary.c: Likewise.
1039         * locale/programs/lc-numeric.c: Likewise.
1040         * locale/programs/lc-time.c: Likewise.
1041         * locale/programs/locale.c: Likewise.
1042         * locale/programs/localedef.c: Likewise.
1043         * locale/programs/locfile.c: Likewise.
1044         * locale/programs/repertoire.c: Likewise.
1045         * locale/programs/repertoire.h: Likewise.
1046         * locale/programs/locfile.c: Update prototypes.
1047         Update handle_copy definition.
1048         * locale/programs/linereader.c: Add handling of wide char strings and
1049         new definition file syntax.
1050         * locale/programs/linereader.h (struct token): Add elements for wide
1051         character strings.
1052         * locale/programs/locale-spec.c: Disable handling of collation
1053         elements for now.
1054         * locale/programs/simple-hash.h: Cleanup.
1055         * locale/programs/stringtrans.h: Handle quite of end of line.
1056         * string/strcoll.c: Fall back on strcmp for now.
1057         * string/strxfrm.c: Fall back on strncpy/strlen for now.
1058         * time/strftime.c: Use new wide character data for wcsftime.
1059         * time/strptime.c: Remove _nl_C_LC_TIME declaration.
1060         * wctype/cname-lookup.h: Update for new LC_CTYPE data.
1062         * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
1063         compiling for i386 to avoid i686-like GOT pointer computation.
1065         * db2/db_int.h: Change tsl_t type to u_int32_t.
1066         * db2/mutex/mutex.c: Allow Alpha mutex definitions.
1067         * db2/mutex/alpha.h: New file.
1068         * db2/mutex/sparc.gcc: Fix store code for v9.  Simplify clear code.
1069         * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
1070         known.
1071         Patches by Richard Henderson.
1073         * stdlib/tst-environ.c: Add cast to avoid warning.
1074         * timezone/test-tz.c: Use setenv instead of putenv.
1076 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1078         * manual/libc.texinfo: Update version and date.
1080         * manual/locale.texi (Formatting Numbers): Fix @node pointers.
1082         * manual/filesys.texi (Working with Directory Trees): Add missing @code.
1083         (File System Interface): Correct entry.
1084         (Permission Bits): Add missing commata after @xref.
1086 1999-08-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1088         * timezone/tst-timezone.c (main): Don't pass const strings to
1089         putenv to avoid warnings.
1091         * posix/regexbug1.c: Include <stdio.h> for puts prototype.
1093 1999-08-29  Thorsten Kukuk  <kukuk@suse.de>
1095         * nis/Versions: Add _nss_*_getipnodebyname_r.
1096         * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
1097         * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
1098         * nss/Versions: Add _nss_files_getipnodebyname_r.
1100 1999-08-28  H.J. Lu  <hjl@gnu.org>
1102         * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
1103         memory for buffer.
1105 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
1107         * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
1108         kernel.
1109         * inet/netinet/in.h: Likewise.
1110         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1111         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1113 1999-08-28  Ulrich Drepper  <drepper@cygnus.com>
1115         * malloc/malloc.c (ptmalloc_init): Don't use variables to set
1116         thresholds for SUID binaries.  [PR libc/1277]
1118         * posix/regexbug1.c: Add one more similar case.
1120 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1122         * manual/install.texi (Running make install): Give examples for
1123         timezone and locale installation.
1125 1999-08-28  Zack Weinberg  <zack@bitmover.com>
1127         * glibcbug.in: Get CCVERSION from autoconf substitution.
1128         * configure.in: Calculate and substitute CCVERSION.
1130 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1132         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
1133         partially reverting a patch from 1998-12-29.  We just can't change
1134         the flags, kernels with different flags lead to
1135         incompatibilities.
1137 1999-08-26  Andreas Schwab  <schwab@suse.de>
1139         * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
1141 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
1143         * inet/rexec.c (rexec): Free memory if strings were allocated in
1144         ruserpass.  Reported by Andrew Morton <morton@nortelnetworks.com>.
1146 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
1148         * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
1150         * manual/argp.texi: Fixing language and typos.
1151         * manual/conf.texi: Likewise.
1152         * manual/contrib.texi: Likewise.
1153         * manual/ctype.texi: Likewise.
1154         * manual/filesys.texi: Likewise.
1155         * manual/install.texi: Likewise.
1156         * manual/job.texi: Likewise.
1157         * manual/lang.texi: Likewise.
1158         * manual/llio.texi: Likewise.
1159         * manual/locale.texi: Likewise.
1160         * manual/math.texi: Likewise.
1161         * manual/nss.texi: Likewise.
1162         * manual/pipe.texi: Likewise.
1163         * manual/signal.texi: Likewise.
1164         * manual/socket.texi: Likewise.
1165         * manual/stdio.texi: Likewise.
1166         * manual/sysinfo.texi: Likewise.
1167         * manual/users.texi: Likewise.
1168         Patches by Neil Booth <NeilB@earthling.net>.
1170 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
1172         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
1173         unsigned to avoid warning.  [PR libc/1271].
1175         * conform/conformtest.pl: Allow testing regex.h which requires
1176         sys/types.h being included.
1178         * conform/data/regex.h-data: Allow *_t types.
1179         * conform/data/pwd.h-data: Likewise.
1180         * conform/data/sched.h-data: Likewise.
1181         * conform/data/pthread.h-data: Likewise.
1182         * conform/data/search.h-data: Likewise.
1184         * misc/search.h: Avoid namespace pollution.
1186         * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
1187         pwd.h, and pthread.h.
1188         * conform/data/pthread.h-data: New file.
1189         * conform/data/pwd.h-data: New file.
1190         * conform/data/regex.h-data: New file.
1191         * conform/data/sched.h-data: New file.
1192         * conform/data/search.h-data: New file.
1194         * NAMESPACE: Add REG_ for regex.h.
1196         * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
1197         they are removed.
1199         * configure.in (libc_cv_asm_global_directive): Indent .text in
1200         test code so that the lame HPUX compiler recognizes it.
1201         * sysdeps/hppa/bits/endian.h: New file.
1202         * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
1203         * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
1204         * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
1205         * sysdeps/unix/sysv/hpux/bits/types.h: New file.
1207         * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
1208         Patch by John Tobey <jtobey@banta-im.com>.
1210         * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
1212         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
1213         old_siocfifconf definition to toplevel.
1214         (__protocol_available): Remove old_siocfifconf definition.
1216 1999-08-25  Mark Kettenis  <kettenis@gnu.org>
1218         * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
1219         really dealing with a master pseudo terminal, and really returning
1220         the name of the associated slave pseudo terminal by checking the
1221         device number.
1222         * sysdeps/unix/sysv/linux/pty-private.h: Removed.
1223         * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
1225 1999-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1227         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
1228         underscore in _llseek entry.
1230         * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
1231         entry.
1233         * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
1234         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
1236         * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
1237         Patch by Ralf Baechle <ralf@uni-koblenz.de>.
1239 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
1241         * inet/Makefile (routines): Add getipnodebynm.
1242         * inet/getipnodebynm.c: New file.
1243         * nss/digits_dots.c: If HAVE_TYPE is define type contains the
1244         interface type.
1245         * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
1246         EXTRA_ARGS_VALUE is not already done.
1247         (internal_getent): Allow extra parameters and pass them to parse_line.
1248         (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
1249         (_nss_files_get##name##_r): Likewise.
1250         * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
1251         and EXTRA_ARGS_VALUE to pass flags and type to parser.
1252         Add getipnodebyname function.
1253         * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
1254         EXTRA_ARGS_VALUE is not already done.
1255         (parse_line): Add EXTRA_ARGS_DECL to parameter list.
1256         * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
1257         to parse_line.
1258         (_nss_db_get##name##_r): Pass extra parameters to lookup.
1259         (_nss_db_get,ENTNAME_r): Likewise.
1260         * sysdeps/generic/if_index.c (__protocol_available): New function.
1261         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1263 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
1265         * login/pty-private.h: Move to...
1266         * sysdeps/generic/pty-private.h: ...here.
1267         * sysdeps/unix/sysv/linux/pty-private.h: New file.  Linux specific
1268         version.
1269         * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
1270         available.
1272         * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
1273         of __overflow.
1275         * conform/conformtest.pl (@headers): Add monetary.h-data,
1276         mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
1277         * conform/data/monetary.h-data: New file.
1278         * conform/data/mqueue.h-data: New file.
1279         * conform/data/ndbm.h-data: New file.
1280         * conform/data/nl_types.h.h-data: New file.
1281         * conform/data/poll.h-data: New file.
1283         * stdio-common/Makefile (test): Add tst-cookie.
1284         * stdio-common/tst-cookie.c: New file.
1286         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
1287         changed in last patch.  Reported by Ralf Baechle.
1289 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1291         * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
1293         * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
1294         Patches by Ralf Baechle <ralf@uni-koblenz.de>
1296 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1298         * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
1299         Linux 2.3.15.
1301 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
1303         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
1304         syscall.
1305         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1307         * misc/libgen.h: Don't take basename macro as taking arguments.
1309         * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
1310         for gcc >= 2.95.
1311         * sysdeps/i386/bits/huge_val.h: Likewise.
1312         * sysdeps/i386/bits/huge_val.h: Likewise.
1313         * sysdeps/ieee754/bits/huge_val.h: Likewise.
1314         * sysdeps/m68k/bits/huge_val.h: Likewise.
1315         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
1316         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
1318         * conform/Makefile: New file.
1319         * conform/conformtest.pl: New file.
1320         * conform/data/aio.h-data: New file.
1321         * conform/data/assert.h-data: New file.
1322         * conform/data/cpio.h-data: New file.
1323         * conform/data/ctype.h-data: New file.
1324         * conform/data/dirent.h-data: New file.
1325         * conform/data/dlfcn.h-data: New file.
1326         * conform/data/errno.h-data: New file.
1327         * conform/data/fcntl.h-data: New file.
1328         * conform/data/float.h-data: New file.
1329         * conform/data/fmtmsg.h-data: New file.
1330         * conform/data/fnmatch.h-data: New file.
1331         * conform/data/ftw.h-data: New file.
1332         * conform/data/glob.h-data: New file.
1333         * conform/data/grp.h-data: New file.
1334         * conform/data/iconv.h-data: New file.
1335         * conform/data/inttypes.h-data: New file.
1336         * conform/data/iso646.h-data: New file.
1337         * conform/data/langinfo.h-data: New file.
1338         * conform/data/libgen.h-data: New file.
1339         * conform/data/locale.h-data: New file.
1340         * conform/data/math.h-data: New file.
1342 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
1344         * posix/execvp.c (execvp): Correct copying of file name.
1346 1999-08-23  Mark Kettenis  <kettenis@gnu.org>
1348         * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
1350 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
1352         * stdio-common/Makefile: Move addition to routines to the right place.
1354 1999-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1356         * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file.  Neccessary
1357         since mips*-linux has ECANCELED.
1359 1999-08-23  Andreas Schwab  <schwab@suse.de>
1361         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
1362         SIGCONTEXT_EXTRA_ARGS.
1363         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
1364         * sysdeps/generic/sigcontextinfo.h: Likewise.
1365         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
1366         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
1367         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1368         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
1369         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
1370         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1372 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
1374         * posix/regexbug1.c: Make it an error if the test fails.
1376 1999-08-23  Andreas Schwab  <schwab@suse.de>
1378         * posix/regex.c (re_match_2_internal): Correct check for charset
1379         after exactn in loop.
1381 1999-08-22  Ulrich Drepper  <drepper@cygnus.com>
1383         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
1384         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1385         Patch by Joel Klecker.
1387         * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
1388         (__gconv_find_transform): Update prototype.
1389         (__gconv_open): Likewise.
1390         * iconv/gconv_open.c: Take extra parameter and pass it to
1391         __gconv_find_transform.
1392         * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
1393         flags.  If GCONV_AVOID_NOCONV flag is set don't return copying
1394         transformation.
1395         * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
1396         * wcsmbs/wcsmbsload.c: Likewise.
1397         * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
1398         iconv for glibc.
1399         * intl/gettextP.h: Likewise.
1400         * intl/loadmsgcat.c: Likewise.
1402         * posix/regexbug1.c: New file.
1403         * posix/Makefile (tests): Add regexbug1.
1405 1999-08-22  Mark Kettenis  <kettenis@gnu.org>
1407         * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
1408         * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
1409         installing PORT in the descriptor cell.
1411 1999-08-19  Roland McGrath  <roland@baalperazim.frob.com>
1413         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
1414         TIMEOUT as outputs of the asm to indicate that the signal thread
1415         might mutate them.
1416         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
1417         mach_msg if only sending or only receiving (i.e., not an RPC).  When
1418         making an RPC that might get interrupted, save OPTION and the portion
1419         of the message buffer that gets clobbered by an EINTR reply message,
1420         and properly restore them before attempting to retry the request
1421         message send.
1423 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
1425         * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
1426         definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
1427         CHAR_T, UCHAR_T and WIN_T to make the code compile again when
1428         stdio is used instead of libio.
1429         * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
1430         definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
1431         to make the code compile again when stdio is used instead of
1432         libio.
1433         (vfprintf): Only check for correct orientation if ORIENT is
1434         defined.
1435         * stdio-common/Makefile (routines): Only add vfwprintf and
1436         vfwscanf if we're using libio.
1438 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
1440         * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
1441         any additional prototype just as we do for libio.
1443 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
1445         * include/bits/xopen_lim.h: Do not define STREAM_MAX and
1446         TZNAME_MAX.  These limits are not X/Open specific.
1447         * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
1448         is defined.
1450 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
1452         * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
1453         UIO_MAXIOV is left undefined in sys/uio.h.
1454         * stdio-common/stdio_lim.h.in: Adapt for change above.
1456 1999-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1458         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
1459         * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
1460         Patches by Ralf Baechle <ralf@uni-koblenz.de>
1462 1999-08-21  Ulrich Drepper  <drepper@cygnus.com>
1464         * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
1466 1999-08-20  Ulrich Drepper  <drepper@cygnus.com>
1468         * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
1470         * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
1471         call.  It should not be necessary andis harmful for Alpha.
1473         * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
1474         type.  [PR libc/1269]
1476         * posix/execvp.c (execvp): Allocate array name of correct size.
1477         Optimize inner loop.  Use execve directly, not execv.
1479         * elf/elf.h: Corrected SHT_ values from new draft.
1481         * intl/gettextP.h (struct loaded_domain): Add conv element.
1482         * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
1483         Instead of returning found message directly convert it using iconv
1484         if a conversion was found when opening the file.
1485         * intl/loadinfo.h: Protect against multiple inclusion.
1486         Declare _nl_find_msg.
1487         * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
1488         in the message file and if necessary find approrpiate
1489         conversion to match currently selected charset.
1490         * include/libintl.h: Declare __dgettext and __dcgettext.
1491         * include/iconv.h: New file.
1493 1999-08-20  Andreas Schwab  <schwab@suse.de>
1495         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
1497 1999-08-19  Ulrich Drepper  <drepper@cygnus.com>
1499         * sysdeps/unix/sysv/linux/execve.c: New file.  This version terminates
1500         all threads [PR libc/1223].
1502         * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
1503         [PR libc/1165].
1505         * configure.in: Search for programs with prefix gnu* and g* first.
1506         [PR libc/1104].
1508         * dirent/Makefile (routines): Add getdents64.
1509         * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
1510         Remove getdents64.
1511         * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
1512         compiled with _FILE_OFFSET_BITS=64.
1513         * sysdeps/generic/getdents64.c: New file.
1514         * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
1515         __lseek for getdirentries64 definition.
1517         * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
1519         * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
1520         _FILE_OFFSET_BITS=64.
1522         * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
1523         parameter.
1525         * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
1526         after we have the lock.
1528         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
1529         Patch by Richard Henderson.
1531 1999-08-19  Andreas Schwab  <schwab@suse.de>
1533         * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
1534         and call _IO_fwide, to get the wide stream state initialized
1535         correctly.  Don't set _IO_JUMPS.
1536         * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
1537         * libio/vswprintf.c (_IO_vswprintf): Likewise.  Pass
1538         _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
1539         directly.
1541 1999-08-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1543         * math/libm-test.c (jn_test): Fix typo in description.
1544         (erfc_test): Add some more tests.
1545         (erf_test): Add some more tests.
1547 1999-08-19  Andreas Schwab  <schwab@suse.de>
1549         * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
1550         expression using $(exceptions).
1552 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
1554         * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
1556         * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
1557         allocated so far.  [PR libc/1261].
1559         * math/libm-test.c (j0_test): Adjust deltas for m68k.
1560         (jn_test): Likewise.
1562         * dirent/dirent.h: Only define ino64_t if not already done.
1563         * posix/sys/types.h: Likewise.
1565         * ctype/ctype.h: Avoid useless #endif #if pairs.
1567         * dirent/dirent.h: Define ino_t and ino64_t if not done already.
1568         (seekdir): Fix type of second parameter.
1569         * sysdeps/generic/seekdir.c: Likewise.
1570         * sysdeps/mach/hurd/seekdir.c: Likewise.
1571         * sysdeps/unix/seekdir.c: Likewise.
1573         * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
1575 1999-08-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1577         * manual/install.texi (Configuring and compiling): Clarify ix86
1578         situation.
1580 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
1582         * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
1583         * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
1584         * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
1585         stdio_lim.h.  Define LONG_BIT and WORD_BIT.
1587         * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
1589         * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
1591         * misc/search.h: Don't define NULL.
1593         * posix/sys/types.h: Define blksize_t if it hasn't happened.
1594         Only define key_t and blkcnt_t if it hasn't happened before.
1595         Define blksize_t if not happened before.
1596         * io/sys/stat.h: Don't define pid_t.  Define blkcnt_t and blksize_t.
1597         * sysdeps/generic/bits/types.h: Define __blksize_t.
1598         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1599         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1600         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1601         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1602         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1603         * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
1604         st_blksize member.
1605         (struct stat64): Likewise.
1606         * sysdeps/unix/bsd/bits/stat.h: Likewise.
1607         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
1608         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
1609         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1610         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1611         * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
1612         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
1614         * stdlib/getsubopt.c: Correct type of second argument.
1615         * stdlib/stdlib.h: Likewise.
1617         * stdlib/monetary.h: Don't include sys/types.h.  Define only size_t
1618         and ssize_t.
1620         * sysdeps/generic/putenv.c: Correct type of parameter.
1621         * stdlib/stdlib.h: Likewise.
1623         * sysdeps/generic/msgsnd.c: Correct type of second parameter.
1624         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
1625         * sysvips/sys/msg.h: Likewise.
1627         * sysdeps/generic/semop.c: Correct type of third parameter.
1628         * sysdeps/unix/sysv/linux/semop.c: Likewise.
1629         * sysvipc/sys/sem.h: Likewise.  Don't include sys/types.h, define
1630         size_t.
1632         * sysdeps/generic/shmget.c: Correct type of second parameter.
1633         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
1634         * sysvips/sys/shm.h: Likewise.  Don't include unistd.h and sys/types.h.
1635         Declare __getpagesize here.
1637         * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
1638         sys/types.h.
1639         * sysdeps/gnu/bits/ipc.h: Likewise.
1640         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
1641         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1642         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1643         * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
1644         already done.
1646         * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
1648         * debug/versions: Export __cyg_profile_func_enter and
1649         __cyg_profile_func_exit.
1651         * math/bits/mathcalls.h: Pretty print.
1653 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
1655         * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
1656         case for new tzdata.
1658         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
1659         unsigned.
1660         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1661         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1662         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1663         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1665         * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
1667         * sysdeps/generic/ualarm.c (ualarm): Change return value and
1668         parameter type to useconds_t.
1669         * sysdeps/unix/bsd/ualarm.c: Likewise.
1671         * sysdeps/generic/usleep.c (usleep): Change parameter type to
1672         useconds_t.
1673         * sysdeps/unix/sysv/linux/usleep.c: Likewise.
1674         * sysdeps/mach/usleep.c: Likewise.
1676         * locale/weight.h: Include <errno.h>.
1678         * posix/sys/types.h: Define type useconds_t if not done already.
1679         * posix/unistd.h: Likewise.  Use this in ualarm and usleep
1680         declarations.
1681         * sysdeps/generic/bits/types.h: Define type __useconds_t.
1682         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1683         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1684         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1685         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1686         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1688         * dirent/dirent.h (telldir): Change return type to long int.
1689         * sysdeps/generic/telldir.c: Likewise.
1690         * sysdeps/mach/hurd/telldir.c: Likewise.
1691         * sysdeps/unix/telldir.c: Likewise.
1692         * sysdeps/unix/bsd/telldir.c: Likewise.  Fix locking problem.
1694         * locale/weight.h: Set errno if an invalid character is found.
1696 1999-08-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1698         * math/libm-test.c (erfc_test): Add test for example from PR
1699         libc/1259.
1700         (erf_test): Likewise.
1702 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
1704         * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
1705         rewrite.  Patch by Alan Stern <stern@kitsilano.rowland.org>.
1707         * timezone/private.h: Update from tzcode1999e.
1708         * timezone/zic.c: Likewise.
1710         * timezone/africa: Update from tzdata1999e.
1711         * timezone/antarctica: Likewise.
1712         * timezone/asia: Likewise.
1713         * timezone/australasia: Likewise.
1714         * timezone/europe: Likewise.
1715         * timezone/leapseconds: Likewise.
1716         * timezone/northamerica: Likewise.
1717         * timezone/southamerica: Likewise.
1719         * stdio-common/vfprintf.c (process_string_arg): Correct last patch
1720         and write correct number of bytes in case of %ls with precision.
1721         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1723 1999-08-16  Ulrich Drepper  <drepper@cygnus.com>
1725         * nscd/nscd.init: Test for kernel version and make LSB compliant.
1726         Patch by Christian Gafton.
1728         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
1729         O_RSYNC.  Patch by Christian Gafton.
1731         * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
1732         possibly unterminated strings for %ls when a precision is
1733         specified.
1734         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
1736         * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
1737         update_conversion_ptrs.
1738         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1740 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
1742         * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
1743         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1745         * wcsmbs/Makefile (tests): Add tst-wcsnlen.
1746         * wcsmbs/tst-wcsnlen.c: New file.
1748 1999-08-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1750         * libio/ioputs.c (_IO_puts): Add missing brace.
1752 1999-07-20  Geoff Keating  <geoffk@cygnus.com>
1754         * math/libm-test.c: Tweak deltas for a clean run on ppc.
1756 1999-08-10  H.J. Lu  <hjl@gnu.org>
1758         * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
1759         (vfprintf): Likewise.
1760         * stdio-common/vfscanf.c (ORIENT): Likewise.
1761         * libio/genops.c (__underflow): Likewise.
1762         (__uflow): Likewise.
1763         * libio/iofputs.c (_IO_fputs): Likewise.
1764         * libio/ioftell.c (_IO_ftell): Likewise.
1765         * libio/iofwrite.c (_IO_fwrite): Likewise.
1766         * libio/ioputs.c (_IO_puts): Likewise.
1767         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
1768         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
1770 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
1772         * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
1774 1999-08-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1776         * manual/job.texi (Process Group Functions): Document getpgid,
1777         getsid.
1779 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
1781         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
1782         initialize si_pid from it.
1783         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
1784         parameter.
1785         * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
1786         * rt/aio_misc.h (struct waitlist): Add caller_pid element.
1787         (struct requestlist): Likewise.
1788         Adjust prototypes of __aio_notify_only and __aio_sigqueue.
1789         * rt/aio_notify.c (__aio_notify_only): Take extra parameter.  Pass it
1790         to __aio_sigqueue.
1791         (__aio_notify): Pass caller PID to __aio_notify_only.
1792         * rt/aio_suspend.c: Initialize caller_pid.
1793         * rt/lio_listio.c: Likewise.
1794         * rt/lio_listio64.c: Likewise.
1796         * rt/lio_listio.c: If nothing has to be done free mutex before
1797         signalling.
1798         * rt/lio_listio64.c: Likewise.
1800 1999-08-10  H.J. Lu  <hjl@gnu.org>
1802         * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
1803         handling.
1805 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
1807         * elf/elf.h: Define ElfXX_Versym.
1808         * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
1809         definition.
1811         * stdio-common/vfprintf.c (process_string_arg): Handle precisions
1812         for string output correctly in the wide character case.
1813         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
1815         * intl/locale.alias: Add catalan.
1817 1999-08-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1819         * manual/install.texi (Configuring and compiling): Mention CFLAGS.
1821 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
1823         * po/pt_BR.po: New file.
1825 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1827         * math/libm-test.c (yn_test): Adjust deltas for i386.
1828         (ccosh_test): Likewise.
1829         (jn_test): Likewise.
1831 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
1833         * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
1835 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
1837         * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
1838         problem.
1840 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1842         * configure.in: install-sh lives now in scripts subdir.
1843         PR libc/1255 (bug 4).
1845 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
1847         * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
1848         version.
1850         * po/fr.po: Update.
1852 1999-08-11  Thorsten Kukuk  <kukuk@suse.de>
1854         * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
1856 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
1858         * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
1859         exponent.
1861 1999-08-10  Andreas Schwab  <schwab@suse.de>
1863         * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
1864         header.
1866 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
1868         * elf/elf.h: Added definition of ELFOSABI_ARM.
1869         * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
1870         VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
1871         object's header and ABI values are acceptable.
1872         (VALID_ELF_HEADER): New macro; provide default definition.
1873         (VALID_ELF_OSABI): New macro; provide default definition.
1874         (VALID_ELF_ABIVERSION): New macro; provide default definition.
1875         * sysdeps/arm/dl-machine.h Define ARM specific versions of
1876         VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
1878 1999-08-09  Andreas Schwab  <schwab@suse.de>
1880         * inet/tst-ipnode.c (main): Don't compare integer with NULL.
1882 1999-08-09  Thorsten Kukuk  <kukuk@suse.de>
1884         * sunrpc/svc_run.c (svc_run): Free my_pollfd.
1886 1999-08-09  Andreas Schwab  <schwab@suse.de>
1888         * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
1890 1999-08-08  Ulrich Drepper  <drepper@cygnus.com>
1892         * sysdeps/ieee754/ieee754.h: Handle platforms with special
1893         __FLOAT_WORD_ORDER.  Patch by Joel Klecker <jk@espy.org>.
1895         * string/bits/string2.h: Mark void* operations as extensions.
1896         * sysdeps/i386/i486/bits/string.h: Likewise.
1898         * debug/Makefile (routines): Add noophooks.
1899         (extra-libs): Add libpcprofile.  Add rules to build libpcprofile.
1900         * debug/noophooks.c: New file.
1901         * debug/pcprofile.c: New file.
1903 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
1905         * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
1906         systems which allow using the functions also on non-seekable
1907         devices.
1909         * resolv/res_send.c (res_send): Recompute timeout for poll for
1910         each jump to `wait'.
1912         * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
1913         braces to avoid warnings.
1914         (IN6ADDR_LOOPBACK_INIT): Likewise.
1916         * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
1917         MSG_DONTWAIT).
1919 1999-08-06  H.J. Lu  <hjl@gnu.org>
1921         * malloc/malloc.c: Initialize __libc_pagesize early.
1923 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
1925         * string/string-inlines.c: Undefined __USE_STRING_INLINES before
1926         defining it.
1928         * inet/Makefile (tests): Add tst-ipnode.
1929         * inet/tst-ipnode.c: New file.
1931 1999-08-06  Andreas Schwab  <schwab@suse.de>
1933         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
1934         New definitions.
1935         (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
1936         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
1937         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
1938         New definitions.
1939         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
1940         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
1942 1999-08-06  Jakub Jelinek  <jj@ultra.linux.cz>
1944         * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
1945         * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
1946         * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
1948 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
1950         * resolv/res_send.c (res_send): Don't test file descriptor for
1951         range, we use poll now.  [PR libc/1240]
1953 1999-08-05  Ulrich Drepper  <drepper@cygnus.com>
1955         * libio/genops.c (_IO_flush_all): Don't access elements beyond what
1956         2.0 defined if they are not available.
1958 1999-08-05  Thorsten Kukuk  <kukuk@suse.de>
1960         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
1961         Define.
1963 1999-08-04  Ulrich Drepper  <drepper@cygnus.com>
1965         * rt/aio_read.c: Fix return value.
1966         * rt/aio_read64.c: Likewise.
1967         Reported by Christian Gafton.
1969         * rt/aio_write.c: Fix return value.
1970         * rt/aio_write64.c: Likewise.
1971         * rt/aio_fsync.c: Likewise.
1973         * rt/aio_misc.c: Set errno at correct place.
1975         * rt/aio_fsync.c: Test OP parameter for correct values.
1977         * hesiod/hesiod.c: Avoid emitting rcsid in object file.
1979 1999-08-04  Andreas Schwab  <schwab@suse.de>
1981         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
1982         Initialize result to one.
1983         (GET_NPROCS_CONF_PARSER): Likewise.
1985 1999-08-03  Ulrich Drepper  <drepper@cygnus.com>
1987         * inet/ether_hton.c: Pass errno pointer to NSS function.
1988         * inet/getnetgrent_r.c: Likewise.
1989         Reported by Marty Leisner <leisner@rochester.rr.com>.
1991 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
1993         * nis/nis_callback.c: Fix port problem on big-endian machines
1994         * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
1995         fields are always 32 bit.
1996         Patches from Paul Mackerras <paulus@cs.anu.edu.au>
1998         * nis/nss_nis/nis-service.c: Remove htons, port is always in
1999         network-byte-order.
2000         * nis/nss_nisplus/nisplus-service.c: Rename number to port.
2002 1999-08-03  Andreas Schwab  <schwab@suse.de>
2004         * sysdeps/posix/sigset.c: Unblock the signal after setting its
2005         disposition.  Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
2006         avoid two calls to sigprocmask.
2008 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
2010         * sysdeps/generic/s_nexttowardf.c: Fix typo.
2012 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
2014         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
2015         Only allow rt signal frames. No SA_SIGINFO signals will have the
2016         siginfo_t just not filled out with SI_NOINFO code.
2017         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
2018         (register_dump): Take the above change into account.
2019         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
2020         (rt_signal_frame): Likewise.
2022         * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
2024 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
2026         * nis/nis_callback.c (internal_nis_do_callback): Use poll()
2027         instead of select().
2029 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
2031         * sysdeps/generic/s_nextafter.c: Define __nexttoward and
2032         nexttoward so something else so that aliasing works.
2034 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
2036         * sysdeps/generic/math_ldbl.h: Fix typo.
2037         * sysdeps/generic/strtold.c: Remove unbalanced #endif.
2038         * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
2040 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
2042         * elf/resolvfail.c: Include stdio.h.  Also test dlerror.
2044 1999-08-01  Ulrich Drepper  <drepper@cygnus.com>
2046         * elf/Makefile (tests): Add resolvfail.  Add rules to build the
2047         program.
2048         * elf/resolvfail.c: New file.
2050         * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
2051         pass it to _dl_lookup_symbol.
2053         * elf/dl-error.c (_dl_signal_error): Optimize string generation a
2054         bit.  Reword message.
2056         * dlfcn/dlerror.c: Make code thread-safe.
2058 1999-07-31  Roland McGrath  <roland@baalperazim.frob.com>
2060         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
2061         initializer in CHECK: a bit size, not the type code repeated!
2063 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
2065         * string/tester.c: Add tests with constant arguments for strcpy
2066         and stpcpy.
2068 1999-07-31  H.J. Lu  <hjl@gnu.org>
2070         * string/bits/string2.h (__strcpy_small): Fix a typo.
2072 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
2074         * Makeconfig (link-libc): Always define it, not only for shared
2075         builds.
2077         * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
2078         * sysdeps/i386/fpu/e_powf.S: Likewise.
2079         * sysdeps/i386/fpu/e_powl.S: Likewise.  [PR libc/1213].
2081         * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
2082         * sysdeps/generic/e_gammal_r.c: Likewise.  [PR libc/1212].
2084 1999-07-30  Andreas Schwab  <schwab@suse.de>
2086         * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
2087         definition.
2088         (__get_nprocs): Use it.
2089         (__get_nprocs_conf): Define as separate function if
2090         GET_NPROCS_CONF_PARSER is defined.
2091         * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
2093         * include/sys/sysinfo.h: New file.
2094         * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
2095         interface.
2096         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
2098 1999-07-30  H.J. Lu  <hjl@gnu.org>
2100         * libio/iofflush.c (fflush_unlocked): Weak aliase if
2101         _IO_MTSAFE_IO is not defined.
2102         * libio/clearerr.c (clearerr_unlocked): Likewise.
2103         * libio/feof.c (feof_unlocked): Likewise.
2104         * libio/ferror.c (ferror_unlocked): Likewise.
2105         * libio/fputc.c (fputc_unlocked): Likewise.
2106         * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
2107         * libio/getchar.c (getchar_unlocked): Likewise.
2108         * libio/putc.c (putc_unlocked): Likewise.
2109         * libio/putchar.c (putchar_unlocked): Likewise.
2111 1999-07-30  Thorsten Kukuk  <kukuk@suse.de>
2113         * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
2114           svc_max_pollfd and svc_pollfd to GLIBC_2.2
2115         * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
2116           for svc_run/poll interface.
2117         * sunrpc/rpc/types.h: Add rpc*_t typedefs.
2118         * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
2119           global variable.
2120         * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
2121           rewrite other svc_getreq* functions to use svc_getreq_common.
2122         * sunrpc/svc_run.c: Use poll().
2124 1999-07-30  Andreas Schwab  <schwab@suse.de>
2126         * Makerules: Put sysd-versions and Versions.all on
2127         postclean-generated instead of common-generated.
2129 1999-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2131         * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
2132         around and CLOCKS_PER_SEC is 1e6.
2134 1999-07-30  Ulrich Drepper  <drepper@cygnus.com>
2136         * configure.in: Add test for local label subtraction.
2137         * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
2138         * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
2139         labels to reduce number of runtime relocations and move jump
2140         tables in read-only seciton.
2142         * malloc/malloc.c (ptmalloc_init): Correct last patch.  The
2143         assignment cannot be moved.
2145 1999-07-29  H.J. Lu  <hjl@gnu.org>
2147         * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
2148         if no threads are used.
2150         * libio/iofwrite.c: Add weak alias for _unlocked function if not
2151         _IO_MTSAFE_IO.
2152         * libio/iofread.c: Likewise.
2153         * libio/iofgets.c: Likewise.
2154         * libio/iofputs.c: Likewise.
2156         * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
2157         definition.
2159         * stdlib/mbtowc.c: Include <string.h>.
2160         * stdlib/wctomb.c: Likewise.
2161         * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
2162         * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
2164         * misc/mntent_r.c: Include <alloca.h>.
2165         * elf/dl-runtime.c: Likewise.
2167 1999-07-29  Andreas Schwab  <schwab@suse.de>
2169         * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
2170         all floating point formats supported by gcc.  Error out for
2171         unhandled precisions.
2172         * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
2173         * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
2174         * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
2176 1999-07-29  Ulrich Drepper  <drepper@cygnus.com>
2178         * sysdeps/generic/setenv.c: Move setenv code in new function
2179         __add_to_environ.  Add new parameter specifying already
2180         constructed string for the environment.
2181         (setenv): Call __add_to_environ with new parameter set to NULL.
2182         (unsetenv): Really test all elements for duplicated name.  Missed those
2183         cases where the two are following each other.
2184         * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
2185         * include/stdlib.h: Add prototype of __add_to_environ.
2186         * stdlib/tst-environ.c: New file.
2187         * stdlib/Makefile (tests): Add tst-environ.
2189         * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
2191         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
2192         argument in realloc call.
2193         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
2194         Likewise.
2195         Reported by Danny Braniss <danny@cs.huji.ac.il>.
2197 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
2199         * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
2200         to print.
2201         * misc/efgcvt_r.c: Likewise.
2202         * misc/qefgcvt.c: Likewise.
2203         * misc/qefgcvt_r.c: Likewise.
2204         * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
2205         anymore.
2207 1999-07-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2209         * manual/math.texi (FP Function Optimization): Mention drawbacks.
2211 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
2213         * stdlib/mblen.c: Use static state.
2214         Reported by Bruno Haible <haible@ilog.fr>.
2216         * stdlib/mbtowc.c: Reset state for s == NULL.
2217         * stdlib/wctomb.c: Likewise.
2218         Reported by Bruno Haible <haible@ilog.fr>.
2220         * stdlib/mbstowcs.c: Do not use global state.
2221         Reported by Bruno Haible <haible@ilog.fr>.
2223 1999-07-28  Andeas Schwab  <schwab@suse.de>
2225         * iconvdata/Makefile: Don't try to run iconv tests when cross
2226         compiling.
2228 1999-07-27  Mark Kettenis  <kettenis@gnu.org>
2230         * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
2231         assembler code to switch stacks and call init1 outside this
2232         function.  Inside `init' the code was optimized away by gcc
2233         2.95 since it was "clearly" unreachable.
2234         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2235         Do something similar for the trampoline code.
2237 1999-07-27  Ulrich Drepper  <drepper@cygnus.com>
2239         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
2240         for the hinted protocol.
2242 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2244         * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
2246 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
2248         * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
2249         * elf/dl-lookup.c (_dl_setup_hash): Likewise.
2250         * elf/dl-load.c (_dl_map_object): Likewise.
2251         * elf/do-lookup.h (do_lookup*): Likewise.
2252         * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
2253         * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
2254         as uint64_t.
2255         * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
2257 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
2259         * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
2260         * sysdeps/generic/getpgrp.c: Likewise.
2261         * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
2262         * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
2263         Patch by John Tobey <jtobey@banta-im.com>.
2265         * sysdeps/posix/wait3.c: Help compiling in presence of
2266         __transparent_union__.  Reported by John Tobey <jtobey@banta-im.com>.
2268 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
2270         * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
2271         as much as possible. Declare them using .register pseudo-op if they
2272         are still used.
2273         * sysdeps/sparc/sparc64/lshift.S: Likewise.
2274         * sysdeps/sparc/sparc64/memchr.S: Likewise.
2275         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
2276         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2277         * sysdeps/sparc/sparc64/memset.S: Likewise.
2278         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2279         * sysdeps/sparc/sparc64/rshift.S: Likewise.
2280         * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
2281         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2282         * sysdeps/sparc/sparc64/strcat.S: Likewise.
2283         * sysdeps/sparc/sparc64/strchr.S: Likewise.
2284         * sysdeps/sparc/sparc64/strcmp.S: Likewise.
2285         * sysdeps/sparc/sparc64/strcpy.S: Likewise.
2286         * sysdeps/sparc/sparc64/strcspn.S: Likewise.
2287         * sysdeps/sparc/sparc64/strlen.S: Likewise.
2288         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2289         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2290         * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
2291         * sysdeps/sparc/sparc64/strspn.S: Likewise.
2292         * sysdeps/sparc/sparc64/sub_n.S: Likewise.
2293         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2294         Optimize trampoline code for .plt4-.plt32767.
2295         Fix trampolines for .plt32768+.
2297 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
2299         * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
2300         -mcpu=v8.
2301         * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
2302         * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
2303         libc's private use (as assembly routine clobber it anyway).
2305 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2307         * README.template (configurations): The crypt add-on has a new
2308         ftp site.
2309         * manual/install.texi (Installation): Likewise.
2311 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
2313         * time/time.h: Add forward for struct sigevent.  Unix98 maybe
2314         requires to have a full definition but we wait for a bug report
2315         based on the test suite.
2317         * sysdeps/generic/clock_getres.c: New file.
2318         * sysdeps/generic/clock_gettime.c: New file.
2319         * sysdeps/generic/clock_settime.c: New file.
2320         * sysdeps/generic/timer_create.c: New file.
2321         * sysdeps/generic/timer_delete.c: New file.
2322         * sysdeps/generic/timer_getoverr.c: New file.
2323         * sysdeps/generic/timer_gettime.c: New file.
2324         * sysdeps/generic/timer_settime.c: New file.
2326         * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
2327         CLOCK_REALTIME, and TIMER_ABSTIME.
2328         * sysdeps/mach/hurd/bits/time.h: Likewise.
2329         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
2330         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
2332         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
2334         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
2335         si_timer2.
2337         * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
2339         * time/Makefile (routines): Add clock_getres, clock_gettime,
2340         clock_setres, timer_create, timer_delete, timer_getoverr,
2341         timer_gettime, and timer_settime.
2343         * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
2344         POSIX.1b.  Add prototypes for clock and timer functions.
2346 1999-07-26  Roland McGrath  <roland@baalperazim.frob.com>
2348         * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
2349         Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
2351 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
2353         * stdlib/wcstombs.c: Do not use global state.
2354         Reported by Bruno Haible <haible@ilog.fr>.
2356         * wcsmbs/wctob.c: Avoid sign extension when returning character.
2357         Reported by Bruno Haible <haible@ilog.fr>.
2359         * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
2360         of wide characters to convert do it right and don't overestimate
2361         by multiplying with MB_CUR_MAX.
2362         Reported by Bruno Haible <haible@ilog.fr>.
2364 1999-07-26  Jakub Jelinek  <jj@ultra.linux.jz>
2366         * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
2367         (__stpcpy_small): Likewise.
2368         Union has no __uc member but __c.
2370 1999-07-26  Andreas Schwab  <schwab@suse.de>
2372         * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
2374 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
2376         * libio/iofclose.c (_IO_new_fclose): Only fall back on
2377         _IO_old_fclose if doing versioning.
2379         * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
2380         them appropriately.
2381         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2383         * misc/mntent_r.c: Allow spaces and tabs in entry names by
2384         encoding these characters.
2385         * misc/tst-mntent.c: Add test case for addmntent and getmntent.
2387         * string/bits/string2.h: Fix aliasing problems.
2388         * sysdeps/i386/i486/bits/string.h: Likewise.
2389         * sysdeps/i386/bits/string.h: Likewise.
2391 1998-12-28  Geoff Keating  <geoffk@ozemail.com.au>
2393         * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
2394         * elf/rtld.c (dl_main): Don't call malloc() between
2395         re-relocating the dynamic linker and running the application's crt0.
2397 1999-07-21  Paul D. Smith  <psmith@gnu.org>
2399         * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
2400         glob.h to get __P() macro.
2402         * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
2403         not ANSI.
2404         (__strchrnul): This won't exist outside GLIBC, so create one.
2406 1999-07-25  Jakub Jelinek   <jj@ultra.linux.cz>
2408         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
2409         __ino64_t should be 32bit unsigned type on sparc32.
2410         Define __off64_t to __quad_t instead of __int64_t.
2411         Make __pic_pid_t unsigned on sparc32.
2413 1999-07-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2415         * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
2416         in bash 2.03.
2418 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
2420         * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
2421         of an error.  Patch by Changwoo Ryu <cwryu@debian.org>.
2423 1999-07-24  Ulrich Drepper  <drepper@cygnus.com>
2425         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
2426         accesses.
2428         * resolv/res_send.c: Add locks for res_send and res_close use.
2430         * elf/Makefile (dl-routines): Add preinit.
2431         * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
2432         * elf/link.h (struct link_map): Add new field l_preinitcount.
2433         * elf/dl-preinit.c: New file.
2434         * elf/dynamic-link.h: Initialize l_preinitcount.
2435         * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
2437         * elf/dl-fini.c: Handle DT_FINI_ARRAY.
2438         * elf/link.h (struct link_map): Remove l_init_running.  Add l_runcount
2439         and l_initcount.
2440         * elf/dl-init.c: Handle DT_INIT_ARRAY.
2441         * elf/dynamic-link.h: Change parameters.  Now only get link_map
2442         pointer.  Calculate l_initcount.
2444         * elf/link.h (struct link_map): Add l_runpath_dirs.
2445         * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
2446         * elf/dl-load.c: Pretty print.
2447         (decompose_rpath): Take new parameter with info from where the path
2448         comes.  Pass it the fillin_rpath.
2449         (_dl_init_paths): Initialize l_runpath_dirs.
2450         (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
2451         Search using RUNPATH after LD_LIBRARY_PATH.
2452         * elf/dl-support.c: Adjust comment.
2453         * elf/rtld.c: Adjust help message.
2455 1999-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2457         * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
2458         interface.
2460 1999-07-23  Roland McGrath  <roland@baalperazim.frob.com>
2462         * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
2463         match BSD value; previous value of 1<<8 was a typo.  I bet nothing
2464         ever used this, so I'm not going to worry about compatibility.
2465         [__USE_GNU] (IUCLC, OLCUC): New macros.
2467 1999-07-23  Ulrich Drepper  <drepper@cygnus.com>
2469         * include/libintl.h: Undefine N_ and _ first to avoid warnings.
2471         * elf/elf.h: Add ET_LOOS and ET_HIOS.
2472         Add various EM_* constants.
2473         Add SHN_LOOS and SHN_HIOS.
2474         Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
2475         Add SHF_MERGE and SHF_STRINGS.
2476         (ElfXX_Sym): Update description of st_other field.
2477         Add STT_COMMON.
2478         Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
2479         Add STV_* macros.
2480         Update comment on DT_RPATH.  Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
2481         DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
2482         Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
2484         * posix/unistd.h: Move declaration of __libc_enable_secure to...
2485         * include/unistd.h: ...here.
2487         * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
2488         * elf/dl-deps.c (expand_dst): Likewise.
2490         * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
2491         based on DT_FLAGS value.
2493         * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
2494         Add test for symbols marked STV_HIDDEN.
2495         * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
2496         add undef_map.  Compute reference_name locally.  Update call to
2497         do_lookup.
2498         (_dl_lookup_symbol_skip): Likewise.
2499         (_dl_lookup_versioned_symbol): Likewise.
2500         (_dl_lookup_versioned_symbol_skip): Likewise.
2501         * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
2502         * elf/dl-runtime.c: Likewise.
2503         * elf/dl-sym.c: Likewise.
2504         * elf/dl-symbol.c: Likewise.
2505         * elf/ldsodefs.h: Adjust prototypes.
2507         * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
2508         handle appropriately.  Add comment about DT_TEXTREL.
2509         * elf/dl-runtime.c: Likewise.
2511 1999-07-21  Roland McGrath  <roland@baalperazim.frob.com>
2513         * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
2514         * elf/ldsodefs.h: Declare it.
2515         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
2516         instead of assert.
2517         (elf_machine_lazy_rel): Likewise.  Take new arg MAP.
2518         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2519         (elf_machine_lazy_rel): Likewise.
2520         * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
2521         (elf_machine_lazy_rel): Likewise.
2522         * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
2523         (elf_machine_lazy_rel): Likewise.
2524         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
2525         (elf_machine_lazy_rel): Likewise.
2526         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2527         (elf_machine_lazy_rel): Likewise.
2528         * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
2529         * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
2530         (elf_machine_lazy_rel): Likewise.
2531         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
2532         (elf_machine_lazy_rel): Likewise.
2533         * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
2534         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
2535         _dl_reloc_bad_type instead of _dl_signal_error.
2536         * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
2538 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
2540         * sysdeps/mach/_strerror.c: Include <libintl.h>.
2542 1999-07-19  Roland McGrath  <roland@baalperazim.frob.com>
2544         * hurd/hurdsig.c (_hurd_internal_post_signal): If a
2545         hurd_signal_preemptor matches but its `preemptor' field is null, use
2546         its `handler' field directly.  This is to comply with behavior
2547         documented in <hurd/sigpreempt.h>.
2549 1999-07-21  Andreas Schwab  <schwab@suse.de>
2551         * libio/fileops.c (_IO_new_file_underflow): Set error indicator
2552         when reading from write-only stream.
2553         * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
2554         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2556 1999-07-21  Andreas Schwab  <schwab@suse.de>
2558         * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
2559         NULL.
2561 1999-07-21  Mark Kettenis  <kettenis@gnu.org>
2563         * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
2564         <hurd/fd.h>.
2565         * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
2566         <hurd/fd.h>.
2567         (__libc_write): Call __pwrite instead of __pread.
2569 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
2571         * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
2572         __vm_allocate calls.
2574         * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>.  Fix typo.
2575         * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
2577         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
2578         _hurd_fd_read with new OFFSET argument set to -1.
2579         (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
2580         to -1.
2582 1999-07-17  Roland McGrath  <roland@baalperazim.frob.com>
2584         * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
2585         descriptor table sent in the RPC.
2587 1999-07-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2589         * time/strptime.c [!_LIBC]: Fix __mon_day size.  Reported by
2590         bill@taniwha.org [PR libc/1211].
2592 1999-07-19  Andreas Schwab  <schwab@suse.de>
2594         * libio/Makefile (routines): Add fwprintf.
2596         PowerPC has own version of w_sqrt.c and w_sqrtf.c.
2597         * math/w_sqrt.c: Moved to ...
2598         * sysdeps/generic/w_sqrt.c: ... here.
2599         * math/w_sqrtf.c: Moved to ...
2600         * sysdeps/generic/w_sqrtf.c: ... here.
2602         * Make-dist (generic-dirs): New variable.
2603         (try-sysdeps, +sysdep-names): Use it.
2604         * extra-lib.mk (all-$(lib)-routines): New variable.  Use it
2605         instead of $(lib)-routines.
2606         * elf/Makefile (distribute): Add dl-cache.h.
2607         * db2/Makefile (distribute): Add all new files.
2608         * iconvdata/Makefile (distribute): Don't distribute CVS
2609         directory.
2610         * math/Makefile (distribute): Remove machine/endian.h, add
2611         math_ldbl.h.
2612         * stdio-common/Makefile (distribute): Add _itowa.h.
2613         * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
2614         * sysdeps/gnu/Dist: Add eval.c
2615         * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
2616         dlfcn]: Add to this instead of libdl-routines.
2617         * sysdeps/ieee754/ldbl-128/Dist: New file.
2618         * sysdeps/mach/hurd/Dist: Add siglist.h
2619         * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
2621 1999-07-18  Ulrich Drepper  <drepper@cygnus.com>
2623         * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
2625         * inet/Makefile (routines): Add getipnodebyad and freehostent.
2626         * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
2627         * inet/freehostent.c: New file.
2628         * inet/getipnodebyad.c: New file.
2629         * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
2630         and getipnodebyname.  The latter comes soon.
2631         * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
2632         Add support for getipnode* functions.
2634         * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
2635         Set h_aliases to NULL and not to a pointer to an array with a NULL
2636         pointer following XNS 5.2.
2638         * posix/sched.h: Remove internal interfaces.
2639         * include/sched.h: Add internal interfaces.
2641         * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
2643         * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
2645         * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
2646         and return an error in this case.
2647         * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
2648         available.
2650 1999-07-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2652         * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
2653         1999-07-17 and adjust len parameter.
2654         * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
2655         * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
2656         * manual/socket.texi (Host Names): Likewise.
2657         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
2658         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
2659         Likewise.
2660         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
2661         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
2662         (ht_gethostbyaddr): Likewise.
2663         (_gethtbyaddr): Likewise.
2665 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
2667         * resolv/netdb.h: Adjust parameters of gethostbyaddr and
2668         gethostbyaddr_r.
2669         * include/netdb.h: Likewise.
2670         * inet/gethstbyad.c: Correct type of len parameter.
2671         * inet/gethstbyad_r.c: Likewise.
2673         * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
2675 1999-07-17  Zack Weinberg  <zack@rabi.columbia.edu>
2677         * include/libc-symbol.h: Clean up definitions of weak_alias,
2678         strong_alias, symbol_version, etc. etc.
2679         * posix/getopt.h: Use ctype.h to get features.h included, and don't
2680         include it at all if __GNU_LIBRARY__ is already defined.
2682 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
2684         * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
2686         * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
2688         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
2689         type for tv_usec element.
2690         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
2691         * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
2692         * sysdeps/generic/bits/time.h: Likewise.
2693         * sysdeps/mach/hurd/bits/time.h: Likewise.
2694         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2695         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2696         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2697         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2698         * sysdeps/generic/bits/types.h: Likewise.
2699         * posix/sys/types.h: Define suseconds_t for X/Open.
2701 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
2703         * stdio-common/bug1.c: Avoid memory leak.
2705         * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
2706         program deterministic.
2707         * sysdeps/i386/fpu/e_powf.S: Likewise.
2708         * sysdeps/i386/fpu/e_powl.S: Likewise.
2710 1999-07-15  Jakub Jelinek  <jj@ultra.linux.cz>
2712         * math/Makefile: Add t_sincosl and k_sincosl support routines.
2713         * math/math_private.h (__kernel_sincosl): New declaration.
2714         * sysdeps/generic/t_sincosl.c: New file.
2715         * sysdeps/generic/k_sincosl.c: New file.
2716         * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
2717         * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
2718         * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
2719         * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
2720         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
2721         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
2722         __kernel_sincosl.
2723         * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
2724         definition.
2726 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
2728         * posix/unistd.h: Use __PMT for exit.
2730 1999-07-15  Philip Blundell  <pb@nexus.co.uk>
2732         * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
2733         _outw, _outl): Added to GLIBC_2.1.2.
2735 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
2737         * posix/fnmatch.h: Use __name instead of __string in prototype to
2738         allow use outside glibc.
2740 1999-07-14  Ulrich Drepper  <drepper@cygnus.com>
2742         * time/tst-strptime.c (main): Add one more test case.  Produce
2743         output even when result is ok.
2745         * time/strptime.c (get_number): Handle number parsing more
2746         consistent with strftime.  Only parse a given number of digits.
2747         (get_alt_number):  Fix implementation.  Was broken.
2748         (strptime_internal): Add third parameter to get_number and
2749         get_alt_number calls.
2751 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
2753         * elf/ldd.bash.in: Add support for multiple dynamic linkers.
2754         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
2755         try both 32bit and 64bit dynamic linker.
2756         * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
2757         script on all sparc targets.
2759 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
2761         * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
2762         to int.
2764 1999-07-13  Andreas Schwab  <schwab@suse.de>
2766         * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
2767         inlining.  Fixes PR libc/1198.
2769 1999-07-14  Andreas Schwab  <schwab@suse.de>
2771         * Makerules (common-generated): Don't prepend $(common-objpfx).
2773 1999-07-12  Jakub Jelinek  <jj@ultra.linux.cz>
2775         * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
2776         as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
2777         * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
2778         quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
2779         macro.
2780         * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
2781         instead of ieee754.
2782         * sysdeps/arm/Implies: Likewise.
2783         * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
2784         ieee754/ldbl-96 instead of ieee754.
2785         * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
2786         * sysdeps/generic/e_atanhl.c: New file.
2787         * sysdeps/generic/e_coshl.c: New file.
2788         * sysdeps/generic/e_sinhl.c: New file.
2789         * sysdeps/generic/e_gammal_r.c: New file.
2790         * sysdeps/generic/e_hypotl.c: New file.
2791         * sysdeps/generic/s_cbrtl.c: New file.
2792         * sysdeps/generic/s_asinhl.c: New file.
2793         * sysdeps/generic/s_tanhl.c: New file.
2794         * sysdeps/generic/w_expl.c: New file.
2795         * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
2796         instead of ieee754.
2797         * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
2798         ieee754/ldbl-96 instead of ieee754.
2799         * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
2800         * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
2801         printf_fphex.
2802         * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
2803         instead of ieee754.
2804         * sysdeps/mips/mips64/Implies: Likewise.
2805         * sysdeps/powerpc/Implies: Likewise.
2806         * sysdeps/sparc/Implies: Remove.
2807         * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
2808         ieee754/dbl-64.
2809         * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
2810         and ieee754/ldbl-128.
2812         * sysdeps/sparc/bits/wordsize.h: Remove.
2813         * sysdeps/sparc/fpu/bits/mathinline.h: New file.
2814         * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
2815         only for sparc32.
2816         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
2817         * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
2818         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
2819         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
2820         * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
2821         support.
2823         * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
2824         of carries. Optimize.
2826         * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
2827         * sysdeps/generic/e_exp10.c: ...here.
2828         * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
2829         * sysdeps/generic/e_exp10f.c: ...here.
2830         * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
2831         * sysdeps/generic/e_exp10l.c: ...here.
2832         * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
2833         * sysdeps/generic/e_scalb.c: ...here.
2834         * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
2835         * sysdeps/generic/e_scalbf.c: ...here.
2836         * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
2837         * sysdeps/generic/e_scalbl.c: ...here.
2838         * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
2839         * sysdeps/generic/s_cacos.c: ...here.
2840         * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
2841         * sysdeps/generic/s_cacosf.c: ...here.
2842         * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
2843         * sysdeps/generic/s_cacosh.c: ...here.
2844         * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
2845         * sysdeps/generic/s_cacoshf.c: ...here.
2846         * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
2847         * sysdeps/generic/s_cacoshl.c: ...here.
2848         * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
2849         * sysdeps/generic/s_cacosl.c: ...here.
2850         * sysdeps/libm-ieee754/s_casin.c: Moved to ...
2851         * sysdeps/generic/s_casin.c: ...here.
2852         * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
2853         * sysdeps/generic/s_casinf.c: ...here.
2854         * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
2855         * sysdeps/generic/s_casinh.c: ...here.
2856         * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
2857         * sysdeps/generic/s_casinhf.c: ...here.
2858         * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
2859         * sysdeps/generic/s_casinhl.c: ...here.
2860         * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
2861         * sysdeps/generic/s_casinl.c: ...here.
2862         * sysdeps/libm-ieee754/s_catan.c: Moved to ...
2863         * sysdeps/generic/s_catan.c: ...here.
2864         * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
2865         * sysdeps/generic/s_catanf.c: ...here.
2866         * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
2867         * sysdeps/generic/s_catanh.c: ...here.
2868         * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
2869         * sysdeps/generic/s_catanhf.c: ...here.
2870         * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
2871         * sysdeps/generic/s_catanhl.c: ...here.
2872         * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
2873         * sysdeps/generic/s_catanl.c: ...here.
2874         * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
2875         * sysdeps/generic/s_ccos.c: ...here.
2876         * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
2877         * sysdeps/generic/s_ccosf.c: ...here.
2878         * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
2879         * sysdeps/generic/s_ccosh.c: ...here.
2880         * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
2881         * sysdeps/generic/s_ccoshf.c: ...here.
2882         * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
2883         * sysdeps/generic/s_ccoshl.c: ...here.
2884         * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
2885         * sysdeps/generic/s_ccosl.c: ...here.
2886         * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
2887         * sysdeps/generic/s_cexp.c: ...here.
2888         * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
2889         * sysdeps/generic/s_cexpf.c: ...here.
2890         * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
2891         * sysdeps/generic/s_cexpl.c: ...here.
2892         * sysdeps/libm-ieee754/s_clog.c: Moved to ...
2893         * sysdeps/generic/s_clog.c: ...here.
2894         * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
2895         * sysdeps/generic/s_clog10.c: ...here.
2896         * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
2897         * sysdeps/generic/s_clog10f.c: ...here.
2898         * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
2899         * sysdeps/generic/s_clog10l.c: ...here.
2900         * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
2901         * sysdeps/generic/s_clogf.c: ...here.
2902         * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
2903         * sysdeps/generic/s_clogl.c: ...here.
2904         * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
2905         * sysdeps/generic/s_cpow.c: ...here.
2906         * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
2907         * sysdeps/generic/s_cpowf.c: ...here.
2908         * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
2909         * sysdeps/generic/s_cpowl.c: ...here.
2910         * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
2911         * sysdeps/generic/s_cproj.c: ...here.
2912         * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
2913         * sysdeps/generic/s_cprojf.c: ...here.
2914         * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
2915         * sysdeps/generic/s_cprojl.c: ...here.
2916         * sysdeps/libm-ieee754/s_csin.c: Moved to ...
2917         * sysdeps/generic/s_csin.c: ...here.
2918         * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
2919         * sysdeps/generic/s_csinf.c: ...here.
2920         * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
2921         * sysdeps/generic/s_csinh.c: ...here.
2922         * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
2923         * sysdeps/generic/s_csinhf.c: ...here.
2924         * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
2925         * sysdeps/generic/s_csinhl.c: ...here.
2926         * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
2927         * sysdeps/generic/s_csinl.c: ...here.
2928         * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
2929         * sysdeps/generic/s_csqrt.c: ...here.
2930         * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
2931         * sysdeps/generic/s_csqrtf.c: ...here.
2932         * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
2933         * sysdeps/generic/s_csqrtl.c: ...here.
2934         * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
2935         * sysdeps/generic/s_ctan.c: ...here.
2936         * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
2937         * sysdeps/generic/s_ctanf.c: ...here.
2938         * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
2939         * sysdeps/generic/s_ctanh.c: ...here.
2940         * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
2941         * sysdeps/generic/s_ctanhf.c: ...here.
2942         * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
2943         * sysdeps/generic/s_ctanhl.c: ...here.
2944         * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
2945         * sysdeps/generic/s_ctanl.c: ...here.
2946         * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
2947         * sysdeps/generic/s_fdim.c: ...here.
2948         * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
2949         * sysdeps/generic/s_fdimf.c: ...here.
2950         * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
2951         * sysdeps/generic/s_fdiml.c: ...here.
2952         * sysdeps/libm-ieee754/s_fma.c: Moved to ...
2953         * sysdeps/generic/s_fma.c: ...here.
2954         * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
2955         * sysdeps/generic/s_fmaf.c: ...here.
2956         * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
2957         * sysdeps/generic/s_fmal.c: ...here.
2958         * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
2959         * sysdeps/generic/s_fmax.c: ...here.
2960         * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
2961         * sysdeps/generic/s_fmaxf.c: ...here.
2962         * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
2963         * sysdeps/generic/s_fmaxl.c: ...here.
2964         * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
2965         * sysdeps/generic/s_fmin.c: ...here.
2966         * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
2967         * sysdeps/generic/s_fminf.c: ...here.
2968         * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
2969         * sysdeps/generic/s_fminl.c: ...here.
2970         * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
2971         * sysdeps/generic/s_ldexp.c: ...here.
2972         * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
2973         * sysdeps/generic/s_ldexpf.c: ...here.
2974         * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
2975         * sysdeps/generic/s_ldexpl.c: ...here.
2976         * sysdeps/libm-ieee754/s_nan.c: Moved to ...
2977         * sysdeps/generic/s_nan.c: ...here.
2978         * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
2979         * sysdeps/generic/s_nanf.c: ...here.
2980         * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
2981         * sysdeps/generic/s_nanl.c: ...here.
2982         * sysdeps/libm-ieee754/s_significand.c: Moved to ...
2983         * sysdeps/generic/s_significand.c: ...here.
2984         * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
2985         * sysdeps/generic/s_significandf.c: ...here.
2986         * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
2987         * sysdeps/generic/s_significandl.c: ...here.
2988         Avoid conversion from int to double and then to long double.
2989         * sysdeps/libm-ieee754/w_acos.c: Moved to ...
2990         * math/w_acos.c: ...here.
2991         * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
2992         * math/w_acosf.c: ...here.
2993         * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
2994         * math/w_acosh.c: ...here.
2995         * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
2996         * math/w_acoshf.c: ...here.
2997         * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
2998         * math/w_acoshl.c: ...here.
2999         * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
3000         * math/w_acosl.c: ...here.
3001         * sysdeps/libm-ieee754/w_asin.c: Moved to ...
3002         * math/w_asin.c: ...here.
3003         * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
3004         * math/w_asinf.c: ...here.
3005         * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
3006         * math/w_asinl.c: ...here.
3007         * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
3008         * math/w_atan2.c: ...here.
3009         * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
3010         * math/w_atan2f.c: ...here.
3011         * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
3012         * math/w_atan2l.c: ...here.
3013         * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
3014         * math/w_atanh.c: ...here.
3015         * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
3016         * math/w_atanhf.c: ...here.
3017         * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
3018         * math/w_atanhl.c: ...here.
3019         * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
3020         * math/w_cosh.c: ...here.
3021         * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
3022         * math/w_coshf.c: ...here.
3023         * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
3024         * math/w_coshl.c: ...here.
3025         * sysdeps/libm-ieee754/w_drem.c: Moved to ...
3026         * math/w_drem.c: ...here.
3027         * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
3028         * math/w_dremf.c: ...here.
3029         * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
3030         * math/w_dreml.c: ...here.
3031         * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
3032         * math/w_exp10.c: ...here.
3033         * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
3034         * math/w_exp10f.c: ...here.
3035         * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
3036         * math/w_exp10l.c: ...here.
3037         * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
3038         * math/w_exp2.c: ...here.
3039         * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
3040         * math/w_exp2f.c: ...here.
3041         * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
3042         * math/w_exp2l.c: ...here.
3043         * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
3044         * math/w_fmod.c: ...here.
3045         * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
3046         * math/w_fmodf.c: ...here.
3047         * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
3048         * math/w_fmodl.c: ...here.
3049         * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
3050         * math/w_hypot.c: ...here.
3051         * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
3052         * math/w_hypotf.c: ...here.
3053         * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
3054         * math/w_hypotl.c: ...here.
3055         * sysdeps/libm-ieee754/w_j0.c: Moved to ...
3056         * math/w_j0.c: ...here.
3057         * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
3058         * math/w_j0f.c: ...here.
3059         * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
3060         * math/w_j0l.c: ...here.
3061         * sysdeps/libm-ieee754/w_j1.c: Moved to ...
3062         * math/w_j1.c: ...here.
3063         * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
3064         * math/w_j1f.c: ...here.
3065         * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
3066         * math/w_j1l.c: ...here.
3067         * sysdeps/libm-ieee754/w_jn.c: Moved to ...
3068         * math/w_jn.c: ...here.
3069         * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
3070         * math/w_jnf.c: ...here.
3071         * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
3072         * math/w_jnl.c: ...here.
3073         * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
3074         * math/w_lgamma.c: ...here.
3075         * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
3076         * math/w_lgamma_r.c: ...here.
3077         * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
3078         * math/w_lgammaf.c: ...here.
3079         * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
3080         * math/w_lgammaf_r.c: ...here.
3081         * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
3082         * math/w_lgammal.c: ...here.
3083         * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
3084         * math/w_lgammal_r.c: ...here.
3085         * sysdeps/libm-ieee754/w_log.c: Moved to ...
3086         * math/w_log.c: ...here.
3087         * sysdeps/libm-ieee754/w_log10.c: Moved to ...
3088         * math/w_log10.c: ...here.
3089         * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
3090         * math/w_log10f.c: ...here.
3091         * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
3092         * math/w_log10l.c: ...here.
3093         * sysdeps/libm-ieee754/w_logf.c: Moved to ...
3094         * math/w_logf.c: ...here.
3095         * sysdeps/libm-ieee754/w_logl.c: Moved to ...
3096         * math/w_logl.c: ...here.
3097         * sysdeps/libm-ieee754/w_pow.c: Moved to ...
3098         * math/w_pow.c: ...here.
3099         * sysdeps/libm-ieee754/w_powf.c: Moved to ...
3100         * math/w_powf.c: ...here.
3101         * sysdeps/libm-ieee754/w_powl.c: Moved to ...
3102         * math/w_powl.c: ...here.
3103         * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
3104         * math/w_remainder.c: ...here.
3105         * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
3106         * math/w_remainderf.c: ...here.
3107         * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
3108         * math/w_remainderl.c: ...here.
3109         * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
3110         * math/w_scalb.c: ...here.
3111         * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
3112         * math/w_scalbf.c: ...here.
3113         * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
3114         * math/w_scalbl.c: ...here.
3115         * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
3116         * math/w_sinh.c: ...here.
3117         * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
3118         * math/w_sinhf.c: ...here.
3119         * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
3120         * math/w_sinhl.c: ...here.
3121         * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
3122         * math/w_sqrt.c: ...here.
3123         * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
3124         * math/w_sqrtf.c: ...here.
3125         * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
3126         * math/w_sqrtl.c: ...here.
3127         * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
3128         * math/w_tgamma.c: ...here.
3129         * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
3130         * math/w_tgammaf.c: ...here.
3131         * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
3132         * math/w_tgammal.c: ...here.
3133         * sysdeps/libm-i387/e_acos.S: Moved to ...
3134         * sysdeps/i386/fpu/e_acos.S: ...here.
3135         * sysdeps/libm-i387/e_acosf.S: Moved to ...
3136         * sysdeps/i386/fpu/e_acosf.S: ...here.
3137         * sysdeps/libm-i387/e_acosh.S: Moved to ...
3138         * sysdeps/i386/fpu/e_acosh.S: ...here.
3139         * sysdeps/libm-i387/e_acoshf.S: Moved to ...
3140         * sysdeps/i386/fpu/e_acoshf.S: ...here.
3141         * sysdeps/libm-i387/e_acoshl.S: Moved to ...
3142         * sysdeps/i386/fpu/e_acoshl.S: ...here.
3143         * sysdeps/libm-i387/e_acosl.S: Moved to ...
3144         * sysdeps/i386/fpu/e_acosl.S: ...here.
3145         * sysdeps/libm-i387/e_asin.S: Moved to ...
3146         * sysdeps/i386/fpu/e_asin.S: ...here.
3147         * sysdeps/libm-i387/e_asinf.S: Moved to ...
3148         * sysdeps/i386/fpu/e_asinf.S: ...here.
3149         * sysdeps/libm-i387/e_asinl.S: Moved to ...
3150         * sysdeps/i386/fpu/e_asinl.S: ...here.
3151         * sysdeps/libm-i387/e_atan2.S: Moved to ...
3152         * sysdeps/i386/fpu/e_atan2.S: ...here.
3153         * sysdeps/libm-i387/e_atan2f.S: Moved to ...
3154         * sysdeps/i386/fpu/e_atan2f.S: ...here.
3155         * sysdeps/libm-i387/e_atan2l.S: Moved to ...
3156         * sysdeps/i386/fpu/e_atan2l.S: ...here.
3157         * sysdeps/libm-i387/e_atanh.S: Moved to ...
3158         * sysdeps/i386/fpu/e_atanh.S: ...here.
3159         * sysdeps/libm-i387/e_atanhf.S: Moved to ...
3160         * sysdeps/i386/fpu/e_atanhf.S: ...here.
3161         * sysdeps/libm-i387/e_atanhl.S: Moved to ...
3162         * sysdeps/i386/fpu/e_atanhl.S: ...here.
3163         * sysdeps/libm-i387/e_exp.S: Moved to ...
3164         * sysdeps/i386/fpu/e_exp.S: ...here.
3165         * sysdeps/libm-i387/e_exp10.S: Moved to ...
3166         * sysdeps/i386/fpu/e_exp10.S: ...here.
3167         * sysdeps/libm-i387/e_exp10f.S: Moved to ...
3168         * sysdeps/i386/fpu/e_exp10f.S: ...here.
3169         * sysdeps/libm-i387/e_exp10l.S: Moved to ...
3170         * sysdeps/i386/fpu/e_exp10l.S: ...here.
3171         * sysdeps/libm-i387/e_expf.S: Moved to ...
3172         * sysdeps/i386/fpu/e_expf.S: ...here.
3173         * sysdeps/libm-i387/e_expl.S: Moved to ...
3174         * sysdeps/i386/fpu/e_expl.S: ...here.
3175         * sysdeps/libm-i387/e_fmod.S: Moved to ...
3176         * sysdeps/i386/fpu/e_fmod.S: ...here.
3177         * sysdeps/libm-i387/e_fmodf.S: Moved to ...
3178         * sysdeps/i386/fpu/e_fmodf.S: ...here.
3179         * sysdeps/libm-i387/e_fmodl.S: Moved to ...
3180         * sysdeps/i386/fpu/e_fmodl.S: ...here.
3181         * sysdeps/libm-i387/e_hypot.S: Moved to ...
3182         * sysdeps/i386/fpu/e_hypot.S: ...here.
3183         * sysdeps/libm-i387/e_hypotf.S: Moved to ...
3184         * sysdeps/i386/fpu/e_hypotf.S: ...here.
3185         * sysdeps/libm-i387/e_log.S: Moved to ...
3186         * sysdeps/i386/fpu/e_log.S: ...here.
3187         * sysdeps/libm-i387/e_log10.S: Moved to ...
3188         * sysdeps/i386/fpu/e_log10.S: ...here.
3189         * sysdeps/libm-i387/e_log10f.S: Moved to ...
3190         * sysdeps/i386/fpu/e_log10f.S: ...here.
3191         * sysdeps/libm-i387/e_log10l.S: Moved to ...
3192         * sysdeps/i386/fpu/e_log10l.S: ...here.
3193         * sysdeps/libm-i387/e_logf.S: Moved to ...
3194         * sysdeps/i386/fpu/e_logf.S: ...here.
3195         * sysdeps/libm-i387/e_logl.S: Moved to ...
3196         * sysdeps/i386/fpu/e_logl.S: ...here.
3197         * sysdeps/libm-i387/e_pow.S: Moved to ...
3198         * sysdeps/i386/fpu/e_pow.S: ...here.
3199         * sysdeps/libm-i387/e_powf.S: Moved to ...
3200         * sysdeps/i386/fpu/e_powf.S: ...here.
3201         * sysdeps/libm-i387/e_powl.S: Moved to ...
3202         * sysdeps/i386/fpu/e_powl.S: ...here.
3203         * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
3204         * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
3205         * sysdeps/libm-i387/e_remainder.S: Moved to ...
3206         * sysdeps/i386/fpu/e_remainder.S: ...here.
3207         * sysdeps/libm-i387/e_remainderf.S: Moved to ...
3208         * sysdeps/i386/fpu/e_remainderf.S: ...here.
3209         * sysdeps/libm-i387/e_remainderl.S: Moved to ...
3210         * sysdeps/i386/fpu/e_remainderl.S: ...here.
3211         * sysdeps/libm-i387/e_scalb.S: Moved to ...
3212         * sysdeps/i386/fpu/e_scalb.S: ...here.
3213         * sysdeps/libm-i387/e_scalbf.S: Moved to ...
3214         * sysdeps/i386/fpu/e_scalbf.S: ...here.
3215         * sysdeps/libm-i387/e_scalbl.S: Moved to ...
3216         * sysdeps/i386/fpu/e_scalbl.S: ...here.
3217         * sysdeps/libm-i387/e_sqrt.S: Moved to ...
3218         * sysdeps/i386/fpu/e_sqrt.S: ...here.
3219         * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
3220         * sysdeps/i386/fpu/e_sqrtf.S: ...here.
3221         * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
3222         * sysdeps/i386/fpu/e_sqrtl.S: ...here.
3223         * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
3224         * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
3225         * sysdeps/libm-i387/s_asinh.S: Moved to ...
3226         * sysdeps/i386/fpu/s_asinh.S: ...here.
3227         * sysdeps/libm-i387/s_asinhf.S: Moved to ...
3228         * sysdeps/i386/fpu/s_asinhf.S: ...here.
3229         * sysdeps/libm-i387/s_asinhl.S: Moved to ...
3230         * sysdeps/i386/fpu/s_asinhl.S: ...here.
3231         * sysdeps/libm-i387/s_atan.S: Moved to ...
3232         * sysdeps/i386/fpu/s_atan.S: ...here.
3233         * sysdeps/libm-i387/s_atanf.S: Moved to ...
3234         * sysdeps/i386/fpu/s_atanf.S: ...here.
3235         * sysdeps/libm-i387/s_atanl.S: Moved to ...
3236         * sysdeps/i386/fpu/s_atanl.S: ...here.
3237         * sysdeps/libm-i387/s_cbrt.S: Moved to ...
3238         * sysdeps/i386/fpu/s_cbrt.S: ...here.
3239         * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
3240         * sysdeps/i386/fpu/s_cbrtf.S: ...here.
3241         * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
3242         * sysdeps/i386/fpu/s_cbrtl.S: ...here.
3243         * sysdeps/libm-i387/s_ceil.S: Moved to ...
3244         * sysdeps/i386/fpu/s_ceil.S: ...here.
3245         * sysdeps/libm-i387/s_ceilf.S: Moved to ...
3246         * sysdeps/i386/fpu/s_ceilf.S: ...here.
3247         * sysdeps/libm-i387/s_ceill.S: Moved to ...
3248         * sysdeps/i386/fpu/s_ceill.S: ...here.
3249         * sysdeps/libm-i387/s_cexp.S: Moved to ...
3250         * sysdeps/i386/fpu/s_cexp.S: ...here.
3251         * sysdeps/libm-i387/s_cexpf.S: Moved to ...
3252         * sysdeps/i386/fpu/s_cexpf.S: ...here.
3253         * sysdeps/libm-i387/s_cexpl.S: Moved to ...
3254         * sysdeps/i386/fpu/s_cexpl.S: ...here.
3255         * sysdeps/libm-i387/s_copysign.S: Moved to ...
3256         * sysdeps/i386/fpu/s_copysign.S: ...here.
3257         * sysdeps/libm-i387/s_copysignf.S: Moved to ...
3258         * sysdeps/i386/fpu/s_copysignf.S: ...here.
3259         * sysdeps/libm-i387/s_copysignl.S: Moved to ...
3260         * sysdeps/i386/fpu/s_copysignl.S: ...here.
3261         * sysdeps/libm-i387/s_cos.S: Moved to ...
3262         * sysdeps/i386/fpu/s_cos.S: ...here.
3263         * sysdeps/libm-i387/s_cosf.S: Moved to ...
3264         * sysdeps/i386/fpu/s_cosf.S: ...here.
3265         * sysdeps/libm-i387/s_cosl.S: Moved to ...
3266         * sysdeps/i386/fpu/s_cosl.S: ...here.
3267         * sysdeps/libm-i387/s_exp2.S: Moved to ...
3268         * sysdeps/i386/fpu/s_exp2.S: ...here.
3269         * sysdeps/libm-i387/s_exp2f.S: Moved to ...
3270         * sysdeps/i386/fpu/s_exp2f.S: ...here.
3271         * sysdeps/libm-i387/s_exp2l.S: Moved to ...
3272         * sysdeps/i386/fpu/s_exp2l.S: ...here.
3273         * sysdeps/libm-i387/s_expm1.S: Moved to ...
3274         * sysdeps/i386/fpu/s_expm1.S: ...here.
3275         * sysdeps/libm-i387/s_expm1f.S: Moved to ...
3276         * sysdeps/i386/fpu/s_expm1f.S: ...here.
3277         * sysdeps/libm-i387/s_expm1l.S: Moved to ...
3278         * sysdeps/i386/fpu/s_expm1l.S: ...here.
3279         * sysdeps/libm-i387/s_fdim.S: Moved to ...
3280         * sysdeps/i386/fpu/s_fdim.S: ...here.
3281         * sysdeps/libm-i387/s_fdimf.S: Moved to ...
3282         * sysdeps/i386/fpu/s_fdimf.S: ...here.
3283         * sysdeps/libm-i387/s_fdiml.S: Moved to ...
3284         * sysdeps/i386/fpu/s_fdiml.S: ...here.
3285         * sysdeps/libm-i387/s_finite.S: Moved to ...
3286         * sysdeps/i386/fpu/s_finite.S: ...here.
3287         * sysdeps/libm-i387/s_finitef.S: Moved to ...
3288         * sysdeps/i386/fpu/s_finitef.S: ...here.
3289         * sysdeps/libm-i387/s_finitel.S: Moved to ...
3290         * sysdeps/i386/fpu/s_finitel.S: ...here.
3291         * sysdeps/libm-i387/s_floor.S: Moved to ...
3292         * sysdeps/i386/fpu/s_floor.S: ...here.
3293         * sysdeps/libm-i387/s_floorf.S: Moved to ...
3294         * sysdeps/i386/fpu/s_floorf.S: ...here.
3295         * sysdeps/libm-i387/s_floorl.S: Moved to ...
3296         * sysdeps/i386/fpu/s_floorl.S: ...here.
3297         * sysdeps/libm-i387/s_fma.S: Moved to ...
3298         * sysdeps/i386/fpu/s_fma.S: ...here.
3299         * sysdeps/libm-i387/s_fmaf.S: Moved to ...
3300         * sysdeps/i386/fpu/s_fmaf.S: ...here.
3301         * sysdeps/libm-i387/s_fmal.S: Moved to ...
3302         * sysdeps/i386/fpu/s_fmal.S: ...here.
3303         * sysdeps/libm-i387/s_fmax.S: Moved to ...
3304         * sysdeps/i386/fpu/s_fmax.S: ...here.
3305         * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
3306         * sysdeps/i386/fpu/s_fmaxf.S: ...here.
3307         * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
3308         * sysdeps/i386/fpu/s_fmaxl.S: ...here.
3309         * sysdeps/libm-i387/s_fmin.S: Moved to ...
3310         * sysdeps/i386/fpu/s_fmin.S: ...here.
3311         * sysdeps/libm-i387/s_fminf.S: Moved to ...
3312         * sysdeps/i386/fpu/s_fminf.S: ...here.
3313         * sysdeps/libm-i387/s_fminl.S: Moved to ...
3314         * sysdeps/i386/fpu/s_fminl.S: ...here.
3315         * sysdeps/libm-i387/s_frexp.S: Moved to ...
3316         * sysdeps/i386/fpu/s_frexp.S: ...here.
3317         * sysdeps/libm-i387/s_frexpf.S: Moved to ...
3318         * sysdeps/i386/fpu/s_frexpf.S: ...here.
3319         * sysdeps/libm-i387/s_frexpl.S: Moved to ...
3320         * sysdeps/i386/fpu/s_frexpl.S: ...here.
3321         * sysdeps/libm-i387/s_ilogb.S: Moved to ...
3322         * sysdeps/i386/fpu/s_ilogb.S: ...here.
3323         * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
3324         * sysdeps/i386/fpu/s_ilogbf.S: ...here.
3325         * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
3326         * sysdeps/i386/fpu/s_ilogbl.S: ...here.
3327         * sysdeps/libm-i387/s_llrint.S: Moved to ...
3328         * sysdeps/i386/fpu/s_llrint.S: ...here.
3329         * sysdeps/libm-i387/s_llrintf.S: Moved to ...
3330         * sysdeps/i386/fpu/s_llrintf.S: ...here.
3331         * sysdeps/libm-i387/s_llrintl.S: Moved to ...
3332         * sysdeps/i386/fpu/s_llrintl.S: ...here.
3333         * sysdeps/libm-i387/s_log1p.S: Moved to ...
3334         * sysdeps/i386/fpu/s_log1p.S: ...here.
3335         * sysdeps/libm-i387/s_log1pf.S: Moved to ...
3336         * sysdeps/i386/fpu/s_log1pf.S: ...here.
3337         * sysdeps/libm-i387/s_log1pl.S: Moved to ...
3338         * sysdeps/i386/fpu/s_log1pl.S: ...here.
3339         * sysdeps/libm-i387/s_log2.S: Moved to ...
3340         * sysdeps/i386/fpu/s_log2.S: ...here.
3341         * sysdeps/libm-i387/s_log2f.S: Moved to ...
3342         * sysdeps/i386/fpu/s_log2f.S: ...here.
3343         * sysdeps/libm-i387/s_log2l.S: Moved to ...
3344         * sysdeps/i386/fpu/s_log2l.S: ...here.
3345         * sysdeps/libm-i387/s_logb.S: Moved to ...
3346         * sysdeps/i386/fpu/s_logb.S: ...here.
3347         * sysdeps/libm-i387/s_logbf.S: Moved to ...
3348         * sysdeps/i386/fpu/s_logbf.S: ...here.
3349         * sysdeps/libm-i387/s_logbl.S: Moved to ...
3350         * sysdeps/i386/fpu/s_logbl.S: ...here.
3351         * sysdeps/libm-i387/s_lrint.S: Moved to ...
3352         * sysdeps/i386/fpu/s_lrint.S: ...here.
3353         * sysdeps/libm-i387/s_lrintf.S: Moved to ...
3354         * sysdeps/i386/fpu/s_lrintf.S: ...here.
3355         * sysdeps/libm-i387/s_lrintl.S: Moved to ...
3356         * sysdeps/i386/fpu/s_lrintl.S: ...here.
3357         * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
3358         * sysdeps/i386/fpu/s_nearbyint.S: ...here.
3359         * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
3360         * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
3361         * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
3362         * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
3363         * sysdeps/libm-i387/s_remquo.S: Moved to ...
3364         * sysdeps/i386/fpu/s_remquo.S: ...here.
3365         * sysdeps/libm-i387/s_remquof.S: Moved to ...
3366         * sysdeps/i386/fpu/s_remquof.S: ...here.
3367         * sysdeps/libm-i387/s_remquol.S: Moved to ...
3368         * sysdeps/i386/fpu/s_remquol.S: ...here.
3369         * sysdeps/libm-i387/s_rint.S: Moved to ...
3370         * sysdeps/i386/fpu/s_rint.S: ...here.
3371         * sysdeps/libm-i387/s_rintf.S: Moved to ...
3372         * sysdeps/i386/fpu/s_rintf.S: ...here.
3373         * sysdeps/libm-i387/s_rintl.S: Moved to ...
3374         * sysdeps/i386/fpu/s_rintl.S: ...here.
3375         * sysdeps/libm-i387/s_scalbn.S: Moved to ...
3376         * sysdeps/i386/fpu/s_scalbn.S: ...here.
3377         * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
3378         * sysdeps/i386/fpu/s_scalbnf.S: ...here.
3379         * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
3380         * sysdeps/i386/fpu/s_scalbnl.S: ...here.
3381         * sysdeps/libm-i387/s_significand.S: Moved to ...
3382         * sysdeps/i386/fpu/s_significand.S: ...here.
3383         * sysdeps/libm-i387/s_significandf.S: Moved to ...
3384         * sysdeps/i386/fpu/s_significandf.S: ...here.
3385         * sysdeps/libm-i387/s_significandl.S: Moved to ...
3386         * sysdeps/i386/fpu/s_significandl.S: ...here.
3387         * sysdeps/libm-i387/s_sin.S: Moved to ...
3388         * sysdeps/i386/fpu/s_sin.S: ...here.
3389         * sysdeps/libm-i387/s_sincos.S: Moved to ...
3390         * sysdeps/i386/fpu/s_sincos.S: ...here.
3391         * sysdeps/libm-i387/s_sincosf.S: Moved to ...
3392         * sysdeps/i386/fpu/s_sincosf.S: ...here.
3393         * sysdeps/libm-i387/s_sincosl.S: Moved to ...
3394         * sysdeps/i386/fpu/s_sincosl.S: ...here.
3395         * sysdeps/libm-i387/s_sinf.S: Moved to ...
3396         * sysdeps/i386/fpu/s_sinf.S: ...here.
3397         * sysdeps/libm-i387/s_sinl.S: Moved to ...
3398         * sysdeps/i386/fpu/s_sinl.S: ...here.
3399         * sysdeps/libm-i387/s_tan.S: Moved to ...
3400         * sysdeps/i386/fpu/s_tan.S: ...here.
3401         * sysdeps/libm-i387/s_tanf.S: Moved to ...
3402         * sysdeps/i386/fpu/s_tanf.S: ...here.
3403         * sysdeps/libm-i387/s_tanl.S: Moved to ...
3404         * sysdeps/i386/fpu/s_tanl.S: ...here.
3405         * sysdeps/libm-i387/s_trunc.S: Moved to ...
3406         * sysdeps/i386/fpu/s_trunc.S: ...here.
3407         * sysdeps/libm-i387/s_truncf.S: Moved to ...
3408         * sysdeps/i386/fpu/s_truncf.S: ...here.
3409         * sysdeps/libm-i387/s_truncl.S: Moved to ...
3410         * sysdeps/i386/fpu/s_truncl.S: ...here.
3411         * sysdeps/libm-ieee754/k_standard.c: Moved to ...
3412         * sysdeps/ieee754/k_standard.c: ...here.
3413         * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
3414         * sysdeps/ieee754/s_lib_version.c: ...here.
3415         * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
3416         * sysdeps/ieee754/s_matherr.c: ...here.
3417         * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
3418         * sysdeps/ieee754/s_signgam.c: ...here.
3419         * sysdeps/ieee754/dbl2mpn.c: Moved to ...
3420         * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
3421         * sysdeps/ieee754/mpn2dbl.c: Moved to ...
3422         * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
3423         * sysdeps/libm-ieee754/e_acos.c: Moved to ...
3424         * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
3425         * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
3426         * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
3427         * sysdeps/libm-ieee754/e_asin.c: Moved to ...
3428         * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
3429         * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
3430         * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
3431         * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
3432         * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
3433         * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
3434         * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
3435         * sysdeps/libm-ieee754/e_exp.c: Moved to ...
3436         * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
3437         * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
3438         * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
3439         * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
3440         * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
3441         * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
3442         * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
3443         * sysdeps/libm-ieee754/e_j0.c: Moved to ...
3444         * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
3445         * sysdeps/libm-ieee754/e_j1.c: Moved to ...
3446         * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
3447         * sysdeps/libm-ieee754/e_jn.c: Moved to ...
3448         * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
3449         * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
3450         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
3451         * sysdeps/libm-ieee754/e_log.c: Moved to ...
3452         * sysdeps/ieee754/dbl-64/e_log.c: ...here.
3453         * sysdeps/libm-ieee754/e_log10.c: Moved to ...
3454         * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
3455         * sysdeps/libm-ieee754/e_pow.c: Moved to ...
3456         * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
3457         * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
3458         * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
3459         * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
3460         * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
3461         * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
3462         * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
3463         * sysdeps/libm-ieee754/k_cos.c: Moved to ...
3464         * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
3465         * sysdeps/libm-ieee754/k_sin.c: Moved to ...
3466         * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
3467         * sysdeps/libm-ieee754/k_tan.c: Moved to ...
3468         * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
3469         * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
3470         * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
3471         * sysdeps/libm-ieee754/s_atan.c: Moved to ...
3472         * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
3473         * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
3474         * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
3475         * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
3476         * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
3477         * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
3478         * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
3479         * sysdeps/libm-ieee754/s_cos.c: Moved to ...
3480         * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
3481         * sysdeps/libm-ieee754/s_erf.c: Moved to ...
3482         * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
3483         * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
3484         * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
3485         * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
3486         * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
3487         * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
3488         * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
3489         * sysdeps/libm-ieee754/s_finite.c: Moved to ...
3490         * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
3491         * sysdeps/libm-ieee754/s_floor.c: Moved to ...
3492         * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
3493         * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
3494         * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
3495         * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
3496         * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
3497         * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
3498         * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
3499         * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
3500         * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
3501         * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
3502         * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
3503         (__isnan): Comment above function says it returns 0 or 1, but it
3504         used to return 0 or -1.
3505         * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
3506         * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
3507         * sysdeps/libm-ieee754/s_llround.c: Moved to ...
3508         * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
3509         * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
3510         * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
3511         * sysdeps/libm-ieee754/s_log2.c: Moved to ...
3512         * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
3513         * sysdeps/libm-ieee754/s_logb.c: Moved to ...
3514         * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
3515         * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
3516         * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
3517         * sysdeps/libm-ieee754/s_lround.c: Moved to ...
3518         * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
3519         * sysdeps/libm-ieee754/s_modf.c: Moved to ...
3520         * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
3521         * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
3522         * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
3523         * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
3524         * sysdeps/generic/s_nextafter.c: ...here.
3525         Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
3526         * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
3527         * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
3528         * sysdeps/libm-ieee754/s_rint.c: Moved to ...
3529         * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
3530         * sysdeps/libm-ieee754/s_round.c: Moved to ...
3531         * sysdeps/ieee754/dbl-64/s_round.c: ...here.
3532         * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
3533         * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
3534         * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
3535         * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
3536         * sysdeps/libm-ieee754/s_sin.c: Moved to ...
3537         * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
3538         * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
3539         * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
3540         * sysdeps/libm-ieee754/s_tan.c: Moved to ...
3541         * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
3542         * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
3543         * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
3544         * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
3545         * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
3546         * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
3547         * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
3548         * sysdeps/libm-ieee754/w_exp.c: Moved to ...
3549         * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
3550         * sysdeps/ieee754/mpn2flt.c: Moved to ...
3551         * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
3552         * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
3553         * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
3554         * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
3555         * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
3556         * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
3557         * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
3558         * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
3559         * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
3560         * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
3561         * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
3562         * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
3563         * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
3564         * sysdeps/libm-ieee754/e_expf.c: Moved to ...
3565         * sysdeps/ieee754/flt-32/e_expf.c: ...here.
3566         * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
3567         * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
3568         * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
3569         * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
3570         * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
3571         * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
3572         * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
3573         * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
3574         * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
3575         * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
3576         * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
3577         * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
3578         * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
3579         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
3580         * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
3581         * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
3582         * sysdeps/libm-ieee754/e_logf.c: Moved to ...
3583         * sysdeps/ieee754/flt-32/e_logf.c: ...here.
3584         * sysdeps/libm-ieee754/e_powf.c: Moved to ...
3585         * sysdeps/ieee754/flt-32/e_powf.c: ...here.
3586         * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
3587         * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
3588         * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
3589         * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
3590         * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
3591         * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
3592         * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
3593         * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
3594         * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
3595         * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
3596         * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
3597         * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
3598         * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
3599         * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
3600         * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
3601         * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
3602         * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
3603         * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
3604         * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
3605         * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
3606         * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
3607         * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
3608         * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
3609         * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
3610         * sysdeps/libm-ieee754/s_erff.c: Moved to ...
3611         * sysdeps/ieee754/flt-32/s_erff.c: ...here.
3612         * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
3613         * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
3614         * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
3615         * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
3616         * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
3617         * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
3618         * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
3619         * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
3620         * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
3621         * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
3622         * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
3623         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
3624         * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
3625         * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
3626         * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
3627         * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
3628         * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
3629         * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
3630         * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
3631         * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
3632         * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
3633         * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
3634         * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
3635         * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
3636         * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
3637         * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
3638         * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
3639         * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
3640         * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
3641         * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
3642         * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
3643         * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
3644         * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
3645         * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
3646         * sysdeps/libm-ieee754/s_modff.c: Moved to ...
3647         * sysdeps/ieee754/flt-32/s_modff.c: ...here.
3648         * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
3649         * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
3650         * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
3651         * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
3652         * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
3653         * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
3654         * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
3655         * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
3656         * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
3657         * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
3658         * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
3659         * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
3660         * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
3661         * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
3662         * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
3663         * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
3664         * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
3665         * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
3666         * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
3667         * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
3668         * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
3669         * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
3670         * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
3671         * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
3672         * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
3673         * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
3674         * sysdeps/libm-ieee754/w_expf.c: Moved to ...
3675         * sysdeps/ieee754/flt-32/w_expf.c: ...here.
3676         * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
3677         * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
3678         * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
3679         * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
3680         * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
3681         * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
3682         * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
3683         * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
3684         * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
3685         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
3686         * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
3687         * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
3688         * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
3689         * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
3690         * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
3691         * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
3692         * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
3693         * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
3694         * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
3695         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
3696         * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
3697         * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
3698         * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
3699         * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
3700         * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
3701         * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
3702         * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
3703         * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
3704         * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
3705         * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
3706         * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
3707         * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
3708         * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
3709         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
3710         * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
3711         * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
3712         * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
3713         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
3714         * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
3715         * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
3716         * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
3717         * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
3718         * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
3719         * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
3720         * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
3721         * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
3722         * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
3723         * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
3724         * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
3725         * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
3726         (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
3727         INSERT_WORDS.
3728         * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
3729         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
3730         (__nearbyintl): Fix for exponents 2^30.
3731         * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
3732         * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
3733         * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
3734         * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
3735         (__rintl): Fix for exponents 2^30.
3736         * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
3737         * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
3738         * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
3739         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
3740         (__scalbnl): Fix exponent for subnormal result.
3741         * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
3742         * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
3743         * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
3744         * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
3745         * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
3746         * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
3747         * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
3748         * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
3749         * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
3750         * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
3751         * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
3752         * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
3753         * sysdeps/libm-ieee754/w_expl.c: Moved to ...
3754         * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
3755         * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
3756         * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
3757         * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
3758         * sysdeps/i386/fpu/s_scalblnf.c: ...here.
3759         * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
3760         * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
3761         * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
3762         * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
3763         * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
3764         * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
3765         * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
3766         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
3767         * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
3768         * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
3769         * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
3770         * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
3771         * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
3772         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
3773         * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
3774         * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
3775         * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
3776         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
3777         * sysdeps/libm-i387/s_scalbln.c: Moved to ...
3778         * sysdeps/i386/fpu/s_scalbln.c: ...here.
3779         * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
3780         * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
3781         * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
3782         * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
3783         * sysdeps/libm-i387/t_exp.c: Moved to ...
3784         * sysdeps/i386/fpu/t_exp.c: ...here.
3785         * sysdeps/libm-ieee754/t_exp.c: Moved to ...
3786         * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
3787         * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
3788         * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
3789         * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
3790         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
3791         * sysdeps/libm-i387/s_isinfl.c: Moved to ...
3792         * sysdeps/i386/fpu/s_isinfl.c: ...here.
3793         * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
3794         * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
3795         * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
3796         * sysdeps/i386/fpu/s_scalblnl.c: ...here.
3797         * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
3798         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
3799         Fix exponent for subnormal result.
3800         * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
3801         * sysdeps/generic/s_nexttowardl.c: ...here.
3802         * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
3803         * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
3804         * sysdeps/libm-i387/s_isnanl.c: Moved to ...
3805         * sysdeps/i386/fpu/s_isnanl.c: ...here.
3806         * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
3807         * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
3808         Comment above function says it returns 0 or 1, but it used to return
3809         0 or -1.
3810         * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
3811         * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
3812         * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
3813         * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
3814         * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
3815         * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
3816         * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
3817         * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
3818         * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
3819         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
3820         Cannot compare exponents with different biases without adjusting.
3821         * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
3822         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
3823         Cannot compare exponents with different biases without adjusting.
3824         * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
3825         * sysdeps/i386/fpu/s_nextafterl.c: ...here.
3826         * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
3827         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
3828         * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
3829         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
3830         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
3831         * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
3832         * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
3833         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
3834         * sysdeps/libm-ieee754/Dist: Split into ...
3835         * sysdeps/ieee754/dbl-64/Dist: ...this and ...
3836         * sysdeps/ieee754/flt-32/Dist: ...this file.
3838         * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
3839         * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
3840         * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
3841         * sysdeps/ieee754/ldbl-96/strtold.c: New file.
3842         * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
3843         * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
3844         * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
3845         * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
3846         * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
3847         * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
3848         * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
3849         * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
3850         * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
3851         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
3852         * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
3853         * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
3854         * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
3855         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
3856         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
3857         * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
3858         * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
3859         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
3860         * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
3861         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
3862         * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
3863         * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
3864         * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
3865         * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
3866         * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
3867         * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
3868         * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
3869         * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
3870         * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
3871         * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
3872         * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
3873         * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
3874         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
3875         * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
3876         * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
3877         * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
3878         * sysdeps/ieee754/ldbl-128/strtold.c: New file.
3879         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
3880         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
3881         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
3882         * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
3883         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
3884         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
3886         * sysdeps/generic/math_ldbl.h: New file.
3887         * sysdeps/generic/s_nexttowardf.c: New file.
3888         * sysdeps/generic/strtold.c: New file.
3889         * sysdeps/generic/ldbl2mpn.c: New file.
3891         * math/machine/endian.h: Remove.
3892         * sysdeps/i386/fpu/Implies: Remove.
3893         * sysdeps/ieee754/Implies: Remove.
3895         * math/math_private.h: Move long double macros to math_ldbl.h
3896         header.
3898 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
3900         * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
3901         connections without a hostname set address to localhost address.
3903 1999-07-11  H.J. Lu  <hjl@gnu.org>
3905         * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
3906         nscd's own strong version of the get[a-z]*_r function.
3907         * nscd/hstcache.c: Likewise.
3908         * nscd/pwdcache.c: Likewise.
3910 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
3912         * configure.in: Recognize 2.95 as gcc version number.
3913         Patch by Joel Klecker <jk@espy.org>.
3915 1999-07-12  Andreas Schwab  <schwab@suse.de>
3917         * elf/rtld.c (dl_main): When putting back the interpreter object
3918         handle the case where a missing object might occur in the list of
3919         objects but not in the search list when in trace mode.
3921 1999-07-11  Ulrich Drepper  <drepper@cygnus.com>
3923         * Versions.def (libnss_hesiod): Add GLIBC_2.2.
3924         * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
3925         _nss_hesiod_initgroups.
3927 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
3929         * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
3930         (_hurd_set_brk, init_brk): Use that instead of &__data_start.
3931         Initialize it from &__data_start if defined, or else &_end.
3933 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
3935         * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
3936         for MAP_ANON, prot==PROT_READ|PROT_WRITE.
3938 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
3940         * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
3942 1999-07-09  H.J. Lu  <hjl@gnu.org>
3944         * Versions.def (GLIBC_2.1.2): Added.
3946         * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
3947         old one as GLIBC_2.0.
3948         * nss/getXXbyYY_r.c: Likewise.
3950         * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
3951         GLIBC_2.1.2.
3952         * inet/Versions (getaliasbyname_r, getaliasent_r,
3953         gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
3954         gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
3955         getnetgrent_r, getprotobyname_r, getprotobynumber_r,
3956         getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
3957         getservbyname_r): Likewise.
3958         * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
3959         * shadow/Versions (getspent_r, getspnam_r): Likewise.
3961 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
3963         * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
3964         compilers.
3965         (__memset_cc): Likewise.
3967         * sysdeps/generic/libc-start.c: For SUID binaries check whether
3968         the standard file descriptors are open.
3969         Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
3971         * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
3972         * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
3973         range of mmap.  If not fail.
3974         Patches by Daniel Jacobowitz <dan@debian.org>.
3976         * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
3977         before the relocation happened.
3978         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3980         * Versions.def (libnsl): Add GLIBC_2.2.
3981         * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
3983 1999-07-08  Cristian Gafton  <gafton@redhat.com>
3985         * nis/yp_xdr.c (xdr_ypall): New function.
3987 1999-07-09  Andreas Schwab  <schwab@suse.de>
3989         * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
3991         * dlfcn/Makefile (headers): Add bits/dlfcn.h.
3993 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
3995         * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
3996         * hesiod/hesiod-grp.c: Add initgroups support.
3997         Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
3999 1999-07-08  Andreas Schwab  <schwab@suse.de>
4001         * libio/iofopncook.c (fopencookie): Set _fileno to -2.
4003         * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
4004         negative numbers.
4006         * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
4007         EOF.
4008         * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
4010 1999-07-08  Andreas Schwab  <schwab@suse.de>
4012         * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
4014 1999-07-08  Andreas Schwab  <schwab@suse.de>
4016         * libio/fileno.c: Return -1 instead of EOF and set errno if the
4017         stream is not a real file stream.
4019 1999-07-08  Andreas Schwab  <schwab@suse.de>
4021         * manual/charset.texi: Fix typos.
4023 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
4025         * sysdeps/gnu/Makefile (libdl-routines): Add eval.
4027 1999-07-06  Zack Weinberg  <zack@rabi.columbia.edu>
4029         * dlfcn: New directory.  Move the following files from elf:
4030         dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
4031         dlopenold.c, dlsym.c, dlvsym.c.
4032         * dlfcn/Makefile: New file.
4033         * dlfcn/Versions: New file.
4034         * dlfcn/dlsym.c: All ELF-specific code split out to new
4035         function _dl_sym.
4036         * dlfcn/dlvsym.c: All ELF-specific code split out to new
4037         function _dl_vsym.
4038         * elf/dl-sym.c: New file.  _dl_sym and _dl_vsym are
4039         implemented here.
4041         * dlfcn/dladdr.c: Remove all references to ELF data structures
4042         or headers.
4043         * dlfcn/dlclose.c: Likewise.
4044         * dlfcn/dlerror.c: Likewise.
4045         * dlfcn/dlopen.c: Likewise.
4046         * dlfcn/dlopenold.c: Likewise.
4048         * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
4049         yes, empty otherwise.
4050         (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
4051         depending on build-shared.
4052         (subdirs): Add $(dlfcn).
4053         (rpath-dirs): Add dlfcn.
4054         * elf/Makefile: Remove all references to libdl or its
4055         components, except the ones relating to the test cases.
4056         (routines): Add dl-sym.
4057         * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
4058         (libdl): Delete.
4060         * elf/dl-close.c (_dl_close): Change argument to void *.
4061         * elf/dl-open.c (_dl_open): Change return type to void *.
4062         * elf/eval.c: Removed.
4063         * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
4064         _dlerror_run, _dl_open, _dl_close, _dl_addr, and
4065         _dl_mcount_wrapper_check to include/dlfcn.h.  Delete
4066         _CALL_DL_FCT macro.
4067         * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
4068         Include real header from dlfcn directory.
4069         * include/ldsodefs.h: Removed.
4071         * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
4072         * nss/getXXbyYY_r.c: Likewise.
4073         * nss/getXXent_r.c: Likewise.
4074         * iconv/gconv.c: Likewise.  Don't include ldsodefs.h.
4075         * iconv/gconv_db.c: Likewise.  Don't include ldsodefs.h.
4076         * iconv/skeleton.c: Don't include ldsodefs.h.
4077         * nss/nsswitch.h: Don't include ldsodefs.h.  Include dlfcn.h.
4079 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
4081         * sysdeps/generic/setenv.c: Describe problem.
4083         * malloc/malloc.c (request2size): Also set errno if failing.
4085         * malloc/malloc.c (request2size): Take care of overflow in
4086         addition.
4088         * sysdeps/posix/getcwd.c: Correct last patch.  Handle getcwd
4089         (NULL, != 0) correctly.
4091         * elf/dl-load.c: Use a few more __builtin_expect.
4093         * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
4094         is large enough.
4096 1999-07-07  Andreas Schwab  <schwab@suse.de>
4098         * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
4099         (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
4100         (_PATH_DEVPTMX): Use _PATH_DEV.
4102 1999-07-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4104         * malloc/tst-malloc.c: New file.  Tests some basic functionality.
4105         * malloc/Makefile (tests): Add tst-malloc.
4107 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
4109         * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
4110         convention.
4112         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
4113         motherboards.
4114         Patch by Jay Estabrook.
4116         * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
4117         ldd for SPARC.
4118         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
4119         Patch by Cristian Gafton.
4121 1999-07-02  Cristian Gafton  <gafton@redhat.com>
4123         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
4124         instead of "return NULL" to make C++ happy.
4126 1999-07-04  Mark Kettenis  <kettenis@gnu.org>
4128         * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
4129         allowed by the file access mode of the open file.
4131 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
4133         * sysdeps/generic/setfpucw.c: Include math.h to get all needed
4134         macros defined.
4136 1999-07-03  Jakub Jelinek   <jj@ultra.linux.cz>
4138         * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
4139         * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
4140         * sysdeps/sparc/sparc64/rshift.S: Likewise.
4141         * sysdeps/sparc/sparc64/mul_1.S: Optimize.
4143 1999-07-04  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
4145         * malloc/malloc.c (request2size): Check for overflow and return
4146         NULL whenever it is encountered.
4148 1999-07-04  Zack Weinberg  <zack@rabi.columbia.edu>
4150         * sysdeps/posix/tempname.c (__gen_tempname):   Add
4151         ability to create directories.  Replace OPENIT and LARGEFILE
4152         args with a single flags parameter.
4153         * sysdeps/generic/tempname.c: Likewise.
4154         * include/stdio.h: Adjust prototype of __gen_tempname to
4155         match.  Define symbolic constants for second argument.
4157         * misc/mkdtemp.c: New file, provides new function mkdtemp().
4158         * stdlib/stdlib.h: Prototype it.
4159         * misc/Versions: Export it.
4160         * misc/Makefile (routines): Add mktemp.
4161         * manual/filesys.texi: Document it.
4163         * misc/mktemp.c: Adjust call of __gen_tempname to match new
4164         convention.
4165         * misc/mkstemp.c: Likewise.
4166         * stdio-common/tempnam.c: Likewise.
4167         * stdio-common/tmpfile.c: Likewise.
4168         * stdio-common/tmpfile64.c: Likewise.
4169         * stdio-common/tmpnam.c: Likewise.
4170         * stdio-common/tmpnam_r.c: Likewise.
4172 1999-07-05  Jakub Jelinek   <jj@ultra.linux.cz>
4174         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
4175         R_SPARC_OLO10 relocations.
4176         * elf/elf.h (R_SPARC_OLO10): Fix comment.
4178 1999-07-02  Tim Waugh  <tim@cyberelk.demon.co.uk>
4180         * posix/wordexp-test.c: Revert bogus 'unset IFS' change.  It
4181         doesn't belong in the tests, but in the wordexp implementation.
4183         * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
4184         split fields.
4186 1999-07-01  Cristian Gafton  <gafton@redhat.com>
4188         * time/strptime.c (strptime): Initialize the tm struct first to avoid
4189         returning bogus results on incomplete data.
4190         (strptime_internal): day_of_the_week() requres bith tm_mon and
4191         tm_mday to be initializaed.
4192         Computer them first if they are not given.
4193         (strptime_internal): (have_mon, have_mday): New variables.
4195 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4197         * inet/rcmd.c (__icheckhost): Fix typo in last patch.
4199 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4201         * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
4202         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4204 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4206         * posix/wordexp.c (parse_tilde): Handle failing call to
4207         get.*_r functions correctly for non-existing entry.
4208         * sysdeps/posix/cuserid.c (cuserid): Likewise.
4209         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
4211 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
4213         * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
4214         getxxbyYY_r functions correctly for non-existing entry.
4215         * sunrpc/getrpcport.c: Likewise.
4216         * sunrpc/clnt_simp.c: Likewise.
4217         * inet/rexec.c: Likewise.
4218         * sunrpc/clnt_gen.c: Likewise.
4219         * inet/rcmd.c: Likewise.
4220         * sysdeps/generic/glob.c: Likewise.
4222 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4224         * pwd/Makefile (tests): Add rules for tst-getpw.
4226         * pwd/tst-getpw.c: New program to test getpw.
4228 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4230         * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
4231         correctly.
4233 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4235         * manual/arith.texi (System V Number Conversion): Fix the
4236         description which confused pointer and value to pointer.
4237         Reported by Andries.Brouwer@cwi.nl.
4239 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4241         * pwd/getpw.c (__getpw): Check for NULL result pointer.
4243 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4245         * manual/users.texi (Lookup User): Document POSIX return
4246         semantics for getpwuid_r and getgrgid_r.
4248         * manual/socket.texi (Host Names): Document that the result
4249         pointer is null in case of error or host not found and fix a
4250         typo.  Give a small example.
4252 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
4254         * pwd/getpw.c: Add warning since no buffer size is given and
4255         therefore no overrun tests are possible.
4257 1999-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4259         * pwd/pwd.h: Add getpw prototype declaration.
4261 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
4263         * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
4264         * wcsmbs/wcschr.c: Likewise.
4266 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
4268         * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
4269         returns.
4270         * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
4271         * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
4272         Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
4274         * elf/dl-dst.h: Fix typo.
4275         * elf/dl-open.c: Likewise.
4277 1999-06-26  Zack Weinberg  <zack@rabi.columbia.edu>
4279         * elf/dl-libc.c: New file, provides three functions:
4280         __libc_dlopen, __libc_dlclose, __libc_dlsym.
4281         * include/dlfcn.h: Prototype them.  Prototype _dl_addr.
4282         * elf/Makefile (routines): Add dl-libc.c.
4283         * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
4284         argument to void *.
4285         * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
4287         * iconv/gconv.c: Include dlfcn.h.
4288         * iconv/gconv_db.c: Likewise.
4289         * malloc/mtrace.c: Likewise.  Don't include ldsodefs.h.
4291         * iconv/gconv_int.h (struct __gconv_loaded_object): Change
4292         `handle' to a void *.
4293         (__gconv_find_func): Delete prototype.
4295         * iconv/gconv_dl.c: Don't include ldsodefs.h.  Remove
4296         dlerror_run and related functions and structs.  Use
4297         __libc_dlopen, __libc_dlsym, __libc_dlclose.
4298         * nss/nsswitch.c: Likewise.
4300 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
4302         * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
4303         function correctly.
4305         * sunrpc/getrpcport.c: Test for gethostbyname_r function
4306         correctly.
4308         * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
4310         * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
4311         functions correctly.
4313         * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
4315         * inet/rcmd.c: Test for gethostbyname_r result correctly.  Optimize
4316         file reading a bit.
4318         * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
4320 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4322         * manual/string.texi (Copying and Concatenation): Mention that
4323         strndup is a GNU extension.
4325 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4327         * pwd/getpw.c (__getpw): Fix check for error return.
4329 1999-06-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4331         * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
4332         occurence of the aux object start with the current list entry, not
4333         the new one.  Adjust tail pointer in the unique list.  Explain how
4334         the meaning of the variables changes [PR libc/1168].
4336 1999-06-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4338         * sysdeps/m68k/fpu/Dist: New file.
4340 1999-06-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4342         * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
4343         definitions...
4344         * sysdeps/m68k/fpu/mathimpl.h: ... here.  New file.
4345         * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
4346         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
4347         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
4348         * sysdeps/m68k/fpu/e_pow.c: Likewise.
4349         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
4350         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
4351         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
4352         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
4353         * sysdeps/m68k/fpu/s_csin.c: Likewise.
4354         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
4355         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
4356         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
4357         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
4358         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
4359         * sysdeps/m68k/fpu/s_modf.c: Likewise.
4361 1999-06-25  Roland McGrath  <roland@baalperazim.frob.com>
4363         * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
4364         hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
4365         _EXTERN_INLINE, use a macro specific to each file,
4366         _HURD_FD_H_EXTERN_INLINE and the like.
4367         * hurd/Makefile (inline-headers): New variable.
4368         (routines): Remove hurdinline.  Add $(inlines).
4369         (inlines): New variable.
4370         ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
4371         (generated): Append those here.
4372         * hurd/hurdinline.c: File removed.
4374         * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
4376         * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
4378 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4380         * nscd/connections.c (nscd_run): Use correct type for optlen variable.
4382 1999-06-25  Ulrich Drepper  <drepper@cygnus.com>
4384         * string/bits/string2.h (strnlen): Remove extra prototype.
4386 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4388         * manual/filesys.texi (Working on Directory Trees): Fix typos.
4389         Reported by Andries.Brouwer@cwi.nl.
4391 1999-06-24  Ulrich Drepper  <drepper@cygnus.com>
4393         * nscd/connections.c (handle_request): Use correct type for optlen
4394         variable.
4396         * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
4397         * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
4399 1999-06-24  Thorsten Kukuk  <kukuk@suse.de>
4401         * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
4402         * nscd/pwdcache.c: Likewise.
4403         * nscd/hstcache.c: Likewise.
4405 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
4407         * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
4409         * posix/getopt.h: Include stdio.h.
4411         * manual/arith.texi: Document restriction of ndigit parameter of
4412         ecvt and friends.
4413         * misc/efgcvt.c: Define NDIGIT_MAX.
4414         (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
4415         Do not dynamically allocate the static buffers.  They are small enough.
4416         * misc/efgcvt_r.c: Define NDIGIT_MAX.
4417         (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
4418         * misc/qefgcvt.c: Define NDIGIT_MAX.
4419         * misc/qefgcvt_r.c: Likewise.
4420         * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
4422 1999-06-23  Zack Weinberg  <zack@rabi.columbia.edu>
4424         * libio/stdio.h: Define stdin, stdout, stderr as macros.
4425         * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
4426         These are *pragmas* not macros.
4427         * wcsmbs/wchar.h: Fix comment.
4429         * grp/grp.h: Use __foo_t_defined convention to typedef things
4430         only once.
4431         * io/sys/stat.h: Likewise.
4432         * libio/stdio.h: Likewise.
4433         * posix/unistd.h: Likewise.
4434         * posix/sys/types.h: Likewise.
4435         * posix/sys/wait.h: Likewise.
4436         * pwd/pwd.h: Likewise.
4437         * signal/signal.h: Likewise.
4438         * sysdeps/generic/stdint.h: Likewise.
4439         * sysdeps/gnu/utmpx.h: Likewise.
4440         * termios/termios.h: Likewise.
4442 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
4444         * stdio/fputc.c: Don't define alias if fputc is defined as a
4445         macro.
4446         * stdio/putc.c: Define weak alias here since it is not done
4447         anymore in fputc.c.
4449 1999-06-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4451         * assert/assert.h: Don't produce `defined' as part of macro
4452         expansion.
4454 1999-06-23  Roland McGrath  <roland@baalperazim.frob.com>
4456         * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
4457         OFFSET argument of (off_t) -1.
4458         * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
4459         OFFSET argument of (off_t) -1.
4461         * sysdeps/mach/hurd/pwrite.c: New file.
4462         * sysdeps/mach/hurd/pread.c: New file.
4464         * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
4465         pass it in the RPC instead of always -1.
4466         * hurd/fd-write.c (_hurd_fd_write): Likewise.
4467         * hurd/hurd/fd.h: Update decls.
4469 1999-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4471         * libio/wscanf.c: Include <wchar.h> for prototype.
4473 1999-06-22  Ulrich Drepper  <drepper@cygnus.com>
4475         * manual/io.texi. Fix typos.
4476         * manual/stdio.texi: Likewise.
4477         Patches by Brian Youmans <3diff@gnu.org>.
4479 1999-06-22  Geoff Keating  <geoffk@ozemail.com.au>
4481         * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
4482         bits of two words differ.
4484 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4486         * libio/Makefile (routines): Add putwchar and putwchar_u.
4488         * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
4489         * libio/putwchar_u.c: Likewise.  Use _IO_stdout instead of
4490         stdout.  Fix parameter name.
4492         * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
4493         * libio/getchar_u.c: Likewise.
4495         * libio/putchar_u.c: Use _IO_stdout instead of stdout.
4497 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4499         * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
4500         macro expansion---it's undefined.  Properly parenthesize
4501         substituted parameters.
4502         (__GLIBC_PREREQ): Likewise.
4504 1999-06-21  Ulrich Drepper  <drepper@cygnus.com>
4506         * Makeconfig (CPPFLAGS): Revert last change.  It has too many
4507         weird effects.
4509         * stdlib/longlong.h: Provide __P definition if not already
4510         defined.
4512         * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
4514 1999-06-18  Thorsten Kukuk  <kukuk@suse.de>
4516         * sysdeps/alpha/atomicity.h: Correct counting of subsections.
4518 1999-06-17  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4520         * stdlib/tst-strtoll.c: Avoid warning about huge constant.
4522 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4524         * stdio-common/vfprintf.c (group_member): Make parameters and
4525         return types pointers to CHAR_T instead of UCHAR_T.
4526         (vfprintf): Change type of work_buffer, workend and string to
4527         CHAR_T pointer/array.
4528         (process_arg, process_string_arg): Adjust/remove casts.  Add
4529         missing use of L_ macro.
4530         (printf_unknown): Add missing uses of L_ macro.
4532 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4534         * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
4535         warning.
4537 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4539         * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF.  Call
4540         _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
4541         (__wunderflow): Likewise.
4542         (_IO_switch_to_wget_mode): Likewise.
4543         (_IO_init_wmarker): Likewise.
4545         * libio/wfileops.c (_IO_wfile_seekoff): Call
4546         _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
4547         (_IO_wfile_jumps): Fix pbackfail entry.
4549         * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
4550         function if the stream is currently unoriented.
4552 1999-06-19  Zack Weinberg  <zack@rabi.columbia.edu>
4554         * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
4555         Wrap all wide stream functions with #ifdef __USE_ISOC9X.  Use
4556         __gnuc_va_list in v*w(printf|scanf) prototypes.
4558 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4560         * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
4561         1999-03-29 to iopopen also here.
4562         Reported by Richard Braakman <dark@xs4all.nl>.
4564 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4566         * include/features.h: Use __GNUC_PREREQ.
4567         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
4569 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4571         * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
4572         Change EOF to WEOF and remove cast.
4573         (UNGETC): Remove macro.
4574         (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
4575         * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
4576         Change ISASCII to isascii and MBRLEN to mbrlen.
4577         (parse_one_spec): Compare info.spec always against wchar_t
4578         values.
4579         * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
4580         (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
4581         (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
4583 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4585         * libio/Makefile (shared-only-routines): Add oldiofgetpos,
4586         oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
4587         (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
4588         oldiofsetpos64 only if doing versioning.
4590 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
4592         * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
4594 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4596         * libio/libio.h: Fix last patch.
4598 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
4600         * libio/libio.h (_IO_putwc): Correct type of first argument.
4601         * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
4602         putwc_unlocked, putwchar_unlocked): Likewise.
4603         * libio/fputwc.c: Likewise.
4604         * libio/fputwc_unlocked.c: Likewise.
4605         * libio/putwc.c: Likewise.
4606         * libio/putwc_unlocked.c: Likewise.
4607         * libio/putwchar.c: Likewise.
4608         * libio/putwchar_unlocked.c: Likewise.
4610 1999-06-19  Roland McGrath  <roland@baalperazim.frob.com>
4612         * sysdeps/gnu/siglist.h: File moved to ...
4613         * sysdeps/generic/siglist.h: ... here.  This file should be usable for
4614         any platform, since it just associates the SIG* macros with text names
4615         and descriptions. For any signal macros do not exist on every
4616         platform, we can use #ifdef tests here and still use this single
4617         common file for all platforms.
4618         * sysdeps/generic/siglist.c: Rewrite using <siglist.h>.  This file
4619         should be usable for all platforms after the binary compatibility
4620         stuff in the current sysdeps/gnu version is no longer required.
4621         * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
4622         * sysdeps/generic/make_siglist.c: File removed.
4623         * sysdeps/mach/hurd/siglist.h: Use #include_next.
4624         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
4626 1999-06-16  Roland McGrath  <roland@baalperazim.frob.com>
4628         * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
4629         * sysdeps/gnu/siglist.c: ... here.
4630         Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
4631         Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
4632         * sysdeps/gnu/siglist.h: New file, contents from linux version.
4633         Add entry for SIGLOST protected by #ifdef.
4634         * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
4635         and define OLD_SIGLIST_SIZE_STR.
4636         * sysdeps/mach/hurd/siglist.h: New file, likewise.
4638 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
4640         * include/features.h: Define new macros __GNUC_PREREQ and
4641         __GLIBC_PREREQ which can be used to test the version of gcc
4642         and glibc respectively.
4644         * assert/assert.h: Use __GNUC_PREREQ.
4645         * intl/libintl.h: Likewise.
4646         * math/complex.h: Likewise.
4647         * math/tgmath.h: Likewise.
4648         * misc/sys/cdefs.h: Likewise.
4649         * posix/sys/types.h: Likewise.
4650         * socket/sys/socket.h: Likewise.
4651         * string/bits/string2.h: Likewise.
4652         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
4653         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
4655 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
4657         * include/libintl.h: Declare _libc_intl_domainname here.
4658         Define _ and N_ here.
4659         * include/libc-symbols.h: Don't include <libintl.h>.  Don't
4660         define _ and N_.  Don't declare _libc_intl_domainname.
4661         * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
4663         * db2/config.h: Don't include sys/stat.h or define
4664         HAVE_ST_BLKSIZE here...
4665         * db2/compat.h: ...do it here.
4667         * linuxthreads/internals.h: Include bits/libc-tsd.h after all
4668         other headers.
4669         * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
4670         * iconv/iconv.c: Include stddef.h for NULL.
4671         * malloc/malloc.h: Include features.h.
4672         * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
4674         * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
4675         into the generated file.
4676         * sysdeps/gnu/errlist.awk: Likewise.
4677         * sysdeps/gnu/errlist.c: Rebuilt.
4679         * assert/assert-perr.c: Include libintl.h.
4680         * assert/assert.c: Likewise.
4681         * elf/dl-open.c: Likewise.
4682         * elf/dlsym.c: Likewise.
4683         * elf/dlvsym.c: Likewise.
4684         * iconv/iconv_prog.c: Likewise.
4685         * inet/rcmd.c: Likewise.
4686         * inet/ruserpass.c: Likewise.
4687         * locale/programs/charset.c: Likewise.
4688         * locale/programs/ld-collate.c: Likewise.
4689         * locale/programs/ld-ctype.c: Likewise.
4690         * locale/programs/ld-messages.c: Likewise.
4691         * locale/programs/ld-monetary.c: Likewise.
4692         * locale/programs/ld-numeric.c: Likewise.
4693         * locale/programs/ld-time.c: Likewise.
4694         * locale/programs/locfile.c: Likewise.
4695         * locale/programs/repertoire.c: Likewise.
4696         * login/programs/database.c: Likewise.
4697         * login/programs/request.c: Likewise.
4698         * malloc/mcheck.c: Likewise.
4699         * misc/error.c: Likewise.
4700         * nis/nis_call.c: Likewise.
4701         * nis/nis_callback.c: Likewise.
4702         * nis/nis_error.c: Likewise.
4703         * nis/nis_local_names.c: Likewise.
4704         * nis/nis_print.c: Likewise.
4705         * nis/nis_print_group_entry.c: Likewise.
4706         * nis/ypclnt.c: Likewise.
4707         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
4708         * nscd/cache.c: Likewise.
4709         * nscd/connections.c: Likewise.
4710         * nscd/grpcache.c: Likewise.
4711         * nscd/hstcache.c: Likewise.
4712         * nscd/nscd_conf.c: Likewise.
4713         * nscd/nscd_stat.c: Likewise.
4714         * nscd/pwdcache.c: Likewise.
4715         * posix/id.c: Likewise.
4716         * resolv/herror.c: Likewise.
4717         * stdio-common/psignal.c: Likewise.
4718         * string/strsignal.c: Likewise.
4719         * sunrpc/auth_unix.c: Likewise.
4720         * sunrpc/clnt_perr.c: Likewise.
4721         * sunrpc/clnt_raw.c: Likewise.
4722         * sunrpc/clnt_tcp.c: Likewise.
4723         * sunrpc/clnt_udp.c: Likewise.
4724         * sunrpc/clnt_unix.c: Likewise.
4725         * sunrpc/get_myaddr.c: Likewise.
4726         * sunrpc/pm_getmaps.c: Likewise.
4727         * sunrpc/pmap_clnt.c: Likewise.
4728         * sunrpc/pmap_rmt.c: Likewise.
4729         * sunrpc/rpc_main.c: Likewise.
4730         * sunrpc/rpc_scan.c: Likewise.
4731         * sunrpc/svc_run.c: Likewise.
4732         * sunrpc/svc_simple.c: Likewise.
4733         * sunrpc/svc_tcp.c: Likewise.
4734         * sunrpc/svc_udp.c: Likewise.
4735         * sunrpc/svc_unix.c: Likewise.
4736         * sunrpc/xdr_rec.c: Likewise.
4737         * sunrpc/xdr_ref.c: Likewise.
4738         * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
4739         * sysdeps/posix/gai_strerror.c: Likewise.
4740         * sysdeps/unix/siglist.c: Likewise.
4741         * sysdeps/unix/sysv/linux/siglist.c: Likewise.
4742         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
4743         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
4744         * timezone/zic.c: Likewise.
4746 1999-06-18  H.J. Lu  <hjl@gnu.org>
4748         * localedata/Makefile (charmaps): Exclude SCCS.
4749         (locales): Likewise.
4750         (repertoiremaps): Likewise.
4752 1999-06-18  Ulrich Drepper  <drepper@cygnus.com>
4754         * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
4755         * sysdeps/generic/bsd-setjmp.c: Likewise.
4757         * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
4759         * iconv/gconv_open.c: Include string.h for memset prototype.
4761         * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
4762         definitions.
4764         * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
4765         assignment to avoid warning on 64bit platforms.
4767 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
4769         * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
4771         * nss/getXXbyYY_r.c: Return error code not -1.
4772         * nss/getXXent_r.c: Likewise.
4773         * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
4774         small.
4775         * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
4776         value > 0 for error.
4777         * nscd/nscd_gethst_r.c: Likewise.
4778         * nscd/nscd_getpw_r.c: Likewise.
4780 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4782         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
4783         disciplines.
4785 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4787         * nscd/nscd_nischeck.c: Fix typos.
4789 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
4791         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
4792         always when oact is NULL.
4793         Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
4795 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4797         * math/libm-test.c (jn_test): Adjust delta.
4799 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4801         * libio/vwprintf.c: Include <wchar.h> for prototypes.
4802         * libio/wprintf.c: Likewise.
4804 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4806         * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
4807         to not write beyond allocated memory.
4808         Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
4810 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
4812         * malloc/mtrace.c: Keep lock while printing output lines.
4813         Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
4815 1999-06-16  Ulrich Drepper  <drepper@cygnus.com>
4817         * configure.in: Add warnings about broken code.
4819         * Versions.def: Add GLIBC_2.2 for libc.
4821         * iconv/gconv.h: Make header suitable for inclusion in public header
4822         by protecting all names with __.
4823         * iconv/gconv.c: Adapt for symbol name changes.
4824         * iconv/gconv.h: Likewise.
4825         * iconv/gconv_builtin.c: Likewise.
4826         * iconv/gconv_close.c: Likewise.
4827         * iconv/gconv_db.c: Likewise.
4828         * iconv/gconv_dl.c: Likewise.
4829         * iconv/gconv_int.h: Likewise.
4830         * iconv/gconv_open.c: Likewise.
4831         * iconv/gconv_simple.c: Likewise.
4832         * iconv/iconv.c: Likewise.
4833         * iconv/iconv_close.c: Likewise.
4834         * iconv/iconv_open.c: Likewise.
4835         * iconv/loop.c: Likewise.
4836         * iconv/skeleton.c: Likewise.
4837         * iconvdata/8bit-gap.c: Likewise.
4838         * iconvdata/8bit-generic.c: Likewise.
4839         * iconvdata/ansi_x3.110.c: Likewise.
4840         * iconvdata/big5.c: Likewise.
4841         * iconvdata/cns11643.h: Likewise.
4842         * iconvdata/cns11643l1.h: Likewise.
4843         * iconvdata/euc-cn.c: Likewise.
4844         * iconvdata/euc-jp.c: Likewise.
4845         * iconvdata/euc-kr.c: Likewise.
4846         * iconvdata/euc-tw.c: Likewise.
4847         * iconvdata/gb2312.h: Likewise.
4848         * iconvdata/iso-2022-jp.c: Likewise.
4849         * iconvdata/iso-2022-kr.c: Likewise.
4850         * iconvdata/iso646.c: Likewise.
4851         * iconvdata/iso8859-1.c: Likewise.
4852         * iconvdata/iso_6937-2.c: Likewise.
4853         * iconvdata/iso_6937.c: Likewise.
4854         * iconvdata/jis0201.h: Likewise.
4855         * iconvdata/jis0208.h: Likewise.
4856         * iconvdata/jis0212.h: Likewise.
4857         * iconvdata/johab.c: Likewise.
4858         * iconvdata/ksc5601.h: Likewise.
4859         * iconvdata/sjis.c: Likewise.
4860         * iconvdata/t.61.c: Likewise.
4861         * iconvdata/uhc.c: Likewise.
4862         * stdlib/mblen.c: Likewise.
4863         * stdlib/mbtowc.c: Likewise.
4864         * stdlib/wctomb.c: Likewise.
4865         * wcsmbs/btowc.c: Likewise.
4866         * wcsmbs/mbrtowc.c: Likewise.
4867         * wcsmbs/mbsnrtowcs.c: Likewise.
4868         * wcsmbs/mbsrtowcs.c: Likewise.
4869         * wcsmbs/wchar.h: Likewise.
4870         * wcsmbs/wcrtomb.c: Likewise.
4871         * wcsmbs/wcsmbsload.c: Likewise.
4872         * wcsmbs/wcsmbsload.h: Likewise.
4873         * wcsmbs/wcsnrtombs.c: Likewise.
4874         * wcsmbs/wcsrtombs.c: Likewise.
4875         * wcsmbs/wctob.c: Likewise.
4877         * include/limits.h (MB_LEN_MAX): Increase to 16.
4879         * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct.  Define
4880         _G_iconv_t.
4881         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
4882         * include/wchar.h: Change mbstate_t to __mbstate_t.
4884         * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
4885         oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
4886         getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
4887         iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
4888         putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
4889         vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
4890         and iofwide.
4891         (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
4892         * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
4893         _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
4894         fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
4895         fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
4896         getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
4897         putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
4898         vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
4899         GLIBC_2.2 for libc.
4900         * libio/libio.h: Define codecvt struct.  Define _IO_wide_data.
4901         Extend _IO_file contain pointer to codecvt, widedata and mode.
4902         (_IO_getwc_unlocked): New macro.
4903         (_IO_putwc_unlocked): New macro.
4904         (_IO_fwide): New macro.
4905         * libio/libioP.h: Add new prototypes and adjust existing declarations.
4906         * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
4907         buffers based on mode.
4908         (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
4909         oriented.
4910         (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
4911         flag to be enough to signal unallocated buffer.  For wide oriented
4912         stream don't make it linebuffered.  Don't use _IO_do_flush, use
4913         _IO_new_do_write directly.
4914         (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
4915         (_IO_file_seek): Likewise.
4916         * libio/genops.c (_IO_least_marker): Make global.
4917         (__underflow): Orient stream if not already done.
4918         (__uflow): Likewise.
4919         (_IO_default_seekpos): Change to type _IO_off64_t.
4920         (_IO_default_seekoff): Likewise.
4921         (_IO_default_seek): Likewise.
4922         (_IO_no_init): New function.  Similar to _IO_init but allows to orient
4923         in initialization.
4924         * libio/iolibio.h: Add prototype for _IO_vswprintf.  Change _IO_pos_BAD
4925         to use _IO_off64_t.
4926         * libio/ftello.c: Use _IO_off_t.  For now abort when use with wide
4927         char stream.
4928         * libio/ftello64.c: Likewise.
4929         * libio/ioftell.c: Likewise.
4930         * libio/iofopncook.c: Likewise.
4931         * libio/ioseekoff.c: Likewise.
4932         * libio/ioseekpos.c: Likewise.
4933         * libio/oldfileops.c: Likewise.
4934         * libio/iofgetpos.c: Store state of conversion if necessary.
4935         * libio/iofgetpos64.c: Likewise.
4936         * libio/iofsetpos.c: Restore conversion state if necessary.
4937         * libio/iofsetpos64.c: Likewise.
4938         * libio/iofdopen.c: Initialize so that stream can be wide oriented.
4939         * libio/iofopen.c: Likewise.
4940         * libio/iofopen64.c: Likewise.
4941         * libio/iopopen.c: Likewise.
4942         * libio/iovdprintf.c: Likewise.
4943         * libio/iovsprintf.c: Likewise.
4944         * libio/iovsscanf.c: Likewise.
4945         * libio/memstream.c: Likewise.
4946         * libio/obprintf.c: Likewise.
4947         * libio/iofputs.c: Orient stream if not already happened.
4948         * libio/iofputs_u.c: Likewise.
4949         * libio/iofwrite.c: Likewise.
4950         * libio/iofwrite_u.c: Likewise.
4951         * libio/ioputs.c: Likewise.
4952         * libio/iosetbuffer.c: Handle not yet oriented stream.
4953         * libio/iosetvbuf.c: Likewise.
4954         * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
4955         * libio/stdfiles.c: Likewise.
4956         * libio/strops.c (_IO_str_overflow): Correctly free buffer after
4957         failed allocation.
4958         (_IO_str_seekoff): Use _IO_off64_t.
4959         * libio/vasprintf.c: Pre-orient stream.
4960         * libio/vsnprintf.c: Likewise.
4961         * libio/fputwc.c: New file.
4962         * libio/fputwc_u.c: New file.
4963         * libio/fwprintf.c: New file.
4964         * libio/fwscanf.c: New file.
4965         * libio/getwc.c: New file.
4966         * libio/getwc_u.c: New file.
4967         * libio/getwchar.c: New file.
4968         * libio/getwchar_u.c: New file.
4969         * libio/iofgetws.c: New file.
4970         * libio/iofgetws_u.c: New file.
4971         * libio/iofputws.c: New file.
4972         * libio/iofputws_u.c: New file.
4973         * libio/iofwide.c: New file.
4974         * libio/iogetwline.c: New file.
4975         * libio/ioungetwc.c: New file.
4976         * libio/iovswscanf.c: New file.
4977         * libio/iowpadn.c: New file.
4978         * libio/oldiofgetpos.c: New file.
4979         * libio/oldiofgetpos64.c: New file.
4980         * libio/oldiofsetpos.c: New file.
4981         * libio/oldiofsetpos64.c: New file.
4982         * libio/putwc.c: New file.
4983         * libio/putwc_u.c: New file.
4984         * libio/putwchar.c: New file.
4985         * libio/putwchar_u.c: New file.
4986         * libio/swprintf.c: New file.
4987         * libio/swscanf.c: New file.
4988         * libio/tst_swprintf.c: New file.
4989         * libio/tst_swscanf.c: New file.
4990         * libio/tst_wprintf.c: New file.
4991         * libio/tst_wscanf.c: New file.
4992         * libio/tst_wscanf.input: New file.
4993         * libio/vswprintf.c: New file.
4994         * libio/vwprintf.c: New file.
4995         * libio/vwscanf.c: New file.
4996         * libio/wfiledoalloc.c: New file.
4997         * libio/wfileops.c: New file.
4998         * libio/wgenops.c: New file.
4999         * libio/wprintf.c: New file.
5000         * libio/wscanf.c: New file.
5001         * libio/wstrops.c: New file.
5002         * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
5003         vfwprintf, and vfwscanf.
5004         * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
5005         make global.
5006         * stdio-common/_itowa.c: New file.
5007         * stdio-common/_itowa.h: New file.
5008         * stdio-common/itoa-digits.c: Minimal optimization.
5009         * stdio-common/itowa-digits.c: New file.
5010         * stdio-common/printf-parse.h: Allow use in wide character context.
5011         * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
5012         * stdio-common/printf.h (printf_info): Add wide bit.
5013         * stdio-common/printf_fp.c: Determine from wide bit whether stream
5014         is wide oriented or not.
5015         * stdio-common/printf_size.c: Likewise.
5016         * sysdeps/generic/printf_fphex.c: Likewise.
5017         * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
5018         * stdio-common/vfprintf.c: Rewrite to allow use in wide character
5019         context.
5020         * stdio-common/vfscand.c: Likewise.
5021         * stdio-common/vfwprintf.c: New file.
5022         * stdio-common/vfwscanf.c: New file.
5024         * time/Makefile (routines): Add wcsftime.
5025         (tests): Add tst_wcsftime.
5026         * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
5027         * time/strftime.c: Make usable as wcsftime.
5028         * time/wcsftime.c: New file.
5029         * time/tst_wcsftime.c: New file.
5031         * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
5032         * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
5033         * wcsmbs/wcschrnul.c: New file.
5034         * wcsmbs/wmemcpy.c: New file.
5035         * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
5036         * wcsmbs/wmemmove.c: Likewise for wmemmove.
5038         * manual/stdio.texi: Document is_char and wide element if printf_info.
5040         * manual/time.texi: Document wcsftime.
5042         * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
5043         __wmemmove, __wcschrnul, and __vfwscanf.
5045         * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
5046         * locale/C-time.c: Adapt for above change.
5047         * locale/categories.def: Likewise.
5048         * locale/localeinfo.h: Likewise.
5049         * localedata/Makefile: Don't run tests for now.
5051         * manual/errno.texi: Fix typos.
5052         * manual/memory.texi: Likewise.
5053         * manual/ctype.texi: Likewise.
5054         Patches by Brian Youmans <3diff@gnu.org>.
5056 1999-06-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5058         * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
5060 1999-06-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5062         * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
5063         word order.
5064         * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
5065         * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
5067 1999-06-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5069         * db2/db/db.c: Restore __nss_db_open alias.
5070         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
5071         include.
5072         * db2/os/os_rw.c (__os_write): Maintain const correctness.
5073         * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
5075 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
5077         * stdio-common/printf-parse.h (parse_one_spec): Don't set
5078         is_longlong if not necessary.
5080 1999-06-15  H.J. Lu  <hjl@gnu.org>
5082         * Make-dist (sysdep_dirs): Exclude SCCS.
5083         * MakeTAGS (sysdep_dirs): Likewise.
5085 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
5087         * posix/regex.c (re_error_msgid): Remove extra commas.
5089 1999-06-14  Geoff Keating  <geoffk@ozemail.com.au>
5091         * stdlib/tst-strtoll.c: New file.
5092         * stdlib/Makefile (tests): Add tst-strtoll.c
5093         * stdlib/strtol.c: It is not generally true that if
5094         (unsigned)a*(unsigned)b overflows, then the result is
5095         less than 'a'.
5097 1999-06-14  Thorsten Kukuk  <kukuk@suse.de>
5099         * nscd/connections.c (handle_request): Only root is allowed to
5100         send GETSTAT request in non secure mode.
5101         * nscd/nscd.c: Print error message if other then root try to
5102         use getstat.
5104 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5106         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
5108 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5110         * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
5111         Closes PR libc/1164, reported by sascha@schumann.2ns.de.
5113 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5115         * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
5116         for character to search, to help the compiler.
5117         * sysdeps/generic/strchrnul.c: Likewise.
5118         * sysdeps/generic/memchr.c: Likewise.
5119         * sysdeps/generic/memccpy.c: Likewise.
5120         * sysdeps/generic/rawmemchr.c: Likewise.  Fix comment.
5122 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5124         * sysdeps/m68k/memchr.S: New file.
5125         * sysdeps/m68k/rawmemchr.S: New file.
5126         * sysdeps/m68k/strchr.S: New file.
5127         * sysdeps/m68k/strchrnul.S: New file.
5129 1999-06-13  Geoff Keating  <geoffk@ozemail.com.au>
5131         * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
5132         add `memory' clobber; optimise for constant `val'.
5133         (atomic_add): Likewise.
5134         (test_and_set): Remove `volatile'; add `memory' clobber; be more
5135         like the original `test_and_set'.
5136         (compare_and_swap): Remove `volatile'; add `memory' clobber;
5137         optimise for constant `oldval'.
5138         (always_swap): Remove `volatile'; add `memory' clobber.
5140 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5142         * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
5143         functions for gcc <= 2.7.x.
5145 1999-06-13  Roland McGrath  <roland@baalperazim.frob.com>
5147         * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
5148         change.
5150 1999-06-13  Ulrich Drepper  <drepper@cygnus.com>
5152         * db2/Makefile (distribute): Remove files which do not exist
5153         anymore.
5155         * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
5156         definitions to calm down gcc.
5158         * db2/db.h: Update from db 2.7.5.
5159         * db2/db_185.h: Likewise.
5160         * db2/db_int.h: Likewise.
5161         * db2/btree/bt_compare.c: Likewise.
5162         * db2/btree/bt_conv.c: Likewise.
5163         * db2/btree/bt_curadj.c: Likewise.
5164         * db2/btree/bt_cursor.c: Likewise.
5165         * db2/btree/bt_delete.c: Likewise.
5166         * db2/btree/bt_open.c: Likewise.
5167         * db2/btree/bt_page.c: Likewise.
5168         * db2/btree/bt_put.c: Likewise.
5169         * db2/btree/bt_rec.c: Likewise.
5170         * db2/btree/bt_recno.c: Likewise.
5171         * db2/btree/bt_rsearch.c: Likewise.
5172         * db2/btree/bt_search.c: Likewise.
5173         * db2/btree/bt_split.c: Likewise.
5174         * db2/btree/bt_stat.c: Likewise.
5175         * db2/btree/btree_auto.c: Likewise.
5176         * db2/common/db_appinit.c: Likewise.
5177         * db2/common/db_apprec.c: Likewise.
5178         * db2/common/db_err.c: Likewise.
5179         * db2/common/db_region.c: Likewise.
5180         * db2/common/db_salloc.c: Likewise.
5181         * db2/db/db.c: Likewise.
5182         * db2/db/db.src: Likewise.
5183         * db2/db/db_am.c: Likewise.
5184         * db2/db/db_auto.c: Likewise.
5185         * db2/db/db_dispatch.c: Likewise.
5186         * db2/db/db_dup.c: Likewise.
5187         * db2/db/db_iface.c: Likewise.
5188         * db2/db/db_join.c: Likewise.
5189         * db2/db/db_overflow.c: Likewise.
5190         * db2/db/db_pr.c: Likewise.
5191         * db2/db/db_rec.c: Likewise.
5192         * db2/db/db_ret.c: Likewise.
5193         * db2/db185/db185.c: Likewise.
5194         * db2/dbm/dbm.c: Likewise.
5195         * db2/hash/hash.c: Likewise.
5196         * db2/hash/hash_auto.c: Likewise.
5197         * db2/hash/hash_dup.c: Likewise.
5198         * db2/hash/hash_page.c: Likewise.
5199         * db2/hash/hash_rec.c: Likewise.
5200         * db2/hash/hash_stat.c: Likewise.
5201         * db2/include/btree.h: Likewise.
5202         * db2/include/btree_ext.h: Likewise.
5203         * db2/include/clib_ext.h: Likewise.
5204         * db2/include/common_ext.h: Likewise.
5205         * db2/include/db_am.h: Likewise.
5206         * db2/include/db_auto.h: Likewise.
5207         * db2/include/db_cxx.h: Likewise.
5208         * db2/include/db_ext.h: Likewise.
5209         * db2/include/db_join.h: Likewise.
5210         * db2/include/db_page.h: Likewise.
5211         * db2/include/hash.h: Likewise.
5212         * db2/include/hash_ext.h: Likewise.
5213         * db2/include/lock.h: Likewise.
5214         * db2/include/lock_ext.h: Likewise.
5215         * db2/include/log.h: Likewise.
5216         * db2/include/log_ext.h: Likewise.
5217         * db2/include/mp.h: Likewise.
5218         * db2/include/mp_ext.h: Likewise.
5219         * db2/include/os.h: Likewise.
5220         * db2/include/os_ext.h: Likewise.
5221         * db2/include/os_func.h: Likewise.
5222         * db2/include/txn.h: Likewise.
5223         * db2/include/txn_auto.h: Likewise.
5224         * db2/include/txn_ext.h: Likewise.
5225         * db2/include/xa.h: Likewise.
5226         * db2/include/xa_ext.h: Likewise.
5227         * db2/lock/lock.c: Likewise.
5228         * db2/lock/lock_conflict.c: Likewise.
5229         * db2/lock/lock_deadlock.c: Likewise.
5230         * db2/lock/lock_region.c: Likewise.
5231         * db2/lock/lock_util.c: Likewise.
5232         * db2/log/log.c: Likewise.
5233         * db2/log/log_archive.c: Likewise.
5234         * db2/log/log_auto.c: Likewise.
5235         * db2/log/log_findckp.c: Likewise.
5236         * db2/log/log_get.c: Likewise.
5237         * db2/log/log_put.c: Likewise.
5238         * db2/log/log_rec.c: Likewise.
5239         * db2/log/log_register.c: Likewise.
5240         * db2/mp/mp_bh.c: Likewise.
5241         * db2/mp/mp_fget.c: Likewise.
5242         * db2/mp/mp_fopen.c: Likewise.
5243         * db2/mp/mp_fput.c: Likewise.
5244         * db2/mp/mp_fset.c: Likewise.
5245         * db2/mp/mp_open.c: Likewise.
5246         * db2/mp/mp_pr.c: Likewise.
5247         * db2/mp/mp_region.c: Likewise.
5248         * db2/mp/mp_sync.c: Likewise.
5249         * db2/mutex/mutex.c: Likewise.
5250         * db2/mutex/uts4_cc.s: Likewise.
5251         * db2/os/os_abs.c: Likewise.
5252         * db2/os/os_alloc.c: Likewise.
5253         * db2/os/os_config.c: Likewise.
5254         * db2/os/os_dir.c: Likewise.
5255         * db2/os/os_fid.c: Likewise.
5256         * db2/os/os_fsync.c: Likewise.
5257         * db2/os/os_map.c: Likewise.
5258         * db2/os/os_oflags.c: Likewise.
5259         * db2/os/os_open.c: Likewise.
5260         * db2/os/os_rw.c: Likewise.
5261         * db2/os/os_seek.c: Likewise.
5262         * db2/os/os_sleep.c: Likewise.
5263         * db2/os/os_spin.c: Likewise.
5264         * db2/os/os_stat.c: Likewise.
5265         * db2/os/os_tmpdir.c: Likewise.
5266         * db2/os/os_unlink.c: Likewise.
5267         * db2/progs/db_archive/db_archive.c: Likewise.
5268         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
5269         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
5270         * db2/progs/db_dump/db_dump.c: Likewise.
5271         * db2/progs/db_load/db_load.c: Likewise.
5272         * db2/progs/db_printlog/README: Likewise.
5273         * db2/progs/db_printlog/commit.awk: Likewise.
5274         * db2/progs/db_printlog/count.awk: Likewise.
5275         * db2/progs/db_printlog/db_printlog.c: Likewise.
5276         * db2/progs/db_printlog/pgno.awk: Likewise.
5277         * db2/progs/db_printlog/range.awk: Likewise.
5278         * db2/progs/db_printlog/status.awk: Likewise.
5279         * db2/progs/db_printlog/txn.awk: Likewise.
5280         * db2/progs/db_recover/db_recover.c: Likewise.
5281         * db2/progs/db_stat/db_stat.c: Likewise.
5282         * db2/txn/txn.c: Likewise.
5283         * db2/txn/txn.src: Likewise.
5284         * db2/txn/txn_auto.c: Likewise.
5285         * db2/txn/txn_rec.c: Likewise.
5286         * db2/xa/xa.c: Likewise.
5287         * db2/xa/xa_db.c: Likewise.
5288         * db2/xa/xa_map.c: Likewise.
5290         * db2/btree/bt_close.c: Removed.
5291         * db2/db/db_thread.c: Likewise.
5292         * db2/hash/hash_debug.c: Likewise.
5293         * db2/include/db.h.src: Likewise.
5294         * db2/include/db_int.h.src: Likewise.
5295         * db2/include/os_jump.h: Likewise.
5296         * db2/mutex/alpha.dec: Likewise.
5297         * db2/mutex/alpha.gcc: Likewise.
5298         * db2/mutex/parisc.hp: Likewise.
5299         * db2/mutex/uts4.cc.s: Likewise.
5301         * db2/Makefile: Add new routines, remove old for 2.7.5.
5302         * db2/Versions: Add internal function names for the helper programs.
5303         * db2/makedb.c: Update for new cursor callback.
5304         * Versions.def: Define versions for libdb.
5306 1999-06-13  Thorsten Kukuk  <kukuk@suse.de>
5308         * nscd/connections.c (nscd_run): Get user ID for all non-db services.
5309         * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
5310         * nscd/nscd_nischeck.c: New file.
5311         * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
5313 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5315         * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
5316         MSG_* flags from Linux 2.2.9.
5318 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
5320         * Makeconfig (static-start-installed-name): Set to
5321         $(start-installed-name) if not defined.
5322         (+link-static): Use $(static-start-installed-name) instead of
5323         $(start-installed-name).
5324         * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
5325         Set to crt0.o.
5327 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
5329         * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
5330         inserting a send right into the child instead of unconditionally
5331         copying the send right.
5333 1999-06-12  Ulrich Drepper  <drepper@cygnus.com>
5335         * locale/lc-time.c: Add free_mem function to free if necessary
5336         statically allocated memory.
5338 1999-06-10  Jakub Jelinek  <jj@ultra.linux.cz>
5340         * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
5341         bias from the raw exponent.
5343 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
5345         * inet/arpa/tftp.h: Move attribute declaration in right position.
5347 1999-06-11  Thorsten Kukuk  <kukuk@suse.de>
5349         * nscd/nscd.c: Add -S options for separate caching of data for
5350         every user. So one user couldn't see the data another user
5351         has gotten with his credentials.
5352         * nscd/nscd.h: Add new prototypes.
5353         * nscd/cache.c: Compare owner of cache entry if in secure mode.
5354         * nscd/connections.c: Check on shutdown if caller really was root.
5355         In secure mode get uid of caller.
5356         * nscd/grpcache.c: Add support for new secure group mode.
5357         * nscd/hstcache.c: Add support for new secure hosts mode.
5358         * nscd/pwdcache.c: Add support for new secure passwd mode.
5360 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
5362         * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
5363         of user-provided buffer.
5365 1999-06-11  Mark Kettenis  <kettenis@gnu.org>
5367         * hurd/hurdsock.c (max_domain): Initialize to `-1'.
5368         (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
5370 1999-06-10  Ulrich Drepper  <drepper@cygnus.com>
5372         * stdio-common/printf-parse.h (parse_one_spec): Add support for a
5373         and A format.
5375         * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
5376         returning after last entry.
5377         * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
5379 1999-06-09  Ulrich Drepper  <drepper@cygnus.com>
5381         * misc/sysexits.h: Remove advertising clause of copyright.
5382         * resolv/getnetnamadr.c: Likewise.
5383         * sysdeps/vax/bcopy.s: Likewise.
5384         * sysdeps/vax/bzero.s: Likewise.
5385         * sysdeps/vax/ffs.s: Likewise.
5386         * sysdeps/vax/memchr.s: Likewise.
5387         * sysdeps/vax/memcmp.s: Likewise.
5388         * sysdeps/vax/memmove.s: Likewise.
5389         * sysdeps/vax/memset.s: Likewise.
5390         * sysdeps/vax/strcat.s: Likewise.
5391         * sysdeps/vax/strchr.s: Likewise.
5392         * sysdeps/vax/strcmp.s: Likewise.
5393         * sysdeps/vax/strcpy.s: Likewise.
5394         * sysdeps/vax/strcspn.s: Likewise.
5395         * sysdeps/vax/strlen.s: Likewise.
5396         * sysdeps/vax/strncat.s: Likewise.
5397         * sysdeps/vax/strncmp.s: Likewise.
5398         * sysdeps/vax/strncpy.s: Likewise.
5399         * sysdeps/vax/strpbrk.s: Likewise.
5400         * sysdeps/vax/strrchr.s: Likewise.
5401         * sysdeps/vax/strsep.s: Likewise.
5402         * sysdeps/vax/strspn.s: Likewise.
5403         * sysdeps/vax/strstr.s: Likewise.
5405         * libio/iofopncook.c: Adjust for renaming of structure elements.
5406         * libio/libio.h: Define cookie functions with all the names.
5408         * pwd/fgetpwent_r.c: Set errno in the correct way.
5409         * shadow/fgetspent_r.c: Likewise.
5410         * pwd/fgetpwent.c: Handle long lines correctly.  Little
5411         optimizations.  Free static buffer when debugging memory handling.
5412         * shadow/fgetspent.c: Likewise.
5414         * grp/fgetgrent.c: Little optimization in loop.
5416 1999-06-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5418         * grp/tst_fgetgrent.c (write_group): Fix generation of long line
5419         in a different way.
5421 1999-06-09  Jakub Jelinek   <jj@ultra.linux.cz>
5423         * stdlib/longlong.h: gas changed sethi handling when without
5424         %hi(). Fix assembly.
5425         * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
5426         port specific cache id checks.
5427         * sysdeps/generic/dl-cache.h: New file.
5428         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
5430 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
5432         * gmon/gmon.c: Remove advertising clause of copyright.
5433         * gmon/mcount.c: Likewise.
5434         * gmon/sys/gmon.h: Likewise.
5435         * inet/arpa/ftp.h: Likewise.
5436         * inet/arpa/telnet.h: Likewise.
5437         * inet/arpa/tftp.h: Likewise.
5438         * inet/inet_lnaof.c: Likewise.
5439         * inet/inet_mkadr.c: Likewise.
5440         * inet/inet_net.c: Likewise.
5441         * inet/inet_netof.c: Likewise.
5442         * inet/protocols/routed.h: Likewise.
5443         * inet/protocols/rwhod.h: Likewise.
5444         * inet/protocols/talkd.h: Likewise.
5445         * inet/protocols/timed.h: Likewise.
5446         * inet/rcmd.c: Likewise.
5447         * inet/rexec.c: Likewise.
5448         * inet/ruserpass.c: Likewise.
5449         * io/fts.c: Likewise.
5450         * io/fts.h: Likewise.
5451         * login/login_tty.c: Likewise.
5452         * misc/fstab.h: Likewise.
5453         * misc/getttyent.c: Likewise.
5454         * misc/getusershell.c: Likewise.
5455         * misc/sys/queue.h: Likewise.
5456         * misc/sys/syslog.h: Likewise.
5457         * misc/syslog.c: Likewise.
5458         * misc/ttyent.h: Likewise.
5459         * misc/ttyslot.c: Likewise.
5460         * resolv/arpa/nameser.h: Likewise.
5461         * resolv/gethnamaddr.c: Likewise.
5462         * resolv/herror.c: Likewise.
5463         * resolv/inet_addr.c: Likewise.
5464         * resolv/mapv4v6addr.h: Likewise.
5465         * resolv/mapv4v6hostent.h: Likewise.
5466         * resolv/nss_dns/dns-host.c: Likewise.
5467         * resolv/nss_dns/dns-network.c: Likewise.
5468         * resolv/res_comp.c: Likewise.
5469         * resolv/res_data.c: Likewise.
5470         * resolv/res_debug.c: Likewise.
5471         * resolv/res_init.c: Likewise.
5472         * resolv/res_mkquery.c: Likewise.
5473         * resolv/res_query.c: Likewise.
5474         * resolv/res_send.c: Likewise.
5475         * resolv/resolv.h: Likewise.
5476         * sysdeps/generic/div.c: Likewise.
5477         * sysdeps/generic/netinet/ip.h: Likewise.
5478         * sysdeps/generic/netinet/tcp.h: Likewise.
5479         * sysdeps/generic/paths.h: Likewise.
5480         * sysdeps/generic/prof-freq.c: Likewise.
5481         * sysdeps/generic/sys/ttydefaults.h: Likewise.
5482         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5483         * sysdeps/gnu/netinet/tcp.h: Likewise.
5484         * sysdeps/ieee754/support.c: Likewise.
5485         * sysdeps/mach/hurd/sys/param.h: Likewise.
5486         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
5487         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5488         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
5489         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5490         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
5491         * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
5492         * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
5493         * sysdeps/unix/sysv/linux/paths.h: Likewise.
5494         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
5495         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
5496         * sysdeps/vax/DEFS.h: Likewise.
5497         * termios/sys/ttychars.h: Likewise.
5498         * misc/daemon.c: Likewise.  Call fork.
5500         * grp/fgetgrent.c (buffer): Make file local variable.
5501         (free_mem): New function.  Call for malloc debugging.
5503         * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
5505 1999-06-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5507         * grp/Makefile: Add rules for tst_fgetgrent.
5509         * grp/tst_fgetgrent.c: Rewritten to read only one file.
5511         * grp/tst_fgetgrent.sh: New file.
5513 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
5515         * grp/Makefile (tests): Add tst_fgetgrent.
5516         * grp/tst_fgetgrent.c: New file.
5517         Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
5519 1999-06-07  Roland McGrath  <roland@baalperazim.frob.com>
5521         * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
5522         be POSIX compliant.  Prior definition was broken for Hurd.
5523         Reported by Mark Kettenis <kettenis@gnu.org>.
5525 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
5527         * ctype/ctype.h: Protect __tobody code by __extension__.
5529 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
5531         * grp/fgetgrent.c (fgetgrent): Remember position of stream before
5532         reading and reset in case the buffer was too small.
5534         * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
5535         of EOF.
5537 1999-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5539         * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
5540         another SIOGIFNAME typo.
5542 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
5544         * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
5546         * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
5547         bit.
5549 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5551         * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
5552         the precision if the mantissa is zero.
5554 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5556         * manual/lang.texi (Floating Point Parameters): GCC already
5557         supports long double for a long time.
5559 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5561         * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
5562         yn_test): Increase some epsilons.
5564 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
5566         * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
5567         parameters.
5569 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
5571         * sysdeps/unix/sysv/linux/kernel-features.h: Define
5572         __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
5573         * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
5574         SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
5576         * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
5577         * sysdeps/libm-ieee754/w_j0f.c: Likewise.
5578         * sysdeps/libm-ieee754/w_j0l.c: Likewise.
5579         * sysdeps/libm-ieee754/w_j1.c: Likewise.
5580         * sysdeps/libm-ieee754/w_j1f.c: Likewise.
5581         * sysdeps/libm-ieee754/w_j1l.c: Likewise.
5582         * sysdeps/libm-ieee754/w_jn.c: Likewise.
5583         * sysdeps/libm-ieee754/w_jnf.c: Likewise.
5584         * sysdeps/libm-ieee754/w_jnl.c: Likewise.
5586         * stdio-common/vfprintf.c: Correct typos.
5588         * math/libm-test.c (jn_test): Adjust delta.
5589         (y1_test): Likewise.
5590         (yn_test): Likewise.
5592         * elf/do-lookup.h: It should never happen that if we expect a versioned
5593         symbol from a file the file has no version table.  This should have
5594         been checked in dl-version.c.
5595         * elf/dl-lookup.c: Include assert.h.
5597         * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
5598         function handling.
5600         * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
5602 1999-06-06  Andi Kleen  <ak@muc.de>
5604         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
5605         SA_RESTORER flag.
5607 1999-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5609         * math/libm-test.c (yn_test): Change one delta.
5610         (jn_test): Likewise.
5611         (j1_test): Likewise.
5612         (y0_test): Likewise.
5614 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
5616         * malloc/malloc.c: Introduce local variable __libc_getpagesize to
5617         avoid multiple calls to getpagesize() which might be a syscall.
5619 1999-06-06  Philip Blundell  <philb@gnu.org>
5621         * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
5623 1999-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5625         * manual/install.texi (Running make install): Correct typo in
5626         dynamic linker invocation.
5628 1999-06-05  Philip Blundell  <philb@gnu.org>
5630         * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
5631         problems with GOT addressing.
5633 1999-06-05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
5635         * malloc/malloc.c (check_action): Change into bitmap so that both
5636         diagnostic and abort can be requested by setting it to 3.
5637         (mALLOC_SET_STATe): Disable malloc checking if necessary.
5639 1999-06-03  Ulrich Drepper  <drepper@cygnus.com>
5641         * configure.in: Few changes for HPUX.
5643         * scripts/config.guess: Update from latest version.
5644         * scripts/config.sub: Likewise.
5646 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5648         * Makerules: Set LC_ALL explicitly to archieve correct sorting of
5649         map files.  Closes PR libc/1147.
5651 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5653         * math/libm-test.c (main): Add new test functions.
5654         (jn_test): New tests.
5655         (j1_test): Add some more tests.
5656         (j0_test): Add some more tests.
5657         (y0_test): Add some more tests.
5658         (y1_test): Add some more tests.
5660 1999-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5662         * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
5663         Patch by mhagger@dera.gov.uk [PR libc/1145].
5665         * math/libm-test.c (y1_test): New tests.
5666         (y0_test): Likewise.
5667         (j1_test): Likewise.
5668         (j0_test): Likewise.
5669         (main): Added new tests.
5671 1999-06-02  Jakub Jelinek  <jj@ultra.linux.cz>
5673         * stdlib/longlong.h: Define UDIV_TIME on sparc64.
5674         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
5675         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
5676         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
5677         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
5678         * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
5680 1999-06-02  David S. Miller  <davem@redhat.com>
5682         * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
5683         pointers properly.
5685 1999-06-02  Ulrich Drepper  <drepper@cygnus.com>
5687         * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
5688         and elide compatibility code if possible.
5690 1999-06-01  Ulrich Drepper  <drepper@cygnus.com>
5692         * manual/llio.texi: Remove menu entry for removed section.
5694 1999-05-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5696         * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
5697         variables.
5699 1999-06-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5701         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
5702         (from Linux 2.3.4).
5704 1999-05-30  Ulrich Drepper  <drepper@cygnus.com>
5706         * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
5708 1999-05-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5710         * manual/stdio.texi: Fix some typos.
5712 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5714         * malloc/malloc.h: Properly handle future GCC versions.
5716 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5718         * sysdeps/unix/sysv/linux/configure.in: Change version checks to
5719         use AC_EGREP_CPP.  Change sed pattern to not use alternation.  Fix
5720         text of error message.
5722         * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
5724 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
5726         * manual/filesys.texi: Extend (f)truncate documentation.
5727         * manual/llio.texi: Remove duplicate (f)truncate definition.
5729 1999-05-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5731         * manual/stdio.texi (Formatted Output Functions): Mention
5732         semantics of snprintf in glibc 2.0.
5733         Reported by Ben Pfaff <pfaffben@msu.edu>.
5735 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
5737         * include/features.h (__GLIBC_MINOR__): Bump to 2.
5739 1999-05-27  Ulrich Drepper  <drepper@cygnus.com>
5741         * math/libm-test.c: Adjust a few more deltas for the poor ARM
5742         FPU emulator.
5744 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5746         * configure.in: Fix typo.
5748 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5750         * manual/socket.texi (Host Names): Remove statement that h_errno
5751         needs to be declared since this isn't true anymore.
5752         Closes PR libc/1138.
5754 1999-05-26  Ulrich Drepper  <drepper@cygnus.com>
5756         * config.h.in: Add __LINUX_KERNEL_VERSION.
5757         * configure.in: Recognize --enable-kernel.
5758         * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
5759         headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
5760         appropriately.
5761         * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
5762         given perform runtime test.
5764         * sysdeps/unix/sysv/linux/kernel-features.h: New file.
5765         * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
5766         minimal supported kernel is known to have the feature.
5767         * sysdeps/unix/sysv/linux/poll.c: Likewise.
5768         * sysdeps/unix/sysv/linux/pread.c: Likewise.
5769         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5770         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5771         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5772         * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
5773         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5774         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5775         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5776         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5777         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5778         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
5779         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
5780         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
5781         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
5783         * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
5785 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
5787         * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
5789 1999-05-26  Jakub Jelinek   <jj@ultra.linux.cz>
5791         * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
5792         Optimized sparc64 routines.
5794 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
5796         * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
5797         they are the same as ints.
5798         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
5800         * version.h (VERSION): Bump to 2.1.90.
5801         (RELEASE): Mark as development.
5803         * stdio-common/vfprintf.c (vfprintf): Don't implement special
5804         handling for long long if it is the same as long.
5805         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
5807         * stdlib/strtol.c: Moved to ...
5808         * sysdeps/generic/strtol.c: ...here.
5809         * stdlib/strtoul.c: Moved to ...
5810         * sysdeps/generic/strtoul.c: ...here.
5811         * stdlib/strtoll.c: Moved to ...
5812         * sysdeps/generic/strtoll.c: ...here.
5813         * stdlib/strtoull.c: Moved to ...
5814         * sysdeps/generic/strtoull.c: ...here.
5815         * stdlib/strtol_l.c: Moved to ...
5816         * sysdeps/generic/strtol_l.c: ...here.
5817         * stdlib/strtoul_l.c: Moved to ...
5818         * sysdeps/generic/strtoul_l.c: ...here.
5819         * stdlib/strtoll_l.c: Moved to ...
5820         * sysdeps/generic/strtoll_l.c: ...here.
5821         * stdlib/strtoull_l.c: Moved to ...
5822         * sysdeps/generic/strtoull_l.c: ...here.
5824         * sysdeps/wordsize-64/strtol.c: New file.
5825         * sysdeps/wordsize-64/strtoul.c: New file.
5826         * sysdeps/wordsize-64/strtoll.c: New file.
5827         * sysdeps/wordsize-64/strtoull.c: New file.
5828         * sysdeps/wordsize-64/strtol_l.c: New file.
5829         * sysdeps/wordsize-64/strtoul_l.c: New file.
5830         * sysdeps/wordsize-64/strtoll_l.c: New file.
5831         * sysdeps/wordsize-64/strtoull_l.c: New file.
5833         * wcsmbs/wcstol.c: Moved to ...
5834         * sysdeps/generic/wcstol.c: ...here.
5835         * wcsmbs/wcstoul.c: Moved to ...
5836         * sysdeps/generic/wcstoul.c: ...here.
5837         * wcsmbs/wcstoll.c: Moved to ...
5838         * sysdeps/generic/wcstoll.c: ...here.
5839         * wcsmbs/wcstoull.c: Moved to ...
5840         * sysdeps/generic/wcstoull.c: ...here.
5841         * wcsmbs/wcstol_l.c: Moved to ...
5842         * sysdeps/generic/wcstol_l.c: ...here.
5843         * wcsmbs/wcstoul_l.c: Moved to ...
5844         * sysdeps/generic/wcstoul_l.c: ...here.
5845         * wcsmbs/wcstoll_l.c: Moved to ...
5846         * sysdeps/generic/wcstoll_l.c: ...here.
5847         * wcsmbs/wcstoull_l.c: Moved to ...
5848         * sysdeps/generic/wcstoull_l.c: ...here.
5850         * sysdeps/wordsize-64/wcstol.c: New file.
5851         * sysdeps/wordsize-64/wcstoul.c: New file.
5852         * sysdeps/wordsize-64/wcstoll.c: New file.
5853         * sysdeps/wordsize-64/wcstoull.c: New file.
5854         * sysdeps/wordsize-64/wcstol_l.c: New file.
5855         * sysdeps/wordsize-64/wcstoul_l.c: New file.
5856         * sysdeps/wordsize-64/wcstoll_l.c: New file.
5857         * sysdeps/wordsize-64/wcstoull_l.c: New file.
5859 1999-05-24  Jakub Jelinek  <jj@ultra.linux.cz>
5861         * sysdeps/sparc/bits/wordsize.h: New file.
5862         * sysdeps/sparc/fpu/bits/fenv.h: New file.
5863         * sysdeps/sparc/fpu/fpu_control.h: New file.
5864         * sysdeps/sparc/gmp-mparam.h: New file.
5866         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
5867         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
5868         * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
5869         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
5870         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
5871         * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
5873         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
5874         * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
5875         * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
5876         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
5878         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
5879         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
5880         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
5881         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
5882         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
5884 1999-05-24  Ulrich Drepper  <drepper@cygnus.com>
5886         * login/openpty.c (openpty): Make sure pty does not because
5887         controlling TTY.
5889         * ctype/ctype.h: Don't optimize toupper/tolower for C++.
5891 1999-05-23  Roland McGrath  <roland@baalperazim.frob.com>
5893         * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
5894         Do proper error return.
5896 1999-05-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5898         * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
5899         of __P in the rest of glibc; define __MALLOC_PMT and use it.
5900         Reported by Stephan Kulow <coolo@kde.org>.
5902 1999-05-23  Ulrich Drepper  <drepper@cygnus.com>
5904         * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
5906         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
5908 1999-05-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5910         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
5911         names to protect from user's macro namespace.
5912         * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
5913         * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
5914         * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
5915         * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
5916         * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
5917         Adapted.
5918         * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
5919         sysdeps/arm/fpu/fesetenv.c: Likewise.
5920         * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
5921         sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
5922         sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
5923         * sysdeps/mips/fesetenv.c: Likewise.
5925 1999-05-22  Roland McGrath  <roland@baalperazim.frob.com>
5927         * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
5929 1999-05-20  Ulrich Drepper  <drepper@cygnus.com>
5931         * configure.in: Recognize and allow gcc 2.95.
5933 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
5935         * sysdeps/generic/bits/elfclass.h: Version common to
5936         wordsize-32 and wordsize-64.
5937         * sysdeps/generic/bits/environments.h: Ditto.
5938         * sysdeps/generic/stdint.h: Ditto.
5939         * sysdeps/generic/inttypes.h: Ditto.
5941         * sysdeps/generic/bits/wordsize.h: New file.
5942         * stdlib/Makefile: Add bits/wordsize.h to headers.
5944         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
5946         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
5947         headers to be used for 32bit and 64bit ABI compilations.
5948         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
5949         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
5950         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
5951         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
5952         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
5954         * sysdeps/wordsize-64/bits/elfclass.h: Remove.
5955         * sysdeps/wordsize-64/bits/environments.h: Remove.
5956         * sysdeps/wordsize-64/stdint.h: Remove.
5957         * sysdeps/wordsize-64/inttypes.h: Remove.
5958         * sysdeps/wordsize-64/bits/wordsize.h: New file.
5960         * sysdeps/wordsize-32/bits/elfclass.h: Remove.
5961         * sysdeps/wordsize-32/bits/environments.h: Remove.
5962         * sysdeps/wordsize-32/stdint.h: Remove.
5963         * sysdeps/wordsize-32/inttypes.h: Remove.
5964         * sysdeps/wordsize-32/bits/wordsize.h: New file.
5966 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
5968         * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
5969         __align_cpy_16): New functions.
5970         (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
5972         * sysdeps/sparc/sparc32/Versions: New file.
5973         * sysdeps/sparc/sparc64/Versions: New file.
5974         * sysdeps/sparc/Versions: Remove.
5976 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
5978         * sysdeps/unix/sysv/linux/configure.in:
5979         On sparc64-*-linux*, set slibdir to /lib64 if prefix
5980         is /usr, plus set libdir to ${exec_prefix}/lib64.
5981         * sysdeps/unix/sysv/linux/configure: Regenerated.
5982         * config.make.in: Propagate libdir settings from configure
5983         to the Makefiles.
5984         * shlib-versions: sparc64-*-linux* dynamic linker is
5985         /lib64/ld-linux.so.2.
5987 1999-05-18  Thorsten Kukuk  <kukuk@suse.de>
5989         * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
5990         RPC connection.
5992 1999-05-18  Jakub Jelinek  <jj@ultra.linux.cz>
5994         * sysdeps/sparc/sparc64/rawmemchr.S: New file.
5995         * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
5997         * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
5998         contains garbage in bits 8-63.
5999         * sysdeps/sparc/sparc64/memset.S: Ditto.
6000         * sysdeps/sparc/sparc64/strchr.S: Ditto.
6002 1999-05-18  Ulrich Drepper  <drepper@cygnus.com>
6004         * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
6006 1999-05-17  David S. Miller  <davem@redhat.com>
6008         * sysdeps/sparc/sparc32/atomicity.h: New file.
6009         * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
6010         * sysdeps/sparc/sparc64/atomicity.h: New file.
6011         * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
6012         sysdep-CFLAGS.
6014 1999-05-18  Richard Henderson  <rth@twiddle.net>
6016         * sysdeps/alpha/memchr.S: Zap high byte of length.  Reschedule.
6018 1999-05-04  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6020         * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
6021         posix/sys/types.h: Handle the case of __GNUC__=3,
6022         __GNUC_MINOR__=(anything).
6024 1999-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6026         * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
6027         if _FORCE_INLINES.
6029 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
6031         * elf/Makefile (distribute): Remove dl-origin.h.
6032         Add dl-dst.h and gen-trusted-dirs.awk.
6034 1999-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6036         * sysdeps/i386/i486/Versions: New file with inline functions from
6037         sysdeps/i386/i486/bits/string.h for now.
6039         * sysdeps/i386/Versions: Add inline functions from
6040         sysdeps/i386/bits/string.h.
6042         * string/Versions: Add inline functions from <bits/string2.h>.
6044         * string/Makefile (routines): Add string-inlines.
6045         * string/string-inlines.c: New file, used for implementation of
6046         extern inline functions.
6048         * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
6049         non inlined versions of functions.
6050         * string/bits/string2.h: Likewise.
6051         * sysdeps/i386/bits/string.h: Likewise.
6053 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
6055         * inet/arpa/tftp.h: Add second packed attribute.
6057 1999-05-16  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
6059         * malloc/malloc.c: Cleanup to bring in line with released
6060         stand-alone version `ptmalloc'.  Update some comments.
6061         (internal_function): Move fallback definition so that the source
6062         compiles outside of libc, and use it in more places.
6063         (malloc_atfork): Fix when malloc_check is in use.
6065 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6067         * stdlib/tst-strtod.c: Fix typo.
6069 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6071         * elf/dl-close.c (_dl_close): Add cast to avoid warning about
6072         const incorrectness.
6074 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
6076         * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
6078 1999-05-16  Thorsten Kukuk  <kukuk@suse.de>
6080         * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
6081         * sunrpc/key_call.c: Fix memory leak, close file handle.
6082         * nis/nis_creategroup.c: Use malloc instead of calloc,
6083         set ctime and mtime.
6084         * nis/nis_subr.c: Check for realloc result.
6085         * nis/nis_file.c: Fix memory leak.
6086         * nis/nis_table.c: Pretty print.
6087         * nis/nis_getservlist.c: Likewise.
6088         * nis/nis_ismember.c: Likewise.
6089         * nis/nis_lookup.c: Likewise.
6090         * nis/nis_ping.c: Likewise.
6091         * nis/nis_removemember.c: Likewise.
6092         * nis/nis_util.c: Likewise, check calloc result.
6094 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
6096         * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
6097         * sysdeps/generic/sys/socketvar.h: ... here.
6098         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
6099         * sysdeps/generic/netinet/in_systm.h: ... here.
6100         * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
6101         sys/socketvar.h.
6102         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
6103         * inet/Makefile (headers): Add netinet/in_systm.h here.
6104         * socket/Makefile (headers): Add sys/socketvar.h here.
6106 1999-05-15  Ulrich Drepper  <drepper@cygnus.com>
6108         * stdlib/strtol.c: Optimize inner loop of long long versions.
6110         * sysdeps/gnu/utmpx.h: Add needed type definitions according to
6111         Unix98.  Add forward declaration of struct utmp.
6113 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
6115         * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
6116         calloc.
6118         * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
6119         * nis/nis_addmember.c (nis_addmember): Fix memory leak.  Test
6120         memory allocation results.
6122 1999-05-14  Mark Kettenis  <kettenis@gnu.org>
6124         * sysdeps/generic/getutmp.c: Include <string.h>
6125         (getutmp): Rewrite to only copy those members that are really
6126         present in `struct utmp'.
6127         * sysdeps/generic/getutmpx.c: Likewise.
6129 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
6131         * nss/getXXbyYY.c: Add free_mem function which disposes all
6132         statically allocated memory when debugging.
6133         * nss/getXXent.c: Likewise.
6134         * nss/nsswitch.c: Likewise.
6136 1999-05-13  Ulrich Drepper  <drepper@cygnus.com>
6138         * sysdeps/gnu/getutmpx.c: New file.
6139         * sysdeps/gnu/getutmp.c: New file.
6141 1999-05-13  H.J. Lu  <hjl@gnu.org>
6143         * login/Versions (getutmpx): Added to GLIBC_2.1.1.
6144         (getutmp): Likewise.
6146         * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
6147         getutmpx for login.
6149         * sysdeps/gnu/utmpx.h (getutmp): Added.
6150         (getutmpx): Likewise.
6152         * sysdeps/generic/getutmp.c: New file.
6154         * sysdeps/generic/getutmpx.c: New file.
6156 1999-05-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6158         * glibcbug.in (BUGGLIBC): Change address to
6159         libc-alpha@sourceware.cygnus.com.
6161 1999-05-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6163         * resolv/arpa/nameser.h: Add C++ protectors.
6165 1999-05-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6167         * iconvdata/gconv-modules: Fix alias for CP1255.  Reported by
6168         Elad Tsur <eladts@post.tau.ac.il>.
6170 1999-05-11  Ulrich Drepper  <drepper@cygnus.com>
6172         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
6173         * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
6174         lazily if LD_BIND_NOW is not set.
6175         * elf/dl-support.c (_dl_lazy): New variable.
6176         (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
6177         * elf/rtld.c (_dl_lazy): new global variable.
6178         ( dl_main): Remove lazy, replace it by _dl_lazy.
6180 1999-05-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6182         * locale/setlocale.c (new_composite_name): Check also whether the
6183         first category name differs.
6185 1999-05-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6187         * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
6188         the generic one.
6190 1999-05-11  Philip Blundell  <pb@nexus.co.uk>
6192         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
6193         structure; storage suitable for any socket address.
6194         * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
6195         Likewise.
6196         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
6197         sockaddr_storage): Likewise.
6199         * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
6200         platform.
6202 1999-05-10  Ulrich Drepper  <drepper@cygnus.com>
6204         * hesiod/Versions: Change _nss_hesiod_getpwuid and
6205         _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
6206         _nss_hesiod_getgrgid_r respectively.  Fixes pr libc/1115.
6208 1999-05-09  Mark Kettenis  <kettenis@gnu.org>
6210         * hurd/get-host.c (_hurd_get_host_config): Return an empty value
6211         if the file is empty.
6213 1999-05-07  Ulrich Drepper  <drepper@cygnus.com>
6215         * elf/do-lookup.h: Fix typo in comment.
6217         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
6218         f_bsize to help some broken programs.
6220         * stdio-common/tst-printf.c: Add test case for last _itoa problem.
6222         * stdio-common/vfprintf.c: Fix typo.
6224 1999-05-06  Ulrich Drepper  <drepper@cygnus.com>
6226         * elf/link.h (struct link_map): New field l_phdr_allocated.
6227         * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
6228         the program header being part of any loaded segment.  If it is not
6229         allocate memory and set l_phdr_allocated flag.
6230         * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
6232         * nss/digits_dots.c: Correct return value interpretation of
6233         inet_ntoa.  Fix PR libc/1109.
6235 1999-05-06  Zack Weinberg  <zack@rabi.columbia.edu>
6237         * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
6239 1999-05-06  Thorsten Kukuk  <kukuk@suse.de>
6241         * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
6242         * stdlib/fpioconst.c: Move #endif before end of struct.
6244 1999-05-05  Ulrich Drepper  <drepper@cygnus.com>
6246         * Versions.def (ld.so): Add GLIBC_2.1.1.
6247         * elf/Makefile (routines): Add dl-origin.
6248         (tests): Add origtest.  Add dependencies for the program.
6249         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
6250         _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
6251         * elf/dl-deps.c (expand_dst): New macro.  Expand DSTs in filename.
6252         (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
6253         DT_AUXILIARY, and DT_FILTER filenames.
6254         * elf/dl-load.c (expand_dynamic_string_token): Explode into
6255         two functions and three macros.
6256         (_dl_dst_count, _dl_dst_substitute): New functions.
6257         * elf/dl-dst.h: New file.
6258         * elf/dl-open.c (_dl_open): Take extra parameter with address of
6259         caller.  Pass address in args structure.
6260         (dl_open_worker): Recognize and expand DSTs in filename.
6261         * elf/ldsodefs.h (_dl_open): Adapt prototype.
6262         * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
6263         (__dlopen_check): Pass caller address to dlopen_doit in args.
6264         * elf/dlopendoit.c: Likewise.
6265         * iconv/gconv_dl.c: Adapt call of _dl_open.
6266         * nss/nsswitch.c: Likewise.
6267         * elf/origtest.c: New file.
6268         * sysdeps/generic/dl-origin.h: Moved to...
6269         * sysdeps/generic/dl-origin.c: ...here.
6270         * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
6271         * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
6273         * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
6274         with specific bases and only few bits set in second word.
6276         * timezone/Makefile (install-others): Create target directory
6277         before creating tzfiles.
6279 1999-05-05  Thorsten Kukuk  <kukuk@suse.de>
6281         * nis/nis_file.c (readColdStartFile): Allocate memory only after
6282         the file is opened successfully.
6284         * nis/nis_table.c: Fix some memory leaks.
6286 1999-05-04  Ulrich Drepper  <drepper@cygnus.com>
6288         * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
6289         variable.
6291         * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
6292         around DST.  Correctly ignore ORIGIN IN SUID binaries.
6294 1999-05-03  Ulrich Drepper  <drepper@cygnus.com>
6296         * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
6297         * sysdeps/generic/strtok.c: Likewise.
6299         * string/tester.c: Add test of rawmemchr.
6301         * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
6302         specification.  It's not necessary.
6304         * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
6305         * elf/gen-trusted-dirs.awk: New file.
6306         * elf/dl-load.c (systems_dirs): Moved into file scope.  Initialize
6307         from SYSTEM_DIRS macro.
6308         (system_dirs_len): New variable.  Contains lengths of system_dirs
6309         strings.
6310         (fillin_rpath): Rewrite for systems_dirs being a simple string.
6311         Improve string comparisons.  Change parameter trusted to be a flag.
6312         Change all callers.
6313         (_dt_init_paths): Improve using new format for system_dirs.
6315         * elf/dl-load.c (expand_dynamic_string_token): Don't expand
6316         $ORIGIN for SUID binaries.
6318         * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
6320 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6322         * sunrpc/Makefile: Generate dependencies for all flavors of
6323         librpcsvc objects.
6324         (rpcgen-cmd): Pass -Y flag here and remove it from the macro
6325         invocations.
6327 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6329         * elf/dlopenold.c: Move #if down after includes to get
6330         dependencies right.
6332 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6334         * sysdeps/generic/bzero.c: Undefine __bzero.
6336 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
6338         * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
6339         * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
6340         * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
6341         Patch by Craig Small <csmall@scooter.eye-net.com.au>.
6343         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
6344         parameter to struct gaih_servtuple *.  Adapt appropriately.
6345         (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
6346         This fixes a memory leak.
6347         Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
6349         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
6350         and fpregset_t definition.  They are defined in ucontext.h.
6352 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
6354         * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
6355         and struct ether_header must be packed on the ARM.  The default
6356         alignment constraints add padding to the end of the structures.
6358 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
6360         * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM.  The
6361         default alignment constraints add padding to the end of the
6362         structure and between members.
6364 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
6366         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
6367         _dl_cache_libcmp instead of strcmp.
6369         * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
6370         fails on a file.
6371         Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
6373 1998-03-30  Joel Klecker  <espy@debian.org>
6375         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
6376         (sysdep-others,install-bin): Add lddlibc4.
6378 1999-05-02  H.J. Lu  <hjl@gnu.org>
6380         * timezone/zic.c (dolink): Remove the symlink destination first.
6382         * catgets/open_catalog.c (__open_catalog): Set catalog->status
6383         to "nonexisting" if failed to open the file.
6385 1999-05-01  Ulrich Drepper  <drepper@cygnus.com>
6387         * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
6388         gcc3.
6390         * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
6391         Prevent warnings from multiplication with 0x01010101 by another cast.
6393 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6395         * string/bits/string2.h (memset): Revert to previous version if
6396         unaligned writes are not available.
6398 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
6400         * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
6401         better code in presence of the asm.
6403 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6405         * stdlib/fmtmsg.c (keywords): Increase array size for faster
6406         indexing.
6408         * locale/localeinfo.h (_nl_category_names): Increase array element
6409         size for faster indexing.
6410         * locale/setlocale.c (_nl_category_names): Adjusted.
6412 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6414         * iconv/gconv_conf.c (add_alias): Remove wrong cast.
6416 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6418         * sysdeps/m68k/stackinfo.h: New file.
6420 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
6422         * string/tester.c (test_strchrnul): New function.
6423         (test_memset): Test one more special case.
6425         * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
6426         25% of all cases.
6428         * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
6429         base types.
6431         * string/bits/string2.h: Fix bugs I introduced in last change.
6433         * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
6434         register stall.
6435         Extend memset optimization.
6436         Correct i686 version of memchr.
6438 1999-04-30  Roland McGrath  <roland@baalperazim.frob.com>
6440         * sysdeps/i386/bzero.c: Add #undef __bzero.
6442         * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
6443         EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
6444         exec server simulated a SIGTRAP before we even started up, so gdb is
6445         already happy.
6447 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
6449         * nss/digits_dots.c: Always initialize not_ok.
6451 1999-04-30 09:02 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
6453         * string/bits/string2.h (memset): Avoid arithmetic overflow at
6454         compile time, which produces obnoxious warnings.  If GCCv2 is
6455         in use, map __bzero to __builtin_memset to enable that
6456         optimization.
6458 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
6460         * string/bits/string2.h: Add more memset optimizations.
6462         * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
6464         * resolv/inet_pton.c (inet_pton4): Little optimizations.
6465         (inet_pton6): Likewise.
6467         * nss/getXXbyYY_r.c: Include assert.h.
6468         * nss/getXXbyYY.c: Likewise.
6470 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6472         * termios/tcgetsid.c (tcgetsid): Rename variable to
6473         tiocgsid_does_not_work.
6475 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
6477         * inet/getnameinfo.c (nrl_domainname): Fix last patch.
6479 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6481         * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
6482         This allows e.g. gethostbyname to accept "10.1234".
6483         Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
6485         * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
6486         non quad IPv4 numbers.
6488 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6490         * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
6492 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
6494         * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
6495         * argp/argp-parse.c (_argp_hang): Likewise.
6496         * argp/argp-pv.c (argp_program_version): Likewise.
6497         * argp/argp-pvh.c (argp_program_version_hook): Likewise.
6498         * inet/ether_hton.c (ether_hton, startp): Likewise.
6499         * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
6500         * inet/getnetgrent_r.c (setup, startp): Likewise.
6501         * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
6502         * intl/localealias.c (string_space, string_space_act, string_space_max,
6503         nmap, maxmap): Likewise.
6504         * libio/iopopen.c (proc_file_chain): Likewise.
6505         * libio/oldiopopen.c (old_proc_file_chain): Likewise.
6506         * locale/lc-collate.c (__collate_table, __collate_extra,
6507         __collate_element_hash, __collate_element_strings,
6508         __collate_element_values): Likewise.
6509         * malloc/mcheck.c (mcheck_used): Likewise.
6510         * malloc/mtrace.c (added_atexit_handler): Likewise.
6511         * malloc/set-freeres.c (already_called): Likewise.
6512         * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
6513         * misc/syslog.c (LogStat, LogTag): Likewise.
6514         * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
6515         * nss/getXXbyYY_r.c (startp): Likewise.
6516         * posix/getopt.c (optarg, __getopt_initialized): Likewise.
6517         * posix/regex.c (init_syntax_once) [done]: Likewise.
6518         (debug): Likewise.
6519         * string/strfry.c (init): Likewise.
6520         * sunrpc/svc_run.c (svc_top): Likewise.
6521         * posix/euidaccess.c (have_ids): Likewise.
6522         * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
6523         * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
6524         * time/getdate.c (getdate_err): Likewise.
6525         * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
6526         Likewise.
6527         * time/tzset.c (old_tz, is_initialized): Likewise.
6529         * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
6530         of static data with zero.
6531         * signal/allocrtsig.c (init): Likewise.
6533         * string/Makefile (routines): Add strchrnul.
6534         * string/Versions [GLIBC_2.1.1]: Add strchrnul.
6535         * string/string.c: Add strchrnul prototype.
6536         * include/string.h: Add __strchrnul prototype.
6537         * sysdeps/generic/strchrnul.c: New file.
6538         * sysdeps/i386/strchrnul.S: New file.
6539         * sysdeps/i386/bits/string.c: Add strchrnul optimization.
6540         * sysdeps/i386/i486/bits/string.c: Likewise.
6541         * argp/argp-help.c (argp_args_usage): Use __strchrnul.
6542         * inet/ether_line.c (ether_line): Likewise.
6543         * nscd/nscd_conf.c (nscd_parse_file): Likewise.
6544         * nss/nsswitch.c (nss_parse_file): Likewise.
6545         * posix/execvp.c (execvp): Likewise.
6546         * posix/fnmatch.c (internal_fnmatch): Likewise.
6547         * resolv/res_hconf.c (_res_hconv_init): Likewise.
6548         * resolv/res_init.c (res_init): Likewise.
6549         * stdlib/fmtmsg.c (init): Likewise.
6550         * stdlib/getsubopt.c (getsubopt): Likewise.
6552         * catgets/catgets.c (catopen): Only allocate one memory block.
6553         (catclose): Only one free call necessary.
6555         * catgets/open_catalog.c (__open_catalog): Simplify handling of
6556         file descriptor.
6558         * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
6559         of real functions.  Simplify _tolower and _toupper.
6561         * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
6562         variable.
6564         * iconv/gconv.h (struct gconv_info): Change data element from pointer
6565         to array of size 0.
6566         * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
6567         * iconv/gconv_close.c (__gconv_close): Don't free data.
6569         * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
6570         insert new alias.
6572         * iconv/gconv_db.c (add_derivation): More efficient copying.  Check
6573         for error while inserting in tree.
6575         * include/time.h: Pretty print.
6577         * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
6578         in table and lots of relocations.
6579         * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
6580         string pointers in table and lots of relocations.
6582         * intl/finddomain.c: Remove definition of strchr macro.
6584         * io/ftw.c (nftw_arr, ftw_arr): Make const.
6586         * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
6588         * locale/localeinfo.h (_nl_category_names): Change into an array with
6589         fixed width char string elements.
6590         * locale/setlocale.c (_nl_category_names): Likewise.
6591         (_nl_current): Make global.
6592         * locale/nl_langinfo.c (nldata): Removed.  Use _nl_current now.
6594         * malloc/Makefile (distribute): Add stackinfo.h.
6595         * sysdeps/generic/stackinfo.h: New file.
6596         * sysdeps/i386/stackinfo.h: New file.
6597         * posix/execl.c: Use stackinfo.h in optimizing alloca use.
6598         * posix/execle.c: Likewise.
6599         * posix/execlp.c: Likewise.
6601         * nis/nis_table.c (__create_ib_request): Always use realloc.
6603         * posix/execvp.c (execute): Rename to script_execute and keep only
6604         code to execute using shell.
6605         (execvp): Call execv directly and only fall back on script_execute.
6607         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
6608         and always use xdigits instead.
6610         * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
6611         where appropriate.
6613         * stdlib/fpioconst.h (__tens): New declaration.
6614         (struct mp_power): Remove array, add arrayoff element.
6615         * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
6616         __tens array and add in _fpioconst_pow10 offsets into __tens.
6617         * stdio-common/printf_fp.c: Rewrite to use new __tens array.
6618         * stdlib/strtod.c: Likewise.
6620         * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
6622         * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
6623         of the list.
6624         * stdlib/atexit.c (__exit_funcs): Don't initialize.
6626         * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
6628         * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
6629         a single and an array with offsets.
6631         * sunrpc/des_soft.c (partab): Make it const.
6633         * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
6634         (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
6635         (__key_decryptsession_pk_LOCAL): Likewise.
6636         (__key_gendes_LOCAL): Likewise.
6637         (MESSENGER): Mark const.
6638         (key_call_private_main): Don't initialize with 0.
6639         (use_keyenvoy): Don't initialize with 0.
6640         (key_call): Rewrite to reverse logic of use_doors variable.
6642         * sunrpc/netname.c (OPSYS): Define as array, not pointer.
6643         (startp): Don't initialize with zero.
6645         * sunrpc/openchild.c (_openchild): Make first argument const.
6647         * sunrpc/pmap_rmt.c (timeout): Mark const.
6648         * sunrpc/xcrypt.c (hex): Likewise.
6650         * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
6651         initialization of global variables.
6652         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
6653         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6654         * termios/tcgetsid.c: Likewise.
6656         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
6657         fxsr to osfxsr.
6659         * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
6660         block.  Add function to free memory if wanted.
6661         * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
6663         * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
6665         * wcsmbs/wmemset.c: Little code optimization.
6667 1999-04-23  Paul Eggert  <eggert@twinsun.com>
6669         * stdlib/strtoull.c: Surround strong_alias and weak_alias with
6670         ifdef _LIBC.
6672 1999-04-28  Roland McGrath  <roland@baalperazim.frob.com>
6674         * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
6675         implementation and just always fail with ENOSYS.  This entry point is
6676         obsolete.  Add link warning to that effect.
6678 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
6680         * hurd/get-host.c: Include <hurd/lookup.h>.
6682 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
6684         * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
6685         is != NULL.
6687 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6689         * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
6690         ISO C9x and Unix98.
6692 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
6694         * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
6695         Patch by Peter Miller <millerp@canb.auug.org.au>.
6697 1999-04-27  Thorsten Kukuk  <kukuk@suse.de>
6699         * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
6700         prefers loopback device.
6702 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
6704         * posix/fnmatch.c (internal_fnmatch): Finish incomplete
6705         no_leading_period change.
6707         * posix/testfnm.c: More test cases.
6709 1999-04-27  Ulrich Drepper  <drepper@cygnus.com>
6711         * include/dirent.h: Remove __getdirentries declaration, add __getdents
6712         and __getdents64.
6713         * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
6714         * sysdeps/unix/readdir_r.c: Likewise.
6715         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6716         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
6717         * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
6718         __getdirentries.  Remove fourth argument.
6719         * sysdeps/unix/sysv/linux/getdirentries.c: New file.
6720         * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
6721         * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
6722         Add getdirentries and getdirentries64.
6723         * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
6725         * posix/fnmatch.c (internal_fnmatch): Correctly reset string
6726         pointer in case of an invalid [[: expression.
6728         * posix/testfnm.c: Add more test cases.
6730 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
6732         * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
6733         set, pass EXEC_SIGTRAP flag in exec RPC.
6735 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
6737         * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch.  Take
6738         extra parameter.  Fix several more bugs involving wildcard and
6739         ranges.
6740         (fnmatch): New function.  Call internal_fnmatch.
6742         * posix/testfnm.c: More test cases.
6744 1999-04-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6746         * manual/install.texi (Configuring and compiling): Explain that
6747         files are changed in the source directory.
6748         Closes PR libc/981.
6749         (Configuring and compiling): Explain situation with PARALLELMFLAGS
6750         in the source directory.
6752 1999-04-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6754         * locale/programs/ld-ctype.c: Spelling fixes.
6755         (ctype_finish): Fix argument of error message format.
6756         * locale/programs/ld-messages.c: Spelling fixes.
6757         * locale/programs/ld-monetary.c: Spelling fixes.
6758         * locale/programs/ld-time.c (time_finish): Make sure that name and
6759         format of era_entries are adjacent.
6760         (time_output): Reduce the size of the io vector.
6762 1999-04-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6764         * manual/filesys.texi (Attribute Meanings): Move a misplaced
6765         paragraph.
6767 1999-04-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6769         * locale/programs/ld-collate.c (collate_output): Convert
6770         undefined_offset to an array index.  Fix computation of other
6771         endian extra table.
6773 1999-04-26  Roland McGrath  <roland@baalperazim.frob.com>
6775         * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
6776         return success with empty value.
6778 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
6780         * posix/fnmatch.c: Include string.h also for glibc.
6781         (fnmatch, case '?'): Optimize if cascades a bit.
6782         (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
6784         * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
6786 1999-04-24  Ulrich Drepper  <drepper@cygnus.com>
6788         * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
6789         * iconv/gconv_int.h: Declare UTF16 functions.
6790         * iconv/gconv_simple.c: Add UTF16 conversion functions.
6792 1999-04-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6794         * posix/wordexp.c (parse_param): Fix type of offset to allow it to
6795         be used correctly as parameter for parse_dollars/parse_tilde.
6797 1999-04-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6799         * manual/conf.texi (Utility Limits): Remove duplicate description
6800         of BC_DIM_MAX.
6802 1999-04-19  Ulrich Drepper  <drepper@cygnus.com>
6804         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
6805         outbufend for dst==NULL.
6807 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
6809         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
6810         for dst==NULL.
6811         Fixes PR libc/1084.
6813         * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
6814         Fixes PR libc/1083.
6816 1999-04-18  Thorsten Kukuk  <kukuk@suse.de>
6818         * sunrpc/Makefile: Remove special handling of bootparam.x,
6819         add rpcsvc/bootparam.h to headers.
6820         * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
6821         * sunrpc/rpcsvc/bootparam.x: Renamed to...
6822         * sunrpc/rpcsvc/bootparam_prot.x: ...this.
6824 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
6826         * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
6827         detect and handle invalid descriptors.
6829 1999-04-17  Thorsten Kukuk  <kukuk@suse.de>
6831         * timezone/zic.c (dolink): Append complete path not only filename
6832         to ../ list.
6834 1999-04-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6836         * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
6838 1999-04-17  Ulrich Drepper  <drepper@cygnus.com>
6840         * iconvdata/gconv-modules: Rename CP874 to IBM874.
6841         * iconvdata/Makefile: Likewise.
6842         * iconvdata/cp874.h: Removed.
6843         * iconvdata/cp874.c: Renamed to...
6844         * iconvdata/ibm874.c: ...this.
6846 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
6848         * sysdeps/unix/sysv/linux/bits/types.h: Correct
6849         signed/unsigned-ness of blkcnt and fsblkcnt.
6850         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6851         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6853         * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
6854         SOL_AAL, and SOL_IRDA.
6856 1999-04-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6858         * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero.  Don't
6859         include "linux_fsinfo.h".
6860         Based on a patch by H.J. Lu <hjl@gnu.org>.
6862 1999-04-16  Thorsten Kukuk  <kukuk@suse.de>
6864         * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
6866 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
6868         * nscd/cache.c (prune_cache): Only disable file checking for
6869         future if the file does not exist.
6870         Update file_mtime if cache was flushed.
6872 1999-04-15  David S. Miller  <davem@redhat.com>
6874         * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
6875         * sysdeps/sparc/sparc32/strcpy.S: Likewise.
6877 1999-04-15  Scott Bambrough  <scottb@netwinder.org>
6879         * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
6880         compilation of file.
6882 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
6884         * Versions.def: Add GLIBC_2.1.1 to libpthread.
6886         * iconvdata/Makefile (modules): Add KOI8-U.
6887         (distribute): Add koi8-u.c.
6888         (gen-8bit-gap-modules): Add koi8-u.
6889         * iconvdata/gconv-modules: Add KOI8-U entries.
6890         * iconvdata/koi8-u.c: New file.
6892 1999-04-13  Thorsten Kukuk  <kukuk@suse.de>
6894         * sunrpc/auth_des.c: 64bit fixes, security fixes.
6895         * sunrpc/auth_none.c: Pretty print.
6896         * sunrpc/auth_unix.c: Likewise.
6897         * sunrpc/authdes_prot.c: Likewise.
6898         * sunrpc/authuxprot.c: Likewise.
6899         * sunrpc/bindrsvprt.c: Likewise.
6900         * sunrpc/clnt_gen.c: Likewise.
6901         * sunrpc/rpc/xdr.h: Likewise.
6902         * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
6903         * sunrpc/rpc_cmsg.c: Don't use *long pointers.
6904         * sunrpc/rtime.c: Use new rpc_timeval.
6905         * sunrpc/svc_authux.c: Don't use *long pointers.
6906         * sunrpc/svcauth_des.c: Likewise + security fixes.
6907         * sunrpc/xdr_mem.c: Don't use *long pointers.
6908         * sunrpc/xdr_rec.c: Likewise.
6909         * sunrpc/xdr_sizeof.c: Likewise.
6910         * sunrpc/xdr_stdio.c: Likewise.
6912 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
6914         * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
6915         so that it is redone for each sending.
6917 1999-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6919         * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
6921 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
6923         * iconv/gconv_db.c (__gconv_find_transform): If conversion is
6924         known to not exist don't try to load shared objects.
6925         Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
6927         * nscd/cache.c (prune_cache): The table might not be unused.  In
6928         this case do nothing.
6930         * catgets/gencat.c (read_input_file): Don't drop white spaces
6931         between number/identifier and string.
6932         Patch by Dima Barsky <dima@pwd.hp.com>.
6933         If no white space at all follows number/identifier remove existing
6934         message with the number/identifier.
6936 1999-04-14  H.J. Lu  <hjl@gnu.org>
6938         * sunrpc/clnt_udp.c (is_network_up): New function.
6939         (clntudp_call): Call is_network_up () to check if any network
6940         interface is up in case of timeout.
6942 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6944         * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
6945         * wctype/Makefile (tests): Add test_wcfuncs.
6947 1999-04-14  Jakub Jelinek  <jj@ultra.linux.cz>
6949         * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
6950         architectures.
6951         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
6952         instead of CFLAGS.
6953         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
6954         instead of CFLAGS. For gnulib and string directories use
6955         -Wa,-Av9a gcc ASFLAGS.
6956         * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
6957         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
6958         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
6959         * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
6960         the same way as sparc-*.
6962 1999-04-14  Ulrich Drepper  <drepper@cygnus.com>
6964         * locale/programs/locfile.c (locfile_read): Fix typo.
6965         Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
6967 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
6969         * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
6970         restarted after being interrupted by a signal.  The parameters on
6971         the stack were corrupted by the signal handler.
6973         * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
6974         restarted after being interrupted by a signal.  The parameters on
6975         the stack were corrupted by the signal handler.
6977 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6979         * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
6980         Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
6982 1999-04-12  Tim Waugh  <tim@cyberelk.demon.co.uk>
6984         * posix/wordexp-test.c: In field-splitting test cases where
6985         subshells were involved, unset IFS first: some shells (ash) use
6986         IFS even when no expansion is performed.
6988 1999-04-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6990         * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
6991         the real end of the chunk, not some random point inbetween.
6992         (_IO_obstack_xsputn): Likewise.  Actually copy the data into the
6993         obstack when growing.  Use fast version of obstack_blank when
6994         shrinking.
6995         (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
6996         allocating the vtable pointer.
6997         (_IO_obstack_vprintf): Adjust for above change and avoid
6998         unnecessary casts.  Use fast version of obstack_blank when
6999         shrinking.
7000         Fixes PR libc/1075.
7002 1999-04-12  Ulrich Drepper  <drepper@cygnus.com>
7004         * iconvdata/gconv-modules: Fix typo.  Add UJIS alias.
7005         Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
7007 1999-04-11  Tim Waugh  <tim@cyberelk.demon.co.uk>
7009         * posix/wordexp.c (wordexp): Fix a leak when an invalid character
7010         is seen, as well as fixing semantics.  Don't reset the word count
7011         to zero when an invalid character is seen, but leave it as it was
7012         (this makes a difference with WRDE_APPEND).
7014         * posix/wordexp-test.c: More test cases.
7016         * posix/wordexp.c (parse_param): In words like ${var#pattern},
7017         always expand pattern when it is needed.  Also, handle quoting in
7018         pattern properly.
7020 1999-04-12  Philip Blundell  <philb@gnu.org>
7022         * elf/elf.h: Update ARM definitions to match current gas2.
7024         * sysdeps/arm/bits/endian.h: Support big endian operation.
7026         * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
7027         Don't bother range checking the port number.
7029         * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
7031         * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
7032         the syscall name in assembler output for ease of debugging.
7034         * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
7035         compiler behaviour.
7036         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
7037         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
7038         (sysdep_routines): Add sigrestorer.
7040         * string/tester.c (test_strcpy): Add new tests for unaligned
7041         arguments.
7042         * sysdeps/arm/bits/string.h: Delete inline implementations of
7043         strcpy and stpcpy.
7045 1999-04-11  Ulrich Drepper  <drepper@cygnus.com>
7047         * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
7049 1999-04-10  Mark Kettenis  <kettenis@gnu.org>
7051         * sysdeps/mach/hurd/Dist: Add clk_tck.c.
7053 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
7055         * iconvdata/Makefile (modules): Add TIS-620.
7056         (distribute): Add tis-620.c.
7057         (gen-8bit-gap-modules): tis-620.
7058         * iconvdata/tis-620.c: New file.
7059         * iconvdata/gconv-modules: Add TIS-620 entries.
7061         * iconvdata/asmo_449.c: Correct comment.
7063 1999-04-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7065         * manual/install.texi (Configuring and compiling): Comment out
7066         description of --disable-static since this doesn't work currently
7067         (see change by Ulrich Drepper on 1998-12-07 for configure.in).
7069 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
7071         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
7072         use binary search.
7073         Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
7075 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7077         * scripts/test-installation.pl (installation_problem): Skip
7078         libnss1_* libraries from glibc-compat add-on.
7080 1999-04-07  H.J. Lu  <hjl@gnu.org>
7082         * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
7083         libstdc++ 2.7.2.
7084         * posix/Versions (__waitpid): Likewise.
7086 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7088         * manual/install.texi (Reporting Bugs): Add section about reported
7089         bugs and correct email address of glibcbug script.
7091 1999-04-01  Thorsten Kukuk  <kukuk@suse.de>
7093         * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
7094         * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
7095         xdr_u_longlong_t. Based on patch from Dan Shechter
7096         <damageboy@isdn.net.il>.
7097         * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
7098         * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
7100         * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
7102 1999-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7104         * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
7105         directly if getdents returns with error set.
7107 1999-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7109         * locale/langinfo.h (THOUSEP): Rename second occurence of
7110         THOUSANDS_SEP to THOUSEP.
7111         Reported by Roman Belenov <roman@nstl.nnov.ru>.
7113 1999-04-05  Roland McGrath  <roland@baalperazim.frob.com>
7115         * hurd/STATUS: File removed.  Moved items that are still relevant into
7116         TODO list in hurd source.
7118 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
7120         * sysdeps/mach/hurd/bits/time.h: New file.
7121         * sysdeps/mach/hurd/getrusage.c: New file.
7122         * sysdeps/mach/hurd/clk_tck.c: New file.
7123         * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
7124         * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
7125         (sysdep_routines): Add clk_tck.
7126         * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
7127         implemented.
7129 1999-04-02  Ulrich Drepper  <drepper@cygnus.com>
7131         * misc/syslog.c (closelog_internal): Do not reset LogTag here.
7132         (closelog): But instead here.
7133         Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
7135 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7137         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
7138         the source directory.  Fixes PR libc/1059.
7140 1999-04-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7142         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
7143         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7145 1999-04-01  Ulrich Drepper  <drepper@cygnus.com>
7147         * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
7148         * iconvdata/testdata/ISO-8859-14: New file.
7149         * iconvdata/testdata/ISO-8859-14..UTF8: New file.
7150         * iconvdata/testdata/ISO-8859-15: New file.
7151         * iconvdata/testdata/ISO-8859-15..UTF8: New file.
7153 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
7155         * iconvdata/testdata/CP1258: New file.
7156         * iconvdata/testdata/CP1258..UTF8: New file.
7157         * iconvdata/TESTS: Add CP1258 entry.
7159         * iconvdata/cp874.h (to_ucs4): Add Euro sign.
7161         * timezone/africa: Update from tzdata1999d.
7162         * timezone/europe: Likewise.
7163         * timezone/northamerica: Likewise.
7165 1999-03-31  Mark Kettenis  <kettenis@gnu.org>
7167         * login/programs/pt_chown.c (main): Save effective user ID before
7168         dropping priviliges and use this to check if the program is
7169         properly installed.
7171 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
7173         * iconvdata/testdata/CP1254: Update for charmap changes.
7174         * iconvdata/testdata/CP1254..UTF8: Likewise.
7175         * iconvdata/testdata/CP1255: Likewise.
7176         * iconvdata/testdata/CP1255..UTF8: Likewise.
7177         * iconvdata/testdata/CP1256: Likewise.
7178         * iconvdata/testdata/CP1256..UTF8: Likewise.
7179         * iconvdata/testdata/CP1257: Likewise.
7180         * iconvdata/testdata/CP1257..UTF8: Likewise.
7182         * iconvdata/Makefile (distribute): Remove cp1258.h.
7183         (gen-8bit-gap-modules): Add cp1258.
7184         * iconvdata/cp1258.h: Removed.
7186 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
7188         * timezone/tst-timezone.c (tests): Add more cases.
7189         (check_tzvars): Mark errors clearer.
7190         (main): Likewise.
7192 1999-03-30 20:59 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7194         * login/programs/pt_chown.c: Drop privileges if invoked with
7195         arguments.  Don't close the master pty.
7197 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
7199         * time/tzfile.c (__tzfile_read): Process transitions from the rear.
7200         Minor optimization.
7202 1999-03-29  Ulrich Drepper  <drepper@cygnus.com>
7204         * elf/rtld.c (process_envvars): Do not automatically prevent lazy
7205         relocation for SUID binaries.
7207 1999-03-29  Paul Eggert  <eggert@twinsun.com>
7209         * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
7210         while in child process.
7212 1999-03-29  Jakub Jelinek  <jj@ultra.linux.cz>
7214         * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
7215         * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
7216         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
7217         * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
7218         * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
7220         * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
7221         * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
7222         * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
7223         * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
7224         * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
7225         * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
7226         * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
7227         * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
7228         * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
7229         * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
7230         * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
7231         * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
7232         * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
7233         * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
7234         * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
7235         * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
7236         * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
7237         * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
7238         * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
7239         * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
7240         * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
7241         * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
7242         * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
7243         * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
7244         * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
7245         * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
7247         * sysdeps/sparc/sparc32/bcopy.c: New file.
7248         * sysdeps/sparc/sparc32/bzero.c: New file.
7249         * sysdeps/sparc/sparc32/memchr.S: New file.
7250         * sysdeps/sparc/sparc32/memcpy.S: New file.
7251         * sysdeps/sparc/sparc32/memmove.c: New file.
7252         * sysdeps/sparc/sparc32/memset.S: New file.
7253         * sysdeps/sparc/sparc32/stpcpy.S: New file.
7254         * sysdeps/sparc/sparc32/strchr.S: New file.
7255         * sysdeps/sparc/sparc32/strrchr.c: New file.
7256         * sysdeps/sparc/sparc32/strcpy.S: New file.
7257         * sysdeps/sparc/sparc32/strlen.S: New file.
7258         * sysdeps/sparc/sparc32/strcat.S: New file.
7259         * sysdeps/sparc/sparc32/strcmp.S: New file.
7261         * sysdeps/sparc/sparc64/bcopy.c: New file.
7262         * sysdeps/sparc/sparc64/bzero.c: New file.
7263         * sysdeps/sparc/sparc64/memchr.S: New file.
7264         * sysdeps/sparc/sparc64/memcmp.S: New file.
7265         * sysdeps/sparc/sparc64/memcpy.S: New file.
7266         * sysdeps/sparc/sparc64/memset.S: New file.
7267         * sysdeps/sparc/sparc64/stpcpy.S: New file.
7268         * sysdeps/sparc/sparc64/strcat.S: New file.
7269         * sysdeps/sparc/sparc64/strchr.S: New file.
7270         * sysdeps/sparc/sparc64/strcmp.S: New file.
7271         * sysdeps/sparc/sparc64/strcpy.S: New file.
7272         * sysdeps/sparc/sparc64/strcspn.S: New file.
7273         * sysdeps/sparc/sparc64/strlen.S: New file.
7274         * sysdeps/sparc/sparc64/strncpy.S: New file.
7275         * sysdeps/sparc/sparc64/strpbrk.S: New file.
7276         * sysdeps/sparc/sparc64/strrchr.c: New file.
7277         * sysdeps/sparc/sparc64/strspn.S: New file.
7278         * sysdeps/sparc/sparc64/stpncpy.S: New file.
7279         * sysdeps/sparc/sparc64/strncmp.S: New file.
7281         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
7282         Append -fPIC, don't replace.
7284         * configure.in: Recognize sparcv8plus / sparcv9.
7286 1999-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7288         * malloc/obstack.h (obstack_free): Explicitly convert __obj to
7289         char * to avoid C++ warning.
7290         Patch by yasushi@cs.washington.edu [PR libc/1035].
7292 1999-03-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7294         * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
7295         declared in stdlib.h, correct return value of mkstemp.
7296         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
7298         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
7299         from Linux 2.2.5.
7301 1999-03-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7303         * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
7304         C++ warning.
7306         * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
7307         inline functions.  Closes PR libc/1049.
7309 1999-03-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7311         * timezone/README: Update from tzdata1999c and tzcode1999c.
7313         * timezone/africa: Update from tzdata1999c.
7314         * timezone/antarctica: Likewise.
7315         * timezone/asia: Likewise.
7316         * timezone/australasia: Likewise.
7317         * timezone/europe: Likewise.
7318         * timezone/northamerica: Likewise.
7319         * timezone/southamerica: Likewise.
7320         * timezone/zone.tab: Likewise.
7322         * timezone/zic.c: Update from tzcode1999c.
7324 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7326         * Makerules: Add $(common-objpfx)Versions.all to common-generated
7327         outside of ifndef avoid-generated.
7329         * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
7330         in iofdopen.c.
7331         * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
7332         iofopen.c.
7333         * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
7334         in iofclose.c.
7335         * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
7336         _IO_old_file_seekoff): Bring over recent changes in fileops.c.
7338 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
7340         * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
7341         if we build the profiled library.
7343 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7345         * math/Makefile (gmp-objs): Add inlines.  Reported by Andreas
7346         Jaeger <aj@arthur.rhein-neckar.de>
7348 1999-03-25  Roland McGrath  <roland@yaumatei.ai.mit.edu>
7350         * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
7351         (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
7352         This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
7354 1999-03-24  Roland McGrath  <roland@baalperazim.frob.com>
7356         * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
7357         works properly in subdirs.
7359 1999-03-23  Roland McGrath  <roland@baalperazim.frob.com>
7361         * sysdeps/mach/hurd/Makefile: Undo last change.
7362         [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
7363         [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
7365         * mach/Machrules (+preinit, +postinit, +interp,
7366         LDFLAGS-$(interface.so)): Variables removed.  Interface libraries get
7367         linked just like other shared libraries.
7368         (interface.so): Fix typo in defn, so it works.
7369         ($(objpfx)$(interface.so)): Make it depend on libc.so.
7371 1999-03-21  Roland McGrath  <roland@baalperazim.frob.com>
7373         * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
7374         $(link-rpcuserlibs).
7376 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7378         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
7379         $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
7380         targets if not building shared libraries.
7382 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7384         * configure.in: Also look in $PATH when searching for
7385         install-info.  Remove autoconf bug workaround and require autoconf
7386         2.13.
7388 1999-03-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7390         * db/Makefile: Don't try to install shared library link if not
7391         building with shared libs.
7393 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7395         * rt/Makefile: Link against static library if no shared lib is
7396         available.
7398         * localedata/Makefile: The shells scripts implementing the test
7399         require the dynamic linker which is not available with
7400         --disable-shared.  Skip the test if --disable-shared is given.
7402         * linuxthreads/Makefile: Link test against static libpthread if no
7403         shared lib is available.
7405         * iconvdata/Makefile (tests): Run iconv-test only if we're
7406         building shared libraries.
7407         * elf/Makefile (tests): Likewise for elf tests.
7409         * posix/Makefile: The test frameworks globtest and wordexp-test
7410         require the dynamic linker which is not available with
7411         --disable-shared.  Skip the test if --disable-shared is given.
7413         * grp/Makefile (otherlibs): For static nss build link against
7414         necessary libs.
7416 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7418         * debug/Makefile (install-bin): Install and build catchsegv only
7419         if build-shared == yes.  Reported by jussi@jlaako.pp.fi [PR
7420         libc/965].
7422 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7424         * time/tzfile.c (__tzfile_read): Handle the case where there are
7425         transitions but no DST.
7427 1999-03-20  Roland McGrath  <roland@baalperazim.frob.com>
7429         * mach/Machrules (extra-libs-others): Add $(interface-library) here
7430         too, so it gets built in the others pass rather than the lib pass.
7431         This is necessary since the RPC libraries need to be linked against
7432         libc.
7434 1999-03-19  Roland McGrath  <roland@baalperazim.frob.com>
7436         * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
7437         _itoa_word decl.
7439         * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
7440         ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
7441         ($(link-rpcuserlibs)): New static pattern rule; link intermediate
7442         versions of lib{mach,hurd}user.so without reference to libc.so,
7443         then link libc.so against that to get deps and symbol versions, then
7444         finally link real lib*user.so against libc.so.
7446         * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
7447         Support whole-file locking (only) by using the file_lock RPC.  This
7448         has very wrong semantics, but is better than nothing for the time
7449         being.  (Correct POSIX.1 locking will require new RPCs in the Hurd
7450         protocols that will be somewhat hairy to specify.)
7452 1999-03-17  Mark Kettenis  <kettenis@gnu.org>
7454         * sysdeps/mach/hurd/ptsname.c: New file.
7456 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7458         * timezone/asia: Fix rule in Asia/Nicosia entry.
7460 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7462         * manual/getopt.texi (Using Getopt): Explain "::" in option
7463         string.  Reported by Yuri Niyazov <yuricake@geocities.com>.
7465 1999-03-18  Thorsten Kukuk  <kukuk@suse.de>
7467         * sunrpc/clnt_unix.c: Fix creation of parameters for
7468         sendmsg/recvmsg on non intel platforms.
7469         * sunrpc/svc_unix.c: Likewise.
7471 1999-03-18  Philip Blundell  <philb@gnu.org>
7473         * sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386
7474         implementation.
7476 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7478         * timezone/africa: Update from tzdata1999b.
7479         * timezone/asia: Likewise.
7480         * timezone/australasia: Likewise.
7481         * timezone/europe: Likewise.
7482         * timezone/northamerica: Likewise.
7483         * timezone/southamerica: Likewise.
7484         * timezone/zone.tab: Likewise.
7486         * timezone/README: Mention tzdata1999b.
7488 1999-03-17  Ulrich Drepper  <drepper@cygnus.com>
7490         * sysdeps/generic/segfault.c (write_strsignal): New function.
7491         (catch_segfault): Use it instead of calling strsignal.
7493 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7495         * iconv/gconv.c (__gconv): Change type of last_start to unsigned
7496         char to avoid warning.
7498 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
7500         * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
7502         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
7503         outbuf to unsigned char to avoid warning.
7505 1999-03-11  David S. Miller  <davem@redhat.com>
7507         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
7508         masks.
7509         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
7511 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
7513         * iconv/gconv.h (gconv_fct): Change parameter from `char' to
7514         `unsigned char'.
7515         (gconv_step_data): Likewise.
7516         * iconv/gconv_int.h (__gconv): Likewise.
7517         (__BUILINT_TRANS): Likewise.
7518         * iconv/gconv.c (__gconv): Likewise.
7519         * iconv/iconv.c (iconv): Add casts for call of __gconv.
7520         * iconv/skeleton.c: Change local parameters and variable from `char' to
7521         `unsigned char'.  Remove casts from calls into modules.
7522         * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
7523         `char' to `unsigned char'.
7524         * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
7525         * wcsmbs/mbrtowc.c: Likewise.
7526         * wcsmbs/mbsnrtowcs.c: Likewise.
7527         * wcsmbs/mbsrtowcs.c: Likewise.
7528         * wcsmbs/wcrtomb.c: Likewise.
7529         * wcsmbs/wcsnrtombs.c: Likewise.
7530         * wcsmbs/wcsrtombs.c: Likewise.
7531         * wcsmbs/wctob.c: Likewise.
7533 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
7535         * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
7536         __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
7537         __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
7538         __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
7539         __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
7540         __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
7542 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
7544         * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
7545         _hurd_select if TIMEMOUT is -1.
7547 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
7549         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
7551 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
7553         * elf/dl-load.c: Compute rtld_search_dir array size correctly.
7554         Reported by Yasushi Saito <yasushi@cs.washington.edu>.
7556 1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7558         * manual/libc.texinfo: Undo last change for now.
7560 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
7562         * intl/locale.alias: Add entries for Croatian.
7563         Patch by Tomislav Vujec <tvujec@CARNet.hr>.
7565 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
7567         * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
7568         if the opened master pty really is a pty.  `isatty' checks for
7569         tty-ness and a pty is not a tty.  Return ENOENT instead of ENFILE
7570         if we are out of pty's.
7572 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
7574         * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
7575         opened file is closed on exec.
7576         * login/utmp_daemon.c (setutent_daemon): Likewise for the just
7577         opened socket.
7579 1999-03-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7581         * manual/llio.texi (File Position Primitive): Reformat @end
7582         command.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
7584 1999-03-14  Ulrich Drepper  <drepper@cygnus.com>
7586         * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
7587         entry is found.
7588         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7589         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
7591         * locale/programs/localedef.c (main): Initialize `cat' to please
7592         the compiler.
7594 1999-03-14  Roland McGrath  <roland@baalperazim.frob.com>
7596         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
7597         check for root-owned symlinks and reject them too.
7599 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7601         * stdio-common/printf_fphex.c: Move to ...
7602         * sysdeps/generic/printf_fphex.c: ... here.  Fix exponent of
7603         extended precision number.
7604         * sysdeps/m68k/printf_fphex.c: New file.
7606 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7608         * manual/stdio.texi: Fix typos.
7610 1999-03-09  Ulrich Drepper  <drepper@cygnus.com>
7612         * version.h (VERSION): Bump to 2.1.1.
7614 1999-03-09  Thorsten Kukuk  <kukuk@suse.de>
7616         * nis/ypclnt.c: Try only twice to connect to NIS server.
7618 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
7620         * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
7622 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7624         * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
7625         (DENORM_EXP): New define.  Use it as the exponent for a denormal.
7626         * stdlib/strtold.c: Moved to ...
7627         * sysdeps/generic/strtold.c: ... here.
7628         * sysdeps/m68k/strtold.c: New file.
7630 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7632         * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
7633         point if the precision is zero, even if the mantissa is non-zero.
7635 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
7637         * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
7638         arguments into the request message buffer inside `send_rpc'
7639         subfunction.  We must repeat the marshalling when retrying the RPC
7640         after a SIGTTOU delivery.
7642         * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
7643         path when there is no ctty port.
7644         * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
7645         Move sigstate check inside loop so we recheck after handling a signal.
7647 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7649         * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
7650         O_EXLOCK are BSD extensions.
7651         Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
7653 1999-03-08  Ulrich Drepper  <drepper@cygnus.com>
7655         * manual/signal.texi (Termination in Handler): Correct example.
7656         Install default handler before reraising the signal.
7657         Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
7659 1999-03-08  Roland McGrath  <roland@baalperazim.frob.com>
7661         * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
7662         null, in which case send an empty string.
7664 1999-03-02  Mark Kettenis  <kettenis@gnu.org>
7666         * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
7667         backward compatibility EH functions to be linked when using
7668         gcc-2.8.1.  Patch by Zack Weinberg <zack@rabi.columbia.edu>.
7670 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7672         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
7673         /dev/pts status may change during runtime.
7675 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7677         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
7678         change.  /dev/pts status can change during runtime.
7680 1999-03-07  Thorsten Kukuk  <kukuk@suse.de>
7682         * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
7683         poll reports error.
7684         * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
7685         add some more sanity checks.
7686         * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
7687         parser prototype.
7689 1999-03-05  Thorsten Kukuk  <kukuk@suse.de>
7691         * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
7692         change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
7693         * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
7694         * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
7695         * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
7696         for x_getint32.
7697         * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
7698         * nis/nis_print.c: Fix ctime argument for platforms where
7699         sizeof (time_t) != sizeof (int).
7701 1999-03-07  Mark Kettenis  <kettenis@gnu.org>
7703         * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
7704         CLOCKS_PER_SEC instead of CLK_TCK.
7706 1999-03-05  Ulrich Drepper  <drepper@cygnus.com>
7708         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
7709         whether /dev/pts is available.
7710         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
7711         dev_pts_available.
7713         * posix/globtest.sh: Make common_objpfx path absolute and and db2
7714         and hesiod directory to library path [PR libc/1007].
7716 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7718         * resolv/inet_addr.c (inet_aton): Don't allow componets >
7719         255.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
7721 1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>
7723         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
7724         DT_PLTGOT has already been relocated.
7725         (__elf_machine_fixup_plt): Likewise.
7726         Minor cleanups.
7728 1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>
7730         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
7732 1999-03-03  Ulrich Drepper  <drepper@cygnus.com>
7734         * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
7735         and fold string to uppercase [PR libc/1005].
7737 1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7739         * elf/dl-load.c (lose): Fix return type.
7741 1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>
7743         * sysdeps/mach/hurd/bits/fcntl.h
7744         [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
7745         * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
7746         set O_NOTRANS as well.
7747         (__hurd_file_name_lookup_retry): At successful end of lookup,
7748         if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
7749         it is a translated node not owned by root.
7750         (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
7751         on the file name passed to LOOKUP.
7753 1999-03-02  Ulrich Drepper  <drepper@cygnus.com>
7755         * manual/time.texi (High Resolution Timer): Correct computation in
7756         example.  Reported by jjf@devel.cemsys.com.
7758 1999-03-02  Philip Blundell  <pb@nexus.co.uk>
7760         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
7761         entry is already relocated.
7763 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7765         * resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
7766         by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
7768 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7770         * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
7771         uc_link which is the right name according to Unix98.
7772         Reported by Craig Metz [PR libc/1001].
7773         * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
7774         * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
7775         * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
7776         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
7777         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise.
7778         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
7780 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7782         * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
7783         @ifinfo.
7785 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7787         * iconvdata/Makefile: Always include iconv-rules, but disable rule
7788         to regenerate it if avoid-generated.
7790         * Makeconfig: Always include sys-dirs, but disable rule to
7791         regenerate it when avoid-generated.
7793         * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
7794         rule to generate sysd-syscalls.
7796         * elf/Makefile (generated): Remove $(objpfx) from names.
7798 1999-02-28  Mark Kettenis  <kettenis@gnu.org>
7800         * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
7801         actual length if the adress length is smaller than the input
7802         value.  Change type of *LEN paramater to socklen_t.
7803         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
7804         * sysdeps/mach/hurd/accept.c (accept): Likewise.
7805         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
7806         * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
7807         paramater to socklen_t.
7809 1999-02-28  Roland McGrath  <roland@baalperazim.frob.com>
7811         * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
7812         msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
7813         with the RPC.
7815 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
7817         * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
7818         __get_phys_pages): Cast &HBI to silence warning.
7820         * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
7821         * hurd/hurdchdir.c: New file.
7822         * hurd/hurdfchdir.c: New file.
7823         * sysdeps/mach/hurd/chroot.c: Call
7824         _hurd_change_directory_port_from_name to do the work.
7825         * sysdeps/mach/hurd/chdir.c: Likewise.
7826         * sysdeps/mach/hurd/fchdir.c: Call
7827         _hurd_change_directory_port_from_fd to do the work.
7828         * hurd/fchroot.c: Likewise.
7829         * hurd/hurd.h: Declare them.
7831 1999-02-27  Ulrich Drepper  <drepper@cygnus.com>
7833         * elf/dl-load.c (lose): Add more comments to explain the `why'.
7834         (_dl_map_object): Remove redundant test.
7836 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
7838         * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
7839         try to _hurd_port_free a lower-numbered descriptor that was not in any
7840         fd_set.
7842 1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7844         * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
7845         declaration for ____wcstod_l_internal.
7847         * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
7848         __strtod_internal prototype.
7849         * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
7850         (____strtold_l_internal): Add prototype declaration.
7851         (__strtold_l): Call correct function.
7853 1999-02-24  Ulrich Drepper  <drepper@cygnus.com>
7855         * elf/elf.h: Add 32bit HPPA definitions.
7857 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7859         * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
7860         non-checked heap is restored when malloc checking was requested by
7861         the user.
7862         (struct malloc_state): Add using_malloc_checking.
7863         (MALLOC_STATE_VERSION): Increment minor.
7864         (using_malloc_checking, disallow_malloc_check): New variables.
7865         (__malloc_check_init): Use them.
7866         (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
7867         that it can the chunk is properly instrumented when malloc
7868         checking is enabled.  Set the new using_malloc_checking field.
7869         (malloc_hook_ini): Correct signature when _LIBC is not defined.
7871 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7873         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
7874         (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
7875         time.
7877         * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
7878         Don't call elf_get_dynamic_info and _dl_setup_hash a second time
7879         if ld.so is the main program.
7881 1999-02-23  Ulrich Drepper  <drepper@cygnus.com>
7883         * stdio-common/vfprintf.c (vfprintf): If precision or width is too
7884         large for work_buffer, allocate new buffer.
7885         (printf_unknown): Likewise.  [PR libc/988]
7887 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
7889         * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
7890         instead of stat and fstat.
7891         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7893 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7895         * elf/dl-error.c (_dl_signal_cerror): New function.
7896         (_dl_signal_error): Don't call receiver function.
7897         * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
7898         instead of _dl_signal_error when reporting references to undefined
7899         symbols or versions.
7900         (_dl_lookup_versioned_symbol): Likewise.
7901         (_dl_lookup_versioned_symbol_skip): Likewise.
7902         * elf/dl-version.c (match_symbol): Likewise.
7904         * elf/ldsodefs.h: Declare _dl_signal_cerror.
7906 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
7908         * misc/getttyent.c (getttyent): Release lock on stream later to
7909         also protect global variable zapchar.
7911         * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
7912         __times [PR libc/990].
7914 1999-02-21  David S. Miller  <davem@redhat.com>
7916         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
7917         parentheses in Feb 2 changes.
7918         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
7920 1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7922         * sysdeps/generic/glob.c (glob): Save previous errno.
7924 1999-02-21  Ulrich Drepper  <drepper@cygnus.com>
7926         * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
7927         lookup functions if it is too small.
7929 1999-02-20  Ulrich Drepper  <drepper@cygnus.com>
7931         * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
7932         for tracing to the scope lists.
7933         * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
7934         DT_SYMTAB is always available according to ELF spec.
7936         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
7937         call test whether there is any scope left.
7938         (_dl_lookup_versioned_symbol_skip): Likewise.
7940         * elf/Makefile (distribute): Add do-lookup.h.
7941         * elf/do-lookup.h: New file.  Split out from dl-lookup.c.
7942         * elf/dl-lookup.c: Move do_lookup function in separate file and
7943         include the file twice, for handling versioning and without it.
7945         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
7946         entry is already relocated.
7947         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
7948         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
7949         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
7950         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
7951         Likewise.
7952         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
7953         Likewise.
7954         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
7955         Likewise.
7957         * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
7958         load address.  Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
7959         DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
7960         (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
7961         rel and rela relocations can both happen and skip one test if this
7962         is not possible.
7963         (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
7964         appropriately.
7965         * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
7966         already relocated.
7967         * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
7968         relocated.
7969         * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
7970         (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
7971         (_dl_map_object): DT_STRTAB entry is already relocated.
7972         * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
7973         already relocated.
7974         * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
7975         relocated.
7976         * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
7977         DT_VERSYM entries are already relocated.
7978         (profile_fixup): Likewise.
7979         * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX.  Replace
7980         all users.
7981         (match_symbol): DT_STRTAB entry is already relocated.
7982         (_dl_check_map_versions): Likewise.  Also fo DT_VERSYM.
7983         * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
7984         relocated already.  DT_SYMTAB and DT_VERSYM entries are also relocated.
7985         * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
7986         (find_needed): DT_STRTAB entry is already relocated.
7987         (dl_main): Pass extra argument to elf_get_dynamic_info.
7988         DT_STRTAB entry is already relocated.
7989         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
7990         DT_PLTGOT entries are already relocated.
7991         (elf_machine_rela): Likewise for DT_SYMTAB.
7992         * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
7993         relocated.
7994         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7995         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
7996         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7997         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7998         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
7999         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
8000         (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
8001         * sysdeps/mips/mips64/dl-machine.h: Likewise.
8003         * grp/initgroups.c (initgroups): If function in current module was
8004         successful don't stop but continue to process to get all the groups.
8006         * elf/dl-load.c (_dl_map_object_from_fd): Use global
8007         _dl_pf_to_proot array to convert p_flags value.
8008         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8010         * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
8011         loop to clear `info'.
8013         * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
8014         do the work and don't use inline assembler.
8016 1999-02-19  Ulrich Drepper  <drepper@cygnus.com>
8018         * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
8019         * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
8020         noreturn, and prevent it from being inlined.
8021         Define LOSE appropriately.
8022         (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
8023         Optimize decoding of p_flags for certain platforms.
8025 1999-02-19  Philip Blundell  <pb@nexus.co.uk>
8027         * Makeconfig (link-libc): When doing a static link, make sure that
8028         libgcc.a is included both before and after libc.a.
8030 1999-02-18  Thorsten Kukuk  <kukuk@suse.de>
8032         * nis/nss_compat/compat-spwd.c: Fix handling of default values for
8033         sp_warn, sp_inact, sp_expire and sp_flag.
8035 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
8037         * elf/link.h (link_map): Add l_dev and l_ino.
8038         * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
8039         loaded shared object with all loaded objects.  Initialize l_ino
8040         and l_dev in case it's new.
8041         * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
8042         object.
8043         * elf/Makefile: Compile and run new test.
8044         * elf/multiload.c: New file.
8046         * nss/nsswitch.h (service_user): Change name field from const char *
8047         to char[0].
8048         (name_database_entry): Likewise.
8049         * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
8050         for change of `service_user'.
8051         (nss_getline): Adjust memory allocation for change of
8052         `name_database_entry'.
8054         * catgets/catgets.c: Correctly handle NLSPATH from environment
8055         [PR libc/980].
8057         * io/Makefile (routines): Add lock64.
8058         * io/Versions: Add lockf64 for GLIBC_2.1.1.
8059         * sysdeps/generic/lockf64.c: New file.
8061 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
8063         * string/bits/string2.h: Only use strncmp optimization if count
8064         argument is constant.
8066 1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>
8068         * sysdeps/mach/hurd/revoke.c: New file.
8070 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
8072         * wctype/wctype.h (_ISwbit): Cast result of shift operations to
8073         int to avoid warning about `ISO C restricts enumerator values to
8074         range of `int''.
8076 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8078         * elf/dlfcn.h: Fix typo.
8079         * sysdeps/generic/bits/dlfcn.h: Likewise.
8080         * sysdeps/mips/bits/dlfcn.h: Likewise.
8082 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
8084         * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
8085         for the case N == 0.
8087         * db2/Makefile (distribute): Add LICENSE.
8089 1999-02-03  Jeff Bailey  <jbailey@nisa.net>
8091         * sysdeps/unix/make_errlist.c: Add i18n and copyright to
8092         generated files.
8094         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
8096 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
8098         * time/mktime.c: Use ISO C form for function definitions and
8099         remove unnecessary prototypes.
8101         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
8103         * time/time.h: Avoid unneccesary #ifdef.
8105 1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
8107         * stdio-common/_itoa.c (_itoa): Correct parameters to
8108         udiv_qrnnd_preinv.
8110 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8112         * misc/sys/cdefs.h: Undefine __PMT since it might be defined
8113         before (e.g. in glob.h).
8114         Closes PR libc/959.
8116 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8118         * sysdeps/mips/fpu_control.h: Fix typo.
8119         Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
8120         Remove __setfpucw.
8122 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
8124         * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
8125         the "unused" ends of the sockets.  Let pipes be bidirectional.
8127 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
8129         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
8130         invalid ai_flags.
8132 1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8134         * manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
8135         Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
8137         * manual/setjmp.texi (Non-Local Exits and Signals): Fix
8138         typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
8140 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
8142         * string/Versions: Add __strverscmp to GLIBC_2.1.1.
8144 1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8146         * misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
8147         check for priority mask.
8149 1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
8151         * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
8152         Reported by Craig Metz <cmetz@inner.net> .
8154 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8156         * stdio-common/Makefile (tests): tllformat added.
8158         * stdio-common/tllformat.c: New program, based on tiformat.c with
8159         examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
8161 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8163         * posix/test-vfork.c: Fix exit status test.
8165 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8167         * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
8168         missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
8170 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8172         * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
8173         of separare explicit comparisons.
8175 1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8177         * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
8178         defined.
8180         * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
8181         defined.
8183 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
8185         * po/el.po: Update from translation team.
8187 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8189         * intl/locale.alias: Fix slovenian entry [PR libc/948].
8191 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8193         * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
8194         * inet/ruserpass.c: Likewise.
8195         * locale/programs/stringtrans.c: Likewise.
8196         * locale/programs/localedef.c: Likewise.
8197         * nscd/grpcache.c: Likewise.
8198         * nss/nss_files/files-XXX.c: Likewise.
8199         * stdlib/canonicalize.c: Likewise.
8200         * sysdeps/posix/sigwait.c: Likewise.
8202 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8204         * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
8205         even on 64 bit platforms.
8207         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
8208         Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
8210 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
8212         * intl/dcgettext.c: Include locale.h is available.
8214 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
8216         * po/nl.po: Update from translation team.
8218         * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
8220         * Makefile: Allow calling goals for po subdir.
8222         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
8223         signal definitions.
8225         * po/el.po: New file.
8227 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8229         * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
8230         when processing DT_SYMBOLIC objects.
8232 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8234         * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
8235         program headers without PT_PHDR only require that they are
8236         contained within one of the loaded segments.  Don't use assert,
8237         since that would be a bug in the object, not the dynamic linker.
8239 1999-02-08  Richard Henderson  <rth@cygnus.com>
8241         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
8242         restore all call-clobbered fp regs.
8244 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
8246         * po/cs.po: New file.
8248         * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
8249         SUID binaries.
8251 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
8253         * signal/signal.h: Don't declare __libc_allocate_rtsig.
8254         * include/signal.h: Declare __libc_allocate_rtsig here.
8256         * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
8257         point functions, not do_lookup since the later can be called more
8258         than once.
8260 1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>
8262         * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
8263         macro, so that architectures which need to add some special
8264         offset to stack pointer can share this file.
8266         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
8267         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
8268         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
8269         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
8271         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
8272         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
8273         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
8274         between sparc32 and sparc64.
8276         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
8277         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
8278         * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
8279         between sparc32 and sparc64.
8281         * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
8282         * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
8283         * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
8284         between sparc32 and sparc64.
8286         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
8287         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
8288         * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
8289         between sparc32 and sparc64.
8291 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
8293         * Versions.def: New version GLIBC_2.1.1 for libc.
8294         * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
8295         * stdlib/labs.c: Moved to...
8296         * sysdeps/generic/labs.c: ...here.
8297         * stdlib/llabs.c: Moved to...
8298         * sysdeps/generic/llabs.c: ...here.
8299         * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
8300         header.  Declare _Exit.
8301         * sysdeps/generic/_exit.c: Add alias _Exit.
8302         * sysdeps/mach/hurd/_exit.c: Likewise.
8303         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
8304         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
8305         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
8306         * sysdeps/unix/_exit.c: Likewise.
8307         * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
8308         imaxdiv and imaxabs.  Declare lldiv_t if necessary.
8309         * sysdeps/wordsize-64/inttypes.h: Likewise.
8310         * sysdeps/wordsize-32/llabs.c: New file.
8311         * sysdeps/wordsize-32/lldiv.c: New file.
8312         * sysdeps/wordsize-64/labs.c: New file.
8313         * sysdeps/wordsize-64/ldiv.c: New file.
8314         * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
8315         * manual/startup.texi: Document _Exit.
8317 1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8319         * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
8321 1999-02-06  Ulrich Drepper  <drepper@cygnus.com>
8323         * Versions.def: Add versions for ld.so.
8324         * csu/Versions: Remove __libc_stack_end here.
8325         * elf/Versions: Split libc definitions in libc and ld.so definitions.
8326         * elf/Makefile (ld-map): Change to ld.so.map.
8327         * scripts/versions.awk: Recognize dot in library names.
8329         * ctype/ctype.h: Remove definitions of __tolower and __toupper.
8330         Don't use __tolower and __toupper in inline functions.
8331         Add optimizing macros for tolower and toupper.
8332         * ctype/ctype-extn.c (_tolower): Don't use __tolower.
8333         (_toupper): Don't use __toupper.
8334         * ctype/ctype.c (tolower): Don't use __tolower.
8335         (toupper): Don't use toupper.
8337         * nscd/cache.c (prune_cache): Correct printing of debugging messages.
8339         * resolv/Versions (libresolv): Export __ns_name_unpack and
8340         __ns_name_ntop.
8341         * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
8342         make it global.  Change all users.  Similar for ns_name_ntop.
8343         * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
8344         user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
8345         directly to detect too small buffer.
8346         * resolv/nss_dns/dns-network.c: Likewise.
8348         * stdio-common/Makefile (tests): Add scanf12.
8349         * stdio-common/scanf12.c: New file.
8350         * stdio-common/scanf12.input: New file.
8351         * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
8352         floating-point correctly if the number is invalid.
8354         * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
8355         functions.
8356         * stdio-common/printf_fp.c: Likewise.
8357         * stdio-common/printf_fphex.c: Likewise.
8358         * stdio-common/vfprintf.c: Likewise.
8361 See ChangeLog.9 for earlier changes.