Update.
[glibc.git] / ChangeLog
blob8434d16b3e2ec5087dc0102de7f0ad4fb949211f
1 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
3         * malloc/memprof.c (GETSP): Define for PowerPC.
4         (GETTIME): Fix generic version.
6 1999-10-10  Philip Blundell  <philb@gnu.org>
8         * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
9         __BYTE_ORDER.
11 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
13         * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
14         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
15         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
16         * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
18         * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
20         * sysdeps/powerpc/e_sqrt.c: Moved to...
21         * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
22         * sysdeps/powerpc/e_sqrtf.c: Moved to...
23         * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
25         * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
26         * sysdeps/powerpc/sub_n.S: Likewise.
27         * sysdeps/powerpc/strlen.S: Likewise.
28         * sysdeps/powerpc/strcpy.S: Likewise.
29         * sysdeps/powerpc/strcmp.S: Likewise.
30         * sysdeps/powerpc/strchr.S: Likewise.
31         * sysdeps/powerpc/stpcpy.S: Likewise.
32         * sysdeps/powerpc/setjmp.S: Likewise.
33         * sysdeps/powerpc/rshift.S: Likewise.
34         * sysdeps/powerpc/ppc-mcount.S: Likewise.
35         * sysdeps/powerpc/mul_1.S: Likewise.
36         * sysdeps/powerpc/memset.S: Likewise.
37         * sysdeps/powerpc/lshift.S: Likewise.
38         * sysdeps/powerpc/dl-start.S: Likewise.
39         * sysdeps/powerpc/bzero.S: Likewise.
40         * sysdeps/powerpc/bsd-setjmp.S: Likewise.
41         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
42         * sysdeps/powerpc/addmul_1.S: Likewise.
43         * sysdeps/powerpc/add_n.S: Likewise.
44         * sysdeps/powerpc/__longjmp.S: Likewise.
45         * sysdeps/powerpc/elf/start.S: Likewise.
47 1999-10-11  Cristian Gafton  <gafton@redhat.com>
49         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
50         SA_SIGINFO.
52 1999-10-10  Ulrich Drepper  <drepper@cygnus.com>
54         * stdlib/atexit.c (initial): New variable.  Use to initialize
55         __exit_funcs.
56         * stdlib/exit.c (exit): Beware to not free statically allocated
57         list element [PR libc/1305].
59         * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
60         slash before the basename [PR libc/1383].
62         * argp/argp.h: Fix typo in last patch.
64         * sysdeps/powerpc/sysdep.h: New file.
65         * sysdeps/unix/powerpc/sysdep.h: New file.
66         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
67         sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
68         * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
69         instead of bare numbers.
70         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
71         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
72         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
74         * sysdeps/hppa/sysdep.h: New file.
76 1999-10-10  Andreas Jaeger  <aj@suse.de>
78         * misc/sgtty.h: Fix typo in last patch.
80 1999-10-09  Ulrich Drepper  <drepper@cygnus.com>
82         * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
83         * sysdeps/powerpc/s_copysign.S: Move to...
84         * sysdeps/powerpc/fpu/s_copysign.S: ...here.  Use portable asm syntax.
85         * sysdeps/powerpc/s_copysignf.S: Move to...
86         * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
87         * sysdeps/powerpc/s_fabs.S: Move to...
88         * sysdeps/powerpc/fpu/s_fabs.S: ...here.  Use portable asm syntax.
89         * sysdeps/powerpc/s_fabsf.S: Move to...
90         * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
91         * sysdeps/powerpc/s_fdim.c: Move to...
92         * sysdeps/powerpc/fpu/s_fdim.c: ...here.
93         * sysdeps/powerpc/s_fdimf.c: Move to...
94         * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
95         * sysdeps/powerpc/s_fmax.S: Move to...
96         * sysdeps/powerpc/fpu/s_fmax.S: ...here.  Use portable asm syntax.
97         * sysdeps/powerpc/s_fmaxf.S: Move to...
98         * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
99         * sysdeps/powerpc/s_fmin.S: Move to...
100         * sysdeps/powerpc/fpu/s_fmin.S: ...here.  Use portable asm syntax.
101         * sysdeps/powerpc/s_fminf.S: Move to...
102         * sysdeps/powerpc/fpu/s_fminf.S: ...here.
103         * sysdeps/powerpc/s_isnan.S: Move to...
104         * sysdeps/powerpc/fpu/s_isnan.c: ...here.
105         * sysdeps/powerpc/s_isnanf.S: Move to...
106         * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
107         * sysdeps/powerpc/s_llrint.c: Move to...
108         * sysdeps/powerpc/fpu/s_llrint.c: ...here.
109         * sysdeps/powerpc/s_llrintf.c: Move to...
110         * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
111         * sysdeps/powerpc/s_llround.c: Move to...
112         * sysdeps/powerpc/fpu/s_llround.c: ...here.
113         * sysdeps/powerpc/s_llroundf.c: Move to...
114         * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
115         * sysdeps/powerpc/s_lrint.c: Move to...
116         * sysdeps/powerpc/fpu/s_lrint.c: ...here.
117         * sysdeps/powerpc/s_lrintf.S: Move to...
118         * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
119         * sysdeps/powerpc/s_lround.c: Move to...
120         * sysdeps/powerpc/fpu/s_lround.c: ...here.
121         * sysdeps/powerpc/s_lroundf.c: Move to...
122         * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
123         * sysdeps/powerpc/s_rint.c: Move to...
124         * sysdeps/powerpc/fpu/s_rint.c: ...here.
125         * sysdeps/powerpc/s_rintf.c: Move to...
126         * sysdeps/powerpc/fpu/s_rintf.c: ...here.
127         * sysdeps/powerpc/t_sqrt.c: Move to...
128         * sysdeps/powerpc/fpu/t_sqrt: ...here.
129         * sysdeps/powerpc/w_sqrt.c: Move to...
130         * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
131         * sysdeps/powerpc/w_sqrtf.c: Move to...
132         * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
133         * configure.in: Support platforms which have no .text pseudo-op.
134         Patches partly by Jimi X <jimix@pobox.com>.
136         * Makeconfig: Look also in all subdirs for shlib-versions files.
138         * malloc/memprof.sh: Fix --help string a bit.
140         * argp/argp.h: Remove K&R compatiblity.
141         * assert/assert.h: Likewise.
142         * catgets/nl_types.h: Likewise.
143         * ctype/ctype.h: Likewise.
144         * db/db.h: Likewise.
145         * db/ndbm.h: Likewise.
146         * db2/db.h: Likewise.
147         * db2/db_185.h: Likewise.
148         * debug/execinfo.h: Likewise.
149         * dirent/dirent.h: Likewise.
150         * dlfcn/dlfcn.h: Likewise.
151         * gmon/sys/gmon.h: Likewise.
152         * grp/grp.h: Likewise.
153         * iconv/gconv.h: Likewise.
154         * iconv/iconv.h: Likewise.
155         * include/execinfo.h: Likewise.
156         * inet/aliases.h: Likewise.
157         * inet/netinet/ether.h: Likewise.
158         * inet/netinet/in.h: Likewise.
159         * intl/libintl.h: Likewise.
160         * io/fcntl.h: Likewise.
161         * io/fts.h: Likewise.
162         * io/ftw.h: Likewise.
163         * io/utime.h: Likewise.
164         * io/sys/poll.h: Likewise.
165         * io/sys/stat.h: Likewise.
166         * io/sys/statfs.h: Likewise.
167         * io/sys/statvfs.h: Likewise.
168         * libio/libio.h: Likewise.
169         * libio/stdio.h: Likewise.
170         * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
171         * locale/locale.h: Likewise.
172         * login/pty.h: Likewise.
173         * login/utmp.h: Likewise.
174         * malloc/mcheck.h: Likewise.
175         * math/complex.h: Likewise.
176         * math/math.h: Likewise.
177         * math/math_private.h: Likewise.
178         * misc/err.h: Likewise.
179         * misc/fstab.h: Likewise.
180         * misc/libgen.h: Likewise.
181         * misc/mntent.h: Likewise.
182         * misc/regexp.h: Likewise.
183         * misc/search.h: Likewise.
184         * misc/sgtty.h: Likewise.
185         * misc/ttyent.h: Likewise.
186         * misc/sys/cdefs.h: Likewise.
187         * misc/sys/file.h: Likewise.
188         * misc/sys/ioctl.h: Likewise.
189         * misc/sys/mman.h: Likewise.
190         * misc/sys/select.h: Likewise.
191         * misc/sys/syslog.h: Likewise.
192         * misc/sys/uio.h: Likewise.
193         * misc/sys/ustat.h: Likewise.
194         * nss/nss.h: Likewise.
195         * posix/sched.h: Likewise.
196         * posix/unistd.h: Likewise.
197         * posix/wordexp.h: Likewise.
198         * posix/sys/times.h: Likewise.
199         * posix/sys/utsname.h: Likewise.
200         * posix/sys/wait.h: Likewise.
201         * pwd/pwd.h: Likewise.
202         * resolv/netdb.h: Likewise.
203         * resolv/resolv.h: Likewise.
204         * resource/ulimit.h: Likewise.
205         * resource/sys/resource.h: Likewise.
206         * resource/sys/vlimit.h: Likewise.
207         * resource/sys/vtimes.h: Likewise.
208         * rt/aio.h: Likewise.
209         * setjmp/setjmp.h: Likewise.
210         * shadow/shadow.h: Likewise.
211         * signal/signal.h: Likewise.
212         * socket/socket.h: Likewise.
213         * stdio/stdio.h: Likewise.
214         * stdio-common/_itoa.h: Likewise.
215         * stdio-common/_itowa.h: Likewise.
216         * stdio-common/printf.h: Likewise.
217         * stdlib/alloca.h: Likewise.
218         * stdlib/fmtmsg.h: Likewise.
219         * stdlib/monetary.h: Likewise.
220         * stdlib/stdlib.h: Likewise.
221         * stdlib/ucontext.h: Likewise.
222         * streams/stropts.h: Likewise.
223         * string/argz.h: Likewise.
224         * string/envz.h: Likewise.
225         * string/string.h: Likewise.
226         * string/strings.h: Likewise.
227         * string/bits/string2.h: Likewise.
228         * sunrpc/rpc/auth.h: Likewise.
229         * sunrpc/rpc/auth_des.h: Likewise.
230         * sunrpc/rpc/auth_unix.h: Likewise.
231         * sunrpc/rpc/clnt.h: Likewise.
232         * sunrpc/rpc/des_crypt.h: Likewise.
233         * sunrpc/rpc/netdb.h: Likewise.
234         * sunrpc/rpc/pmap_clnt.h: Likewise.
235         * sunrpc/rpc/pmap_prot.h: Likewise.
236         * sunrpc/rpc/pmap_rmt.h: Likewise.
237         * sunrpc/rpc/rpc_msg.h: Likewise.
238         * sunrpc/rpc/svc.h: Likewise.
239         * sunrpc/rpc/svc_auth.h: Likewise.
240         * sunrpc/rpc/xdr.h: Likewise.
241         * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
242         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
243         * sysvipc/sys/ipc.h: Likewise.
244         * sysvipc/sys/msg.h: Likewise.
245         * sysvipc/sys/sem.h: Likewise.
246         * sysvipc/sys/shm.h: Likewise.
247         * termios/termios.h: Likewise.
248         * time/time.h: Likewise.
249         * time/sys/time.h: Likewise.
250         * time/sys/timeb.h: Likewise.
251         * wcsmbs/wchar.h: Likewise.
252         * wctype/wctype.h: Likewise.
254 1999-10-05  Roland McGrath  <roland@baalperazim.frob.com>
256         * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
257         _GNU_SOURCE be defined.
259 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
261         * ctype/ctype.h: Pretty print.
263         * po/cs.po: Fix typos.
265         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
266         handling of empty entries.  [PR libc/1345]
267         Patch by Thorsten Kukuk <kukuk@suse.de>.
269 1999-10-08  Andreas Schwab  <schwab@suse.de>
271         * debug/xtrace.sh: Fix quoting bugs.  Implement --help and --version.
273 1999-10-08  Andreas Schwab  <schwab@suse.de>
275         * debug/pcprofiledump.c: Fix typos.
277 1999-10-07  Andreas Jaeger  <aj@suse.de>
279         * math/Makefile (tests): Added basic-tests.
281         * math/basic-test.c: New file.  Contains function basic_tests from
282         libm-test.
284 1999-10-07  Andreas Schwab  <schwab@suse.de>
286         * malloc/memprof.sh: Fix quoting bugs.
288 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
290         * timezone/europe: Update from tzdata1999h.
292 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
294         * elf/elf.h: Update from last gABI draft.
296         * elf/elf.h: Remove EM_486 entry.
297         * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
298         test for EM_486.
300 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
302         * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
303         Add rules for both programs.
304         * debug/pcprofiledump.c: New file.
305         * debug/xtrace.sh: New file.
306         * debug/pcprofile.c: Allow creating output file.  Add magic signature
307         to let reader recognize file format.
309 1999-10-06  Ulrich Drepper  <drepper@cygnus.com>
311         * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
313 1999-10-05  Andreas Jaeger  <aj@suse.de>
315         * locale/programs/ld-identification.c: Fix typo in comment.
316         * locale/programs/ld-messages.c: Likewise.
317         * locale/programs/ld-monetary.c: Likewise.
318         * locale/programs/ld-name.c: Likewise.
320         * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
321         (collate_read): Remove unnecessary comparisons with ignore_content.
323         * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
324         assigned elements.
325         (ctype_read): Remove unnecessary comparisons with ignore_content.
326         Fix typos in comments.
328         * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
329         comparisons with ignore_content.
331 1999-10-05  Ulrich Drepper  <drepper@cygnus.com>
333         * po/cs.po: Update.
335         * time/time.h: Move __gmtime_r declaration to ...
336         * include/time.h: ...here.
338 1999-10-05  Andreas Jaeger  <aj@suse.de>
340         * manual/message.texi (The message catalog files): Fix description
341         to match gencat implementation and Unix98: Message fields are
342         separated by a single blank space.
344 1999-10-05  Andreas Jaeger  <aj@suse.de>
346         * manual/string.texi (Search Functions): Add missing end for
347         memrchr description.
349 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
351         * malloc/memprof.sh: Various small cleanups.  Add short options.
352         Write error messages to stderr.
354         * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
356         * malloc/memprof.sh: Take options to control memprofstat.
358         * malloc/Makefile: Add rule to generate memprof script.
359         * malloc/memprof.sh: New file.
361         * elf/ldd.bash.in: Add "Usage: " in help message to comply with
362         GNU standard.
364 1999-10-04  Andreas Jaeger  <aj@suse.de>
366         * configure.in: Allow makeinfo 4.*.
368 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
370         * stdio-common/vfprintf.c: Correct last patch and use outchar
371         instead of PUTC to output single characters.
372         * stdio-common/Makefile (tests): Add bug13.
373         * stdio-common/bug13.c: New file.
375         * configure.in: Add additional options --with-gd-include and
376         --with-gd-lib to help people with strange installations.
378         * malloc/Makefile: Add libdl dependency to libmemprof.so.
379         * malloc/Depend: New file.
381 1999-10-04  Andreas Jaeger  <aj@suse.de>
383         * timezone/README: Change wording to not mention the current
384         version.  This way we can't forget to update the file.
386 1999-10-04  Andreas Jaeger  <aj@suse.de>
388         * manual/time.texi (Basic CPU Time): Fix typo.
389         Reported by Ben Pfaff <pfaffben@msu.edu>.
391 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
393         * string/string.h: Move __memrchr declaration to ...
394         * include/string.h: ...here.
396 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
398         * string/Makefile (routines): Add memrchr.
400         * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
401         Correct order of tests for matching bytes.
403         * string/tester.c: Add tests for memrchr.
405         * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
406         Start from the last character and take decrement not increment
407         into account for correction in return line.  Add memrchr alias.
408         * sysdeps/i386/bits/string.h: Likewise.
410 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
412         * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
414 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
416         * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
418         * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
419         conventions.
421         * string/Versions: Export memrchr.
423 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
425         * misc/Versions (GLIBC_2.2): Add getloadavg.
426         * misc/Makefile (routines): Add getloadavg.
427         * sysdeps/generic/getloadavg.c: New file.
428         * sysdeps/mach/getloadavg.c: New file.
429         * sysdeps/unix/sysv/linux/getloadavg.c: New file.
431         * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
432         * sysdeps/i386/bits/string.h (__memrchr): New function.
433         * string/string.h: Declare memrchr, __memrchr.
434         * manual/string.texi (Search Functions): Document memrchr.
436 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
438         * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
439         CFLAGS-memprofstat.c, and LIBGD variables.
440         * config.make.in: Add LIBGD.
441         * malloc/Makefile: Add rules to generate libmemprof.so and
442         memprofstat.
443         * malloc/memprof.c: New file.
444         * malloc/memprofstat.c: New file.
446 1999-10-02  Ulrich Drepper  <drepper@cygnus.com>
448         * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
450         * resolv/inet_ntop.c (inet_ntop4): Little optimization.
451         (inet_ntop6): Likewise.
453         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
454         overruns.
456         * resolv/tst-aton.c (main): Add more tests.
458         * resolv/inet_addr.c (inet_aton): Correct some problems with to
459         large numbers.  Optimize a bit.
461 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
463         * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
464         account for added '0'.
466         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
467         handling of IPv6 tunnel address handling with bind 8.2.1.  Allow
468         len argument to be greater than needed address size.
470 1999-10-01  Andreas Jaeger  <aj@suse.de>
472         * locale/programs/ld-collate.c (insert_value): Add cast to avoid
473         warning.
474         * intl/finddomain.c (_nl_find_domain): Likewise.
476 1999-09-30  Andreas Schwab  <schwab@suse.de>
478         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
480 1999-09-30  Andreas Jaeger  <aj@suse.de>
482         * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
483         * sysdeps/i386/rshift.S: Likewise.
484         * sysdeps/i386/strchrnul.S: Likewise.
485         * sysdeps/i386/strchr.S: Likewise.
486         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
487         PR libc/1339.
489 1999-09-30  Andreas Jaeger  <aj@suse.de>
491         * manual/examples/pipe.c: Close other end of pipe to make example work.
493 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
495         * timezone/checktab.awk: Update from tzcode1999g.
496         * timezone/tzselect.ksh: Likewise.
497         * timezone/africa: Update from tzdata1999g.
498         * timezone/asia: Likewise.
499         * timezone/australasia: Likewise.
500         * timezone/europe: Likewise.
501         * timezone/northamerica: Likewise.
502         * timezone/southamerica: Likewise.
503         * timezone/iso3166.tab: Likewise.
504         * timezone/zone.tab: Likewise.
506 1999-09-27  Andreas Jaeger  <aj@suse.de>
508         * resolv/netdb.h: Remove declaration of getnodebyname.  It has
509         been renamed to getipnodebyname.  Move flags around.
511 1999-09-27  Andreas Schwab  <schwab@suse.de>
513         * manual/message.texi (Locating gettext catalog): Fix typos.
515 1999-09-27  Andreas Jaeger  <aj@suse.de>
517         * manual/socket.texi (Out-of-Band Data): Correct example program,
518         rename some variables for clarity.
519         Reported by James Antill <james@and.org>, close PR libc/1329.
521 1999-09-27  Ulrich Drepper  <drepper@cygnus.com>
523         * locale/programs/ld-collate.c (insert_value): Add hack to not
524         crash in incomplete collate implementation.
526         * locale/programs/ld-collate.c (read_directions): Read new token
527         after accepting sorting rule.
529 1999-09-26  Ulrich Drepper  <drepper@cygnus.com>
531         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
532         error message printing.  Correctly test whether all characters of
533         current token are used.
534         (ctype_read): NUL terminate last_str.
536 1999-09-26  Thorsten Kukuk  <kukuk@suse.de>
538         * nscd/connections.c: Invalidate caches on request.
539         * nscd/nscd-client.h: Add INVALIDATE to request_type.
540         * nscd/nscd.c: Add invalidate cache option.
541         * nscd/nscd.conf: Change log directory to /var/log (FHS).
543 1999-09-24  Ulrich Drepper  <drepper@cygnus.com>
545         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
546         not ovverwrite last group member with NULL pointer.
547         Reported by Thomas Winder <thomas.winder@newlogic.at>.
549 1999-09-24  Andreas Jaeger  <aj@suse.de>
551         * stdio-common/tst-printf.c (main): Add a testcase for large
552         precision.  Reported by Tymm Twillman <tymm@coe.missouri.edu>.
554 1999-09-24  Andreas Schwab  <schwab@suse.de>
556         * math/bits/mathcalls.h: Fix last change.  Also declare __finite.
558 1999-09-24  Andreas Jaeger  <aj@suse.de>
560         * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
561         normalized_codeset.  Reported by Belicky Zsolt <zsolt@prolan.hu>.
563 1999-09-23  Mark Kettenis  <kettenis@gnu.org>
565         * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
566         variable.  Define MORECORE_CLEARS to 2.
568         * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
569         doesn't clear the contents of memory that is reallocated after
570         decrementing the break value first.  Update comment about
571         MORECORE_CLEARS, explaining the meaning of the values it can be
572         set to.
574 1999-09-23  Ulrich Drepper  <drepper@cygnus.com>
576         * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
577         one more case.
579         * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
580         (log): Likewise.
581         (log10): Likewise.
582         (log1p): Likewise.
583         (log2): Likewise.
585 1999-09-22  Andreas Jaeger  <aj@suse.de>
587         * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
588         reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
590 1999-09-22  Andreas Schwab  <schwab@suse.de>
592         * stdio-common/vfscanf.c: Fix width handling when scanning floats.
594 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
596         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
597         the source directory.  Fixes PR libc/1059.
599 1999-09-21  Ulrich Drepper  <drepper@cygnus.com>
601         * locale/programs/repertoire.c (repertoire_find_value): Abort if
602         rep parameter is NULL.
603         (repertoire_find_symbol): Likewise.
604         (repertoire_find_seq): Likewise.
606 1999-09-20  Jean-Louis Martineau  <martinea@IRO.UMontreal.CA>
608         * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
609         returned errno value in some cases.
611 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
613         * iconvdata/Makefile (modules): Add GBK.
614         (distribute): Add gbk.c.
615         * iconvdata/gbk.c: New file.
616         * iconvdata/gconv-modules: Add GBK entry.
617         Contributed by Sean Chen <sean.chen@turbolinux.com>.
619         * locale/programs/ld-monetary.c (monetary_output): Remove
620         byte-order code.
622         * locale/programs/ld-time.c (time_output): Correct expected number
623         of iov entries.
625         * manual/filesys.texi (Testing File Access): Correct description of
626         SUID.
628 1999-080-25  H.J. Lu  <hjl@gnu.org>
630         * csu/defs.awk (.end): Only match with leading white spaces.
631         (.align): Likewise.
633 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
635         * stdlib/isomac.c: Add va_copy to allowed macros.
637         * po/pl.po: Updated.
639 1999-09-17  Andreas Schwab  <schwab@suse.de>
641         * Makefile (clean): Also remove $(postclean) files.
643 1999-09-15  Andreas Jaeger  <aj@suse.de>
645         * pwd/Makefile (otherlibs): Add for building with static-nss.
646         * inet/Makefile (otherlibs): Likewise.
648 1999-09-15  Andreas Jaeger  <aj@suse.de>
650         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
651         function definition to avoid a compilation failure.
653 1999-09-15  Andreas Jaeger  <aj@suse.de>
655         * stdlib/tst-environ.c (main): Add getenv regression test for
656         environment variable that's one character long.
658 1999-09-15  Andreas Jaeger  <aj@suse.de>
660         * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
661         signal definitions to let glibc compile with older Linux versions
662         (2.0.10 to 2.1.100 or so).
664 1999-09-18  Roland McGrath  <roland@baalperazim.frob.com>
666         * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
667         return zero to indicate no children died yet (assuming WNOHANG).
669         * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
671 1999-09-17  Roland McGrath  <roland@baalperazim.frob.com>
673         * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
675         * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
676         Return _hurd_pgrp instead of 0.
678 1999-09-19  Roland McGrath  <roland@baalperazim.frob.com>
680         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
681         pages rather than just reprotecting them.  This way we don't hold on
682         to the backing space.
684         * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
685         Use __munmap instead of __vm_deallocate.
687 1999-09-18  Ulrich Drepper  <drepper@cygnus.com>
689         * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
690         returned errno value in some cases.
692 1999-09-17  Andreas Jaeger  <aj@suse.de>
694         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
695         to override user settings.
697 1999-09-17  Andreas Schwab  <schwab@suse.de>
699         * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
700         using a pointer to it.
702 1999-09-16  Ulrich Drepper  <drepper@cygnus.com>
704         * time/getdate.c (__getdate_r): Pass correct year to check_mday.
705         Reported by Vern Staats <staatsvr@asc.hpc.mil>.
707 1999-09-14  Ulrich Drepper  <drepper@cygnus.com>
709         * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
711         * elf/elf.h (PF_MASKOS): New definition.
712         (EM_VAX): New definition.
714 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
716         * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
717         'unsigned char ftype[8]', and 'unsigned int init_flag' to
718         struct user_fp.  These were added in version 2.2.12 of the
719         ARM Linux kernel.
720         * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
721         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
722         The generic procfs.h included <asm/elf.h>.  This causes
723         structure redefinition errors when <sys/user.h> and <sys/procfs.h>
724         are included in the same source file.  Found when building GDB.
726 1999-09-13  Ulrich Drepper  <drepper@cygnus.com>
728         * locale/langinfo.h: Remove byte-order dependent names.
729         * locale/categories.def: Update after removal of byte-order dependent
730         names.
731         * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
732         with magic number in other byte order.
733         * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
734         * locale/C-collate.c: Remove initializers for other byte-order.
735         * locale/C-ctype.c: Likewise.
736         * locale/C-monetary.c: Likewise.
737         * locale/C-paper.c: Likewise.
738         * locale/C-time.c: Likewise.
739         * locale/lc-collate.c: Remove byte-order oriented initialization.
740         * locale/lc-ctype.c: Likewise.
741         * locale/lc-monetary.c: Likewise.
742         * locale/lc-time.c: Likewise.
743         * locale/programs/ld-address.c: Don't generate output in both
744         byte-orders.
745         * locale/programs/ld-ctype.c: Likewise.
746         * locale/programs/ld-paper.c: Likewise.
747         * locale/programs/ld-time.c: Likewise.
748         * time/strftime.c (NLW): Don't use different byte-orders.
749         * wctype/cname-lookup.h (cname_lookup): Likewise.
751         * Makeconfig (localedir): Define using libdir, not datadir.
752         (msgcatdir): New variable.
753         * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
754         * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
755         msgcatdir.
756         * intl/Makefile (install-others): Install locale.alias in msgcatdir.
757         (CPPFLAGS): Define paths using msgcatdir.
758         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
759         * po/Makefile (mo-installed): Define using msgcatdir.
761         * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
763 1999-09-12  Ulrich Drepper  <drepper@cygnus.com>
765         * stdio-common/vfprintf.c: Remove limitation on size of precision
766         for integers.
768         * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
769         glibc by defining internal_function if it isn't already.
771         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
772         fails don't rely on errno value.
773         (getanswer_r): Set *ERRNOP in error cases.
775         * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
776         (gaih_inet_serv): Return EIA_NODATA if name is known but has no
777         associated data.  Test for matching numeric address and family.
778         (getaddrinfo): Remember EAI_NODATA result and return this in case
779         everything fails.
780         Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
782         * locale/programs/ld-address.c: Fix handling of non-existing
783         definitions for this category.  Correctly ignore content of this
784         category is this is necessary.
785         * locale/programs/ld-collate.c: Likewise.
786         * locale/programs/ld-ctype.c: Likewise.
787         * locale/programs/ld-identification.c: Likewise.
788         * locale/programs/ld-measurement.c: Likewise.
789         * locale/programs/ld-messages.c: Likewise.
790         * locale/programs/ld-monetary.c: Likewise.
791         * locale/programs/ld-name.c: Likewise.
792         * locale/programs/ld-numeric.c: Likewise.
793         * locale/programs/ld-paper.c: Likewise.
794         * locale/programs/ld-telephone.c: Likewise.
795         * locale/programs/ld-time.c: Likewise.
796         * locale/programs/locfile.h (handle_copy): Take extra parameter
797         with result pointer.  Fill in name of locale from which to copy.
798         Correctly read token after `END'.
800         * locale/programs/localedef.c (main): Correct handling copy.
801         (add_to_readlist): Take extra parameter which says whether we
802         are supposed to read the file or not.
803         (find_locale): Call add_to_readlist with extra parameter set to 0.
805         * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
806         instead of wrong number in array definitions.
807         (add_to_readlist): Update prototype.
809         * locale/programs/locfile.c (locfile_read): Mark categories not
810         available in source file as read.
811         (write_all_categories): Fix typo.
813         * locale/programs/locales.h: Removed.
815 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
817         * elf/elf.h (SHF_MASKOS): Added.
819         * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
821 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
823         * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
825 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
827         * configure.in: Fix make version test for make 3.77.95 and later
828         versions.
829         Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
831 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
833         * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
835         * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
836         WINT_MAX values.
838         * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
840 1999-09-09  Andreas Schwab  <schwab@suse.de>
842         * elf/link.h: Fix comment.
844 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
846         * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
848         * math/math.h: Pretty print.
850 1999-09-10  Andreas Schwab  <schwab@suse.de>
852         * sysdeps/generic/getenv.c (getenv): Fix lookup for single
853         character variable on bigendian platforms without unaligned memory
854         access.
856 1999-09-07  Cristian Gafton  <gafton@redhat.com>
858         * sysdeps/unix/sysv/linux/sys/raw.h: New file
859         * sysdeps/unix/sysv/linux/Dist: Add raw.h.
860         * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
862 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
864         * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
866         * time/ap.c: Removed.  It was not used.
867         * time/date.c: Likewise.
868         * sysdeps/unix/nlist.c: Likewise.
869         * sysdeps/generic/nlist.c: Likewise.
870         * sysdeps/generic/varargs.h: Likewise.
871         * stdio-common/scanf11.c: Likewise.
872         * stdio-common/scanf6.c: Likewise.
873         * scripts/=__ify: Likewise.
874         * scripts/printsources: Likewise.
875         * resolv/getnetnamadr.c: Likewise.
876         * posix/id.c: Likewise.
877         * misc/ioctltst.c: Likewise.
878         * misc/nlist.h: Likewise.
879         * math/test-math.h: Likewise.
880         * include/nlist.h: Likewise.
882 1999-09-06  Andreas Schwab  <schwab@suse.de>
884         * time/tzset.c (compute_change): Replace slow loop to compute T by
885         simple algorithm.
887 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
889         * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
890         escape sequences out even if the character itself does not fit
891         into the buffer.
893         * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
895 1999-08-31  H.J. Lu  <hjl@gnu.org>
897         * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
899 1999-09-05  Roland McGrath  <roland@baalperazim.frob.com>
901         * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
902         it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
903         (_hurd_priority_which_map):
905 1999-09-04  Ulrich Drepper  <drepper@cygnus.com>
907         * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
909 1999-09-03  Andreas Schwab  <schwab@suse.de>
911         * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
912         fork from __syscall_fork to __libc_fork.
913         * posix/Versions: Add __libc_fork and __vfork to version
914         GLIBC_2.1.2.
916 1999-08-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
918         * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
919         dependencies in sort.
921 1999-09-01  H.J. Lu  <hjl@gnu.org>
923         * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
925         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
926         <sys/user.h> instead of <asm/user.h>.
928 1999-09-02  Ulrich Drepper  <drepper@cygnus.com>
930         * elf/elf.h: Update PARISC-specific flags and symbolic names.
932 1999-09-01  Ulrich Drepper  <drepper@cygnus.com>
934         * elf/elf.h: Update PARISC relocations.
936 1999-08-31  Scott Bambrough  <scottb@netwinder.org>
938         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
939         #ifdef statement to prevent it from being included twice.
940         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
941         #include <bits/armsigctx.h>.
943 1999-08-31  Andreas Schwab  <schwab@suse.de>
945         * locale/C-collate.c: Add missing initialisations.
946         * locale/C-ctype.c: Likewise.
948 1999-08-31  Ulrich Drepper  <drepper@cygnus.com>
950         * time/strftime.c (my_strftime): Remove unneeded variable len.
952         * time/strptime.c: Undo last change.
954 1999-08-30  Ulrich Drepper  <drepper@cygnus.com>
956         * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
957         Change charset.h to charmap.h.
958         (categories): Add new categories.  Leave out collate for now.
959         Update build rules.
960         * locale/categories.def: Add definitions for new categories.
961         * locale/langinfo.h: Likewise.
962         * locale/locale.h: Likewise.
963         * locale/C-address.c: New file.
964         * locale/C-identification.c: New file.
965         * locale/C-measurement.c: New file.
966         * locale/C-name.c: New file.
967         * locale/C-paper.c: New file.
968         * locale/C-telephone.c: New file.
969         * locale/lc-address.c: Likewise.
970         * locale/lc-identification.c: Likewise.
971         * locale/lc-measurement.c: Likewise.
972         * locale/lc-name.c: Likewise.
973         * locale/lc-paper.c: Likewise.
974         * locale/lc-telephone.c: Likewise.
975         * locale/C-ctype.c: Update for locale rewrite.
976         * locale/C-messages.c: Likewise.
977         * locale/C-monetary.c: Likewise.
978         * locale/C-time.c: Likewise.
979         * locale/lc-collate.c: Likewise.
980         * locale/lc-ctype.c: Likewise.
981         * locale/lc-monetary.c: Likewise.
982         * locale/lc-time.c: Likewise.
983         * locale/localeinfo.h: Likewise.
984         * locale/newlocale.c: Likewise.
985         * locale/setlocale.c: Likewise.
986         * locale/weight.h: Likewise.
987         * locale/findlocale.c: Unconditionally use mmap.
988         Handle new categories.
989         * locale/loadlocale.c: Likewise.
990         * locale/iso-3166.def: New file.
991         * locale/iso-639.def: New file.
992         * locale/programs/charmap-kw.gperf: Add new keywords.
993         * locale/programs/locfile-kw.gperf: Likewise.
994         * locale/programs/locfile-token.h: Define new tokens.
995         * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
996         * locale/programs/charmap.h: New file.
997         * locale/programs/charset.h: Removed.
998         * locale/programs/config.h: Add __LC_LAST.
999         * locale/programs/lc-address.c: New file.
1000         * locale/programs/lc-identification.c: New file.
1001         * locale/programs/lc-measurement.c: New file.
1002         * locale/programs/lc-name.c: New file.
1003         * locale/programs/lc-paper.c: New file.
1004         * locale/programs/lc-telephone.c: New file.
1005         * locale/programs/lc-collate.c: Update for locale rewrite.
1006         * locale/programs/lc-ctype.c: Likewise.
1007         * locale/programs/lc-messages.c: Likewise.
1008         * locale/programs/lc-monetary.c: Likewise.
1009         * locale/programs/lc-numeric.c: Likewise.
1010         * locale/programs/lc-time.c: Likewise.
1011         * locale/programs/locale.c: Likewise.
1012         * locale/programs/localedef.c: Likewise.
1013         * locale/programs/locfile.c: Likewise.
1014         * locale/programs/repertoire.c: Likewise.
1015         * locale/programs/repertoire.h: Likewise.
1016         * locale/programs/locfile.c: Update prototypes.
1017         Update handle_copy definition.
1018         * locale/programs/linereader.c: Add handling of wide char strings and
1019         new definition file syntax.
1020         * locale/programs/linereader.h (struct token): Add elements for wide
1021         character strings.
1022         * locale/programs/locale-spec.c: Disable handling of collation
1023         elements for now.
1024         * locale/programs/simple-hash.h: Cleanup.
1025         * locale/programs/stringtrans.h: Handle quite of end of line.
1026         * string/strcoll.c: Fall back on strcmp for now.
1027         * string/strxfrm.c: Fall back on strncpy/strlen for now.
1028         * time/strftime.c: Use new wide character data for wcsftime.
1029         * time/strptime.c: Remove _nl_C_LC_TIME declaration.
1030         * wctype/cname-lookup.h: Update for new LC_CTYPE data.
1032         * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
1033         compiling for i386 to avoid i686-like GOT pointer computation.
1035         * db2/db_int.h: Change tsl_t type to u_int32_t.
1036         * db2/mutex/mutex.c: Allow Alpha mutex definitions.
1037         * db2/mutex/alpha.h: New file.
1038         * db2/mutex/sparc.gcc: Fix store code for v9.  Simplify clear code.
1039         * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
1040         known.
1041         Patches by Richard Henderson.
1043         * stdlib/tst-environ.c: Add cast to avoid warning.
1044         * timezone/test-tz.c: Use setenv instead of putenv.
1046 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1048         * manual/libc.texinfo: Update version and date.
1050         * manual/locale.texi (Formatting Numbers): Fix @node pointers.
1052         * manual/filesys.texi (Working with Directory Trees): Add missing @code.
1053         (File System Interface): Correct entry.
1054         (Permission Bits): Add missing commata after @xref.
1056 1999-08-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1058         * timezone/tst-timezone.c (main): Don't pass const strings to
1059         putenv to avoid warnings.
1061         * posix/regexbug1.c: Include <stdio.h> for puts prototype.
1063 1999-08-29  Thorsten Kukuk  <kukuk@suse.de>
1065         * nis/Versions: Add _nss_*_getipnodebyname_r.
1066         * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
1067         * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
1068         * nss/Versions: Add _nss_files_getipnodebyname_r.
1070 1999-08-28  H.J. Lu  <hjl@gnu.org>
1072         * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
1073         memory for buffer.
1075 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
1077         * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
1078         kernel.
1079         * inet/netinet/in.h: Likewise.
1080         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1081         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1083 1999-08-28  Ulrich Drepper  <drepper@cygnus.com>
1085         * malloc/malloc.c (ptmalloc_init): Don't use variables to set
1086         thresholds for SUID binaries.  [PR libc/1277]
1088         * posix/regexbug1.c: Add one more similar case.
1090 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1092         * manual/install.texi (Running make install): Give examples for
1093         timezone and locale installation.
1095 1999-08-28  Zack Weinberg  <zack@bitmover.com>
1097         * glibcbug.in: Get CCVERSION from autoconf substitution.
1098         * configure.in: Calculate and substitute CCVERSION.
1100 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1102         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
1103         partially reverting a patch from 1998-12-29.  We just can't change
1104         the flags, kernels with different flags lead to
1105         incompatibilities.
1107 1999-08-26  Andreas Schwab  <schwab@suse.de>
1109         * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
1111 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
1113         * inet/rexec.c (rexec): Free memory if strings were allocated in
1114         ruserpass.  Reported by Andrew Morton <morton@nortelnetworks.com>.
1116 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
1118         * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
1120         * manual/argp.texi: Fixing language and typos.
1121         * manual/conf.texi: Likewise.
1122         * manual/contrib.texi: Likewise.
1123         * manual/ctype.texi: Likewise.
1124         * manual/filesys.texi: Likewise.
1125         * manual/install.texi: Likewise.
1126         * manual/job.texi: Likewise.
1127         * manual/lang.texi: Likewise.
1128         * manual/llio.texi: Likewise.
1129         * manual/locale.texi: Likewise.
1130         * manual/math.texi: Likewise.
1131         * manual/nss.texi: Likewise.
1132         * manual/pipe.texi: Likewise.
1133         * manual/signal.texi: Likewise.
1134         * manual/socket.texi: Likewise.
1135         * manual/stdio.texi: Likewise.
1136         * manual/sysinfo.texi: Likewise.
1137         * manual/users.texi: Likewise.
1138         Patches by Neil Booth <NeilB@earthling.net>.
1140 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
1142         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
1143         unsigned to avoid warning.  [PR libc/1271].
1145         * conform/conformtest.pl: Allow testing regex.h which requires
1146         sys/types.h being included.
1148         * conform/data/regex.h-data: Allow *_t types.
1149         * conform/data/pwd.h-data: Likewise.
1150         * conform/data/sched.h-data: Likewise.
1151         * conform/data/pthread.h-data: Likewise.
1152         * conform/data/search.h-data: Likewise.
1154         * misc/search.h: Avoid namespace pollution.
1156         * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
1157         pwd.h, and pthread.h.
1158         * conform/data/pthread.h-data: New file.
1159         * conform/data/pwd.h-data: New file.
1160         * conform/data/regex.h-data: New file.
1161         * conform/data/sched.h-data: New file.
1162         * conform/data/search.h-data: New file.
1164         * NAMESPACE: Add REG_ for regex.h.
1166         * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
1167         they are removed.
1169         * configure.in (libc_cv_asm_global_directive): Indent .text in
1170         test code so that the lame HPUX compiler recognizes it.
1171         * sysdeps/hppa/bits/endian.h: New file.
1172         * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
1173         * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
1174         * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
1175         * sysdeps/unix/sysv/hpux/bits/types.h: New file.
1177         * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
1178         Patch by John Tobey <jtobey@banta-im.com>.
1180         * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
1182         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
1183         old_siocfifconf definition to toplevel.
1184         (__protocol_available): Remove old_siocfifconf definition.
1186 1999-08-25  Mark Kettenis  <kettenis@gnu.org>
1188         * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
1189         really dealing with a master pseudo terminal, and really returning
1190         the name of the associated slave pseudo terminal by checking the
1191         device number.
1192         * sysdeps/unix/sysv/linux/pty-private.h: Removed.
1193         * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
1195 1999-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1197         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
1198         underscore in _llseek entry.
1200         * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
1201         entry.
1203         * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
1204         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
1206         * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
1207         Patch by Ralf Baechle <ralf@uni-koblenz.de>.
1209 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
1211         * inet/Makefile (routines): Add getipnodebynm.
1212         * inet/getipnodebynm.c: New file.
1213         * nss/digits_dots.c: If HAVE_TYPE is define type contains the
1214         interface type.
1215         * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
1216         EXTRA_ARGS_VALUE is not already done.
1217         (internal_getent): Allow extra parameters and pass them to parse_line.
1218         (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
1219         (_nss_files_get##name##_r): Likewise.
1220         * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
1221         and EXTRA_ARGS_VALUE to pass flags and type to parser.
1222         Add getipnodebyname function.
1223         * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
1224         EXTRA_ARGS_VALUE is not already done.
1225         (parse_line): Add EXTRA_ARGS_DECL to parameter list.
1226         * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
1227         to parse_line.
1228         (_nss_db_get##name##_r): Pass extra parameters to lookup.
1229         (_nss_db_get,ENTNAME_r): Likewise.
1230         * sysdeps/generic/if_index.c (__protocol_available): New function.
1231         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1233 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
1235         * login/pty-private.h: Move to...
1236         * sysdeps/generic/pty-private.h: ...here.
1237         * sysdeps/unix/sysv/linux/pty-private.h: New file.  Linux specific
1238         version.
1239         * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
1240         available.
1242         * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
1243         of __overflow.
1245         * conform/conformtest.pl (@headers): Add monetary.h-data,
1246         mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
1247         * conform/data/monetary.h-data: New file.
1248         * conform/data/mqueue.h-data: New file.
1249         * conform/data/ndbm.h-data: New file.
1250         * conform/data/nl_types.h.h-data: New file.
1251         * conform/data/poll.h-data: New file.
1253         * stdio-common/Makefile (test): Add tst-cookie.
1254         * stdio-common/tst-cookie.c: New file.
1256         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
1257         changed in last patch.  Reported by Ralf Baechle.
1259 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1261         * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
1263         * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
1264         Patches by Ralf Baechle <ralf@uni-koblenz.de>
1266 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1268         * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
1269         Linux 2.3.15.
1271 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
1273         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
1274         syscall.
1275         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1277         * misc/libgen.h: Don't take basename macro as taking arguments.
1279         * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
1280         for gcc >= 2.95.
1281         * sysdeps/i386/bits/huge_val.h: Likewise.
1282         * sysdeps/i386/bits/huge_val.h: Likewise.
1283         * sysdeps/ieee754/bits/huge_val.h: Likewise.
1284         * sysdeps/m68k/bits/huge_val.h: Likewise.
1285         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
1286         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
1288         * conform/Makefile: New file.
1289         * conform/conformtest.pl: New file.
1290         * conform/data/aio.h-data: New file.
1291         * conform/data/assert.h-data: New file.
1292         * conform/data/cpio.h-data: New file.
1293         * conform/data/ctype.h-data: New file.
1294         * conform/data/dirent.h-data: New file.
1295         * conform/data/dlfcn.h-data: New file.
1296         * conform/data/errno.h-data: New file.
1297         * conform/data/fcntl.h-data: New file.
1298         * conform/data/float.h-data: New file.
1299         * conform/data/fmtmsg.h-data: New file.
1300         * conform/data/fnmatch.h-data: New file.
1301         * conform/data/ftw.h-data: New file.
1302         * conform/data/glob.h-data: New file.
1303         * conform/data/grp.h-data: New file.
1304         * conform/data/iconv.h-data: New file.
1305         * conform/data/inttypes.h-data: New file.
1306         * conform/data/iso646.h-data: New file.
1307         * conform/data/langinfo.h-data: New file.
1308         * conform/data/libgen.h-data: New file.
1309         * conform/data/locale.h-data: New file.
1310         * conform/data/math.h-data: New file.
1312 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
1314         * posix/execvp.c (execvp): Correct copying of file name.
1316 1999-08-23  Mark Kettenis  <kettenis@gnu.org>
1318         * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
1320 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
1322         * stdio-common/Makefile: Move addition to routines to the right place.
1324 1999-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1326         * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file.  Neccessary
1327         since mips*-linux has ECANCELED.
1329 1999-08-23  Andreas Schwab  <schwab@suse.de>
1331         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
1332         SIGCONTEXT_EXTRA_ARGS.
1333         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
1334         * sysdeps/generic/sigcontextinfo.h: Likewise.
1335         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
1336         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
1337         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1338         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
1339         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
1340         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1342 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
1344         * posix/regexbug1.c: Make it an error if the test fails.
1346 1999-08-23  Andreas Schwab  <schwab@suse.de>
1348         * posix/regex.c (re_match_2_internal): Correct check for charset
1349         after exactn in loop.
1351 1999-08-22  Ulrich Drepper  <drepper@cygnus.com>
1353         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
1354         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1355         Patch by Joel Klecker.
1357         * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
1358         (__gconv_find_transform): Update prototype.
1359         (__gconv_open): Likewise.
1360         * iconv/gconv_open.c: Take extra parameter and pass it to
1361         __gconv_find_transform.
1362         * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
1363         flags.  If GCONV_AVOID_NOCONV flag is set don't return copying
1364         transformation.
1365         * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
1366         * wcsmbs/wcsmbsload.c: Likewise.
1367         * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
1368         iconv for glibc.
1369         * intl/gettextP.h: Likewise.
1370         * intl/loadmsgcat.c: Likewise.
1372         * posix/regexbug1.c: New file.
1373         * posix/Makefile (tests): Add regexbug1.
1375 1999-08-22  Mark Kettenis  <kettenis@gnu.org>
1377         * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
1378         * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
1379         installing PORT in the descriptor cell.
1381 1999-08-19  Roland McGrath  <roland@baalperazim.frob.com>
1383         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
1384         TIMEOUT as outputs of the asm to indicate that the signal thread
1385         might mutate them.
1386         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
1387         mach_msg if only sending or only receiving (i.e., not an RPC).  When
1388         making an RPC that might get interrupted, save OPTION and the portion
1389         of the message buffer that gets clobbered by an EINTR reply message,
1390         and properly restore them before attempting to retry the request
1391         message send.
1393 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
1395         * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
1396         definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
1397         CHAR_T, UCHAR_T and WIN_T to make the code compile again when
1398         stdio is used instead of libio.
1399         * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
1400         definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
1401         to make the code compile again when stdio is used instead of
1402         libio.
1403         (vfprintf): Only check for correct orientation if ORIENT is
1404         defined.
1405         * stdio-common/Makefile (routines): Only add vfwprintf and
1406         vfwscanf if we're using libio.
1408 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
1410         * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
1411         any additional prototype just as we do for libio.
1413 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
1415         * include/bits/xopen_lim.h: Do not define STREAM_MAX and
1416         TZNAME_MAX.  These limits are not X/Open specific.
1417         * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
1418         is defined.
1420 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
1422         * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
1423         UIO_MAXIOV is left undefined in sys/uio.h.
1424         * stdio-common/stdio_lim.h.in: Adapt for change above.
1426 1999-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1428         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
1429         * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
1430         Patches by Ralf Baechle <ralf@uni-koblenz.de>
1432 1999-08-21  Ulrich Drepper  <drepper@cygnus.com>
1434         * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
1436 1999-08-20  Ulrich Drepper  <drepper@cygnus.com>
1438         * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
1440         * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
1441         call.  It should not be necessary andis harmful for Alpha.
1443         * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
1444         type.  [PR libc/1269]
1446         * posix/execvp.c (execvp): Allocate array name of correct size.
1447         Optimize inner loop.  Use execve directly, not execv.
1449         * elf/elf.h: Corrected SHT_ values from new draft.
1451         * intl/gettextP.h (struct loaded_domain): Add conv element.
1452         * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
1453         Instead of returning found message directly convert it using iconv
1454         if a conversion was found when opening the file.
1455         * intl/loadinfo.h: Protect against multiple inclusion.
1456         Declare _nl_find_msg.
1457         * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
1458         in the message file and if necessary find approrpiate
1459         conversion to match currently selected charset.
1460         * include/libintl.h: Declare __dgettext and __dcgettext.
1461         * include/iconv.h: New file.
1463 1999-08-20  Andreas Schwab  <schwab@suse.de>
1465         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
1467 1999-08-19  Ulrich Drepper  <drepper@cygnus.com>
1469         * sysdeps/unix/sysv/linux/execve.c: New file.  This version terminates
1470         all threads [PR libc/1223].
1472         * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
1473         [PR libc/1165].
1475         * configure.in: Search for programs with prefix gnu* and g* first.
1476         [PR libc/1104].
1478         * dirent/Makefile (routines): Add getdents64.
1479         * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
1480         Remove getdents64.
1481         * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
1482         compiled with _FILE_OFFSET_BITS=64.
1483         * sysdeps/generic/getdents64.c: New file.
1484         * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
1485         __lseek for getdirentries64 definition.
1487         * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
1489         * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
1490         _FILE_OFFSET_BITS=64.
1492         * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
1493         parameter.
1495         * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
1496         after we have the lock.
1498         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
1499         Patch by Richard Henderson.
1501 1999-08-19  Andreas Schwab  <schwab@suse.de>
1503         * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
1504         and call _IO_fwide, to get the wide stream state initialized
1505         correctly.  Don't set _IO_JUMPS.
1506         * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
1507         * libio/vswprintf.c (_IO_vswprintf): Likewise.  Pass
1508         _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
1509         directly.
1511 1999-08-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1513         * math/libm-test.c (jn_test): Fix typo in description.
1514         (erfc_test): Add some more tests.
1515         (erf_test): Add some more tests.
1517 1999-08-19  Andreas Schwab  <schwab@suse.de>
1519         * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
1520         expression using $(exceptions).
1522 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
1524         * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
1526         * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
1527         allocated so far.  [PR libc/1261].
1529         * math/libm-test.c (j0_test): Adjust deltas for m68k.
1530         (jn_test): Likewise.
1532         * dirent/dirent.h: Only define ino64_t if not already done.
1533         * posix/sys/types.h: Likewise.
1535         * ctype/ctype.h: Avoid useless #endif #if pairs.
1537         * dirent/dirent.h: Define ino_t and ino64_t if not done already.
1538         (seekdir): Fix type of second parameter.
1539         * sysdeps/generic/seekdir.c: Likewise.
1540         * sysdeps/mach/hurd/seekdir.c: Likewise.
1541         * sysdeps/unix/seekdir.c: Likewise.
1543         * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
1545 1999-08-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1547         * manual/install.texi (Configuring and compiling): Clarify ix86
1548         situation.
1550 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
1552         * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
1553         * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
1554         * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
1555         stdio_lim.h.  Define LONG_BIT and WORD_BIT.
1557         * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
1559         * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
1561         * misc/search.h: Don't define NULL.
1563         * posix/sys/types.h: Define blksize_t if it hasn't happened.
1564         Only define key_t and blkcnt_t if it hasn't happened before.
1565         Define blksize_t if not happened before.
1566         * io/sys/stat.h: Don't define pid_t.  Define blkcnt_t and blksize_t.
1567         * sysdeps/generic/bits/types.h: Define __blksize_t.
1568         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1569         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1570         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1571         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1572         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1573         * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
1574         st_blksize member.
1575         (struct stat64): Likewise.
1576         * sysdeps/unix/bsd/bits/stat.h: Likewise.
1577         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
1578         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
1579         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1580         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1581         * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
1582         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
1584         * stdlib/getsubopt.c: Correct type of second argument.
1585         * stdlib/stdlib.h: Likewise.
1587         * stdlib/monetary.h: Don't include sys/types.h.  Define only size_t
1588         and ssize_t.
1590         * sysdeps/generic/putenv.c: Correct type of parameter.
1591         * stdlib/stdlib.h: Likewise.
1593         * sysdeps/generic/msgsnd.c: Correct type of second parameter.
1594         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
1595         * sysvips/sys/msg.h: Likewise.
1597         * sysdeps/generic/semop.c: Correct type of third parameter.
1598         * sysdeps/unix/sysv/linux/semop.c: Likewise.
1599         * sysvipc/sys/sem.h: Likewise.  Don't include sys/types.h, define
1600         size_t.
1602         * sysdeps/generic/shmget.c: Correct type of second parameter.
1603         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
1604         * sysvips/sys/shm.h: Likewise.  Don't include unistd.h and sys/types.h.
1605         Declare __getpagesize here.
1607         * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
1608         sys/types.h.
1609         * sysdeps/gnu/bits/ipc.h: Likewise.
1610         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
1611         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1612         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1613         * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
1614         already done.
1616         * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
1618         * debug/versions: Export __cyg_profile_func_enter and
1619         __cyg_profile_func_exit.
1621         * math/bits/mathcalls.h: Pretty print.
1623 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
1625         * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
1626         case for new tzdata.
1628         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
1629         unsigned.
1630         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1631         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1632         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1633         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1635         * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
1637         * sysdeps/generic/ualarm.c (ualarm): Change return value and
1638         parameter type to useconds_t.
1639         * sysdeps/unix/bsd/ualarm.c: Likewise.
1641         * sysdeps/generic/usleep.c (usleep): Change parameter type to
1642         useconds_t.
1643         * sysdeps/unix/sysv/linux/usleep.c: Likewise.
1644         * sysdeps/mach/usleep.c: Likewise.
1646         * locale/weight.h: Include <errno.h>.
1648         * posix/sys/types.h: Define type useconds_t if not done already.
1649         * posix/unistd.h: Likewise.  Use this in ualarm and usleep
1650         declarations.
1651         * sysdeps/generic/bits/types.h: Define type __useconds_t.
1652         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1653         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1654         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1655         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1656         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1658         * dirent/dirent.h (telldir): Change return type to long int.
1659         * sysdeps/generic/telldir.c: Likewise.
1660         * sysdeps/mach/hurd/telldir.c: Likewise.
1661         * sysdeps/unix/telldir.c: Likewise.
1662         * sysdeps/unix/bsd/telldir.c: Likewise.  Fix locking problem.
1664         * locale/weight.h: Set errno if an invalid character is found.
1666 1999-08-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1668         * math/libm-test.c (erfc_test): Add test for example from PR
1669         libc/1259.
1670         (erf_test): Likewise.
1672 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
1674         * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
1675         rewrite.  Patch by Alan Stern <stern@kitsilano.rowland.org>.
1677         * timezone/private.h: Update from tzcode1999e.
1678         * timezone/zic.c: Likewise.
1680         * timezone/africa: Update from tzdata1999e.
1681         * timezone/antarctica: Likewise.
1682         * timezone/asia: Likewise.
1683         * timezone/australasia: Likewise.
1684         * timezone/europe: Likewise.
1685         * timezone/leapseconds: Likewise.
1686         * timezone/northamerica: Likewise.
1687         * timezone/southamerica: Likewise.
1689         * stdio-common/vfprintf.c (process_string_arg): Correct last patch
1690         and write correct number of bytes in case of %ls with precision.
1691         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1693 1999-08-16  Ulrich Drepper  <drepper@cygnus.com>
1695         * nscd/nscd.init: Test for kernel version and make LSB compliant.
1696         Patch by Christian Gafton.
1698         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
1699         O_RSYNC.  Patch by Christian Gafton.
1701         * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
1702         possibly unterminated strings for %ls when a precision is
1703         specified.
1704         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
1706         * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
1707         update_conversion_ptrs.
1708         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1710 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
1712         * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
1713         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1715         * wcsmbs/Makefile (tests): Add tst-wcsnlen.
1716         * wcsmbs/tst-wcsnlen.c: New file.
1718 1999-08-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1720         * libio/ioputs.c (_IO_puts): Add missing brace.
1722 1999-07-20  Geoff Keating  <geoffk@cygnus.com>
1724         * math/libm-test.c: Tweak deltas for a clean run on ppc.
1726 1999-08-10  H.J. Lu  <hjl@gnu.org>
1728         * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
1729         (vfprintf): Likewise.
1730         * stdio-common/vfscanf.c (ORIENT): Likewise.
1731         * libio/genops.c (__underflow): Likewise.
1732         (__uflow): Likewise.
1733         * libio/iofputs.c (_IO_fputs): Likewise.
1734         * libio/ioftell.c (_IO_ftell): Likewise.
1735         * libio/iofwrite.c (_IO_fwrite): Likewise.
1736         * libio/ioputs.c (_IO_puts): Likewise.
1737         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
1738         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
1740 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
1742         * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
1744 1999-08-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1746         * manual/job.texi (Process Group Functions): Document getpgid,
1747         getsid.
1749 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
1751         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
1752         initialize si_pid from it.
1753         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
1754         parameter.
1755         * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
1756         * rt/aio_misc.h (struct waitlist): Add caller_pid element.
1757         (struct requestlist): Likewise.
1758         Adjust prototypes of __aio_notify_only and __aio_sigqueue.
1759         * rt/aio_notify.c (__aio_notify_only): Take extra parameter.  Pass it
1760         to __aio_sigqueue.
1761         (__aio_notify): Pass caller PID to __aio_notify_only.
1762         * rt/aio_suspend.c: Initialize caller_pid.
1763         * rt/lio_listio.c: Likewise.
1764         * rt/lio_listio64.c: Likewise.
1766         * rt/lio_listio.c: If nothing has to be done free mutex before
1767         signalling.
1768         * rt/lio_listio64.c: Likewise.
1770 1999-08-10  H.J. Lu  <hjl@gnu.org>
1772         * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
1773         handling.
1775 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
1777         * elf/elf.h: Define ElfXX_Versym.
1778         * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
1779         definition.
1781         * stdio-common/vfprintf.c (process_string_arg): Handle precisions
1782         for string output correctly in the wide character case.
1783         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
1785         * intl/locale.alias: Add catalan.
1787 1999-08-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1789         * manual/install.texi (Configuring and compiling): Mention CFLAGS.
1791 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
1793         * po/pt_BR.po: New file.
1795 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1797         * math/libm-test.c (yn_test): Adjust deltas for i386.
1798         (ccosh_test): Likewise.
1799         (jn_test): Likewise.
1801 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
1803         * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
1805 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
1807         * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
1808         problem.
1810 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1812         * configure.in: install-sh lives now in scripts subdir.
1813         PR libc/1255 (bug 4).
1815 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
1817         * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
1818         version.
1820         * po/fr.po: Update.
1822 1999-08-11  Thorsten Kukuk  <kukuk@suse.de>
1824         * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
1826 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
1828         * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
1829         exponent.
1831 1999-08-10  Andreas Schwab  <schwab@suse.de>
1833         * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
1834         header.
1836 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
1838         * elf/elf.h: Added definition of ELFOSABI_ARM.
1839         * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
1840         VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
1841         object's header and ABI values are acceptable.
1842         (VALID_ELF_HEADER): New macro; provide default definition.
1843         (VALID_ELF_OSABI): New macro; provide default definition.
1844         (VALID_ELF_ABIVERSION): New macro; provide default definition.
1845         * sysdeps/arm/dl-machine.h Define ARM specific versions of
1846         VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
1848 1999-08-09  Andreas Schwab  <schwab@suse.de>
1850         * inet/tst-ipnode.c (main): Don't compare integer with NULL.
1852 1999-08-09  Thorsten Kukuk  <kukuk@suse.de>
1854         * sunrpc/svc_run.c (svc_run): Free my_pollfd.
1856 1999-08-09  Andreas Schwab  <schwab@suse.de>
1858         * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
1860 1999-08-08  Ulrich Drepper  <drepper@cygnus.com>
1862         * sysdeps/ieee754/ieee754.h: Handle platforms with special
1863         __FLOAT_WORD_ORDER.  Patch by Joel Klecker <jk@espy.org>.
1865         * string/bits/string2.h: Mark void* operations as extensions.
1866         * sysdeps/i386/i486/bits/string.h: Likewise.
1868         * debug/Makefile (routines): Add noophooks.
1869         (extra-libs): Add libpcprofile.  Add rules to build libpcprofile.
1870         * debug/noophooks.c: New file.
1871         * debug/pcprofile.c: New file.
1873 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
1875         * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
1876         systems which allow using the functions also on non-seekable
1877         devices.
1879         * resolv/res_send.c (res_send): Recompute timeout for poll for
1880         each jump to `wait'.
1882         * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
1883         braces to avoid warnings.
1884         (IN6ADDR_LOOPBACK_INIT): Likewise.
1886         * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
1887         MSG_DONTWAIT).
1889 1999-08-06  H.J. Lu  <hjl@gnu.org>
1891         * malloc/malloc.c: Initialize __libc_pagesize early.
1893 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
1895         * string/string-inlines.c: Undefined __USE_STRING_INLINES before
1896         defining it.
1898         * inet/Makefile (tests): Add tst-ipnode.
1899         * inet/tst-ipnode.c: New file.
1901 1999-08-06  Andreas Schwab  <schwab@suse.de>
1903         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
1904         New definitions.
1905         (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
1906         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
1907         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
1908         New definitions.
1909         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
1910         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
1912 1999-08-06  Jakub Jelinek  <jj@ultra.linux.cz>
1914         * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
1915         * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
1916         * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
1918 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
1920         * resolv/res_send.c (res_send): Don't test file descriptor for
1921         range, we use poll now.  [PR libc/1240]
1923 1999-08-05  Ulrich Drepper  <drepper@cygnus.com>
1925         * libio/genops.c (_IO_flush_all): Don't access elements beyond what
1926         2.0 defined if they are not available.
1928 1999-08-05  Thorsten Kukuk  <kukuk@suse.de>
1930         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
1931         Define.
1933 1999-08-04  Ulrich Drepper  <drepper@cygnus.com>
1935         * rt/aio_read.c: Fix return value.
1936         * rt/aio_read64.c: Likewise.
1937         Reported by Christian Gafton.
1939         * rt/aio_write.c: Fix return value.
1940         * rt/aio_write64.c: Likewise.
1941         * rt/aio_fsync.c: Likewise.
1943         * rt/aio_misc.c: Set errno at correct place.
1945         * rt/aio_fsync.c: Test OP parameter for correct values.
1947         * hesiod/hesiod.c: Avoid emitting rcsid in object file.
1949 1999-08-04  Andreas Schwab  <schwab@suse.de>
1951         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
1952         Initialize result to one.
1953         (GET_NPROCS_CONF_PARSER): Likewise.
1955 1999-08-03  Ulrich Drepper  <drepper@cygnus.com>
1957         * inet/ether_hton.c: Pass errno pointer to NSS function.
1958         * inet/getnetgrent_r.c: Likewise.
1959         Reported by Marty Leisner <leisner@rochester.rr.com>.
1961 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
1963         * nis/nis_callback.c: Fix port problem on big-endian machines
1964         * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
1965         fields are always 32 bit.
1966         Patches from Paul Mackerras <paulus@cs.anu.edu.au>
1968         * nis/nss_nis/nis-service.c: Remove htons, port is always in
1969         network-byte-order.
1970         * nis/nss_nisplus/nisplus-service.c: Rename number to port.
1972 1999-08-03  Andreas Schwab  <schwab@suse.de>
1974         * sysdeps/posix/sigset.c: Unblock the signal after setting its
1975         disposition.  Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
1976         avoid two calls to sigprocmask.
1978 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
1980         * sysdeps/generic/s_nexttowardf.c: Fix typo.
1982 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
1984         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
1985         Only allow rt signal frames. No SA_SIGINFO signals will have the
1986         siginfo_t just not filled out with SI_NOINFO code.
1987         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
1988         (register_dump): Take the above change into account.
1989         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
1990         (rt_signal_frame): Likewise.
1992         * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
1994 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
1996         * nis/nis_callback.c (internal_nis_do_callback): Use poll()
1997         instead of select().
1999 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
2001         * sysdeps/generic/s_nextafter.c: Define __nexttoward and
2002         nexttoward so something else so that aliasing works.
2004 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
2006         * sysdeps/generic/math_ldbl.h: Fix typo.
2007         * sysdeps/generic/strtold.c: Remove unbalanced #endif.
2008         * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
2010 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
2012         * elf/resolvfail.c: Include stdio.h.  Also test dlerror.
2014 1999-08-01  Ulrich Drepper  <drepper@cygnus.com>
2016         * elf/Makefile (tests): Add resolvfail.  Add rules to build the
2017         program.
2018         * elf/resolvfail.c: New file.
2020         * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
2021         pass it to _dl_lookup_symbol.
2023         * elf/dl-error.c (_dl_signal_error): Optimize string generation a
2024         bit.  Reword message.
2026         * dlfcn/dlerror.c: Make code thread-safe.
2028 1999-07-31  Roland McGrath  <roland@baalperazim.frob.com>
2030         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
2031         initializer in CHECK: a bit size, not the type code repeated!
2033 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
2035         * string/tester.c: Add tests with constant arguments for strcpy
2036         and stpcpy.
2038 1999-07-31  H.J. Lu  <hjl@gnu.org>
2040         * string/bits/string2.h (__strcpy_small): Fix a typo.
2042 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
2044         * Makeconfig (link-libc): Always define it, not only for shared
2045         builds.
2047         * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
2048         * sysdeps/i386/fpu/e_powf.S: Likewise.
2049         * sysdeps/i386/fpu/e_powl.S: Likewise.  [PR libc/1213].
2051         * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
2052         * sysdeps/generic/e_gammal_r.c: Likewise.  [PR libc/1212].
2054 1999-07-30  Andreas Schwab  <schwab@suse.de>
2056         * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
2057         definition.
2058         (__get_nprocs): Use it.
2059         (__get_nprocs_conf): Define as separate function if
2060         GET_NPROCS_CONF_PARSER is defined.
2061         * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
2063         * include/sys/sysinfo.h: New file.
2064         * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
2065         interface.
2066         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
2068 1999-07-30  H.J. Lu  <hjl@gnu.org>
2070         * libio/iofflush.c (fflush_unlocked): Weak aliase if
2071         _IO_MTSAFE_IO is not defined.
2072         * libio/clearerr.c (clearerr_unlocked): Likewise.
2073         * libio/feof.c (feof_unlocked): Likewise.
2074         * libio/ferror.c (ferror_unlocked): Likewise.
2075         * libio/fputc.c (fputc_unlocked): Likewise.
2076         * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
2077         * libio/getchar.c (getchar_unlocked): Likewise.
2078         * libio/putc.c (putc_unlocked): Likewise.
2079         * libio/putchar.c (putchar_unlocked): Likewise.
2081 1999-07-30  Thorsten Kukuk  <kukuk@suse.de>
2083         * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
2084           svc_max_pollfd and svc_pollfd to GLIBC_2.2
2085         * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
2086           for svc_run/poll interface.
2087         * sunrpc/rpc/types.h: Add rpc*_t typedefs.
2088         * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
2089           global variable.
2090         * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
2091           rewrite other svc_getreq* functions to use svc_getreq_common.
2092         * sunrpc/svc_run.c: Use poll().
2094 1999-07-30  Andreas Schwab  <schwab@suse.de>
2096         * Makerules: Put sysd-versions and Versions.all on
2097         postclean-generated instead of common-generated.
2099 1999-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2101         * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
2102         around and CLOCKS_PER_SEC is 1e6.
2104 1999-07-30  Ulrich Drepper  <drepper@cygnus.com>
2106         * configure.in: Add test for local label subtraction.
2107         * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
2108         * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
2109         labels to reduce number of runtime relocations and move jump
2110         tables in read-only seciton.
2112         * malloc/malloc.c (ptmalloc_init): Correct last patch.  The
2113         assignment cannot be moved.
2115 1999-07-29  H.J. Lu  <hjl@gnu.org>
2117         * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
2118         if no threads are used.
2120         * libio/iofwrite.c: Add weak alias for _unlocked function if not
2121         _IO_MTSAFE_IO.
2122         * libio/iofread.c: Likewise.
2123         * libio/iofgets.c: Likewise.
2124         * libio/iofputs.c: Likewise.
2126         * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
2127         definition.
2129         * stdlib/mbtowc.c: Include <string.h>.
2130         * stdlib/wctomb.c: Likewise.
2131         * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
2132         * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
2134         * misc/mntent_r.c: Include <alloca.h>.
2135         * elf/dl-runtime.c: Likewise.
2137 1999-07-29  Andreas Schwab  <schwab@suse.de>
2139         * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
2140         all floating point formats supported by gcc.  Error out for
2141         unhandled precisions.
2142         * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
2143         * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
2144         * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
2146 1999-07-29  Ulrich Drepper  <drepper@cygnus.com>
2148         * sysdeps/generic/setenv.c: Move setenv code in new function
2149         __add_to_environ.  Add new parameter specifying already
2150         constructed string for the environment.
2151         (setenv): Call __add_to_environ with new parameter set to NULL.
2152         (unsetenv): Really test all elements for duplicated name.  Missed those
2153         cases where the two are following each other.
2154         * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
2155         * include/stdlib.h: Add prototype of __add_to_environ.
2156         * stdlib/tst-environ.c: New file.
2157         * stdlib/Makefile (tests): Add tst-environ.
2159         * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
2161         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
2162         argument in realloc call.
2163         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
2164         Likewise.
2165         Reported by Danny Braniss <danny@cs.huji.ac.il>.
2167 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
2169         * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
2170         to print.
2171         * misc/efgcvt_r.c: Likewise.
2172         * misc/qefgcvt.c: Likewise.
2173         * misc/qefgcvt_r.c: Likewise.
2174         * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
2175         anymore.
2177 1999-07-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2179         * manual/math.texi (FP Function Optimization): Mention drawbacks.
2181 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
2183         * stdlib/mblen.c: Use static state.
2184         Reported by Bruno Haible <haible@ilog.fr>.
2186         * stdlib/mbtowc.c: Reset state for s == NULL.
2187         * stdlib/wctomb.c: Likewise.
2188         Reported by Bruno Haible <haible@ilog.fr>.
2190         * stdlib/mbstowcs.c: Do not use global state.
2191         Reported by Bruno Haible <haible@ilog.fr>.
2193 1999-07-28  Andeas Schwab  <schwab@suse.de>
2195         * iconvdata/Makefile: Don't try to run iconv tests when cross
2196         compiling.
2198 1999-07-27  Mark Kettenis  <kettenis@gnu.org>
2200         * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
2201         assembler code to switch stacks and call init1 outside this
2202         function.  Inside `init' the code was optimized away by gcc
2203         2.95 since it was "clearly" unreachable.
2204         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2205         Do something similar for the trampoline code.
2207 1999-07-27  Ulrich Drepper  <drepper@cygnus.com>
2209         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
2210         for the hinted protocol.
2212 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2214         * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
2216 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
2218         * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
2219         * elf/dl-lookup.c (_dl_setup_hash): Likewise.
2220         * elf/dl-load.c (_dl_map_object): Likewise.
2221         * elf/do-lookup.h (do_lookup*): Likewise.
2222         * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
2223         * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
2224         as uint64_t.
2225         * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
2227 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
2229         * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
2230         * sysdeps/generic/getpgrp.c: Likewise.
2231         * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
2232         * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
2233         Patch by John Tobey <jtobey@banta-im.com>.
2235         * sysdeps/posix/wait3.c: Help compiling in presence of
2236         __transparent_union__.  Reported by John Tobey <jtobey@banta-im.com>.
2238 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
2240         * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
2241         as much as possible. Declare them using .register pseudo-op if they
2242         are still used.
2243         * sysdeps/sparc/sparc64/lshift.S: Likewise.
2244         * sysdeps/sparc/sparc64/memchr.S: Likewise.
2245         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
2246         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2247         * sysdeps/sparc/sparc64/memset.S: Likewise.
2248         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2249         * sysdeps/sparc/sparc64/rshift.S: Likewise.
2250         * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
2251         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2252         * sysdeps/sparc/sparc64/strcat.S: Likewise.
2253         * sysdeps/sparc/sparc64/strchr.S: Likewise.
2254         * sysdeps/sparc/sparc64/strcmp.S: Likewise.
2255         * sysdeps/sparc/sparc64/strcpy.S: Likewise.
2256         * sysdeps/sparc/sparc64/strcspn.S: Likewise.
2257         * sysdeps/sparc/sparc64/strlen.S: Likewise.
2258         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2259         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2260         * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
2261         * sysdeps/sparc/sparc64/strspn.S: Likewise.
2262         * sysdeps/sparc/sparc64/sub_n.S: Likewise.
2263         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2264         Optimize trampoline code for .plt4-.plt32767.
2265         Fix trampolines for .plt32768+.
2267 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
2269         * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
2270         -mcpu=v8.
2271         * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
2272         * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
2273         libc's private use (as assembly routine clobber it anyway).
2275 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2277         * README.template (configurations): The crypt add-on has a new
2278         ftp site.
2279         * manual/install.texi (Installation): Likewise.
2281 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
2283         * time/time.h: Add forward for struct sigevent.  Unix98 maybe
2284         requires to have a full definition but we wait for a bug report
2285         based on the test suite.
2287         * sysdeps/generic/clock_getres.c: New file.
2288         * sysdeps/generic/clock_gettime.c: New file.
2289         * sysdeps/generic/clock_settime.c: New file.
2290         * sysdeps/generic/timer_create.c: New file.
2291         * sysdeps/generic/timer_delete.c: New file.
2292         * sysdeps/generic/timer_getoverr.c: New file.
2293         * sysdeps/generic/timer_gettime.c: New file.
2294         * sysdeps/generic/timer_settime.c: New file.
2296         * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
2297         CLOCK_REALTIME, and TIMER_ABSTIME.
2298         * sysdeps/mach/hurd/bits/time.h: Likewise.
2299         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
2300         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
2302         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
2304         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
2305         si_timer2.
2307         * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
2309         * time/Makefile (routines): Add clock_getres, clock_gettime,
2310         clock_setres, timer_create, timer_delete, timer_getoverr,
2311         timer_gettime, and timer_settime.
2313         * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
2314         POSIX.1b.  Add prototypes for clock and timer functions.
2316 1999-07-26  Roland McGrath  <roland@baalperazim.frob.com>
2318         * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
2319         Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
2321 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
2323         * stdlib/wcstombs.c: Do not use global state.
2324         Reported by Bruno Haible <haible@ilog.fr>.
2326         * wcsmbs/wctob.c: Avoid sign extension when returning character.
2327         Reported by Bruno Haible <haible@ilog.fr>.
2329         * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
2330         of wide characters to convert do it right and don't overestimate
2331         by multiplying with MB_CUR_MAX.
2332         Reported by Bruno Haible <haible@ilog.fr>.
2334 1999-07-26  Jakub Jelinek  <jj@ultra.linux.jz>
2336         * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
2337         (__stpcpy_small): Likewise.
2338         Union has no __uc member but __c.
2340 1999-07-26  Andreas Schwab  <schwab@suse.de>
2342         * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
2344 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
2346         * libio/iofclose.c (_IO_new_fclose): Only fall back on
2347         _IO_old_fclose if doing versioning.
2349         * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
2350         them appropriately.
2351         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2353         * misc/mntent_r.c: Allow spaces and tabs in entry names by
2354         encoding these characters.
2355         * misc/tst-mntent.c: Add test case for addmntent and getmntent.
2357         * string/bits/string2.h: Fix aliasing problems.
2358         * sysdeps/i386/i486/bits/string.h: Likewise.
2359         * sysdeps/i386/bits/string.h: Likewise.
2361 1998-12-28  Geoff Keating  <geoffk@ozemail.com.au>
2363         * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
2364         * elf/rtld.c (dl_main): Don't call malloc() between
2365         re-relocating the dynamic linker and running the application's crt0.
2367 1999-07-21  Paul D. Smith  <psmith@gnu.org>
2369         * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
2370         glob.h to get __P() macro.
2372         * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
2373         not ANSI.
2374         (__strchrnul): This won't exist outside GLIBC, so create one.
2376 1999-07-25  Jakub Jelinek   <jj@ultra.linux.cz>
2378         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
2379         __ino64_t should be 32bit unsigned type on sparc32.
2380         Define __off64_t to __quad_t instead of __int64_t.
2381         Make __pic_pid_t unsigned on sparc32.
2383 1999-07-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2385         * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
2386         in bash 2.03.
2388 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
2390         * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
2391         of an error.  Patch by Changwoo Ryu <cwryu@debian.org>.
2393 1999-07-24  Ulrich Drepper  <drepper@cygnus.com>
2395         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
2396         accesses.
2398         * resolv/res_send.c: Add locks for res_send and res_close use.
2400         * elf/Makefile (dl-routines): Add preinit.
2401         * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
2402         * elf/link.h (struct link_map): Add new field l_preinitcount.
2403         * elf/dl-preinit.c: New file.
2404         * elf/dynamic-link.h: Initialize l_preinitcount.
2405         * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
2407         * elf/dl-fini.c: Handle DT_FINI_ARRAY.
2408         * elf/link.h (struct link_map): Remove l_init_running.  Add l_runcount
2409         and l_initcount.
2410         * elf/dl-init.c: Handle DT_INIT_ARRAY.
2411         * elf/dynamic-link.h: Change parameters.  Now only get link_map
2412         pointer.  Calculate l_initcount.
2414         * elf/link.h (struct link_map): Add l_runpath_dirs.
2415         * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
2416         * elf/dl-load.c: Pretty print.
2417         (decompose_rpath): Take new parameter with info from where the path
2418         comes.  Pass it the fillin_rpath.
2419         (_dl_init_paths): Initialize l_runpath_dirs.
2420         (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
2421         Search using RUNPATH after LD_LIBRARY_PATH.
2422         * elf/dl-support.c: Adjust comment.
2423         * elf/rtld.c: Adjust help message.
2425 1999-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2427         * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
2428         interface.
2430 1999-07-23  Roland McGrath  <roland@baalperazim.frob.com>
2432         * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
2433         match BSD value; previous value of 1<<8 was a typo.  I bet nothing
2434         ever used this, so I'm not going to worry about compatibility.
2435         [__USE_GNU] (IUCLC, OLCUC): New macros.
2437 1999-07-23  Ulrich Drepper  <drepper@cygnus.com>
2439         * include/libintl.h: Undefine N_ and _ first to avoid warnings.
2441         * elf/elf.h: Add ET_LOOS and ET_HIOS.
2442         Add various EM_* constants.
2443         Add SHN_LOOS and SHN_HIOS.
2444         Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
2445         Add SHF_MERGE and SHF_STRINGS.
2446         (ElfXX_Sym): Update description of st_other field.
2447         Add STT_COMMON.
2448         Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
2449         Add STV_* macros.
2450         Update comment on DT_RPATH.  Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
2451         DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
2452         Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
2454         * posix/unistd.h: Move declaration of __libc_enable_secure to...
2455         * include/unistd.h: ...here.
2457         * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
2458         * elf/dl-deps.c (expand_dst): Likewise.
2460         * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
2461         based on DT_FLAGS value.
2463         * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
2464         Add test for symbols marked STV_HIDDEN.
2465         * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
2466         add undef_map.  Compute reference_name locally.  Update call to
2467         do_lookup.
2468         (_dl_lookup_symbol_skip): Likewise.
2469         (_dl_lookup_versioned_symbol): Likewise.
2470         (_dl_lookup_versioned_symbol_skip): Likewise.
2471         * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
2472         * elf/dl-runtime.c: Likewise.
2473         * elf/dl-sym.c: Likewise.
2474         * elf/dl-symbol.c: Likewise.
2475         * elf/ldsodefs.h: Adjust prototypes.
2477         * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
2478         handle appropriately.  Add comment about DT_TEXTREL.
2479         * elf/dl-runtime.c: Likewise.
2481 1999-07-21  Roland McGrath  <roland@baalperazim.frob.com>
2483         * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
2484         * elf/ldsodefs.h: Declare it.
2485         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
2486         instead of assert.
2487         (elf_machine_lazy_rel): Likewise.  Take new arg MAP.
2488         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2489         (elf_machine_lazy_rel): Likewise.
2490         * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
2491         (elf_machine_lazy_rel): Likewise.
2492         * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
2493         (elf_machine_lazy_rel): Likewise.
2494         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
2495         (elf_machine_lazy_rel): Likewise.
2496         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2497         (elf_machine_lazy_rel): Likewise.
2498         * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
2499         * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
2500         (elf_machine_lazy_rel): Likewise.
2501         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
2502         (elf_machine_lazy_rel): Likewise.
2503         * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
2504         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
2505         _dl_reloc_bad_type instead of _dl_signal_error.
2506         * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
2508 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
2510         * sysdeps/mach/_strerror.c: Include <libintl.h>.
2512 1999-07-19  Roland McGrath  <roland@baalperazim.frob.com>
2514         * hurd/hurdsig.c (_hurd_internal_post_signal): If a
2515         hurd_signal_preemptor matches but its `preemptor' field is null, use
2516         its `handler' field directly.  This is to comply with behavior
2517         documented in <hurd/sigpreempt.h>.
2519 1999-07-21  Andreas Schwab  <schwab@suse.de>
2521         * libio/fileops.c (_IO_new_file_underflow): Set error indicator
2522         when reading from write-only stream.
2523         * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
2524         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2526 1999-07-21  Andreas Schwab  <schwab@suse.de>
2528         * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
2529         NULL.
2531 1999-07-21  Mark Kettenis  <kettenis@gnu.org>
2533         * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
2534         <hurd/fd.h>.
2535         * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
2536         <hurd/fd.h>.
2537         (__libc_write): Call __pwrite instead of __pread.
2539 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
2541         * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
2542         __vm_allocate calls.
2544         * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>.  Fix typo.
2545         * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
2547         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
2548         _hurd_fd_read with new OFFSET argument set to -1.
2549         (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
2550         to -1.
2552 1999-07-17  Roland McGrath  <roland@baalperazim.frob.com>
2554         * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
2555         descriptor table sent in the RPC.
2557 1999-07-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2559         * time/strptime.c [!_LIBC]: Fix __mon_day size.  Reported by
2560         bill@taniwha.org [PR libc/1211].
2562 1999-07-19  Andreas Schwab  <schwab@suse.de>
2564         * libio/Makefile (routines): Add fwprintf.
2566         PowerPC has own version of w_sqrt.c and w_sqrtf.c.
2567         * math/w_sqrt.c: Moved to ...
2568         * sysdeps/generic/w_sqrt.c: ... here.
2569         * math/w_sqrtf.c: Moved to ...
2570         * sysdeps/generic/w_sqrtf.c: ... here.
2572         * Make-dist (generic-dirs): New variable.
2573         (try-sysdeps, +sysdep-names): Use it.
2574         * extra-lib.mk (all-$(lib)-routines): New variable.  Use it
2575         instead of $(lib)-routines.
2576         * elf/Makefile (distribute): Add dl-cache.h.
2577         * db2/Makefile (distribute): Add all new files.
2578         * iconvdata/Makefile (distribute): Don't distribute CVS
2579         directory.
2580         * math/Makefile (distribute): Remove machine/endian.h, add
2581         math_ldbl.h.
2582         * stdio-common/Makefile (distribute): Add _itowa.h.
2583         * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
2584         * sysdeps/gnu/Dist: Add eval.c
2585         * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
2586         dlfcn]: Add to this instead of libdl-routines.
2587         * sysdeps/ieee754/ldbl-128/Dist: New file.
2588         * sysdeps/mach/hurd/Dist: Add siglist.h
2589         * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
2591 1999-07-18  Ulrich Drepper  <drepper@cygnus.com>
2593         * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
2595         * inet/Makefile (routines): Add getipnodebyad and freehostent.
2596         * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
2597         * inet/freehostent.c: New file.
2598         * inet/getipnodebyad.c: New file.
2599         * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
2600         and getipnodebyname.  The latter comes soon.
2601         * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
2602         Add support for getipnode* functions.
2604         * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
2605         Set h_aliases to NULL and not to a pointer to an array with a NULL
2606         pointer following XNS 5.2.
2608         * posix/sched.h: Remove internal interfaces.
2609         * include/sched.h: Add internal interfaces.
2611         * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
2613         * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
2615         * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
2616         and return an error in this case.
2617         * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
2618         available.
2620 1999-07-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2622         * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
2623         1999-07-17 and adjust len parameter.
2624         * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
2625         * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
2626         * manual/socket.texi (Host Names): Likewise.
2627         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
2628         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
2629         Likewise.
2630         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
2631         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
2632         (ht_gethostbyaddr): Likewise.
2633         (_gethtbyaddr): Likewise.
2635 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
2637         * resolv/netdb.h: Adjust parameters of gethostbyaddr and
2638         gethostbyaddr_r.
2639         * include/netdb.h: Likewise.
2640         * inet/gethstbyad.c: Correct type of len parameter.
2641         * inet/gethstbyad_r.c: Likewise.
2643         * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
2645 1999-07-17  Zack Weinberg  <zack@rabi.columbia.edu>
2647         * include/libc-symbol.h: Clean up definitions of weak_alias,
2648         strong_alias, symbol_version, etc. etc.
2649         * posix/getopt.h: Use ctype.h to get features.h included, and don't
2650         include it at all if __GNU_LIBRARY__ is already defined.
2652 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
2654         * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
2656         * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
2658         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
2659         type for tv_usec element.
2660         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
2661         * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
2662         * sysdeps/generic/bits/time.h: Likewise.
2663         * sysdeps/mach/hurd/bits/time.h: Likewise.
2664         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2665         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2666         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2667         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2668         * sysdeps/generic/bits/types.h: Likewise.
2669         * posix/sys/types.h: Define suseconds_t for X/Open.
2671 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
2673         * stdio-common/bug1.c: Avoid memory leak.
2675         * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
2676         program deterministic.
2677         * sysdeps/i386/fpu/e_powf.S: Likewise.
2678         * sysdeps/i386/fpu/e_powl.S: Likewise.
2680 1999-07-15  Jakub Jelinek  <jj@ultra.linux.cz>
2682         * math/Makefile: Add t_sincosl and k_sincosl support routines.
2683         * math/math_private.h (__kernel_sincosl): New declaration.
2684         * sysdeps/generic/t_sincosl.c: New file.
2685         * sysdeps/generic/k_sincosl.c: New file.
2686         * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
2687         * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
2688         * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
2689         * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
2690         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
2691         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
2692         __kernel_sincosl.
2693         * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
2694         definition.
2696 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
2698         * posix/unistd.h: Use __PMT for exit.
2700 1999-07-15  Philip Blundell  <pb@nexus.co.uk>
2702         * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
2703         _outw, _outl): Added to GLIBC_2.1.2.
2705 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
2707         * posix/fnmatch.h: Use __name instead of __string in prototype to
2708         allow use outside glibc.
2710 1999-07-14  Ulrich Drepper  <drepper@cygnus.com>
2712         * time/tst-strptime.c (main): Add one more test case.  Produce
2713         output even when result is ok.
2715         * time/strptime.c (get_number): Handle number parsing more
2716         consistent with strftime.  Only parse a given number of digits.
2717         (get_alt_number):  Fix implementation.  Was broken.
2718         (strptime_internal): Add third parameter to get_number and
2719         get_alt_number calls.
2721 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
2723         * elf/ldd.bash.in: Add support for multiple dynamic linkers.
2724         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
2725         try both 32bit and 64bit dynamic linker.
2726         * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
2727         script on all sparc targets.
2729 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
2731         * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
2732         to int.
2734 1999-07-13  Andreas Schwab  <schwab@suse.de>
2736         * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
2737         inlining.  Fixes PR libc/1198.
2739 1999-07-14  Andreas Schwab  <schwab@suse.de>
2741         * Makerules (common-generated): Don't prepend $(common-objpfx).
2743 1999-07-12  Jakub Jelinek  <jj@ultra.linux.cz>
2745         * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
2746         as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
2747         * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
2748         quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
2749         macro.
2750         * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
2751         instead of ieee754.
2752         * sysdeps/arm/Implies: Likewise.
2753         * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
2754         ieee754/ldbl-96 instead of ieee754.
2755         * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
2756         * sysdeps/generic/e_atanhl.c: New file.
2757         * sysdeps/generic/e_coshl.c: New file.
2758         * sysdeps/generic/e_sinhl.c: New file.
2759         * sysdeps/generic/e_gammal_r.c: New file.
2760         * sysdeps/generic/e_hypotl.c: New file.
2761         * sysdeps/generic/s_cbrtl.c: New file.
2762         * sysdeps/generic/s_asinhl.c: New file.
2763         * sysdeps/generic/s_tanhl.c: New file.
2764         * sysdeps/generic/w_expl.c: New file.
2765         * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
2766         instead of ieee754.
2767         * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
2768         ieee754/ldbl-96 instead of ieee754.
2769         * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
2770         * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
2771         printf_fphex.
2772         * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
2773         instead of ieee754.
2774         * sysdeps/mips/mips64/Implies: Likewise.
2775         * sysdeps/powerpc/Implies: Likewise.
2776         * sysdeps/sparc/Implies: Remove.
2777         * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
2778         ieee754/dbl-64.
2779         * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
2780         and ieee754/ldbl-128.
2782         * sysdeps/sparc/bits/wordsize.h: Remove.
2783         * sysdeps/sparc/fpu/bits/mathinline.h: New file.
2784         * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
2785         only for sparc32.
2786         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
2787         * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
2788         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
2789         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
2790         * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
2791         support.
2793         * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
2794         of carries. Optimize.
2796         * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
2797         * sysdeps/generic/e_exp10.c: ...here.
2798         * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
2799         * sysdeps/generic/e_exp10f.c: ...here.
2800         * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
2801         * sysdeps/generic/e_exp10l.c: ...here.
2802         * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
2803         * sysdeps/generic/e_scalb.c: ...here.
2804         * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
2805         * sysdeps/generic/e_scalbf.c: ...here.
2806         * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
2807         * sysdeps/generic/e_scalbl.c: ...here.
2808         * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
2809         * sysdeps/generic/s_cacos.c: ...here.
2810         * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
2811         * sysdeps/generic/s_cacosf.c: ...here.
2812         * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
2813         * sysdeps/generic/s_cacosh.c: ...here.
2814         * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
2815         * sysdeps/generic/s_cacoshf.c: ...here.
2816         * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
2817         * sysdeps/generic/s_cacoshl.c: ...here.
2818         * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
2819         * sysdeps/generic/s_cacosl.c: ...here.
2820         * sysdeps/libm-ieee754/s_casin.c: Moved to ...
2821         * sysdeps/generic/s_casin.c: ...here.
2822         * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
2823         * sysdeps/generic/s_casinf.c: ...here.
2824         * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
2825         * sysdeps/generic/s_casinh.c: ...here.
2826         * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
2827         * sysdeps/generic/s_casinhf.c: ...here.
2828         * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
2829         * sysdeps/generic/s_casinhl.c: ...here.
2830         * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
2831         * sysdeps/generic/s_casinl.c: ...here.
2832         * sysdeps/libm-ieee754/s_catan.c: Moved to ...
2833         * sysdeps/generic/s_catan.c: ...here.
2834         * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
2835         * sysdeps/generic/s_catanf.c: ...here.
2836         * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
2837         * sysdeps/generic/s_catanh.c: ...here.
2838         * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
2839         * sysdeps/generic/s_catanhf.c: ...here.
2840         * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
2841         * sysdeps/generic/s_catanhl.c: ...here.
2842         * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
2843         * sysdeps/generic/s_catanl.c: ...here.
2844         * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
2845         * sysdeps/generic/s_ccos.c: ...here.
2846         * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
2847         * sysdeps/generic/s_ccosf.c: ...here.
2848         * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
2849         * sysdeps/generic/s_ccosh.c: ...here.
2850         * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
2851         * sysdeps/generic/s_ccoshf.c: ...here.
2852         * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
2853         * sysdeps/generic/s_ccoshl.c: ...here.
2854         * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
2855         * sysdeps/generic/s_ccosl.c: ...here.
2856         * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
2857         * sysdeps/generic/s_cexp.c: ...here.
2858         * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
2859         * sysdeps/generic/s_cexpf.c: ...here.
2860         * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
2861         * sysdeps/generic/s_cexpl.c: ...here.
2862         * sysdeps/libm-ieee754/s_clog.c: Moved to ...
2863         * sysdeps/generic/s_clog.c: ...here.
2864         * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
2865         * sysdeps/generic/s_clog10.c: ...here.
2866         * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
2867         * sysdeps/generic/s_clog10f.c: ...here.
2868         * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
2869         * sysdeps/generic/s_clog10l.c: ...here.
2870         * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
2871         * sysdeps/generic/s_clogf.c: ...here.
2872         * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
2873         * sysdeps/generic/s_clogl.c: ...here.
2874         * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
2875         * sysdeps/generic/s_cpow.c: ...here.
2876         * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
2877         * sysdeps/generic/s_cpowf.c: ...here.
2878         * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
2879         * sysdeps/generic/s_cpowl.c: ...here.
2880         * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
2881         * sysdeps/generic/s_cproj.c: ...here.
2882         * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
2883         * sysdeps/generic/s_cprojf.c: ...here.
2884         * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
2885         * sysdeps/generic/s_cprojl.c: ...here.
2886         * sysdeps/libm-ieee754/s_csin.c: Moved to ...
2887         * sysdeps/generic/s_csin.c: ...here.
2888         * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
2889         * sysdeps/generic/s_csinf.c: ...here.
2890         * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
2891         * sysdeps/generic/s_csinh.c: ...here.
2892         * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
2893         * sysdeps/generic/s_csinhf.c: ...here.
2894         * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
2895         * sysdeps/generic/s_csinhl.c: ...here.
2896         * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
2897         * sysdeps/generic/s_csinl.c: ...here.
2898         * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
2899         * sysdeps/generic/s_csqrt.c: ...here.
2900         * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
2901         * sysdeps/generic/s_csqrtf.c: ...here.
2902         * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
2903         * sysdeps/generic/s_csqrtl.c: ...here.
2904         * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
2905         * sysdeps/generic/s_ctan.c: ...here.
2906         * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
2907         * sysdeps/generic/s_ctanf.c: ...here.
2908         * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
2909         * sysdeps/generic/s_ctanh.c: ...here.
2910         * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
2911         * sysdeps/generic/s_ctanhf.c: ...here.
2912         * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
2913         * sysdeps/generic/s_ctanhl.c: ...here.
2914         * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
2915         * sysdeps/generic/s_ctanl.c: ...here.
2916         * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
2917         * sysdeps/generic/s_fdim.c: ...here.
2918         * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
2919         * sysdeps/generic/s_fdimf.c: ...here.
2920         * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
2921         * sysdeps/generic/s_fdiml.c: ...here.
2922         * sysdeps/libm-ieee754/s_fma.c: Moved to ...
2923         * sysdeps/generic/s_fma.c: ...here.
2924         * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
2925         * sysdeps/generic/s_fmaf.c: ...here.
2926         * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
2927         * sysdeps/generic/s_fmal.c: ...here.
2928         * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
2929         * sysdeps/generic/s_fmax.c: ...here.
2930         * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
2931         * sysdeps/generic/s_fmaxf.c: ...here.
2932         * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
2933         * sysdeps/generic/s_fmaxl.c: ...here.
2934         * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
2935         * sysdeps/generic/s_fmin.c: ...here.
2936         * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
2937         * sysdeps/generic/s_fminf.c: ...here.
2938         * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
2939         * sysdeps/generic/s_fminl.c: ...here.
2940         * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
2941         * sysdeps/generic/s_ldexp.c: ...here.
2942         * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
2943         * sysdeps/generic/s_ldexpf.c: ...here.
2944         * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
2945         * sysdeps/generic/s_ldexpl.c: ...here.
2946         * sysdeps/libm-ieee754/s_nan.c: Moved to ...
2947         * sysdeps/generic/s_nan.c: ...here.
2948         * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
2949         * sysdeps/generic/s_nanf.c: ...here.
2950         * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
2951         * sysdeps/generic/s_nanl.c: ...here.
2952         * sysdeps/libm-ieee754/s_significand.c: Moved to ...
2953         * sysdeps/generic/s_significand.c: ...here.
2954         * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
2955         * sysdeps/generic/s_significandf.c: ...here.
2956         * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
2957         * sysdeps/generic/s_significandl.c: ...here.
2958         Avoid conversion from int to double and then to long double.
2959         * sysdeps/libm-ieee754/w_acos.c: Moved to ...
2960         * math/w_acos.c: ...here.
2961         * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
2962         * math/w_acosf.c: ...here.
2963         * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
2964         * math/w_acosh.c: ...here.
2965         * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
2966         * math/w_acoshf.c: ...here.
2967         * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
2968         * math/w_acoshl.c: ...here.
2969         * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
2970         * math/w_acosl.c: ...here.
2971         * sysdeps/libm-ieee754/w_asin.c: Moved to ...
2972         * math/w_asin.c: ...here.
2973         * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
2974         * math/w_asinf.c: ...here.
2975         * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
2976         * math/w_asinl.c: ...here.
2977         * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
2978         * math/w_atan2.c: ...here.
2979         * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
2980         * math/w_atan2f.c: ...here.
2981         * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
2982         * math/w_atan2l.c: ...here.
2983         * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
2984         * math/w_atanh.c: ...here.
2985         * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
2986         * math/w_atanhf.c: ...here.
2987         * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
2988         * math/w_atanhl.c: ...here.
2989         * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
2990         * math/w_cosh.c: ...here.
2991         * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
2992         * math/w_coshf.c: ...here.
2993         * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
2994         * math/w_coshl.c: ...here.
2995         * sysdeps/libm-ieee754/w_drem.c: Moved to ...
2996         * math/w_drem.c: ...here.
2997         * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
2998         * math/w_dremf.c: ...here.
2999         * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
3000         * math/w_dreml.c: ...here.
3001         * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
3002         * math/w_exp10.c: ...here.
3003         * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
3004         * math/w_exp10f.c: ...here.
3005         * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
3006         * math/w_exp10l.c: ...here.
3007         * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
3008         * math/w_exp2.c: ...here.
3009         * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
3010         * math/w_exp2f.c: ...here.
3011         * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
3012         * math/w_exp2l.c: ...here.
3013         * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
3014         * math/w_fmod.c: ...here.
3015         * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
3016         * math/w_fmodf.c: ...here.
3017         * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
3018         * math/w_fmodl.c: ...here.
3019         * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
3020         * math/w_hypot.c: ...here.
3021         * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
3022         * math/w_hypotf.c: ...here.
3023         * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
3024         * math/w_hypotl.c: ...here.
3025         * sysdeps/libm-ieee754/w_j0.c: Moved to ...
3026         * math/w_j0.c: ...here.
3027         * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
3028         * math/w_j0f.c: ...here.
3029         * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
3030         * math/w_j0l.c: ...here.
3031         * sysdeps/libm-ieee754/w_j1.c: Moved to ...
3032         * math/w_j1.c: ...here.
3033         * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
3034         * math/w_j1f.c: ...here.
3035         * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
3036         * math/w_j1l.c: ...here.
3037         * sysdeps/libm-ieee754/w_jn.c: Moved to ...
3038         * math/w_jn.c: ...here.
3039         * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
3040         * math/w_jnf.c: ...here.
3041         * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
3042         * math/w_jnl.c: ...here.
3043         * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
3044         * math/w_lgamma.c: ...here.
3045         * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
3046         * math/w_lgamma_r.c: ...here.
3047         * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
3048         * math/w_lgammaf.c: ...here.
3049         * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
3050         * math/w_lgammaf_r.c: ...here.
3051         * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
3052         * math/w_lgammal.c: ...here.
3053         * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
3054         * math/w_lgammal_r.c: ...here.
3055         * sysdeps/libm-ieee754/w_log.c: Moved to ...
3056         * math/w_log.c: ...here.
3057         * sysdeps/libm-ieee754/w_log10.c: Moved to ...
3058         * math/w_log10.c: ...here.
3059         * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
3060         * math/w_log10f.c: ...here.
3061         * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
3062         * math/w_log10l.c: ...here.
3063         * sysdeps/libm-ieee754/w_logf.c: Moved to ...
3064         * math/w_logf.c: ...here.
3065         * sysdeps/libm-ieee754/w_logl.c: Moved to ...
3066         * math/w_logl.c: ...here.
3067         * sysdeps/libm-ieee754/w_pow.c: Moved to ...
3068         * math/w_pow.c: ...here.
3069         * sysdeps/libm-ieee754/w_powf.c: Moved to ...
3070         * math/w_powf.c: ...here.
3071         * sysdeps/libm-ieee754/w_powl.c: Moved to ...
3072         * math/w_powl.c: ...here.
3073         * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
3074         * math/w_remainder.c: ...here.
3075         * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
3076         * math/w_remainderf.c: ...here.
3077         * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
3078         * math/w_remainderl.c: ...here.
3079         * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
3080         * math/w_scalb.c: ...here.
3081         * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
3082         * math/w_scalbf.c: ...here.
3083         * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
3084         * math/w_scalbl.c: ...here.
3085         * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
3086         * math/w_sinh.c: ...here.
3087         * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
3088         * math/w_sinhf.c: ...here.
3089         * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
3090         * math/w_sinhl.c: ...here.
3091         * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
3092         * math/w_sqrt.c: ...here.
3093         * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
3094         * math/w_sqrtf.c: ...here.
3095         * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
3096         * math/w_sqrtl.c: ...here.
3097         * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
3098         * math/w_tgamma.c: ...here.
3099         * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
3100         * math/w_tgammaf.c: ...here.
3101         * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
3102         * math/w_tgammal.c: ...here.
3103         * sysdeps/libm-i387/e_acos.S: Moved to ...
3104         * sysdeps/i386/fpu/e_acos.S: ...here.
3105         * sysdeps/libm-i387/e_acosf.S: Moved to ...
3106         * sysdeps/i386/fpu/e_acosf.S: ...here.
3107         * sysdeps/libm-i387/e_acosh.S: Moved to ...
3108         * sysdeps/i386/fpu/e_acosh.S: ...here.
3109         * sysdeps/libm-i387/e_acoshf.S: Moved to ...
3110         * sysdeps/i386/fpu/e_acoshf.S: ...here.
3111         * sysdeps/libm-i387/e_acoshl.S: Moved to ...
3112         * sysdeps/i386/fpu/e_acoshl.S: ...here.
3113         * sysdeps/libm-i387/e_acosl.S: Moved to ...
3114         * sysdeps/i386/fpu/e_acosl.S: ...here.
3115         * sysdeps/libm-i387/e_asin.S: Moved to ...
3116         * sysdeps/i386/fpu/e_asin.S: ...here.
3117         * sysdeps/libm-i387/e_asinf.S: Moved to ...
3118         * sysdeps/i386/fpu/e_asinf.S: ...here.
3119         * sysdeps/libm-i387/e_asinl.S: Moved to ...
3120         * sysdeps/i386/fpu/e_asinl.S: ...here.
3121         * sysdeps/libm-i387/e_atan2.S: Moved to ...
3122         * sysdeps/i386/fpu/e_atan2.S: ...here.
3123         * sysdeps/libm-i387/e_atan2f.S: Moved to ...
3124         * sysdeps/i386/fpu/e_atan2f.S: ...here.
3125         * sysdeps/libm-i387/e_atan2l.S: Moved to ...
3126         * sysdeps/i386/fpu/e_atan2l.S: ...here.
3127         * sysdeps/libm-i387/e_atanh.S: Moved to ...
3128         * sysdeps/i386/fpu/e_atanh.S: ...here.
3129         * sysdeps/libm-i387/e_atanhf.S: Moved to ...
3130         * sysdeps/i386/fpu/e_atanhf.S: ...here.
3131         * sysdeps/libm-i387/e_atanhl.S: Moved to ...
3132         * sysdeps/i386/fpu/e_atanhl.S: ...here.
3133         * sysdeps/libm-i387/e_exp.S: Moved to ...
3134         * sysdeps/i386/fpu/e_exp.S: ...here.
3135         * sysdeps/libm-i387/e_exp10.S: Moved to ...
3136         * sysdeps/i386/fpu/e_exp10.S: ...here.
3137         * sysdeps/libm-i387/e_exp10f.S: Moved to ...
3138         * sysdeps/i386/fpu/e_exp10f.S: ...here.
3139         * sysdeps/libm-i387/e_exp10l.S: Moved to ...
3140         * sysdeps/i386/fpu/e_exp10l.S: ...here.
3141         * sysdeps/libm-i387/e_expf.S: Moved to ...
3142         * sysdeps/i386/fpu/e_expf.S: ...here.
3143         * sysdeps/libm-i387/e_expl.S: Moved to ...
3144         * sysdeps/i386/fpu/e_expl.S: ...here.
3145         * sysdeps/libm-i387/e_fmod.S: Moved to ...
3146         * sysdeps/i386/fpu/e_fmod.S: ...here.
3147         * sysdeps/libm-i387/e_fmodf.S: Moved to ...
3148         * sysdeps/i386/fpu/e_fmodf.S: ...here.
3149         * sysdeps/libm-i387/e_fmodl.S: Moved to ...
3150         * sysdeps/i386/fpu/e_fmodl.S: ...here.
3151         * sysdeps/libm-i387/e_hypot.S: Moved to ...
3152         * sysdeps/i386/fpu/e_hypot.S: ...here.
3153         * sysdeps/libm-i387/e_hypotf.S: Moved to ...
3154         * sysdeps/i386/fpu/e_hypotf.S: ...here.
3155         * sysdeps/libm-i387/e_log.S: Moved to ...
3156         * sysdeps/i386/fpu/e_log.S: ...here.
3157         * sysdeps/libm-i387/e_log10.S: Moved to ...
3158         * sysdeps/i386/fpu/e_log10.S: ...here.
3159         * sysdeps/libm-i387/e_log10f.S: Moved to ...
3160         * sysdeps/i386/fpu/e_log10f.S: ...here.
3161         * sysdeps/libm-i387/e_log10l.S: Moved to ...
3162         * sysdeps/i386/fpu/e_log10l.S: ...here.
3163         * sysdeps/libm-i387/e_logf.S: Moved to ...
3164         * sysdeps/i386/fpu/e_logf.S: ...here.
3165         * sysdeps/libm-i387/e_logl.S: Moved to ...
3166         * sysdeps/i386/fpu/e_logl.S: ...here.
3167         * sysdeps/libm-i387/e_pow.S: Moved to ...
3168         * sysdeps/i386/fpu/e_pow.S: ...here.
3169         * sysdeps/libm-i387/e_powf.S: Moved to ...
3170         * sysdeps/i386/fpu/e_powf.S: ...here.
3171         * sysdeps/libm-i387/e_powl.S: Moved to ...
3172         * sysdeps/i386/fpu/e_powl.S: ...here.
3173         * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
3174         * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
3175         * sysdeps/libm-i387/e_remainder.S: Moved to ...
3176         * sysdeps/i386/fpu/e_remainder.S: ...here.
3177         * sysdeps/libm-i387/e_remainderf.S: Moved to ...
3178         * sysdeps/i386/fpu/e_remainderf.S: ...here.
3179         * sysdeps/libm-i387/e_remainderl.S: Moved to ...
3180         * sysdeps/i386/fpu/e_remainderl.S: ...here.
3181         * sysdeps/libm-i387/e_scalb.S: Moved to ...
3182         * sysdeps/i386/fpu/e_scalb.S: ...here.
3183         * sysdeps/libm-i387/e_scalbf.S: Moved to ...
3184         * sysdeps/i386/fpu/e_scalbf.S: ...here.
3185         * sysdeps/libm-i387/e_scalbl.S: Moved to ...
3186         * sysdeps/i386/fpu/e_scalbl.S: ...here.
3187         * sysdeps/libm-i387/e_sqrt.S: Moved to ...
3188         * sysdeps/i386/fpu/e_sqrt.S: ...here.
3189         * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
3190         * sysdeps/i386/fpu/e_sqrtf.S: ...here.
3191         * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
3192         * sysdeps/i386/fpu/e_sqrtl.S: ...here.
3193         * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
3194         * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
3195         * sysdeps/libm-i387/s_asinh.S: Moved to ...
3196         * sysdeps/i386/fpu/s_asinh.S: ...here.
3197         * sysdeps/libm-i387/s_asinhf.S: Moved to ...
3198         * sysdeps/i386/fpu/s_asinhf.S: ...here.
3199         * sysdeps/libm-i387/s_asinhl.S: Moved to ...
3200         * sysdeps/i386/fpu/s_asinhl.S: ...here.
3201         * sysdeps/libm-i387/s_atan.S: Moved to ...
3202         * sysdeps/i386/fpu/s_atan.S: ...here.
3203         * sysdeps/libm-i387/s_atanf.S: Moved to ...
3204         * sysdeps/i386/fpu/s_atanf.S: ...here.
3205         * sysdeps/libm-i387/s_atanl.S: Moved to ...
3206         * sysdeps/i386/fpu/s_atanl.S: ...here.
3207         * sysdeps/libm-i387/s_cbrt.S: Moved to ...
3208         * sysdeps/i386/fpu/s_cbrt.S: ...here.
3209         * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
3210         * sysdeps/i386/fpu/s_cbrtf.S: ...here.
3211         * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
3212         * sysdeps/i386/fpu/s_cbrtl.S: ...here.
3213         * sysdeps/libm-i387/s_ceil.S: Moved to ...
3214         * sysdeps/i386/fpu/s_ceil.S: ...here.
3215         * sysdeps/libm-i387/s_ceilf.S: Moved to ...
3216         * sysdeps/i386/fpu/s_ceilf.S: ...here.
3217         * sysdeps/libm-i387/s_ceill.S: Moved to ...
3218         * sysdeps/i386/fpu/s_ceill.S: ...here.
3219         * sysdeps/libm-i387/s_cexp.S: Moved to ...
3220         * sysdeps/i386/fpu/s_cexp.S: ...here.
3221         * sysdeps/libm-i387/s_cexpf.S: Moved to ...
3222         * sysdeps/i386/fpu/s_cexpf.S: ...here.
3223         * sysdeps/libm-i387/s_cexpl.S: Moved to ...
3224         * sysdeps/i386/fpu/s_cexpl.S: ...here.
3225         * sysdeps/libm-i387/s_copysign.S: Moved to ...
3226         * sysdeps/i386/fpu/s_copysign.S: ...here.
3227         * sysdeps/libm-i387/s_copysignf.S: Moved to ...
3228         * sysdeps/i386/fpu/s_copysignf.S: ...here.
3229         * sysdeps/libm-i387/s_copysignl.S: Moved to ...
3230         * sysdeps/i386/fpu/s_copysignl.S: ...here.
3231         * sysdeps/libm-i387/s_cos.S: Moved to ...
3232         * sysdeps/i386/fpu/s_cos.S: ...here.
3233         * sysdeps/libm-i387/s_cosf.S: Moved to ...
3234         * sysdeps/i386/fpu/s_cosf.S: ...here.
3235         * sysdeps/libm-i387/s_cosl.S: Moved to ...
3236         * sysdeps/i386/fpu/s_cosl.S: ...here.
3237         * sysdeps/libm-i387/s_exp2.S: Moved to ...
3238         * sysdeps/i386/fpu/s_exp2.S: ...here.
3239         * sysdeps/libm-i387/s_exp2f.S: Moved to ...
3240         * sysdeps/i386/fpu/s_exp2f.S: ...here.
3241         * sysdeps/libm-i387/s_exp2l.S: Moved to ...
3242         * sysdeps/i386/fpu/s_exp2l.S: ...here.
3243         * sysdeps/libm-i387/s_expm1.S: Moved to ...
3244         * sysdeps/i386/fpu/s_expm1.S: ...here.
3245         * sysdeps/libm-i387/s_expm1f.S: Moved to ...
3246         * sysdeps/i386/fpu/s_expm1f.S: ...here.
3247         * sysdeps/libm-i387/s_expm1l.S: Moved to ...
3248         * sysdeps/i386/fpu/s_expm1l.S: ...here.
3249         * sysdeps/libm-i387/s_fdim.S: Moved to ...
3250         * sysdeps/i386/fpu/s_fdim.S: ...here.
3251         * sysdeps/libm-i387/s_fdimf.S: Moved to ...
3252         * sysdeps/i386/fpu/s_fdimf.S: ...here.
3253         * sysdeps/libm-i387/s_fdiml.S: Moved to ...
3254         * sysdeps/i386/fpu/s_fdiml.S: ...here.
3255         * sysdeps/libm-i387/s_finite.S: Moved to ...
3256         * sysdeps/i386/fpu/s_finite.S: ...here.
3257         * sysdeps/libm-i387/s_finitef.S: Moved to ...
3258         * sysdeps/i386/fpu/s_finitef.S: ...here.
3259         * sysdeps/libm-i387/s_finitel.S: Moved to ...
3260         * sysdeps/i386/fpu/s_finitel.S: ...here.
3261         * sysdeps/libm-i387/s_floor.S: Moved to ...
3262         * sysdeps/i386/fpu/s_floor.S: ...here.
3263         * sysdeps/libm-i387/s_floorf.S: Moved to ...
3264         * sysdeps/i386/fpu/s_floorf.S: ...here.
3265         * sysdeps/libm-i387/s_floorl.S: Moved to ...
3266         * sysdeps/i386/fpu/s_floorl.S: ...here.
3267         * sysdeps/libm-i387/s_fma.S: Moved to ...
3268         * sysdeps/i386/fpu/s_fma.S: ...here.
3269         * sysdeps/libm-i387/s_fmaf.S: Moved to ...
3270         * sysdeps/i386/fpu/s_fmaf.S: ...here.
3271         * sysdeps/libm-i387/s_fmal.S: Moved to ...
3272         * sysdeps/i386/fpu/s_fmal.S: ...here.
3273         * sysdeps/libm-i387/s_fmax.S: Moved to ...
3274         * sysdeps/i386/fpu/s_fmax.S: ...here.
3275         * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
3276         * sysdeps/i386/fpu/s_fmaxf.S: ...here.
3277         * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
3278         * sysdeps/i386/fpu/s_fmaxl.S: ...here.
3279         * sysdeps/libm-i387/s_fmin.S: Moved to ...
3280         * sysdeps/i386/fpu/s_fmin.S: ...here.
3281         * sysdeps/libm-i387/s_fminf.S: Moved to ...
3282         * sysdeps/i386/fpu/s_fminf.S: ...here.
3283         * sysdeps/libm-i387/s_fminl.S: Moved to ...
3284         * sysdeps/i386/fpu/s_fminl.S: ...here.
3285         * sysdeps/libm-i387/s_frexp.S: Moved to ...
3286         * sysdeps/i386/fpu/s_frexp.S: ...here.
3287         * sysdeps/libm-i387/s_frexpf.S: Moved to ...
3288         * sysdeps/i386/fpu/s_frexpf.S: ...here.
3289         * sysdeps/libm-i387/s_frexpl.S: Moved to ...
3290         * sysdeps/i386/fpu/s_frexpl.S: ...here.
3291         * sysdeps/libm-i387/s_ilogb.S: Moved to ...
3292         * sysdeps/i386/fpu/s_ilogb.S: ...here.
3293         * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
3294         * sysdeps/i386/fpu/s_ilogbf.S: ...here.
3295         * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
3296         * sysdeps/i386/fpu/s_ilogbl.S: ...here.
3297         * sysdeps/libm-i387/s_llrint.S: Moved to ...
3298         * sysdeps/i386/fpu/s_llrint.S: ...here.
3299         * sysdeps/libm-i387/s_llrintf.S: Moved to ...
3300         * sysdeps/i386/fpu/s_llrintf.S: ...here.
3301         * sysdeps/libm-i387/s_llrintl.S: Moved to ...
3302         * sysdeps/i386/fpu/s_llrintl.S: ...here.
3303         * sysdeps/libm-i387/s_log1p.S: Moved to ...
3304         * sysdeps/i386/fpu/s_log1p.S: ...here.
3305         * sysdeps/libm-i387/s_log1pf.S: Moved to ...
3306         * sysdeps/i386/fpu/s_log1pf.S: ...here.
3307         * sysdeps/libm-i387/s_log1pl.S: Moved to ...
3308         * sysdeps/i386/fpu/s_log1pl.S: ...here.
3309         * sysdeps/libm-i387/s_log2.S: Moved to ...
3310         * sysdeps/i386/fpu/s_log2.S: ...here.
3311         * sysdeps/libm-i387/s_log2f.S: Moved to ...
3312         * sysdeps/i386/fpu/s_log2f.S: ...here.
3313         * sysdeps/libm-i387/s_log2l.S: Moved to ...
3314         * sysdeps/i386/fpu/s_log2l.S: ...here.
3315         * sysdeps/libm-i387/s_logb.S: Moved to ...
3316         * sysdeps/i386/fpu/s_logb.S: ...here.
3317         * sysdeps/libm-i387/s_logbf.S: Moved to ...
3318         * sysdeps/i386/fpu/s_logbf.S: ...here.
3319         * sysdeps/libm-i387/s_logbl.S: Moved to ...
3320         * sysdeps/i386/fpu/s_logbl.S: ...here.
3321         * sysdeps/libm-i387/s_lrint.S: Moved to ...
3322         * sysdeps/i386/fpu/s_lrint.S: ...here.
3323         * sysdeps/libm-i387/s_lrintf.S: Moved to ...
3324         * sysdeps/i386/fpu/s_lrintf.S: ...here.
3325         * sysdeps/libm-i387/s_lrintl.S: Moved to ...
3326         * sysdeps/i386/fpu/s_lrintl.S: ...here.
3327         * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
3328         * sysdeps/i386/fpu/s_nearbyint.S: ...here.
3329         * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
3330         * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
3331         * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
3332         * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
3333         * sysdeps/libm-i387/s_remquo.S: Moved to ...
3334         * sysdeps/i386/fpu/s_remquo.S: ...here.
3335         * sysdeps/libm-i387/s_remquof.S: Moved to ...
3336         * sysdeps/i386/fpu/s_remquof.S: ...here.
3337         * sysdeps/libm-i387/s_remquol.S: Moved to ...
3338         * sysdeps/i386/fpu/s_remquol.S: ...here.
3339         * sysdeps/libm-i387/s_rint.S: Moved to ...
3340         * sysdeps/i386/fpu/s_rint.S: ...here.
3341         * sysdeps/libm-i387/s_rintf.S: Moved to ...
3342         * sysdeps/i386/fpu/s_rintf.S: ...here.
3343         * sysdeps/libm-i387/s_rintl.S: Moved to ...
3344         * sysdeps/i386/fpu/s_rintl.S: ...here.
3345         * sysdeps/libm-i387/s_scalbn.S: Moved to ...
3346         * sysdeps/i386/fpu/s_scalbn.S: ...here.
3347         * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
3348         * sysdeps/i386/fpu/s_scalbnf.S: ...here.
3349         * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
3350         * sysdeps/i386/fpu/s_scalbnl.S: ...here.
3351         * sysdeps/libm-i387/s_significand.S: Moved to ...
3352         * sysdeps/i386/fpu/s_significand.S: ...here.
3353         * sysdeps/libm-i387/s_significandf.S: Moved to ...
3354         * sysdeps/i386/fpu/s_significandf.S: ...here.
3355         * sysdeps/libm-i387/s_significandl.S: Moved to ...
3356         * sysdeps/i386/fpu/s_significandl.S: ...here.
3357         * sysdeps/libm-i387/s_sin.S: Moved to ...
3358         * sysdeps/i386/fpu/s_sin.S: ...here.
3359         * sysdeps/libm-i387/s_sincos.S: Moved to ...
3360         * sysdeps/i386/fpu/s_sincos.S: ...here.
3361         * sysdeps/libm-i387/s_sincosf.S: Moved to ...
3362         * sysdeps/i386/fpu/s_sincosf.S: ...here.
3363         * sysdeps/libm-i387/s_sincosl.S: Moved to ...
3364         * sysdeps/i386/fpu/s_sincosl.S: ...here.
3365         * sysdeps/libm-i387/s_sinf.S: Moved to ...
3366         * sysdeps/i386/fpu/s_sinf.S: ...here.
3367         * sysdeps/libm-i387/s_sinl.S: Moved to ...
3368         * sysdeps/i386/fpu/s_sinl.S: ...here.
3369         * sysdeps/libm-i387/s_tan.S: Moved to ...
3370         * sysdeps/i386/fpu/s_tan.S: ...here.
3371         * sysdeps/libm-i387/s_tanf.S: Moved to ...
3372         * sysdeps/i386/fpu/s_tanf.S: ...here.
3373         * sysdeps/libm-i387/s_tanl.S: Moved to ...
3374         * sysdeps/i386/fpu/s_tanl.S: ...here.
3375         * sysdeps/libm-i387/s_trunc.S: Moved to ...
3376         * sysdeps/i386/fpu/s_trunc.S: ...here.
3377         * sysdeps/libm-i387/s_truncf.S: Moved to ...
3378         * sysdeps/i386/fpu/s_truncf.S: ...here.
3379         * sysdeps/libm-i387/s_truncl.S: Moved to ...
3380         * sysdeps/i386/fpu/s_truncl.S: ...here.
3381         * sysdeps/libm-ieee754/k_standard.c: Moved to ...
3382         * sysdeps/ieee754/k_standard.c: ...here.
3383         * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
3384         * sysdeps/ieee754/s_lib_version.c: ...here.
3385         * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
3386         * sysdeps/ieee754/s_matherr.c: ...here.
3387         * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
3388         * sysdeps/ieee754/s_signgam.c: ...here.
3389         * sysdeps/ieee754/dbl2mpn.c: Moved to ...
3390         * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
3391         * sysdeps/ieee754/mpn2dbl.c: Moved to ...
3392         * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
3393         * sysdeps/libm-ieee754/e_acos.c: Moved to ...
3394         * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
3395         * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
3396         * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
3397         * sysdeps/libm-ieee754/e_asin.c: Moved to ...
3398         * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
3399         * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
3400         * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
3401         * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
3402         * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
3403         * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
3404         * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
3405         * sysdeps/libm-ieee754/e_exp.c: Moved to ...
3406         * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
3407         * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
3408         * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
3409         * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
3410         * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
3411         * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
3412         * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
3413         * sysdeps/libm-ieee754/e_j0.c: Moved to ...
3414         * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
3415         * sysdeps/libm-ieee754/e_j1.c: Moved to ...
3416         * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
3417         * sysdeps/libm-ieee754/e_jn.c: Moved to ...
3418         * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
3419         * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
3420         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
3421         * sysdeps/libm-ieee754/e_log.c: Moved to ...
3422         * sysdeps/ieee754/dbl-64/e_log.c: ...here.
3423         * sysdeps/libm-ieee754/e_log10.c: Moved to ...
3424         * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
3425         * sysdeps/libm-ieee754/e_pow.c: Moved to ...
3426         * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
3427         * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
3428         * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
3429         * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
3430         * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
3431         * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
3432         * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
3433         * sysdeps/libm-ieee754/k_cos.c: Moved to ...
3434         * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
3435         * sysdeps/libm-ieee754/k_sin.c: Moved to ...
3436         * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
3437         * sysdeps/libm-ieee754/k_tan.c: Moved to ...
3438         * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
3439         * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
3440         * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
3441         * sysdeps/libm-ieee754/s_atan.c: Moved to ...
3442         * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
3443         * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
3444         * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
3445         * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
3446         * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
3447         * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
3448         * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
3449         * sysdeps/libm-ieee754/s_cos.c: Moved to ...
3450         * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
3451         * sysdeps/libm-ieee754/s_erf.c: Moved to ...
3452         * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
3453         * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
3454         * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
3455         * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
3456         * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
3457         * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
3458         * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
3459         * sysdeps/libm-ieee754/s_finite.c: Moved to ...
3460         * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
3461         * sysdeps/libm-ieee754/s_floor.c: Moved to ...
3462         * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
3463         * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
3464         * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
3465         * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
3466         * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
3467         * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
3468         * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
3469         * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
3470         * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
3471         * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
3472         * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
3473         (__isnan): Comment above function says it returns 0 or 1, but it
3474         used to return 0 or -1.
3475         * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
3476         * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
3477         * sysdeps/libm-ieee754/s_llround.c: Moved to ...
3478         * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
3479         * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
3480         * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
3481         * sysdeps/libm-ieee754/s_log2.c: Moved to ...
3482         * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
3483         * sysdeps/libm-ieee754/s_logb.c: Moved to ...
3484         * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
3485         * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
3486         * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
3487         * sysdeps/libm-ieee754/s_lround.c: Moved to ...
3488         * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
3489         * sysdeps/libm-ieee754/s_modf.c: Moved to ...
3490         * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
3491         * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
3492         * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
3493         * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
3494         * sysdeps/generic/s_nextafter.c: ...here.
3495         Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
3496         * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
3497         * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
3498         * sysdeps/libm-ieee754/s_rint.c: Moved to ...
3499         * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
3500         * sysdeps/libm-ieee754/s_round.c: Moved to ...
3501         * sysdeps/ieee754/dbl-64/s_round.c: ...here.
3502         * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
3503         * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
3504         * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
3505         * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
3506         * sysdeps/libm-ieee754/s_sin.c: Moved to ...
3507         * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
3508         * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
3509         * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
3510         * sysdeps/libm-ieee754/s_tan.c: Moved to ...
3511         * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
3512         * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
3513         * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
3514         * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
3515         * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
3516         * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
3517         * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
3518         * sysdeps/libm-ieee754/w_exp.c: Moved to ...
3519         * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
3520         * sysdeps/ieee754/mpn2flt.c: Moved to ...
3521         * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
3522         * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
3523         * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
3524         * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
3525         * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
3526         * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
3527         * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
3528         * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
3529         * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
3530         * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
3531         * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
3532         * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
3533         * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
3534         * sysdeps/libm-ieee754/e_expf.c: Moved to ...
3535         * sysdeps/ieee754/flt-32/e_expf.c: ...here.
3536         * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
3537         * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
3538         * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
3539         * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
3540         * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
3541         * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
3542         * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
3543         * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
3544         * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
3545         * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
3546         * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
3547         * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
3548         * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
3549         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
3550         * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
3551         * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
3552         * sysdeps/libm-ieee754/e_logf.c: Moved to ...
3553         * sysdeps/ieee754/flt-32/e_logf.c: ...here.
3554         * sysdeps/libm-ieee754/e_powf.c: Moved to ...
3555         * sysdeps/ieee754/flt-32/e_powf.c: ...here.
3556         * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
3557         * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
3558         * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
3559         * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
3560         * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
3561         * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
3562         * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
3563         * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
3564         * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
3565         * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
3566         * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
3567         * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
3568         * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
3569         * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
3570         * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
3571         * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
3572         * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
3573         * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
3574         * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
3575         * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
3576         * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
3577         * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
3578         * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
3579         * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
3580         * sysdeps/libm-ieee754/s_erff.c: Moved to ...
3581         * sysdeps/ieee754/flt-32/s_erff.c: ...here.
3582         * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
3583         * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
3584         * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
3585         * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
3586         * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
3587         * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
3588         * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
3589         * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
3590         * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
3591         * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
3592         * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
3593         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
3594         * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
3595         * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
3596         * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
3597         * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
3598         * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
3599         * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
3600         * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
3601         * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
3602         * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
3603         * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
3604         * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
3605         * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
3606         * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
3607         * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
3608         * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
3609         * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
3610         * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
3611         * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
3612         * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
3613         * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
3614         * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
3615         * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
3616         * sysdeps/libm-ieee754/s_modff.c: Moved to ...
3617         * sysdeps/ieee754/flt-32/s_modff.c: ...here.
3618         * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
3619         * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
3620         * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
3621         * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
3622         * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
3623         * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
3624         * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
3625         * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
3626         * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
3627         * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
3628         * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
3629         * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
3630         * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
3631         * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
3632         * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
3633         * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
3634         * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
3635         * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
3636         * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
3637         * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
3638         * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
3639         * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
3640         * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
3641         * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
3642         * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
3643         * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
3644         * sysdeps/libm-ieee754/w_expf.c: Moved to ...
3645         * sysdeps/ieee754/flt-32/w_expf.c: ...here.
3646         * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
3647         * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
3648         * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
3649         * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
3650         * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
3651         * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
3652         * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
3653         * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
3654         * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
3655         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
3656         * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
3657         * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
3658         * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
3659         * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
3660         * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
3661         * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
3662         * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
3663         * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
3664         * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
3665         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
3666         * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
3667         * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
3668         * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
3669         * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
3670         * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
3671         * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
3672         * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
3673         * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
3674         * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
3675         * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
3676         * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
3677         * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
3678         * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
3679         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
3680         * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
3681         * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
3682         * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
3683         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
3684         * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
3685         * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
3686         * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
3687         * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
3688         * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
3689         * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
3690         * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
3691         * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
3692         * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
3693         * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
3694         * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
3695         * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
3696         (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
3697         INSERT_WORDS.
3698         * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
3699         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
3700         (__nearbyintl): Fix for exponents 2^30.
3701         * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
3702         * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
3703         * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
3704         * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
3705         (__rintl): Fix for exponents 2^30.
3706         * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
3707         * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
3708         * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
3709         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
3710         (__scalbnl): Fix exponent for subnormal result.
3711         * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
3712         * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
3713         * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
3714         * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
3715         * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
3716         * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
3717         * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
3718         * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
3719         * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
3720         * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
3721         * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
3722         * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
3723         * sysdeps/libm-ieee754/w_expl.c: Moved to ...
3724         * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
3725         * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
3726         * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
3727         * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
3728         * sysdeps/i386/fpu/s_scalblnf.c: ...here.
3729         * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
3730         * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
3731         * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
3732         * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
3733         * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
3734         * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
3735         * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
3736         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
3737         * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
3738         * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
3739         * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
3740         * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
3741         * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
3742         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
3743         * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
3744         * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
3745         * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
3746         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
3747         * sysdeps/libm-i387/s_scalbln.c: Moved to ...
3748         * sysdeps/i386/fpu/s_scalbln.c: ...here.
3749         * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
3750         * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
3751         * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
3752         * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
3753         * sysdeps/libm-i387/t_exp.c: Moved to ...
3754         * sysdeps/i386/fpu/t_exp.c: ...here.
3755         * sysdeps/libm-ieee754/t_exp.c: Moved to ...
3756         * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
3757         * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
3758         * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
3759         * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
3760         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
3761         * sysdeps/libm-i387/s_isinfl.c: Moved to ...
3762         * sysdeps/i386/fpu/s_isinfl.c: ...here.
3763         * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
3764         * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
3765         * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
3766         * sysdeps/i386/fpu/s_scalblnl.c: ...here.
3767         * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
3768         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
3769         Fix exponent for subnormal result.
3770         * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
3771         * sysdeps/generic/s_nexttowardl.c: ...here.
3772         * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
3773         * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
3774         * sysdeps/libm-i387/s_isnanl.c: Moved to ...
3775         * sysdeps/i386/fpu/s_isnanl.c: ...here.
3776         * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
3777         * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
3778         Comment above function says it returns 0 or 1, but it used to return
3779         0 or -1.
3780         * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
3781         * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
3782         * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
3783         * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
3784         * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
3785         * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
3786         * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
3787         * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
3788         * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
3789         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
3790         Cannot compare exponents with different biases without adjusting.
3791         * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
3792         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
3793         Cannot compare exponents with different biases without adjusting.
3794         * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
3795         * sysdeps/i386/fpu/s_nextafterl.c: ...here.
3796         * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
3797         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
3798         * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
3799         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
3800         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
3801         * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
3802         * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
3803         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
3804         * sysdeps/libm-ieee754/Dist: Split into ...
3805         * sysdeps/ieee754/dbl-64/Dist: ...this and ...
3806         * sysdeps/ieee754/flt-32/Dist: ...this file.
3808         * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
3809         * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
3810         * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
3811         * sysdeps/ieee754/ldbl-96/strtold.c: New file.
3812         * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
3813         * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
3814         * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
3815         * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
3816         * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
3817         * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
3818         * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
3819         * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
3820         * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
3821         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
3822         * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
3823         * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
3824         * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
3825         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
3826         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
3827         * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
3828         * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
3829         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
3830         * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
3831         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
3832         * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
3833         * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
3834         * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
3835         * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
3836         * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
3837         * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
3838         * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
3839         * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
3840         * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
3841         * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
3842         * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
3843         * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
3844         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
3845         * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
3846         * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
3847         * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
3848         * sysdeps/ieee754/ldbl-128/strtold.c: New file.
3849         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
3850         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
3851         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
3852         * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
3853         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
3854         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
3856         * sysdeps/generic/math_ldbl.h: New file.
3857         * sysdeps/generic/s_nexttowardf.c: New file.
3858         * sysdeps/generic/strtold.c: New file.
3859         * sysdeps/generic/ldbl2mpn.c: New file.
3861         * math/machine/endian.h: Remove.
3862         * sysdeps/i386/fpu/Implies: Remove.
3863         * sysdeps/ieee754/Implies: Remove.
3865         * math/math_private.h: Move long double macros to math_ldbl.h
3866         header.
3868 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
3870         * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
3871         connections without a hostname set address to localhost address.
3873 1999-07-11  H.J. Lu  <hjl@gnu.org>
3875         * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
3876         nscd's own strong version of the get[a-z]*_r function.
3877         * nscd/hstcache.c: Likewise.
3878         * nscd/pwdcache.c: Likewise.
3880 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
3882         * configure.in: Recognize 2.95 as gcc version number.
3883         Patch by Joel Klecker <jk@espy.org>.
3885 1999-07-12  Andreas Schwab  <schwab@suse.de>
3887         * elf/rtld.c (dl_main): When putting back the interpreter object
3888         handle the case where a missing object might occur in the list of
3889         objects but not in the search list when in trace mode.
3891 1999-07-11  Ulrich Drepper  <drepper@cygnus.com>
3893         * Versions.def (libnss_hesiod): Add GLIBC_2.2.
3894         * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
3895         _nss_hesiod_initgroups.
3897 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
3899         * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
3900         (_hurd_set_brk, init_brk): Use that instead of &__data_start.
3901         Initialize it from &__data_start if defined, or else &_end.
3903 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
3905         * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
3906         for MAP_ANON, prot==PROT_READ|PROT_WRITE.
3908 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
3910         * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
3912 1999-07-09  H.J. Lu  <hjl@gnu.org>
3914         * Versions.def (GLIBC_2.1.2): Added.
3916         * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
3917         old one as GLIBC_2.0.
3918         * nss/getXXbyYY_r.c: Likewise.
3920         * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
3921         GLIBC_2.1.2.
3922         * inet/Versions (getaliasbyname_r, getaliasent_r,
3923         gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
3924         gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
3925         getnetgrent_r, getprotobyname_r, getprotobynumber_r,
3926         getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
3927         getservbyname_r): Likewise.
3928         * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
3929         * shadow/Versions (getspent_r, getspnam_r): Likewise.
3931 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
3933         * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
3934         compilers.
3935         (__memset_cc): Likewise.
3937         * sysdeps/generic/libc-start.c: For SUID binaries check whether
3938         the standard file descriptors are open.
3939         Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
3941         * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
3942         * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
3943         range of mmap.  If not fail.
3944         Patches by Daniel Jacobowitz <dan@debian.org>.
3946         * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
3947         before the relocation happened.
3948         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3950         * Versions.def (libnsl): Add GLIBC_2.2.
3951         * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
3953 1999-07-08  Cristian Gafton  <gafton@redhat.com>
3955         * nis/yp_xdr.c (xdr_ypall): New function.
3957 1999-07-09  Andreas Schwab  <schwab@suse.de>
3959         * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
3961         * dlfcn/Makefile (headers): Add bits/dlfcn.h.
3963 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
3965         * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
3966         * hesiod/hesiod-grp.c: Add initgroups support.
3967         Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
3969 1999-07-08  Andreas Schwab  <schwab@suse.de>
3971         * libio/iofopncook.c (fopencookie): Set _fileno to -2.
3973         * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
3974         negative numbers.
3976         * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
3977         EOF.
3978         * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
3980 1999-07-08  Andreas Schwab  <schwab@suse.de>
3982         * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
3984 1999-07-08  Andreas Schwab  <schwab@suse.de>
3986         * libio/fileno.c: Return -1 instead of EOF and set errno if the
3987         stream is not a real file stream.
3989 1999-07-08  Andreas Schwab  <schwab@suse.de>
3991         * manual/charset.texi: Fix typos.
3993 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
3995         * sysdeps/gnu/Makefile (libdl-routines): Add eval.
3997 1999-07-06  Zack Weinberg  <zack@rabi.columbia.edu>
3999         * dlfcn: New directory.  Move the following files from elf:
4000         dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
4001         dlopenold.c, dlsym.c, dlvsym.c.
4002         * dlfcn/Makefile: New file.
4003         * dlfcn/Versions: New file.
4004         * dlfcn/dlsym.c: All ELF-specific code split out to new
4005         function _dl_sym.
4006         * dlfcn/dlvsym.c: All ELF-specific code split out to new
4007         function _dl_vsym.
4008         * elf/dl-sym.c: New file.  _dl_sym and _dl_vsym are
4009         implemented here.
4011         * dlfcn/dladdr.c: Remove all references to ELF data structures
4012         or headers.
4013         * dlfcn/dlclose.c: Likewise.
4014         * dlfcn/dlerror.c: Likewise.
4015         * dlfcn/dlopen.c: Likewise.
4016         * dlfcn/dlopenold.c: Likewise.
4018         * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
4019         yes, empty otherwise.
4020         (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
4021         depending on build-shared.
4022         (subdirs): Add $(dlfcn).
4023         (rpath-dirs): Add dlfcn.
4024         * elf/Makefile: Remove all references to libdl or its
4025         components, except the ones relating to the test cases.
4026         (routines): Add dl-sym.
4027         * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
4028         (libdl): Delete.
4030         * elf/dl-close.c (_dl_close): Change argument to void *.
4031         * elf/dl-open.c (_dl_open): Change return type to void *.
4032         * elf/eval.c: Removed.
4033         * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
4034         _dlerror_run, _dl_open, _dl_close, _dl_addr, and
4035         _dl_mcount_wrapper_check to include/dlfcn.h.  Delete
4036         _CALL_DL_FCT macro.
4037         * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
4038         Include real header from dlfcn directory.
4039         * include/ldsodefs.h: Removed.
4041         * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
4042         * nss/getXXbyYY_r.c: Likewise.
4043         * nss/getXXent_r.c: Likewise.
4044         * iconv/gconv.c: Likewise.  Don't include ldsodefs.h.
4045         * iconv/gconv_db.c: Likewise.  Don't include ldsodefs.h.
4046         * iconv/skeleton.c: Don't include ldsodefs.h.
4047         * nss/nsswitch.h: Don't include ldsodefs.h.  Include dlfcn.h.
4049 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
4051         * sysdeps/generic/setenv.c: Describe problem.
4053         * malloc/malloc.c (request2size): Also set errno if failing.
4055         * malloc/malloc.c (request2size): Take care of overflow in
4056         addition.
4058         * sysdeps/posix/getcwd.c: Correct last patch.  Handle getcwd
4059         (NULL, != 0) correctly.
4061         * elf/dl-load.c: Use a few more __builtin_expect.
4063         * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
4064         is large enough.
4066 1999-07-07  Andreas Schwab  <schwab@suse.de>
4068         * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
4069         (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
4070         (_PATH_DEVPTMX): Use _PATH_DEV.
4072 1999-07-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4074         * malloc/tst-malloc.c: New file.  Tests some basic functionality.
4075         * malloc/Makefile (tests): Add tst-malloc.
4077 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
4079         * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
4080         convention.
4082         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
4083         motherboards.
4084         Patch by Jay Estabrook.
4086         * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
4087         ldd for SPARC.
4088         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
4089         Patch by Cristian Gafton.
4091 1999-07-02  Cristian Gafton  <gafton@redhat.com>
4093         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
4094         instead of "return NULL" to make C++ happy.
4096 1999-07-04  Mark Kettenis  <kettenis@gnu.org>
4098         * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
4099         allowed by the file access mode of the open file.
4101 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
4103         * sysdeps/generic/setfpucw.c: Include math.h to get all needed
4104         macros defined.
4106 1999-07-03  Jakub Jelinek   <jj@ultra.linux.cz>
4108         * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
4109         * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
4110         * sysdeps/sparc/sparc64/rshift.S: Likewise.
4111         * sysdeps/sparc/sparc64/mul_1.S: Optimize.
4113 1999-07-04  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
4115         * malloc/malloc.c (request2size): Check for overflow and return
4116         NULL whenever it is encountered.
4118 1999-07-04  Zack Weinberg  <zack@rabi.columbia.edu>
4120         * sysdeps/posix/tempname.c (__gen_tempname):   Add
4121         ability to create directories.  Replace OPENIT and LARGEFILE
4122         args with a single flags parameter.
4123         * sysdeps/generic/tempname.c: Likewise.
4124         * include/stdio.h: Adjust prototype of __gen_tempname to
4125         match.  Define symbolic constants for second argument.
4127         * misc/mkdtemp.c: New file, provides new function mkdtemp().
4128         * stdlib/stdlib.h: Prototype it.
4129         * misc/Versions: Export it.
4130         * misc/Makefile (routines): Add mktemp.
4131         * manual/filesys.texi: Document it.
4133         * misc/mktemp.c: Adjust call of __gen_tempname to match new
4134         convention.
4135         * misc/mkstemp.c: Likewise.
4136         * stdio-common/tempnam.c: Likewise.
4137         * stdio-common/tmpfile.c: Likewise.
4138         * stdio-common/tmpfile64.c: Likewise.
4139         * stdio-common/tmpnam.c: Likewise.
4140         * stdio-common/tmpnam_r.c: Likewise.
4142 1999-07-05  Jakub Jelinek   <jj@ultra.linux.cz>
4144         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
4145         R_SPARC_OLO10 relocations.
4146         * elf/elf.h (R_SPARC_OLO10): Fix comment.
4148 1999-07-02  Tim Waugh  <tim@cyberelk.demon.co.uk>
4150         * posix/wordexp-test.c: Revert bogus 'unset IFS' change.  It
4151         doesn't belong in the tests, but in the wordexp implementation.
4153         * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
4154         split fields.
4156 1999-07-01  Cristian Gafton  <gafton@redhat.com>
4158         * time/strptime.c (strptime): Initialize the tm struct first to avoid
4159         returning bogus results on incomplete data.
4160         (strptime_internal): day_of_the_week() requres bith tm_mon and
4161         tm_mday to be initializaed.
4162         Computer them first if they are not given.
4163         (strptime_internal): (have_mon, have_mday): New variables.
4165 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4167         * inet/rcmd.c (__icheckhost): Fix typo in last patch.
4169 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4171         * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
4172         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4174 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4176         * posix/wordexp.c (parse_tilde): Handle failing call to
4177         get.*_r functions correctly for non-existing entry.
4178         * sysdeps/posix/cuserid.c (cuserid): Likewise.
4179         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
4181 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
4183         * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
4184         getxxbyYY_r functions correctly for non-existing entry.
4185         * sunrpc/getrpcport.c: Likewise.
4186         * sunrpc/clnt_simp.c: Likewise.
4187         * inet/rexec.c: Likewise.
4188         * sunrpc/clnt_gen.c: Likewise.
4189         * inet/rcmd.c: Likewise.
4190         * sysdeps/generic/glob.c: Likewise.
4192 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4194         * pwd/Makefile (tests): Add rules for tst-getpw.
4196         * pwd/tst-getpw.c: New program to test getpw.
4198 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4200         * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
4201         correctly.
4203 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4205         * manual/arith.texi (System V Number Conversion): Fix the
4206         description which confused pointer and value to pointer.
4207         Reported by Andries.Brouwer@cwi.nl.
4209 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4211         * pwd/getpw.c (__getpw): Check for NULL result pointer.
4213 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4215         * manual/users.texi (Lookup User): Document POSIX return
4216         semantics for getpwuid_r and getgrgid_r.
4218         * manual/socket.texi (Host Names): Document that the result
4219         pointer is null in case of error or host not found and fix a
4220         typo.  Give a small example.
4222 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
4224         * pwd/getpw.c: Add warning since no buffer size is given and
4225         therefore no overrun tests are possible.
4227 1999-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4229         * pwd/pwd.h: Add getpw prototype declaration.
4231 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
4233         * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
4234         * wcsmbs/wcschr.c: Likewise.
4236 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
4238         * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
4239         returns.
4240         * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
4241         * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
4242         Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
4244         * elf/dl-dst.h: Fix typo.
4245         * elf/dl-open.c: Likewise.
4247 1999-06-26  Zack Weinberg  <zack@rabi.columbia.edu>
4249         * elf/dl-libc.c: New file, provides three functions:
4250         __libc_dlopen, __libc_dlclose, __libc_dlsym.
4251         * include/dlfcn.h: Prototype them.  Prototype _dl_addr.
4252         * elf/Makefile (routines): Add dl-libc.c.
4253         * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
4254         argument to void *.
4255         * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
4257         * iconv/gconv.c: Include dlfcn.h.
4258         * iconv/gconv_db.c: Likewise.
4259         * malloc/mtrace.c: Likewise.  Don't include ldsodefs.h.
4261         * iconv/gconv_int.h (struct __gconv_loaded_object): Change
4262         `handle' to a void *.
4263         (__gconv_find_func): Delete prototype.
4265         * iconv/gconv_dl.c: Don't include ldsodefs.h.  Remove
4266         dlerror_run and related functions and structs.  Use
4267         __libc_dlopen, __libc_dlsym, __libc_dlclose.
4268         * nss/nsswitch.c: Likewise.
4270 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
4272         * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
4273         function correctly.
4275         * sunrpc/getrpcport.c: Test for gethostbyname_r function
4276         correctly.
4278         * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
4280         * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
4281         functions correctly.
4283         * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
4285         * inet/rcmd.c: Test for gethostbyname_r result correctly.  Optimize
4286         file reading a bit.
4288         * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
4290 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4292         * manual/string.texi (Copying and Concatenation): Mention that
4293         strndup is a GNU extension.
4295 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4297         * pwd/getpw.c (__getpw): Fix check for error return.
4299 1999-06-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4301         * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
4302         occurence of the aux object start with the current list entry, not
4303         the new one.  Adjust tail pointer in the unique list.  Explain how
4304         the meaning of the variables changes [PR libc/1168].
4306 1999-06-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4308         * sysdeps/m68k/fpu/Dist: New file.
4310 1999-06-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4312         * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
4313         definitions...
4314         * sysdeps/m68k/fpu/mathimpl.h: ... here.  New file.
4315         * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
4316         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
4317         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
4318         * sysdeps/m68k/fpu/e_pow.c: Likewise.
4319         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
4320         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
4321         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
4322         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
4323         * sysdeps/m68k/fpu/s_csin.c: Likewise.
4324         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
4325         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
4326         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
4327         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
4328         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
4329         * sysdeps/m68k/fpu/s_modf.c: Likewise.
4331 1999-06-25  Roland McGrath  <roland@baalperazim.frob.com>
4333         * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
4334         hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
4335         _EXTERN_INLINE, use a macro specific to each file,
4336         _HURD_FD_H_EXTERN_INLINE and the like.
4337         * hurd/Makefile (inline-headers): New variable.
4338         (routines): Remove hurdinline.  Add $(inlines).
4339         (inlines): New variable.
4340         ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
4341         (generated): Append those here.
4342         * hurd/hurdinline.c: File removed.
4344         * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
4346         * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
4348 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4350         * nscd/connections.c (nscd_run): Use correct type for optlen variable.
4352 1999-06-25  Ulrich Drepper  <drepper@cygnus.com>
4354         * string/bits/string2.h (strnlen): Remove extra prototype.
4356 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4358         * manual/filesys.texi (Working on Directory Trees): Fix typos.
4359         Reported by Andries.Brouwer@cwi.nl.
4361 1999-06-24  Ulrich Drepper  <drepper@cygnus.com>
4363         * nscd/connections.c (handle_request): Use correct type for optlen
4364         variable.
4366         * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
4367         * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
4369 1999-06-24  Thorsten Kukuk  <kukuk@suse.de>
4371         * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
4372         * nscd/pwdcache.c: Likewise.
4373         * nscd/hstcache.c: Likewise.
4375 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
4377         * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
4379         * posix/getopt.h: Include stdio.h.
4381         * manual/arith.texi: Document restriction of ndigit parameter of
4382         ecvt and friends.
4383         * misc/efgcvt.c: Define NDIGIT_MAX.
4384         (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
4385         Do not dynamically allocate the static buffers.  They are small enough.
4386         * misc/efgcvt_r.c: Define NDIGIT_MAX.
4387         (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
4388         * misc/qefgcvt.c: Define NDIGIT_MAX.
4389         * misc/qefgcvt_r.c: Likewise.
4390         * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
4392 1999-06-23  Zack Weinberg  <zack@rabi.columbia.edu>
4394         * libio/stdio.h: Define stdin, stdout, stderr as macros.
4395         * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
4396         These are *pragmas* not macros.
4397         * wcsmbs/wchar.h: Fix comment.
4399         * grp/grp.h: Use __foo_t_defined convention to typedef things
4400         only once.
4401         * io/sys/stat.h: Likewise.
4402         * libio/stdio.h: Likewise.
4403         * posix/unistd.h: Likewise.
4404         * posix/sys/types.h: Likewise.
4405         * posix/sys/wait.h: Likewise.
4406         * pwd/pwd.h: Likewise.
4407         * signal/signal.h: Likewise.
4408         * sysdeps/generic/stdint.h: Likewise.
4409         * sysdeps/gnu/utmpx.h: Likewise.
4410         * termios/termios.h: Likewise.
4412 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
4414         * stdio/fputc.c: Don't define alias if fputc is defined as a
4415         macro.
4416         * stdio/putc.c: Define weak alias here since it is not done
4417         anymore in fputc.c.
4419 1999-06-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4421         * assert/assert.h: Don't produce `defined' as part of macro
4422         expansion.
4424 1999-06-23  Roland McGrath  <roland@baalperazim.frob.com>
4426         * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
4427         OFFSET argument of (off_t) -1.
4428         * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
4429         OFFSET argument of (off_t) -1.
4431         * sysdeps/mach/hurd/pwrite.c: New file.
4432         * sysdeps/mach/hurd/pread.c: New file.
4434         * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
4435         pass it in the RPC instead of always -1.
4436         * hurd/fd-write.c (_hurd_fd_write): Likewise.
4437         * hurd/hurd/fd.h: Update decls.
4439 1999-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4441         * libio/wscanf.c: Include <wchar.h> for prototype.
4443 1999-06-22  Ulrich Drepper  <drepper@cygnus.com>
4445         * manual/io.texi. Fix typos.
4446         * manual/stdio.texi: Likewise.
4447         Patches by Brian Youmans <3diff@gnu.org>.
4449 1999-06-22  Geoff Keating  <geoffk@ozemail.com.au>
4451         * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
4452         bits of two words differ.
4454 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4456         * libio/Makefile (routines): Add putwchar and putwchar_u.
4458         * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
4459         * libio/putwchar_u.c: Likewise.  Use _IO_stdout instead of
4460         stdout.  Fix parameter name.
4462         * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
4463         * libio/getchar_u.c: Likewise.
4465         * libio/putchar_u.c: Use _IO_stdout instead of stdout.
4467 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4469         * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
4470         macro expansion---it's undefined.  Properly parenthesize
4471         substituted parameters.
4472         (__GLIBC_PREREQ): Likewise.
4474 1999-06-21  Ulrich Drepper  <drepper@cygnus.com>
4476         * Makeconfig (CPPFLAGS): Revert last change.  It has too many
4477         weird effects.
4479         * stdlib/longlong.h: Provide __P definition if not already
4480         defined.
4482         * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
4484 1999-06-18  Thorsten Kukuk  <kukuk@suse.de>
4486         * sysdeps/alpha/atomicity.h: Correct counting of subsections.
4488 1999-06-17  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4490         * stdlib/tst-strtoll.c: Avoid warning about huge constant.
4492 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4494         * stdio-common/vfprintf.c (group_member): Make parameters and
4495         return types pointers to CHAR_T instead of UCHAR_T.
4496         (vfprintf): Change type of work_buffer, workend and string to
4497         CHAR_T pointer/array.
4498         (process_arg, process_string_arg): Adjust/remove casts.  Add
4499         missing use of L_ macro.
4500         (printf_unknown): Add missing uses of L_ macro.
4502 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4504         * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
4505         warning.
4507 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4509         * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF.  Call
4510         _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
4511         (__wunderflow): Likewise.
4512         (_IO_switch_to_wget_mode): Likewise.
4513         (_IO_init_wmarker): Likewise.
4515         * libio/wfileops.c (_IO_wfile_seekoff): Call
4516         _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
4517         (_IO_wfile_jumps): Fix pbackfail entry.
4519         * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
4520         function if the stream is currently unoriented.
4522 1999-06-19  Zack Weinberg  <zack@rabi.columbia.edu>
4524         * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
4525         Wrap all wide stream functions with #ifdef __USE_ISOC9X.  Use
4526         __gnuc_va_list in v*w(printf|scanf) prototypes.
4528 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4530         * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
4531         1999-03-29 to iopopen also here.
4532         Reported by Richard Braakman <dark@xs4all.nl>.
4534 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4536         * include/features.h: Use __GNUC_PREREQ.
4537         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
4539 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4541         * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
4542         Change EOF to WEOF and remove cast.
4543         (UNGETC): Remove macro.
4544         (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
4545         * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
4546         Change ISASCII to isascii and MBRLEN to mbrlen.
4547         (parse_one_spec): Compare info.spec always against wchar_t
4548         values.
4549         * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
4550         (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
4551         (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
4553 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4555         * libio/Makefile (shared-only-routines): Add oldiofgetpos,
4556         oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
4557         (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
4558         oldiofsetpos64 only if doing versioning.
4560 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
4562         * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
4564 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4566         * libio/libio.h: Fix last patch.
4568 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
4570         * libio/libio.h (_IO_putwc): Correct type of first argument.
4571         * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
4572         putwc_unlocked, putwchar_unlocked): Likewise.
4573         * libio/fputwc.c: Likewise.
4574         * libio/fputwc_unlocked.c: Likewise.
4575         * libio/putwc.c: Likewise.
4576         * libio/putwc_unlocked.c: Likewise.
4577         * libio/putwchar.c: Likewise.
4578         * libio/putwchar_unlocked.c: Likewise.
4580 1999-06-19  Roland McGrath  <roland@baalperazim.frob.com>
4582         * sysdeps/gnu/siglist.h: File moved to ...
4583         * sysdeps/generic/siglist.h: ... here.  This file should be usable for
4584         any platform, since it just associates the SIG* macros with text names
4585         and descriptions. For any signal macros do not exist on every
4586         platform, we can use #ifdef tests here and still use this single
4587         common file for all platforms.
4588         * sysdeps/generic/siglist.c: Rewrite using <siglist.h>.  This file
4589         should be usable for all platforms after the binary compatibility
4590         stuff in the current sysdeps/gnu version is no longer required.
4591         * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
4592         * sysdeps/generic/make_siglist.c: File removed.
4593         * sysdeps/mach/hurd/siglist.h: Use #include_next.
4594         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
4596 1999-06-16  Roland McGrath  <roland@baalperazim.frob.com>
4598         * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
4599         * sysdeps/gnu/siglist.c: ... here.
4600         Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
4601         Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
4602         * sysdeps/gnu/siglist.h: New file, contents from linux version.
4603         Add entry for SIGLOST protected by #ifdef.
4604         * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
4605         and define OLD_SIGLIST_SIZE_STR.
4606         * sysdeps/mach/hurd/siglist.h: New file, likewise.
4608 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
4610         * include/features.h: Define new macros __GNUC_PREREQ and
4611         __GLIBC_PREREQ which can be used to test the version of gcc
4612         and glibc respectively.
4614         * assert/assert.h: Use __GNUC_PREREQ.
4615         * intl/libintl.h: Likewise.
4616         * math/complex.h: Likewise.
4617         * math/tgmath.h: Likewise.
4618         * misc/sys/cdefs.h: Likewise.
4619         * posix/sys/types.h: Likewise.
4620         * socket/sys/socket.h: Likewise.
4621         * string/bits/string2.h: Likewise.
4622         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
4623         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
4625 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
4627         * include/libintl.h: Declare _libc_intl_domainname here.
4628         Define _ and N_ here.
4629         * include/libc-symbols.h: Don't include <libintl.h>.  Don't
4630         define _ and N_.  Don't declare _libc_intl_domainname.
4631         * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
4633         * db2/config.h: Don't include sys/stat.h or define
4634         HAVE_ST_BLKSIZE here...
4635         * db2/compat.h: ...do it here.
4637         * linuxthreads/internals.h: Include bits/libc-tsd.h after all
4638         other headers.
4639         * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
4640         * iconv/iconv.c: Include stddef.h for NULL.
4641         * malloc/malloc.h: Include features.h.
4642         * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
4644         * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
4645         into the generated file.
4646         * sysdeps/gnu/errlist.awk: Likewise.
4647         * sysdeps/gnu/errlist.c: Rebuilt.
4649         * assert/assert-perr.c: Include libintl.h.
4650         * assert/assert.c: Likewise.
4651         * elf/dl-open.c: Likewise.
4652         * elf/dlsym.c: Likewise.
4653         * elf/dlvsym.c: Likewise.
4654         * iconv/iconv_prog.c: Likewise.
4655         * inet/rcmd.c: Likewise.
4656         * inet/ruserpass.c: Likewise.
4657         * locale/programs/charset.c: Likewise.
4658         * locale/programs/ld-collate.c: Likewise.
4659         * locale/programs/ld-ctype.c: Likewise.
4660         * locale/programs/ld-messages.c: Likewise.
4661         * locale/programs/ld-monetary.c: Likewise.
4662         * locale/programs/ld-numeric.c: Likewise.
4663         * locale/programs/ld-time.c: Likewise.
4664         * locale/programs/locfile.c: Likewise.
4665         * locale/programs/repertoire.c: Likewise.
4666         * login/programs/database.c: Likewise.
4667         * login/programs/request.c: Likewise.
4668         * malloc/mcheck.c: Likewise.
4669         * misc/error.c: Likewise.
4670         * nis/nis_call.c: Likewise.
4671         * nis/nis_callback.c: Likewise.
4672         * nis/nis_error.c: Likewise.
4673         * nis/nis_local_names.c: Likewise.
4674         * nis/nis_print.c: Likewise.
4675         * nis/nis_print_group_entry.c: Likewise.
4676         * nis/ypclnt.c: Likewise.
4677         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
4678         * nscd/cache.c: Likewise.
4679         * nscd/connections.c: Likewise.
4680         * nscd/grpcache.c: Likewise.
4681         * nscd/hstcache.c: Likewise.
4682         * nscd/nscd_conf.c: Likewise.
4683         * nscd/nscd_stat.c: Likewise.
4684         * nscd/pwdcache.c: Likewise.
4685         * posix/id.c: Likewise.
4686         * resolv/herror.c: Likewise.
4687         * stdio-common/psignal.c: Likewise.
4688         * string/strsignal.c: Likewise.
4689         * sunrpc/auth_unix.c: Likewise.
4690         * sunrpc/clnt_perr.c: Likewise.
4691         * sunrpc/clnt_raw.c: Likewise.
4692         * sunrpc/clnt_tcp.c: Likewise.
4693         * sunrpc/clnt_udp.c: Likewise.
4694         * sunrpc/clnt_unix.c: Likewise.
4695         * sunrpc/get_myaddr.c: Likewise.
4696         * sunrpc/pm_getmaps.c: Likewise.
4697         * sunrpc/pmap_clnt.c: Likewise.
4698         * sunrpc/pmap_rmt.c: Likewise.
4699         * sunrpc/rpc_main.c: Likewise.
4700         * sunrpc/rpc_scan.c: Likewise.
4701         * sunrpc/svc_run.c: Likewise.
4702         * sunrpc/svc_simple.c: Likewise.
4703         * sunrpc/svc_tcp.c: Likewise.
4704         * sunrpc/svc_udp.c: Likewise.
4705         * sunrpc/svc_unix.c: Likewise.
4706         * sunrpc/xdr_rec.c: Likewise.
4707         * sunrpc/xdr_ref.c: Likewise.
4708         * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
4709         * sysdeps/posix/gai_strerror.c: Likewise.
4710         * sysdeps/unix/siglist.c: Likewise.
4711         * sysdeps/unix/sysv/linux/siglist.c: Likewise.
4712         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
4713         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
4714         * timezone/zic.c: Likewise.
4716 1999-06-18  H.J. Lu  <hjl@gnu.org>
4718         * localedata/Makefile (charmaps): Exclude SCCS.
4719         (locales): Likewise.
4720         (repertoiremaps): Likewise.
4722 1999-06-18  Ulrich Drepper  <drepper@cygnus.com>
4724         * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
4725         * sysdeps/generic/bsd-setjmp.c: Likewise.
4727         * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
4729         * iconv/gconv_open.c: Include string.h for memset prototype.
4731         * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
4732         definitions.
4734         * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
4735         assignment to avoid warning on 64bit platforms.
4737 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
4739         * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
4741         * nss/getXXbyYY_r.c: Return error code not -1.
4742         * nss/getXXent_r.c: Likewise.
4743         * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
4744         small.
4745         * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
4746         value > 0 for error.
4747         * nscd/nscd_gethst_r.c: Likewise.
4748         * nscd/nscd_getpw_r.c: Likewise.
4750 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4752         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
4753         disciplines.
4755 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4757         * nscd/nscd_nischeck.c: Fix typos.
4759 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
4761         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
4762         always when oact is NULL.
4763         Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
4765 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4767         * math/libm-test.c (jn_test): Adjust delta.
4769 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4771         * libio/vwprintf.c: Include <wchar.h> for prototypes.
4772         * libio/wprintf.c: Likewise.
4774 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4776         * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
4777         to not write beyond allocated memory.
4778         Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
4780 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
4782         * malloc/mtrace.c: Keep lock while printing output lines.
4783         Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
4785 1999-06-16  Ulrich Drepper  <drepper@cygnus.com>
4787         * configure.in: Add warnings about broken code.
4789         * Versions.def: Add GLIBC_2.2 for libc.
4791         * iconv/gconv.h: Make header suitable for inclusion in public header
4792         by protecting all names with __.
4793         * iconv/gconv.c: Adapt for symbol name changes.
4794         * iconv/gconv.h: Likewise.
4795         * iconv/gconv_builtin.c: Likewise.
4796         * iconv/gconv_close.c: Likewise.
4797         * iconv/gconv_db.c: Likewise.
4798         * iconv/gconv_dl.c: Likewise.
4799         * iconv/gconv_int.h: Likewise.
4800         * iconv/gconv_open.c: Likewise.
4801         * iconv/gconv_simple.c: Likewise.
4802         * iconv/iconv.c: Likewise.
4803         * iconv/iconv_close.c: Likewise.
4804         * iconv/iconv_open.c: Likewise.
4805         * iconv/loop.c: Likewise.
4806         * iconv/skeleton.c: Likewise.
4807         * iconvdata/8bit-gap.c: Likewise.
4808         * iconvdata/8bit-generic.c: Likewise.
4809         * iconvdata/ansi_x3.110.c: Likewise.
4810         * iconvdata/big5.c: Likewise.
4811         * iconvdata/cns11643.h: Likewise.
4812         * iconvdata/cns11643l1.h: Likewise.
4813         * iconvdata/euc-cn.c: Likewise.
4814         * iconvdata/euc-jp.c: Likewise.
4815         * iconvdata/euc-kr.c: Likewise.
4816         * iconvdata/euc-tw.c: Likewise.
4817         * iconvdata/gb2312.h: Likewise.
4818         * iconvdata/iso-2022-jp.c: Likewise.
4819         * iconvdata/iso-2022-kr.c: Likewise.
4820         * iconvdata/iso646.c: Likewise.
4821         * iconvdata/iso8859-1.c: Likewise.
4822         * iconvdata/iso_6937-2.c: Likewise.
4823         * iconvdata/iso_6937.c: Likewise.
4824         * iconvdata/jis0201.h: Likewise.
4825         * iconvdata/jis0208.h: Likewise.
4826         * iconvdata/jis0212.h: Likewise.
4827         * iconvdata/johab.c: Likewise.
4828         * iconvdata/ksc5601.h: Likewise.
4829         * iconvdata/sjis.c: Likewise.
4830         * iconvdata/t.61.c: Likewise.
4831         * iconvdata/uhc.c: Likewise.
4832         * stdlib/mblen.c: Likewise.
4833         * stdlib/mbtowc.c: Likewise.
4834         * stdlib/wctomb.c: Likewise.
4835         * wcsmbs/btowc.c: Likewise.
4836         * wcsmbs/mbrtowc.c: Likewise.
4837         * wcsmbs/mbsnrtowcs.c: Likewise.
4838         * wcsmbs/mbsrtowcs.c: Likewise.
4839         * wcsmbs/wchar.h: Likewise.
4840         * wcsmbs/wcrtomb.c: Likewise.
4841         * wcsmbs/wcsmbsload.c: Likewise.
4842         * wcsmbs/wcsmbsload.h: Likewise.
4843         * wcsmbs/wcsnrtombs.c: Likewise.
4844         * wcsmbs/wcsrtombs.c: Likewise.
4845         * wcsmbs/wctob.c: Likewise.
4847         * include/limits.h (MB_LEN_MAX): Increase to 16.
4849         * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct.  Define
4850         _G_iconv_t.
4851         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
4852         * include/wchar.h: Change mbstate_t to __mbstate_t.
4854         * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
4855         oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
4856         getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
4857         iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
4858         putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
4859         vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
4860         and iofwide.
4861         (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
4862         * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
4863         _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
4864         fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
4865         fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
4866         getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
4867         putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
4868         vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
4869         GLIBC_2.2 for libc.
4870         * libio/libio.h: Define codecvt struct.  Define _IO_wide_data.
4871         Extend _IO_file contain pointer to codecvt, widedata and mode.
4872         (_IO_getwc_unlocked): New macro.
4873         (_IO_putwc_unlocked): New macro.
4874         (_IO_fwide): New macro.
4875         * libio/libioP.h: Add new prototypes and adjust existing declarations.
4876         * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
4877         buffers based on mode.
4878         (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
4879         oriented.
4880         (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
4881         flag to be enough to signal unallocated buffer.  For wide oriented
4882         stream don't make it linebuffered.  Don't use _IO_do_flush, use
4883         _IO_new_do_write directly.
4884         (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
4885         (_IO_file_seek): Likewise.
4886         * libio/genops.c (_IO_least_marker): Make global.
4887         (__underflow): Orient stream if not already done.
4888         (__uflow): Likewise.
4889         (_IO_default_seekpos): Change to type _IO_off64_t.
4890         (_IO_default_seekoff): Likewise.
4891         (_IO_default_seek): Likewise.
4892         (_IO_no_init): New function.  Similar to _IO_init but allows to orient
4893         in initialization.
4894         * libio/iolibio.h: Add prototype for _IO_vswprintf.  Change _IO_pos_BAD
4895         to use _IO_off64_t.
4896         * libio/ftello.c: Use _IO_off_t.  For now abort when use with wide
4897         char stream.
4898         * libio/ftello64.c: Likewise.
4899         * libio/ioftell.c: Likewise.
4900         * libio/iofopncook.c: Likewise.
4901         * libio/ioseekoff.c: Likewise.
4902         * libio/ioseekpos.c: Likewise.
4903         * libio/oldfileops.c: Likewise.
4904         * libio/iofgetpos.c: Store state of conversion if necessary.
4905         * libio/iofgetpos64.c: Likewise.
4906         * libio/iofsetpos.c: Restore conversion state if necessary.
4907         * libio/iofsetpos64.c: Likewise.
4908         * libio/iofdopen.c: Initialize so that stream can be wide oriented.
4909         * libio/iofopen.c: Likewise.
4910         * libio/iofopen64.c: Likewise.
4911         * libio/iopopen.c: Likewise.
4912         * libio/iovdprintf.c: Likewise.
4913         * libio/iovsprintf.c: Likewise.
4914         * libio/iovsscanf.c: Likewise.
4915         * libio/memstream.c: Likewise.
4916         * libio/obprintf.c: Likewise.
4917         * libio/iofputs.c: Orient stream if not already happened.
4918         * libio/iofputs_u.c: Likewise.
4919         * libio/iofwrite.c: Likewise.
4920         * libio/iofwrite_u.c: Likewise.
4921         * libio/ioputs.c: Likewise.
4922         * libio/iosetbuffer.c: Handle not yet oriented stream.
4923         * libio/iosetvbuf.c: Likewise.
4924         * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
4925         * libio/stdfiles.c: Likewise.
4926         * libio/strops.c (_IO_str_overflow): Correctly free buffer after
4927         failed allocation.
4928         (_IO_str_seekoff): Use _IO_off64_t.
4929         * libio/vasprintf.c: Pre-orient stream.
4930         * libio/vsnprintf.c: Likewise.
4931         * libio/fputwc.c: New file.
4932         * libio/fputwc_u.c: New file.
4933         * libio/fwprintf.c: New file.
4934         * libio/fwscanf.c: New file.
4935         * libio/getwc.c: New file.
4936         * libio/getwc_u.c: New file.
4937         * libio/getwchar.c: New file.
4938         * libio/getwchar_u.c: New file.
4939         * libio/iofgetws.c: New file.
4940         * libio/iofgetws_u.c: New file.
4941         * libio/iofputws.c: New file.
4942         * libio/iofputws_u.c: New file.
4943         * libio/iofwide.c: New file.
4944         * libio/iogetwline.c: New file.
4945         * libio/ioungetwc.c: New file.
4946         * libio/iovswscanf.c: New file.
4947         * libio/iowpadn.c: New file.
4948         * libio/oldiofgetpos.c: New file.
4949         * libio/oldiofgetpos64.c: New file.
4950         * libio/oldiofsetpos.c: New file.
4951         * libio/oldiofsetpos64.c: New file.
4952         * libio/putwc.c: New file.
4953         * libio/putwc_u.c: New file.
4954         * libio/putwchar.c: New file.
4955         * libio/putwchar_u.c: New file.
4956         * libio/swprintf.c: New file.
4957         * libio/swscanf.c: New file.
4958         * libio/tst_swprintf.c: New file.
4959         * libio/tst_swscanf.c: New file.
4960         * libio/tst_wprintf.c: New file.
4961         * libio/tst_wscanf.c: New file.
4962         * libio/tst_wscanf.input: New file.
4963         * libio/vswprintf.c: New file.
4964         * libio/vwprintf.c: New file.
4965         * libio/vwscanf.c: New file.
4966         * libio/wfiledoalloc.c: New file.
4967         * libio/wfileops.c: New file.
4968         * libio/wgenops.c: New file.
4969         * libio/wprintf.c: New file.
4970         * libio/wscanf.c: New file.
4971         * libio/wstrops.c: New file.
4972         * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
4973         vfwprintf, and vfwscanf.
4974         * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
4975         make global.
4976         * stdio-common/_itowa.c: New file.
4977         * stdio-common/_itowa.h: New file.
4978         * stdio-common/itoa-digits.c: Minimal optimization.
4979         * stdio-common/itowa-digits.c: New file.
4980         * stdio-common/printf-parse.h: Allow use in wide character context.
4981         * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
4982         * stdio-common/printf.h (printf_info): Add wide bit.
4983         * stdio-common/printf_fp.c: Determine from wide bit whether stream
4984         is wide oriented or not.
4985         * stdio-common/printf_size.c: Likewise.
4986         * sysdeps/generic/printf_fphex.c: Likewise.
4987         * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
4988         * stdio-common/vfprintf.c: Rewrite to allow use in wide character
4989         context.
4990         * stdio-common/vfscand.c: Likewise.
4991         * stdio-common/vfwprintf.c: New file.
4992         * stdio-common/vfwscanf.c: New file.
4994         * time/Makefile (routines): Add wcsftime.
4995         (tests): Add tst_wcsftime.
4996         * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
4997         * time/strftime.c: Make usable as wcsftime.
4998         * time/wcsftime.c: New file.
4999         * time/tst_wcsftime.c: New file.
5001         * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
5002         * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
5003         * wcsmbs/wcschrnul.c: New file.
5004         * wcsmbs/wmemcpy.c: New file.
5005         * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
5006         * wcsmbs/wmemmove.c: Likewise for wmemmove.
5008         * manual/stdio.texi: Document is_char and wide element if printf_info.
5010         * manual/time.texi: Document wcsftime.
5012         * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
5013         __wmemmove, __wcschrnul, and __vfwscanf.
5015         * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
5016         * locale/C-time.c: Adapt for above change.
5017         * locale/categories.def: Likewise.
5018         * locale/localeinfo.h: Likewise.
5019         * localedata/Makefile: Don't run tests for now.
5021         * manual/errno.texi: Fix typos.
5022         * manual/memory.texi: Likewise.
5023         * manual/ctype.texi: Likewise.
5024         Patches by Brian Youmans <3diff@gnu.org>.
5026 1999-06-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5028         * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
5030 1999-06-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5032         * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
5033         word order.
5034         * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
5035         * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
5037 1999-06-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5039         * db2/db/db.c: Restore __nss_db_open alias.
5040         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
5041         include.
5042         * db2/os/os_rw.c (__os_write): Maintain const correctness.
5043         * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
5045 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
5047         * stdio-common/printf-parse.h (parse_one_spec): Don't set
5048         is_longlong if not necessary.
5050 1999-06-15  H.J. Lu  <hjl@gnu.org>
5052         * Make-dist (sysdep_dirs): Exclude SCCS.
5053         * MakeTAGS (sysdep_dirs): Likewise.
5055 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
5057         * posix/regex.c (re_error_msgid): Remove extra commas.
5059 1999-06-14  Geoff Keating  <geoffk@ozemail.com.au>
5061         * stdlib/tst-strtoll.c: New file.
5062         * stdlib/Makefile (tests): Add tst-strtoll.c
5063         * stdlib/strtol.c: It is not generally true that if
5064         (unsigned)a*(unsigned)b overflows, then the result is
5065         less than 'a'.
5067 1999-06-14  Thorsten Kukuk  <kukuk@suse.de>
5069         * nscd/connections.c (handle_request): Only root is allowed to
5070         send GETSTAT request in non secure mode.
5071         * nscd/nscd.c: Print error message if other then root try to
5072         use getstat.
5074 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5076         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
5078 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5080         * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
5081         Closes PR libc/1164, reported by sascha@schumann.2ns.de.
5083 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5085         * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
5086         for character to search, to help the compiler.
5087         * sysdeps/generic/strchrnul.c: Likewise.
5088         * sysdeps/generic/memchr.c: Likewise.
5089         * sysdeps/generic/memccpy.c: Likewise.
5090         * sysdeps/generic/rawmemchr.c: Likewise.  Fix comment.
5092 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5094         * sysdeps/m68k/memchr.S: New file.
5095         * sysdeps/m68k/rawmemchr.S: New file.
5096         * sysdeps/m68k/strchr.S: New file.
5097         * sysdeps/m68k/strchrnul.S: New file.
5099 1999-06-13  Geoff Keating  <geoffk@ozemail.com.au>
5101         * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
5102         add `memory' clobber; optimise for constant `val'.
5103         (atomic_add): Likewise.
5104         (test_and_set): Remove `volatile'; add `memory' clobber; be more
5105         like the original `test_and_set'.
5106         (compare_and_swap): Remove `volatile'; add `memory' clobber;
5107         optimise for constant `oldval'.
5108         (always_swap): Remove `volatile'; add `memory' clobber.
5110 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5112         * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
5113         functions for gcc <= 2.7.x.
5115 1999-06-13  Roland McGrath  <roland@baalperazim.frob.com>
5117         * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
5118         change.
5120 1999-06-13  Ulrich Drepper  <drepper@cygnus.com>
5122         * db2/Makefile (distribute): Remove files which do not exist
5123         anymore.
5125         * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
5126         definitions to calm down gcc.
5128         * db2/db.h: Update from db 2.7.5.
5129         * db2/db_185.h: Likewise.
5130         * db2/db_int.h: Likewise.
5131         * db2/btree/bt_compare.c: Likewise.
5132         * db2/btree/bt_conv.c: Likewise.
5133         * db2/btree/bt_curadj.c: Likewise.
5134         * db2/btree/bt_cursor.c: Likewise.
5135         * db2/btree/bt_delete.c: Likewise.
5136         * db2/btree/bt_open.c: Likewise.
5137         * db2/btree/bt_page.c: Likewise.
5138         * db2/btree/bt_put.c: Likewise.
5139         * db2/btree/bt_rec.c: Likewise.
5140         * db2/btree/bt_recno.c: Likewise.
5141         * db2/btree/bt_rsearch.c: Likewise.
5142         * db2/btree/bt_search.c: Likewise.
5143         * db2/btree/bt_split.c: Likewise.
5144         * db2/btree/bt_stat.c: Likewise.
5145         * db2/btree/btree_auto.c: Likewise.
5146         * db2/common/db_appinit.c: Likewise.
5147         * db2/common/db_apprec.c: Likewise.
5148         * db2/common/db_err.c: Likewise.
5149         * db2/common/db_region.c: Likewise.
5150         * db2/common/db_salloc.c: Likewise.
5151         * db2/db/db.c: Likewise.
5152         * db2/db/db.src: Likewise.
5153         * db2/db/db_am.c: Likewise.
5154         * db2/db/db_auto.c: Likewise.
5155         * db2/db/db_dispatch.c: Likewise.
5156         * db2/db/db_dup.c: Likewise.
5157         * db2/db/db_iface.c: Likewise.
5158         * db2/db/db_join.c: Likewise.
5159         * db2/db/db_overflow.c: Likewise.
5160         * db2/db/db_pr.c: Likewise.
5161         * db2/db/db_rec.c: Likewise.
5162         * db2/db/db_ret.c: Likewise.
5163         * db2/db185/db185.c: Likewise.
5164         * db2/dbm/dbm.c: Likewise.
5165         * db2/hash/hash.c: Likewise.
5166         * db2/hash/hash_auto.c: Likewise.
5167         * db2/hash/hash_dup.c: Likewise.
5168         * db2/hash/hash_page.c: Likewise.
5169         * db2/hash/hash_rec.c: Likewise.
5170         * db2/hash/hash_stat.c: Likewise.
5171         * db2/include/btree.h: Likewise.
5172         * db2/include/btree_ext.h: Likewise.
5173         * db2/include/clib_ext.h: Likewise.
5174         * db2/include/common_ext.h: Likewise.
5175         * db2/include/db_am.h: Likewise.
5176         * db2/include/db_auto.h: Likewise.
5177         * db2/include/db_cxx.h: Likewise.
5178         * db2/include/db_ext.h: Likewise.
5179         * db2/include/db_join.h: Likewise.
5180         * db2/include/db_page.h: Likewise.
5181         * db2/include/hash.h: Likewise.
5182         * db2/include/hash_ext.h: Likewise.
5183         * db2/include/lock.h: Likewise.
5184         * db2/include/lock_ext.h: Likewise.
5185         * db2/include/log.h: Likewise.
5186         * db2/include/log_ext.h: Likewise.
5187         * db2/include/mp.h: Likewise.
5188         * db2/include/mp_ext.h: Likewise.
5189         * db2/include/os.h: Likewise.
5190         * db2/include/os_ext.h: Likewise.
5191         * db2/include/os_func.h: Likewise.
5192         * db2/include/txn.h: Likewise.
5193         * db2/include/txn_auto.h: Likewise.
5194         * db2/include/txn_ext.h: Likewise.
5195         * db2/include/xa.h: Likewise.
5196         * db2/include/xa_ext.h: Likewise.
5197         * db2/lock/lock.c: Likewise.
5198         * db2/lock/lock_conflict.c: Likewise.
5199         * db2/lock/lock_deadlock.c: Likewise.
5200         * db2/lock/lock_region.c: Likewise.
5201         * db2/lock/lock_util.c: Likewise.
5202         * db2/log/log.c: Likewise.
5203         * db2/log/log_archive.c: Likewise.
5204         * db2/log/log_auto.c: Likewise.
5205         * db2/log/log_findckp.c: Likewise.
5206         * db2/log/log_get.c: Likewise.
5207         * db2/log/log_put.c: Likewise.
5208         * db2/log/log_rec.c: Likewise.
5209         * db2/log/log_register.c: Likewise.
5210         * db2/mp/mp_bh.c: Likewise.
5211         * db2/mp/mp_fget.c: Likewise.
5212         * db2/mp/mp_fopen.c: Likewise.
5213         * db2/mp/mp_fput.c: Likewise.
5214         * db2/mp/mp_fset.c: Likewise.
5215         * db2/mp/mp_open.c: Likewise.
5216         * db2/mp/mp_pr.c: Likewise.
5217         * db2/mp/mp_region.c: Likewise.
5218         * db2/mp/mp_sync.c: Likewise.
5219         * db2/mutex/mutex.c: Likewise.
5220         * db2/mutex/uts4_cc.s: Likewise.
5221         * db2/os/os_abs.c: Likewise.
5222         * db2/os/os_alloc.c: Likewise.
5223         * db2/os/os_config.c: Likewise.
5224         * db2/os/os_dir.c: Likewise.
5225         * db2/os/os_fid.c: Likewise.
5226         * db2/os/os_fsync.c: Likewise.
5227         * db2/os/os_map.c: Likewise.
5228         * db2/os/os_oflags.c: Likewise.
5229         * db2/os/os_open.c: Likewise.
5230         * db2/os/os_rw.c: Likewise.
5231         * db2/os/os_seek.c: Likewise.
5232         * db2/os/os_sleep.c: Likewise.
5233         * db2/os/os_spin.c: Likewise.
5234         * db2/os/os_stat.c: Likewise.
5235         * db2/os/os_tmpdir.c: Likewise.
5236         * db2/os/os_unlink.c: Likewise.
5237         * db2/progs/db_archive/db_archive.c: Likewise.
5238         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
5239         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
5240         * db2/progs/db_dump/db_dump.c: Likewise.
5241         * db2/progs/db_load/db_load.c: Likewise.
5242         * db2/progs/db_printlog/README: Likewise.
5243         * db2/progs/db_printlog/commit.awk: Likewise.
5244         * db2/progs/db_printlog/count.awk: Likewise.
5245         * db2/progs/db_printlog/db_printlog.c: Likewise.
5246         * db2/progs/db_printlog/pgno.awk: Likewise.
5247         * db2/progs/db_printlog/range.awk: Likewise.
5248         * db2/progs/db_printlog/status.awk: Likewise.
5249         * db2/progs/db_printlog/txn.awk: Likewise.
5250         * db2/progs/db_recover/db_recover.c: Likewise.
5251         * db2/progs/db_stat/db_stat.c: Likewise.
5252         * db2/txn/txn.c: Likewise.
5253         * db2/txn/txn.src: Likewise.
5254         * db2/txn/txn_auto.c: Likewise.
5255         * db2/txn/txn_rec.c: Likewise.
5256         * db2/xa/xa.c: Likewise.
5257         * db2/xa/xa_db.c: Likewise.
5258         * db2/xa/xa_map.c: Likewise.
5260         * db2/btree/bt_close.c: Removed.
5261         * db2/db/db_thread.c: Likewise.
5262         * db2/hash/hash_debug.c: Likewise.
5263         * db2/include/db.h.src: Likewise.
5264         * db2/include/db_int.h.src: Likewise.
5265         * db2/include/os_jump.h: Likewise.
5266         * db2/mutex/alpha.dec: Likewise.
5267         * db2/mutex/alpha.gcc: Likewise.
5268         * db2/mutex/parisc.hp: Likewise.
5269         * db2/mutex/uts4.cc.s: Likewise.
5271         * db2/Makefile: Add new routines, remove old for 2.7.5.
5272         * db2/Versions: Add internal function names for the helper programs.
5273         * db2/makedb.c: Update for new cursor callback.
5274         * Versions.def: Define versions for libdb.
5276 1999-06-13  Thorsten Kukuk  <kukuk@suse.de>
5278         * nscd/connections.c (nscd_run): Get user ID for all non-db services.
5279         * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
5280         * nscd/nscd_nischeck.c: New file.
5281         * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
5283 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5285         * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
5286         MSG_* flags from Linux 2.2.9.
5288 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
5290         * Makeconfig (static-start-installed-name): Set to
5291         $(start-installed-name) if not defined.
5292         (+link-static): Use $(static-start-installed-name) instead of
5293         $(start-installed-name).
5294         * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
5295         Set to crt0.o.
5297 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
5299         * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
5300         inserting a send right into the child instead of unconditionally
5301         copying the send right.
5303 1999-06-12  Ulrich Drepper  <drepper@cygnus.com>
5305         * locale/lc-time.c: Add free_mem function to free if necessary
5306         statically allocated memory.
5308 1999-06-10  Jakub Jelinek  <jj@ultra.linux.cz>
5310         * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
5311         bias from the raw exponent.
5313 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
5315         * inet/arpa/tftp.h: Move attribute declaration in right position.
5317 1999-06-11  Thorsten Kukuk  <kukuk@suse.de>
5319         * nscd/nscd.c: Add -S options for separate caching of data for
5320         every user. So one user couldn't see the data another user
5321         has gotten with his credentials.
5322         * nscd/nscd.h: Add new prototypes.
5323         * nscd/cache.c: Compare owner of cache entry if in secure mode.
5324         * nscd/connections.c: Check on shutdown if caller really was root.
5325         In secure mode get uid of caller.
5326         * nscd/grpcache.c: Add support for new secure group mode.
5327         * nscd/hstcache.c: Add support for new secure hosts mode.
5328         * nscd/pwdcache.c: Add support for new secure passwd mode.
5330 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
5332         * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
5333         of user-provided buffer.
5335 1999-06-11  Mark Kettenis  <kettenis@gnu.org>
5337         * hurd/hurdsock.c (max_domain): Initialize to `-1'.
5338         (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
5340 1999-06-10  Ulrich Drepper  <drepper@cygnus.com>
5342         * stdio-common/printf-parse.h (parse_one_spec): Add support for a
5343         and A format.
5345         * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
5346         returning after last entry.
5347         * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
5349 1999-06-09  Ulrich Drepper  <drepper@cygnus.com>
5351         * misc/sysexits.h: Remove advertising clause of copyright.
5352         * resolv/getnetnamadr.c: Likewise.
5353         * sysdeps/vax/bcopy.s: Likewise.
5354         * sysdeps/vax/bzero.s: Likewise.
5355         * sysdeps/vax/ffs.s: Likewise.
5356         * sysdeps/vax/memchr.s: Likewise.
5357         * sysdeps/vax/memcmp.s: Likewise.
5358         * sysdeps/vax/memmove.s: Likewise.
5359         * sysdeps/vax/memset.s: Likewise.
5360         * sysdeps/vax/strcat.s: Likewise.
5361         * sysdeps/vax/strchr.s: Likewise.
5362         * sysdeps/vax/strcmp.s: Likewise.
5363         * sysdeps/vax/strcpy.s: Likewise.
5364         * sysdeps/vax/strcspn.s: Likewise.
5365         * sysdeps/vax/strlen.s: Likewise.
5366         * sysdeps/vax/strncat.s: Likewise.
5367         * sysdeps/vax/strncmp.s: Likewise.
5368         * sysdeps/vax/strncpy.s: Likewise.
5369         * sysdeps/vax/strpbrk.s: Likewise.
5370         * sysdeps/vax/strrchr.s: Likewise.
5371         * sysdeps/vax/strsep.s: Likewise.
5372         * sysdeps/vax/strspn.s: Likewise.
5373         * sysdeps/vax/strstr.s: Likewise.
5375         * libio/iofopncook.c: Adjust for renaming of structure elements.
5376         * libio/libio.h: Define cookie functions with all the names.
5378         * pwd/fgetpwent_r.c: Set errno in the correct way.
5379         * shadow/fgetspent_r.c: Likewise.
5380         * pwd/fgetpwent.c: Handle long lines correctly.  Little
5381         optimizations.  Free static buffer when debugging memory handling.
5382         * shadow/fgetspent.c: Likewise.
5384         * grp/fgetgrent.c: Little optimization in loop.
5386 1999-06-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5388         * grp/tst_fgetgrent.c (write_group): Fix generation of long line
5389         in a different way.
5391 1999-06-09  Jakub Jelinek   <jj@ultra.linux.cz>
5393         * stdlib/longlong.h: gas changed sethi handling when without
5394         %hi(). Fix assembly.
5395         * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
5396         port specific cache id checks.
5397         * sysdeps/generic/dl-cache.h: New file.
5398         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
5400 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
5402         * gmon/gmon.c: Remove advertising clause of copyright.
5403         * gmon/mcount.c: Likewise.
5404         * gmon/sys/gmon.h: Likewise.
5405         * inet/arpa/ftp.h: Likewise.
5406         * inet/arpa/telnet.h: Likewise.
5407         * inet/arpa/tftp.h: Likewise.
5408         * inet/inet_lnaof.c: Likewise.
5409         * inet/inet_mkadr.c: Likewise.
5410         * inet/inet_net.c: Likewise.
5411         * inet/inet_netof.c: Likewise.
5412         * inet/protocols/routed.h: Likewise.
5413         * inet/protocols/rwhod.h: Likewise.
5414         * inet/protocols/talkd.h: Likewise.
5415         * inet/protocols/timed.h: Likewise.
5416         * inet/rcmd.c: Likewise.
5417         * inet/rexec.c: Likewise.
5418         * inet/ruserpass.c: Likewise.
5419         * io/fts.c: Likewise.
5420         * io/fts.h: Likewise.
5421         * login/login_tty.c: Likewise.
5422         * misc/fstab.h: Likewise.
5423         * misc/getttyent.c: Likewise.
5424         * misc/getusershell.c: Likewise.
5425         * misc/sys/queue.h: Likewise.
5426         * misc/sys/syslog.h: Likewise.
5427         * misc/syslog.c: Likewise.
5428         * misc/ttyent.h: Likewise.
5429         * misc/ttyslot.c: Likewise.
5430         * resolv/arpa/nameser.h: Likewise.
5431         * resolv/gethnamaddr.c: Likewise.
5432         * resolv/herror.c: Likewise.
5433         * resolv/inet_addr.c: Likewise.
5434         * resolv/mapv4v6addr.h: Likewise.
5435         * resolv/mapv4v6hostent.h: Likewise.
5436         * resolv/nss_dns/dns-host.c: Likewise.
5437         * resolv/nss_dns/dns-network.c: Likewise.
5438         * resolv/res_comp.c: Likewise.
5439         * resolv/res_data.c: Likewise.
5440         * resolv/res_debug.c: Likewise.
5441         * resolv/res_init.c: Likewise.
5442         * resolv/res_mkquery.c: Likewise.
5443         * resolv/res_query.c: Likewise.
5444         * resolv/res_send.c: Likewise.
5445         * resolv/resolv.h: Likewise.
5446         * sysdeps/generic/div.c: Likewise.
5447         * sysdeps/generic/netinet/ip.h: Likewise.
5448         * sysdeps/generic/netinet/tcp.h: Likewise.
5449         * sysdeps/generic/paths.h: Likewise.
5450         * sysdeps/generic/prof-freq.c: Likewise.
5451         * sysdeps/generic/sys/ttydefaults.h: Likewise.
5452         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5453         * sysdeps/gnu/netinet/tcp.h: Likewise.
5454         * sysdeps/ieee754/support.c: Likewise.
5455         * sysdeps/mach/hurd/sys/param.h: Likewise.
5456         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
5457         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5458         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
5459         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5460         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
5461         * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
5462         * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
5463         * sysdeps/unix/sysv/linux/paths.h: Likewise.
5464         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
5465         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
5466         * sysdeps/vax/DEFS.h: Likewise.
5467         * termios/sys/ttychars.h: Likewise.
5468         * misc/daemon.c: Likewise.  Call fork.
5470         * grp/fgetgrent.c (buffer): Make file local variable.
5471         (free_mem): New function.  Call for malloc debugging.
5473         * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
5475 1999-06-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5477         * grp/Makefile: Add rules for tst_fgetgrent.
5479         * grp/tst_fgetgrent.c: Rewritten to read only one file.
5481         * grp/tst_fgetgrent.sh: New file.
5483 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
5485         * grp/Makefile (tests): Add tst_fgetgrent.
5486         * grp/tst_fgetgrent.c: New file.
5487         Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
5489 1999-06-07  Roland McGrath  <roland@baalperazim.frob.com>
5491         * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
5492         be POSIX compliant.  Prior definition was broken for Hurd.
5493         Reported by Mark Kettenis <kettenis@gnu.org>.
5495 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
5497         * ctype/ctype.h: Protect __tobody code by __extension__.
5499 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
5501         * grp/fgetgrent.c (fgetgrent): Remember position of stream before
5502         reading and reset in case the buffer was too small.
5504         * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
5505         of EOF.
5507 1999-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5509         * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
5510         another SIOGIFNAME typo.
5512 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
5514         * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
5516         * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
5517         bit.
5519 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5521         * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
5522         the precision if the mantissa is zero.
5524 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5526         * manual/lang.texi (Floating Point Parameters): GCC already
5527         supports long double for a long time.
5529 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5531         * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
5532         yn_test): Increase some epsilons.
5534 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
5536         * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
5537         parameters.
5539 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
5541         * sysdeps/unix/sysv/linux/kernel-features.h: Define
5542         __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
5543         * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
5544         SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
5546         * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
5547         * sysdeps/libm-ieee754/w_j0f.c: Likewise.
5548         * sysdeps/libm-ieee754/w_j0l.c: Likewise.
5549         * sysdeps/libm-ieee754/w_j1.c: Likewise.
5550         * sysdeps/libm-ieee754/w_j1f.c: Likewise.
5551         * sysdeps/libm-ieee754/w_j1l.c: Likewise.
5552         * sysdeps/libm-ieee754/w_jn.c: Likewise.
5553         * sysdeps/libm-ieee754/w_jnf.c: Likewise.
5554         * sysdeps/libm-ieee754/w_jnl.c: Likewise.
5556         * stdio-common/vfprintf.c: Correct typos.
5558         * math/libm-test.c (jn_test): Adjust delta.
5559         (y1_test): Likewise.
5560         (yn_test): Likewise.
5562         * elf/do-lookup.h: It should never happen that if we expect a versioned
5563         symbol from a file the file has no version table.  This should have
5564         been checked in dl-version.c.
5565         * elf/dl-lookup.c: Include assert.h.
5567         * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
5568         function handling.
5570         * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
5572 1999-06-06  Andi Kleen  <ak@muc.de>
5574         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
5575         SA_RESTORER flag.
5577 1999-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5579         * math/libm-test.c (yn_test): Change one delta.
5580         (jn_test): Likewise.
5581         (j1_test): Likewise.
5582         (y0_test): Likewise.
5584 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
5586         * malloc/malloc.c: Introduce local variable __libc_getpagesize to
5587         avoid multiple calls to getpagesize() which might be a syscall.
5589 1999-06-06  Philip Blundell  <philb@gnu.org>
5591         * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
5593 1999-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5595         * manual/install.texi (Running make install): Correct typo in
5596         dynamic linker invocation.
5598 1999-06-05  Philip Blundell  <philb@gnu.org>
5600         * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
5601         problems with GOT addressing.
5603 1999-06-05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
5605         * malloc/malloc.c (check_action): Change into bitmap so that both
5606         diagnostic and abort can be requested by setting it to 3.
5607         (mALLOC_SET_STATe): Disable malloc checking if necessary.
5609 1999-06-03  Ulrich Drepper  <drepper@cygnus.com>
5611         * configure.in: Few changes for HPUX.
5613         * scripts/config.guess: Update from latest version.
5614         * scripts/config.sub: Likewise.
5616 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5618         * Makerules: Set LC_ALL explicitly to archieve correct sorting of
5619         map files.  Closes PR libc/1147.
5621 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5623         * math/libm-test.c (main): Add new test functions.
5624         (jn_test): New tests.
5625         (j1_test): Add some more tests.
5626         (j0_test): Add some more tests.
5627         (y0_test): Add some more tests.
5628         (y1_test): Add some more tests.
5630 1999-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5632         * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
5633         Patch by mhagger@dera.gov.uk [PR libc/1145].
5635         * math/libm-test.c (y1_test): New tests.
5636         (y0_test): Likewise.
5637         (j1_test): Likewise.
5638         (j0_test): Likewise.
5639         (main): Added new tests.
5641 1999-06-02  Jakub Jelinek  <jj@ultra.linux.cz>
5643         * stdlib/longlong.h: Define UDIV_TIME on sparc64.
5644         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
5645         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
5646         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
5647         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
5648         * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
5650 1999-06-02  David S. Miller  <davem@redhat.com>
5652         * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
5653         pointers properly.
5655 1999-06-02  Ulrich Drepper  <drepper@cygnus.com>
5657         * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
5658         and elide compatibility code if possible.
5660 1999-06-01  Ulrich Drepper  <drepper@cygnus.com>
5662         * manual/llio.texi: Remove menu entry for removed section.
5664 1999-05-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5666         * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
5667         variables.
5669 1999-06-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5671         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
5672         (from Linux 2.3.4).
5674 1999-05-30  Ulrich Drepper  <drepper@cygnus.com>
5676         * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
5678 1999-05-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5680         * manual/stdio.texi: Fix some typos.
5682 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5684         * malloc/malloc.h: Properly handle future GCC versions.
5686 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5688         * sysdeps/unix/sysv/linux/configure.in: Change version checks to
5689         use AC_EGREP_CPP.  Change sed pattern to not use alternation.  Fix
5690         text of error message.
5692         * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
5694 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
5696         * manual/filesys.texi: Extend (f)truncate documentation.
5697         * manual/llio.texi: Remove duplicate (f)truncate definition.
5699 1999-05-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5701         * manual/stdio.texi (Formatted Output Functions): Mention
5702         semantics of snprintf in glibc 2.0.
5703         Reported by Ben Pfaff <pfaffben@msu.edu>.
5705 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
5707         * include/features.h (__GLIBC_MINOR__): Bump to 2.
5709 1999-05-27  Ulrich Drepper  <drepper@cygnus.com>
5711         * math/libm-test.c: Adjust a few more deltas for the poor ARM
5712         FPU emulator.
5714 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5716         * configure.in: Fix typo.
5718 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5720         * manual/socket.texi (Host Names): Remove statement that h_errno
5721         needs to be declared since this isn't true anymore.
5722         Closes PR libc/1138.
5724 1999-05-26  Ulrich Drepper  <drepper@cygnus.com>
5726         * config.h.in: Add __LINUX_KERNEL_VERSION.
5727         * configure.in: Recognize --enable-kernel.
5728         * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
5729         headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
5730         appropriately.
5731         * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
5732         given perform runtime test.
5734         * sysdeps/unix/sysv/linux/kernel-features.h: New file.
5735         * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
5736         minimal supported kernel is known to have the feature.
5737         * sysdeps/unix/sysv/linux/poll.c: Likewise.
5738         * sysdeps/unix/sysv/linux/pread.c: Likewise.
5739         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5740         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5741         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5742         * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
5743         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5744         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5745         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5746         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5747         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5748         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
5749         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
5750         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
5751         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
5753         * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
5755 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
5757         * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
5759 1999-05-26  Jakub Jelinek   <jj@ultra.linux.cz>
5761         * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
5762         Optimized sparc64 routines.
5764 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
5766         * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
5767         they are the same as ints.
5768         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
5770         * version.h (VERSION): Bump to 2.1.90.
5771         (RELEASE): Mark as development.
5773         * stdio-common/vfprintf.c (vfprintf): Don't implement special
5774         handling for long long if it is the same as long.
5775         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
5777         * stdlib/strtol.c: Moved to ...
5778         * sysdeps/generic/strtol.c: ...here.
5779         * stdlib/strtoul.c: Moved to ...
5780         * sysdeps/generic/strtoul.c: ...here.
5781         * stdlib/strtoll.c: Moved to ...
5782         * sysdeps/generic/strtoll.c: ...here.
5783         * stdlib/strtoull.c: Moved to ...
5784         * sysdeps/generic/strtoull.c: ...here.
5785         * stdlib/strtol_l.c: Moved to ...
5786         * sysdeps/generic/strtol_l.c: ...here.
5787         * stdlib/strtoul_l.c: Moved to ...
5788         * sysdeps/generic/strtoul_l.c: ...here.
5789         * stdlib/strtoll_l.c: Moved to ...
5790         * sysdeps/generic/strtoll_l.c: ...here.
5791         * stdlib/strtoull_l.c: Moved to ...
5792         * sysdeps/generic/strtoull_l.c: ...here.
5794         * sysdeps/wordsize-64/strtol.c: New file.
5795         * sysdeps/wordsize-64/strtoul.c: New file.
5796         * sysdeps/wordsize-64/strtoll.c: New file.
5797         * sysdeps/wordsize-64/strtoull.c: New file.
5798         * sysdeps/wordsize-64/strtol_l.c: New file.
5799         * sysdeps/wordsize-64/strtoul_l.c: New file.
5800         * sysdeps/wordsize-64/strtoll_l.c: New file.
5801         * sysdeps/wordsize-64/strtoull_l.c: New file.
5803         * wcsmbs/wcstol.c: Moved to ...
5804         * sysdeps/generic/wcstol.c: ...here.
5805         * wcsmbs/wcstoul.c: Moved to ...
5806         * sysdeps/generic/wcstoul.c: ...here.
5807         * wcsmbs/wcstoll.c: Moved to ...
5808         * sysdeps/generic/wcstoll.c: ...here.
5809         * wcsmbs/wcstoull.c: Moved to ...
5810         * sysdeps/generic/wcstoull.c: ...here.
5811         * wcsmbs/wcstol_l.c: Moved to ...
5812         * sysdeps/generic/wcstol_l.c: ...here.
5813         * wcsmbs/wcstoul_l.c: Moved to ...
5814         * sysdeps/generic/wcstoul_l.c: ...here.
5815         * wcsmbs/wcstoll_l.c: Moved to ...
5816         * sysdeps/generic/wcstoll_l.c: ...here.
5817         * wcsmbs/wcstoull_l.c: Moved to ...
5818         * sysdeps/generic/wcstoull_l.c: ...here.
5820         * sysdeps/wordsize-64/wcstol.c: New file.
5821         * sysdeps/wordsize-64/wcstoul.c: New file.
5822         * sysdeps/wordsize-64/wcstoll.c: New file.
5823         * sysdeps/wordsize-64/wcstoull.c: New file.
5824         * sysdeps/wordsize-64/wcstol_l.c: New file.
5825         * sysdeps/wordsize-64/wcstoul_l.c: New file.
5826         * sysdeps/wordsize-64/wcstoll_l.c: New file.
5827         * sysdeps/wordsize-64/wcstoull_l.c: New file.
5829 1999-05-24  Jakub Jelinek  <jj@ultra.linux.cz>
5831         * sysdeps/sparc/bits/wordsize.h: New file.
5832         * sysdeps/sparc/fpu/bits/fenv.h: New file.
5833         * sysdeps/sparc/fpu/fpu_control.h: New file.
5834         * sysdeps/sparc/gmp-mparam.h: New file.
5836         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
5837         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
5838         * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
5839         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
5840         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
5841         * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
5843         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
5844         * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
5845         * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
5846         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
5848         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
5849         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
5850         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
5851         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
5852         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
5854 1999-05-24  Ulrich Drepper  <drepper@cygnus.com>
5856         * login/openpty.c (openpty): Make sure pty does not because
5857         controlling TTY.
5859         * ctype/ctype.h: Don't optimize toupper/tolower for C++.
5861 1999-05-23  Roland McGrath  <roland@baalperazim.frob.com>
5863         * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
5864         Do proper error return.
5866 1999-05-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5868         * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
5869         of __P in the rest of glibc; define __MALLOC_PMT and use it.
5870         Reported by Stephan Kulow <coolo@kde.org>.
5872 1999-05-23  Ulrich Drepper  <drepper@cygnus.com>
5874         * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
5876         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
5878 1999-05-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5880         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
5881         names to protect from user's macro namespace.
5882         * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
5883         * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
5884         * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
5885         * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
5886         * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
5887         Adapted.
5888         * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
5889         sysdeps/arm/fpu/fesetenv.c: Likewise.
5890         * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
5891         sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
5892         sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
5893         * sysdeps/mips/fesetenv.c: Likewise.
5895 1999-05-22  Roland McGrath  <roland@baalperazim.frob.com>
5897         * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
5899 1999-05-20  Ulrich Drepper  <drepper@cygnus.com>
5901         * configure.in: Recognize and allow gcc 2.95.
5903 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
5905         * sysdeps/generic/bits/elfclass.h: Version common to
5906         wordsize-32 and wordsize-64.
5907         * sysdeps/generic/bits/environments.h: Ditto.
5908         * sysdeps/generic/stdint.h: Ditto.
5909         * sysdeps/generic/inttypes.h: Ditto.
5911         * sysdeps/generic/bits/wordsize.h: New file.
5912         * stdlib/Makefile: Add bits/wordsize.h to headers.
5914         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
5916         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
5917         headers to be used for 32bit and 64bit ABI compilations.
5918         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
5919         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
5920         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
5921         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
5922         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
5924         * sysdeps/wordsize-64/bits/elfclass.h: Remove.
5925         * sysdeps/wordsize-64/bits/environments.h: Remove.
5926         * sysdeps/wordsize-64/stdint.h: Remove.
5927         * sysdeps/wordsize-64/inttypes.h: Remove.
5928         * sysdeps/wordsize-64/bits/wordsize.h: New file.
5930         * sysdeps/wordsize-32/bits/elfclass.h: Remove.
5931         * sysdeps/wordsize-32/bits/environments.h: Remove.
5932         * sysdeps/wordsize-32/stdint.h: Remove.
5933         * sysdeps/wordsize-32/inttypes.h: Remove.
5934         * sysdeps/wordsize-32/bits/wordsize.h: New file.
5936 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
5938         * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
5939         __align_cpy_16): New functions.
5940         (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
5942         * sysdeps/sparc/sparc32/Versions: New file.
5943         * sysdeps/sparc/sparc64/Versions: New file.
5944         * sysdeps/sparc/Versions: Remove.
5946 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
5948         * sysdeps/unix/sysv/linux/configure.in:
5949         On sparc64-*-linux*, set slibdir to /lib64 if prefix
5950         is /usr, plus set libdir to ${exec_prefix}/lib64.
5951         * sysdeps/unix/sysv/linux/configure: Regenerated.
5952         * config.make.in: Propagate libdir settings from configure
5953         to the Makefiles.
5954         * shlib-versions: sparc64-*-linux* dynamic linker is
5955         /lib64/ld-linux.so.2.
5957 1999-05-18  Thorsten Kukuk  <kukuk@suse.de>
5959         * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
5960         RPC connection.
5962 1999-05-18  Jakub Jelinek  <jj@ultra.linux.cz>
5964         * sysdeps/sparc/sparc64/rawmemchr.S: New file.
5965         * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
5967         * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
5968         contains garbage in bits 8-63.
5969         * sysdeps/sparc/sparc64/memset.S: Ditto.
5970         * sysdeps/sparc/sparc64/strchr.S: Ditto.
5972 1999-05-18  Ulrich Drepper  <drepper@cygnus.com>
5974         * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
5976 1999-05-17  David S. Miller  <davem@redhat.com>
5978         * sysdeps/sparc/sparc32/atomicity.h: New file.
5979         * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
5980         * sysdeps/sparc/sparc64/atomicity.h: New file.
5981         * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
5982         sysdep-CFLAGS.
5984 1999-05-18  Richard Henderson  <rth@twiddle.net>
5986         * sysdeps/alpha/memchr.S: Zap high byte of length.  Reschedule.
5988 1999-05-04  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5990         * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
5991         posix/sys/types.h: Handle the case of __GNUC__=3,
5992         __GNUC_MINOR__=(anything).
5994 1999-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5996         * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
5997         if _FORCE_INLINES.
5999 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
6001         * elf/Makefile (distribute): Remove dl-origin.h.
6002         Add dl-dst.h and gen-trusted-dirs.awk.
6004 1999-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6006         * sysdeps/i386/i486/Versions: New file with inline functions from
6007         sysdeps/i386/i486/bits/string.h for now.
6009         * sysdeps/i386/Versions: Add inline functions from
6010         sysdeps/i386/bits/string.h.
6012         * string/Versions: Add inline functions from <bits/string2.h>.
6014         * string/Makefile (routines): Add string-inlines.
6015         * string/string-inlines.c: New file, used for implementation of
6016         extern inline functions.
6018         * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
6019         non inlined versions of functions.
6020         * string/bits/string2.h: Likewise.
6021         * sysdeps/i386/bits/string.h: Likewise.
6023 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
6025         * inet/arpa/tftp.h: Add second packed attribute.
6027 1999-05-16  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
6029         * malloc/malloc.c: Cleanup to bring in line with released
6030         stand-alone version `ptmalloc'.  Update some comments.
6031         (internal_function): Move fallback definition so that the source
6032         compiles outside of libc, and use it in more places.
6033         (malloc_atfork): Fix when malloc_check is in use.
6035 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6037         * stdlib/tst-strtod.c: Fix typo.
6039 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6041         * elf/dl-close.c (_dl_close): Add cast to avoid warning about
6042         const incorrectness.
6044 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
6046         * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
6048 1999-05-16  Thorsten Kukuk  <kukuk@suse.de>
6050         * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
6051         * sunrpc/key_call.c: Fix memory leak, close file handle.
6052         * nis/nis_creategroup.c: Use malloc instead of calloc,
6053         set ctime and mtime.
6054         * nis/nis_subr.c: Check for realloc result.
6055         * nis/nis_file.c: Fix memory leak.
6056         * nis/nis_table.c: Pretty print.
6057         * nis/nis_getservlist.c: Likewise.
6058         * nis/nis_ismember.c: Likewise.
6059         * nis/nis_lookup.c: Likewise.
6060         * nis/nis_ping.c: Likewise.
6061         * nis/nis_removemember.c: Likewise.
6062         * nis/nis_util.c: Likewise, check calloc result.
6064 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
6066         * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
6067         * sysdeps/generic/sys/socketvar.h: ... here.
6068         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
6069         * sysdeps/generic/netinet/in_systm.h: ... here.
6070         * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
6071         sys/socketvar.h.
6072         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
6073         * inet/Makefile (headers): Add netinet/in_systm.h here.
6074         * socket/Makefile (headers): Add sys/socketvar.h here.
6076 1999-05-15  Ulrich Drepper  <drepper@cygnus.com>
6078         * stdlib/strtol.c: Optimize inner loop of long long versions.
6080         * sysdeps/gnu/utmpx.h: Add needed type definitions according to
6081         Unix98.  Add forward declaration of struct utmp.
6083 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
6085         * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
6086         calloc.
6088         * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
6089         * nis/nis_addmember.c (nis_addmember): Fix memory leak.  Test
6090         memory allocation results.
6092 1999-05-14  Mark Kettenis  <kettenis@gnu.org>
6094         * sysdeps/generic/getutmp.c: Include <string.h>
6095         (getutmp): Rewrite to only copy those members that are really
6096         present in `struct utmp'.
6097         * sysdeps/generic/getutmpx.c: Likewise.
6099 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
6101         * nss/getXXbyYY.c: Add free_mem function which disposes all
6102         statically allocated memory when debugging.
6103         * nss/getXXent.c: Likewise.
6104         * nss/nsswitch.c: Likewise.
6106 1999-05-13  Ulrich Drepper  <drepper@cygnus.com>
6108         * sysdeps/gnu/getutmpx.c: New file.
6109         * sysdeps/gnu/getutmp.c: New file.
6111 1999-05-13  H.J. Lu  <hjl@gnu.org>
6113         * login/Versions (getutmpx): Added to GLIBC_2.1.1.
6114         (getutmp): Likewise.
6116         * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
6117         getutmpx for login.
6119         * sysdeps/gnu/utmpx.h (getutmp): Added.
6120         (getutmpx): Likewise.
6122         * sysdeps/generic/getutmp.c: New file.
6124         * sysdeps/generic/getutmpx.c: New file.
6126 1999-05-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6128         * glibcbug.in (BUGGLIBC): Change address to
6129         libc-alpha@sourceware.cygnus.com.
6131 1999-05-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6133         * resolv/arpa/nameser.h: Add C++ protectors.
6135 1999-05-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6137         * iconvdata/gconv-modules: Fix alias for CP1255.  Reported by
6138         Elad Tsur <eladts@post.tau.ac.il>.
6140 1999-05-11  Ulrich Drepper  <drepper@cygnus.com>
6142         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
6143         * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
6144         lazily if LD_BIND_NOW is not set.
6145         * elf/dl-support.c (_dl_lazy): New variable.
6146         (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
6147         * elf/rtld.c (_dl_lazy): new global variable.
6148         ( dl_main): Remove lazy, replace it by _dl_lazy.
6150 1999-05-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6152         * locale/setlocale.c (new_composite_name): Check also whether the
6153         first category name differs.
6155 1999-05-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6157         * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
6158         the generic one.
6160 1999-05-11  Philip Blundell  <pb@nexus.co.uk>
6162         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
6163         structure; storage suitable for any socket address.
6164         * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
6165         Likewise.
6166         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
6167         sockaddr_storage): Likewise.
6169         * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
6170         platform.
6172 1999-05-10  Ulrich Drepper  <drepper@cygnus.com>
6174         * hesiod/Versions: Change _nss_hesiod_getpwuid and
6175         _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
6176         _nss_hesiod_getgrgid_r respectively.  Fixes pr libc/1115.
6178 1999-05-09  Mark Kettenis  <kettenis@gnu.org>
6180         * hurd/get-host.c (_hurd_get_host_config): Return an empty value
6181         if the file is empty.
6183 1999-05-07  Ulrich Drepper  <drepper@cygnus.com>
6185         * elf/do-lookup.h: Fix typo in comment.
6187         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
6188         f_bsize to help some broken programs.
6190         * stdio-common/tst-printf.c: Add test case for last _itoa problem.
6192         * stdio-common/vfprintf.c: Fix typo.
6194 1999-05-06  Ulrich Drepper  <drepper@cygnus.com>
6196         * elf/link.h (struct link_map): New field l_phdr_allocated.
6197         * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
6198         the program header being part of any loaded segment.  If it is not
6199         allocate memory and set l_phdr_allocated flag.
6200         * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
6202         * nss/digits_dots.c: Correct return value interpretation of
6203         inet_ntoa.  Fix PR libc/1109.
6205 1999-05-06  Zack Weinberg  <zack@rabi.columbia.edu>
6207         * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
6209 1999-05-06  Thorsten Kukuk  <kukuk@suse.de>
6211         * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
6212         * stdlib/fpioconst.c: Move #endif before end of struct.
6214 1999-05-05  Ulrich Drepper  <drepper@cygnus.com>
6216         * Versions.def (ld.so): Add GLIBC_2.1.1.
6217         * elf/Makefile (routines): Add dl-origin.
6218         (tests): Add origtest.  Add dependencies for the program.
6219         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
6220         _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
6221         * elf/dl-deps.c (expand_dst): New macro.  Expand DSTs in filename.
6222         (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
6223         DT_AUXILIARY, and DT_FILTER filenames.
6224         * elf/dl-load.c (expand_dynamic_string_token): Explode into
6225         two functions and three macros.
6226         (_dl_dst_count, _dl_dst_substitute): New functions.
6227         * elf/dl-dst.h: New file.
6228         * elf/dl-open.c (_dl_open): Take extra parameter with address of
6229         caller.  Pass address in args structure.
6230         (dl_open_worker): Recognize and expand DSTs in filename.
6231         * elf/ldsodefs.h (_dl_open): Adapt prototype.
6232         * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
6233         (__dlopen_check): Pass caller address to dlopen_doit in args.
6234         * elf/dlopendoit.c: Likewise.
6235         * iconv/gconv_dl.c: Adapt call of _dl_open.
6236         * nss/nsswitch.c: Likewise.
6237         * elf/origtest.c: New file.
6238         * sysdeps/generic/dl-origin.h: Moved to...
6239         * sysdeps/generic/dl-origin.c: ...here.
6240         * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
6241         * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
6243         * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
6244         with specific bases and only few bits set in second word.
6246         * timezone/Makefile (install-others): Create target directory
6247         before creating tzfiles.
6249 1999-05-05  Thorsten Kukuk  <kukuk@suse.de>
6251         * nis/nis_file.c (readColdStartFile): Allocate memory only after
6252         the file is opened successfully.
6254         * nis/nis_table.c: Fix some memory leaks.
6256 1999-05-04  Ulrich Drepper  <drepper@cygnus.com>
6258         * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
6259         variable.
6261         * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
6262         around DST.  Correctly ignore ORIGIN IN SUID binaries.
6264 1999-05-03  Ulrich Drepper  <drepper@cygnus.com>
6266         * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
6267         * sysdeps/generic/strtok.c: Likewise.
6269         * string/tester.c: Add test of rawmemchr.
6271         * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
6272         specification.  It's not necessary.
6274         * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
6275         * elf/gen-trusted-dirs.awk: New file.
6276         * elf/dl-load.c (systems_dirs): Moved into file scope.  Initialize
6277         from SYSTEM_DIRS macro.
6278         (system_dirs_len): New variable.  Contains lengths of system_dirs
6279         strings.
6280         (fillin_rpath): Rewrite for systems_dirs being a simple string.
6281         Improve string comparisons.  Change parameter trusted to be a flag.
6282         Change all callers.
6283         (_dt_init_paths): Improve using new format for system_dirs.
6285         * elf/dl-load.c (expand_dynamic_string_token): Don't expand
6286         $ORIGIN for SUID binaries.
6288         * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
6290 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6292         * sunrpc/Makefile: Generate dependencies for all flavors of
6293         librpcsvc objects.
6294         (rpcgen-cmd): Pass -Y flag here and remove it from the macro
6295         invocations.
6297 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6299         * elf/dlopenold.c: Move #if down after includes to get
6300         dependencies right.
6302 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6304         * sysdeps/generic/bzero.c: Undefine __bzero.
6306 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
6308         * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
6309         * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
6310         * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
6311         Patch by Craig Small <csmall@scooter.eye-net.com.au>.
6313         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
6314         parameter to struct gaih_servtuple *.  Adapt appropriately.
6315         (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
6316         This fixes a memory leak.
6317         Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
6319         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
6320         and fpregset_t definition.  They are defined in ucontext.h.
6322 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
6324         * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
6325         and struct ether_header must be packed on the ARM.  The default
6326         alignment constraints add padding to the end of the structures.
6328 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
6330         * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM.  The
6331         default alignment constraints add padding to the end of the
6332         structure and between members.
6334 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
6336         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
6337         _dl_cache_libcmp instead of strcmp.
6339         * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
6340         fails on a file.
6341         Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
6343 1998-03-30  Joel Klecker  <espy@debian.org>
6345         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
6346         (sysdep-others,install-bin): Add lddlibc4.
6348 1999-05-02  H.J. Lu  <hjl@gnu.org>
6350         * timezone/zic.c (dolink): Remove the symlink destination first.
6352         * catgets/open_catalog.c (__open_catalog): Set catalog->status
6353         to "nonexisting" if failed to open the file.
6355 1999-05-01  Ulrich Drepper  <drepper@cygnus.com>
6357         * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
6358         gcc3.
6360         * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
6361         Prevent warnings from multiplication with 0x01010101 by another cast.
6363 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6365         * string/bits/string2.h (memset): Revert to previous version if
6366         unaligned writes are not available.
6368 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
6370         * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
6371         better code in presence of the asm.
6373 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6375         * stdlib/fmtmsg.c (keywords): Increase array size for faster
6376         indexing.
6378         * locale/localeinfo.h (_nl_category_names): Increase array element
6379         size for faster indexing.
6380         * locale/setlocale.c (_nl_category_names): Adjusted.
6382 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6384         * iconv/gconv_conf.c (add_alias): Remove wrong cast.
6386 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6388         * sysdeps/m68k/stackinfo.h: New file.
6390 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
6392         * string/tester.c (test_strchrnul): New function.
6393         (test_memset): Test one more special case.
6395         * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
6396         25% of all cases.
6398         * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
6399         base types.
6401         * string/bits/string2.h: Fix bugs I introduced in last change.
6403         * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
6404         register stall.
6405         Extend memset optimization.
6406         Correct i686 version of memchr.
6408 1999-04-30  Roland McGrath  <roland@baalperazim.frob.com>
6410         * sysdeps/i386/bzero.c: Add #undef __bzero.
6412         * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
6413         EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
6414         exec server simulated a SIGTRAP before we even started up, so gdb is
6415         already happy.
6417 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
6419         * nss/digits_dots.c: Always initialize not_ok.
6421 1999-04-30 09:02 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
6423         * string/bits/string2.h (memset): Avoid arithmetic overflow at
6424         compile time, which produces obnoxious warnings.  If GCCv2 is
6425         in use, map __bzero to __builtin_memset to enable that
6426         optimization.
6428 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
6430         * string/bits/string2.h: Add more memset optimizations.
6432         * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
6434         * resolv/inet_pton.c (inet_pton4): Little optimizations.
6435         (inet_pton6): Likewise.
6437         * nss/getXXbyYY_r.c: Include assert.h.
6438         * nss/getXXbyYY.c: Likewise.
6440 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6442         * termios/tcgetsid.c (tcgetsid): Rename variable to
6443         tiocgsid_does_not_work.
6445 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
6447         * inet/getnameinfo.c (nrl_domainname): Fix last patch.
6449 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6451         * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
6452         This allows e.g. gethostbyname to accept "10.1234".
6453         Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
6455         * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
6456         non quad IPv4 numbers.
6458 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6460         * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
6462 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
6464         * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
6465         * argp/argp-parse.c (_argp_hang): Likewise.
6466         * argp/argp-pv.c (argp_program_version): Likewise.
6467         * argp/argp-pvh.c (argp_program_version_hook): Likewise.
6468         * inet/ether_hton.c (ether_hton, startp): Likewise.
6469         * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
6470         * inet/getnetgrent_r.c (setup, startp): Likewise.
6471         * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
6472         * intl/localealias.c (string_space, string_space_act, string_space_max,
6473         nmap, maxmap): Likewise.
6474         * libio/iopopen.c (proc_file_chain): Likewise.
6475         * libio/oldiopopen.c (old_proc_file_chain): Likewise.
6476         * locale/lc-collate.c (__collate_table, __collate_extra,
6477         __collate_element_hash, __collate_element_strings,
6478         __collate_element_values): Likewise.
6479         * malloc/mcheck.c (mcheck_used): Likewise.
6480         * malloc/mtrace.c (added_atexit_handler): Likewise.
6481         * malloc/set-freeres.c (already_called): Likewise.
6482         * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
6483         * misc/syslog.c (LogStat, LogTag): Likewise.
6484         * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
6485         * nss/getXXbyYY_r.c (startp): Likewise.
6486         * posix/getopt.c (optarg, __getopt_initialized): Likewise.
6487         * posix/regex.c (init_syntax_once) [done]: Likewise.
6488         (debug): Likewise.
6489         * string/strfry.c (init): Likewise.
6490         * sunrpc/svc_run.c (svc_top): Likewise.
6491         * posix/euidaccess.c (have_ids): Likewise.
6492         * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
6493         * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
6494         * time/getdate.c (getdate_err): Likewise.
6495         * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
6496         Likewise.
6497         * time/tzset.c (old_tz, is_initialized): Likewise.
6499         * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
6500         of static data with zero.
6501         * signal/allocrtsig.c (init): Likewise.
6503         * string/Makefile (routines): Add strchrnul.
6504         * string/Versions [GLIBC_2.1.1]: Add strchrnul.
6505         * string/string.c: Add strchrnul prototype.
6506         * include/string.h: Add __strchrnul prototype.
6507         * sysdeps/generic/strchrnul.c: New file.
6508         * sysdeps/i386/strchrnul.S: New file.
6509         * sysdeps/i386/bits/string.c: Add strchrnul optimization.
6510         * sysdeps/i386/i486/bits/string.c: Likewise.
6511         * argp/argp-help.c (argp_args_usage): Use __strchrnul.
6512         * inet/ether_line.c (ether_line): Likewise.
6513         * nscd/nscd_conf.c (nscd_parse_file): Likewise.
6514         * nss/nsswitch.c (nss_parse_file): Likewise.
6515         * posix/execvp.c (execvp): Likewise.
6516         * posix/fnmatch.c (internal_fnmatch): Likewise.
6517         * resolv/res_hconf.c (_res_hconv_init): Likewise.
6518         * resolv/res_init.c (res_init): Likewise.
6519         * stdlib/fmtmsg.c (init): Likewise.
6520         * stdlib/getsubopt.c (getsubopt): Likewise.
6522         * catgets/catgets.c (catopen): Only allocate one memory block.
6523         (catclose): Only one free call necessary.
6525         * catgets/open_catalog.c (__open_catalog): Simplify handling of
6526         file descriptor.
6528         * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
6529         of real functions.  Simplify _tolower and _toupper.
6531         * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
6532         variable.
6534         * iconv/gconv.h (struct gconv_info): Change data element from pointer
6535         to array of size 0.
6536         * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
6537         * iconv/gconv_close.c (__gconv_close): Don't free data.
6539         * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
6540         insert new alias.
6542         * iconv/gconv_db.c (add_derivation): More efficient copying.  Check
6543         for error while inserting in tree.
6545         * include/time.h: Pretty print.
6547         * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
6548         in table and lots of relocations.
6549         * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
6550         string pointers in table and lots of relocations.
6552         * intl/finddomain.c: Remove definition of strchr macro.
6554         * io/ftw.c (nftw_arr, ftw_arr): Make const.
6556         * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
6558         * locale/localeinfo.h (_nl_category_names): Change into an array with
6559         fixed width char string elements.
6560         * locale/setlocale.c (_nl_category_names): Likewise.
6561         (_nl_current): Make global.
6562         * locale/nl_langinfo.c (nldata): Removed.  Use _nl_current now.
6564         * malloc/Makefile (distribute): Add stackinfo.h.
6565         * sysdeps/generic/stackinfo.h: New file.
6566         * sysdeps/i386/stackinfo.h: New file.
6567         * posix/execl.c: Use stackinfo.h in optimizing alloca use.
6568         * posix/execle.c: Likewise.
6569         * posix/execlp.c: Likewise.
6571         * nis/nis_table.c (__create_ib_request): Always use realloc.
6573         * posix/execvp.c (execute): Rename to script_execute and keep only
6574         code to execute using shell.
6575         (execvp): Call execv directly and only fall back on script_execute.
6577         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
6578         and always use xdigits instead.
6580         * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
6581         where appropriate.
6583         * stdlib/fpioconst.h (__tens): New declaration.
6584         (struct mp_power): Remove array, add arrayoff element.
6585         * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
6586         __tens array and add in _fpioconst_pow10 offsets into __tens.
6587         * stdio-common/printf_fp.c: Rewrite to use new __tens array.
6588         * stdlib/strtod.c: Likewise.
6590         * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
6592         * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
6593         of the list.
6594         * stdlib/atexit.c (__exit_funcs): Don't initialize.
6596         * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
6598         * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
6599         a single and an array with offsets.
6601         * sunrpc/des_soft.c (partab): Make it const.
6603         * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
6604         (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
6605         (__key_decryptsession_pk_LOCAL): Likewise.
6606         (__key_gendes_LOCAL): Likewise.
6607         (MESSENGER): Mark const.
6608         (key_call_private_main): Don't initialize with 0.
6609         (use_keyenvoy): Don't initialize with 0.
6610         (key_call): Rewrite to reverse logic of use_doors variable.
6612         * sunrpc/netname.c (OPSYS): Define as array, not pointer.
6613         (startp): Don't initialize with zero.
6615         * sunrpc/openchild.c (_openchild): Make first argument const.
6617         * sunrpc/pmap_rmt.c (timeout): Mark const.
6618         * sunrpc/xcrypt.c (hex): Likewise.
6620         * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
6621         initialization of global variables.
6622         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
6623         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6624         * termios/tcgetsid.c: Likewise.
6626         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
6627         fxsr to osfxsr.
6629         * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
6630         block.  Add function to free memory if wanted.
6631         * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
6633         * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
6635         * wcsmbs/wmemset.c: Little code optimization.
6637 1999-04-23  Paul Eggert  <eggert@twinsun.com>
6639         * stdlib/strtoull.c: Surround strong_alias and weak_alias with
6640         ifdef _LIBC.
6642 1999-04-28  Roland McGrath  <roland@baalperazim.frob.com>
6644         * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
6645         implementation and just always fail with ENOSYS.  This entry point is
6646         obsolete.  Add link warning to that effect.
6648 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
6650         * hurd/get-host.c: Include <hurd/lookup.h>.
6652 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
6654         * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
6655         is != NULL.
6657 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6659         * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
6660         ISO C9x and Unix98.
6662 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
6664         * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
6665         Patch by Peter Miller <millerp@canb.auug.org.au>.
6667 1999-04-27  Thorsten Kukuk  <kukuk@suse.de>
6669         * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
6670         prefers loopback device.
6672 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
6674         * posix/fnmatch.c (internal_fnmatch): Finish incomplete
6675         no_leading_period change.
6677         * posix/testfnm.c: More test cases.
6679 1999-04-27  Ulrich Drepper  <drepper@cygnus.com>
6681         * include/dirent.h: Remove __getdirentries declaration, add __getdents
6682         and __getdents64.
6683         * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
6684         * sysdeps/unix/readdir_r.c: Likewise.
6685         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6686         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
6687         * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
6688         __getdirentries.  Remove fourth argument.
6689         * sysdeps/unix/sysv/linux/getdirentries.c: New file.
6690         * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
6691         * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
6692         Add getdirentries and getdirentries64.
6693         * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
6695         * posix/fnmatch.c (internal_fnmatch): Correctly reset string
6696         pointer in case of an invalid [[: expression.
6698         * posix/testfnm.c: Add more test cases.
6700 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
6702         * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
6703         set, pass EXEC_SIGTRAP flag in exec RPC.
6705 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
6707         * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch.  Take
6708         extra parameter.  Fix several more bugs involving wildcard and
6709         ranges.
6710         (fnmatch): New function.  Call internal_fnmatch.
6712         * posix/testfnm.c: More test cases.
6714 1999-04-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6716         * manual/install.texi (Configuring and compiling): Explain that
6717         files are changed in the source directory.
6718         Closes PR libc/981.
6719         (Configuring and compiling): Explain situation with PARALLELMFLAGS
6720         in the source directory.
6722 1999-04-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6724         * locale/programs/ld-ctype.c: Spelling fixes.
6725         (ctype_finish): Fix argument of error message format.
6726         * locale/programs/ld-messages.c: Spelling fixes.
6727         * locale/programs/ld-monetary.c: Spelling fixes.
6728         * locale/programs/ld-time.c (time_finish): Make sure that name and
6729         format of era_entries are adjacent.
6730         (time_output): Reduce the size of the io vector.
6732 1999-04-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6734         * manual/filesys.texi (Attribute Meanings): Move a misplaced
6735         paragraph.
6737 1999-04-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6739         * locale/programs/ld-collate.c (collate_output): Convert
6740         undefined_offset to an array index.  Fix computation of other
6741         endian extra table.
6743 1999-04-26  Roland McGrath  <roland@baalperazim.frob.com>
6745         * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
6746         return success with empty value.
6748 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
6750         * posix/fnmatch.c: Include string.h also for glibc.
6751         (fnmatch, case '?'): Optimize if cascades a bit.
6752         (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
6754         * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
6756 1999-04-24  Ulrich Drepper  <drepper@cygnus.com>
6758         * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
6759         * iconv/gconv_int.h: Declare UTF16 functions.
6760         * iconv/gconv_simple.c: Add UTF16 conversion functions.
6762 1999-04-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6764         * posix/wordexp.c (parse_param): Fix type of offset to allow it to
6765         be used correctly as parameter for parse_dollars/parse_tilde.
6767 1999-04-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6769         * manual/conf.texi (Utility Limits): Remove duplicate description
6770         of BC_DIM_MAX.
6772 1999-04-19  Ulrich Drepper  <drepper@cygnus.com>
6774         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
6775         outbufend for dst==NULL.
6777 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
6779         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
6780         for dst==NULL.
6781         Fixes PR libc/1084.
6783         * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
6784         Fixes PR libc/1083.
6786 1999-04-18  Thorsten Kukuk  <kukuk@suse.de>
6788         * sunrpc/Makefile: Remove special handling of bootparam.x,
6789         add rpcsvc/bootparam.h to headers.
6790         * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
6791         * sunrpc/rpcsvc/bootparam.x: Renamed to...
6792         * sunrpc/rpcsvc/bootparam_prot.x: ...this.
6794 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
6796         * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
6797         detect and handle invalid descriptors.
6799 1999-04-17  Thorsten Kukuk  <kukuk@suse.de>
6801         * timezone/zic.c (dolink): Append complete path not only filename
6802         to ../ list.
6804 1999-04-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6806         * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
6808 1999-04-17  Ulrich Drepper  <drepper@cygnus.com>
6810         * iconvdata/gconv-modules: Rename CP874 to IBM874.
6811         * iconvdata/Makefile: Likewise.
6812         * iconvdata/cp874.h: Removed.
6813         * iconvdata/cp874.c: Renamed to...
6814         * iconvdata/ibm874.c: ...this.
6816 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
6818         * sysdeps/unix/sysv/linux/bits/types.h: Correct
6819         signed/unsigned-ness of blkcnt and fsblkcnt.
6820         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6821         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6823         * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
6824         SOL_AAL, and SOL_IRDA.
6826 1999-04-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6828         * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero.  Don't
6829         include "linux_fsinfo.h".
6830         Based on a patch by H.J. Lu <hjl@gnu.org>.
6832 1999-04-16  Thorsten Kukuk  <kukuk@suse.de>
6834         * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
6836 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
6838         * nscd/cache.c (prune_cache): Only disable file checking for
6839         future if the file does not exist.
6840         Update file_mtime if cache was flushed.
6842 1999-04-15  David S. Miller  <davem@redhat.com>
6844         * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
6845         * sysdeps/sparc/sparc32/strcpy.S: Likewise.
6847 1999-04-15  Scott Bambrough  <scottb@netwinder.org>
6849         * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
6850         compilation of file.
6852 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
6854         * Versions.def: Add GLIBC_2.1.1 to libpthread.
6856         * iconvdata/Makefile (modules): Add KOI8-U.
6857         (distribute): Add koi8-u.c.
6858         (gen-8bit-gap-modules): Add koi8-u.
6859         * iconvdata/gconv-modules: Add KOI8-U entries.
6860         * iconvdata/koi8-u.c: New file.
6862 1999-04-13  Thorsten Kukuk  <kukuk@suse.de>
6864         * sunrpc/auth_des.c: 64bit fixes, security fixes.
6865         * sunrpc/auth_none.c: Pretty print.
6866         * sunrpc/auth_unix.c: Likewise.
6867         * sunrpc/authdes_prot.c: Likewise.
6868         * sunrpc/authuxprot.c: Likewise.
6869         * sunrpc/bindrsvprt.c: Likewise.
6870         * sunrpc/clnt_gen.c: Likewise.
6871         * sunrpc/rpc/xdr.h: Likewise.
6872         * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
6873         * sunrpc/rpc_cmsg.c: Don't use *long pointers.
6874         * sunrpc/rtime.c: Use new rpc_timeval.
6875         * sunrpc/svc_authux.c: Don't use *long pointers.
6876         * sunrpc/svcauth_des.c: Likewise + security fixes.
6877         * sunrpc/xdr_mem.c: Don't use *long pointers.
6878         * sunrpc/xdr_rec.c: Likewise.
6879         * sunrpc/xdr_sizeof.c: Likewise.
6880         * sunrpc/xdr_stdio.c: Likewise.
6882 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
6884         * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
6885         so that it is redone for each sending.
6887 1999-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6889         * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
6891 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
6893         * iconv/gconv_db.c (__gconv_find_transform): If conversion is
6894         known to not exist don't try to load shared objects.
6895         Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
6897         * nscd/cache.c (prune_cache): The table might not be unused.  In
6898         this case do nothing.
6900         * catgets/gencat.c (read_input_file): Don't drop white spaces
6901         between number/identifier and string.
6902         Patch by Dima Barsky <dima@pwd.hp.com>.
6903         If no white space at all follows number/identifier remove existing
6904         message with the number/identifier.
6906 1999-04-14  H.J. Lu  <hjl@gnu.org>
6908         * sunrpc/clnt_udp.c (is_network_up): New function.
6909         (clntudp_call): Call is_network_up () to check if any network
6910         interface is up in case of timeout.
6912 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6914         * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
6915         * wctype/Makefile (tests): Add test_wcfuncs.
6917 1999-04-14  Jakub Jelinek  <jj@ultra.linux.cz>
6919         * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
6920         architectures.
6921         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
6922         instead of CFLAGS.
6923         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
6924         instead of CFLAGS. For gnulib and string directories use
6925         -Wa,-Av9a gcc ASFLAGS.
6926         * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
6927         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
6928         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
6929         * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
6930         the same way as sparc-*.
6932 1999-04-14  Ulrich Drepper  <drepper@cygnus.com>
6934         * locale/programs/locfile.c (locfile_read): Fix typo.
6935         Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
6937 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
6939         * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
6940         restarted after being interrupted by a signal.  The parameters on
6941         the stack were corrupted by the signal handler.
6943         * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
6944         restarted after being interrupted by a signal.  The parameters on
6945         the stack were corrupted by the signal handler.
6947 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6949         * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
6950         Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
6952 1999-04-12  Tim Waugh  <tim@cyberelk.demon.co.uk>
6954         * posix/wordexp-test.c: In field-splitting test cases where
6955         subshells were involved, unset IFS first: some shells (ash) use
6956         IFS even when no expansion is performed.
6958 1999-04-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6960         * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
6961         the real end of the chunk, not some random point inbetween.
6962         (_IO_obstack_xsputn): Likewise.  Actually copy the data into the
6963         obstack when growing.  Use fast version of obstack_blank when
6964         shrinking.
6965         (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
6966         allocating the vtable pointer.
6967         (_IO_obstack_vprintf): Adjust for above change and avoid
6968         unnecessary casts.  Use fast version of obstack_blank when
6969         shrinking.
6970         Fixes PR libc/1075.
6972 1999-04-12  Ulrich Drepper  <drepper@cygnus.com>
6974         * iconvdata/gconv-modules: Fix typo.  Add UJIS alias.
6975         Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
6977 1999-04-11  Tim Waugh  <tim@cyberelk.demon.co.uk>
6979         * posix/wordexp.c (wordexp): Fix a leak when an invalid character
6980         is seen, as well as fixing semantics.  Don't reset the word count
6981         to zero when an invalid character is seen, but leave it as it was
6982         (this makes a difference with WRDE_APPEND).
6984         * posix/wordexp-test.c: More test cases.
6986         * posix/wordexp.c (parse_param): In words like ${var#pattern},
6987         always expand pattern when it is needed.  Also, handle quoting in
6988         pattern properly.
6990 1999-04-12  Philip Blundell  <philb@gnu.org>
6992         * elf/elf.h: Update ARM definitions to match current gas2.
6994         * sysdeps/arm/bits/endian.h: Support big endian operation.
6996         * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
6997         Don't bother range checking the port number.
6999         * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
7001         * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
7002         the syscall name in assembler output for ease of debugging.
7004         * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
7005         compiler behaviour.
7006         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
7007         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
7008         (sysdep_routines): Add sigrestorer.
7010         * string/tester.c (test_strcpy): Add new tests for unaligned
7011         arguments.
7012         * sysdeps/arm/bits/string.h: Delete inline implementations of
7013         strcpy and stpcpy.
7015 1999-04-11  Ulrich Drepper  <drepper@cygnus.com>
7017         * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
7019 1999-04-10  Mark Kettenis  <kettenis@gnu.org>
7021         * sysdeps/mach/hurd/Dist: Add clk_tck.c.
7023 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
7025         * iconvdata/Makefile (modules): Add TIS-620.
7026         (distribute): Add tis-620.c.
7027         (gen-8bit-gap-modules): tis-620.
7028         * iconvdata/tis-620.c: New file.
7029         * iconvdata/gconv-modules: Add TIS-620 entries.
7031         * iconvdata/asmo_449.c: Correct comment.
7033 1999-04-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7035         * manual/install.texi (Configuring and compiling): Comment out
7036         description of --disable-static since this doesn't work currently
7037         (see change by Ulrich Drepper on 1998-12-07 for configure.in).
7039 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
7041         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
7042         use binary search.
7043         Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
7045 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7047         * scripts/test-installation.pl (installation_problem): Skip
7048         libnss1_* libraries from glibc-compat add-on.
7050 1999-04-07  H.J. Lu  <hjl@gnu.org>
7052         * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
7053         libstdc++ 2.7.2.
7054         * posix/Versions (__waitpid): Likewise.
7056 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7058         * manual/install.texi (Reporting Bugs): Add section about reported
7059         bugs and correct email address of glibcbug script.
7061 1999-04-01  Thorsten Kukuk  <kukuk@suse.de>
7063         * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
7064         * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
7065         xdr_u_longlong_t. Based on patch from Dan Shechter
7066         <damageboy@isdn.net.il>.
7067         * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
7068         * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
7070         * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
7072 1999-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7074         * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
7075         directly if getdents returns with error set.
7077 1999-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7079         * locale/langinfo.h (THOUSEP): Rename second occurence of
7080         THOUSANDS_SEP to THOUSEP.
7081         Reported by Roman Belenov <roman@nstl.nnov.ru>.
7083 1999-04-05  Roland McGrath  <roland@baalperazim.frob.com>
7085         * hurd/STATUS: File removed.  Moved items that are still relevant into
7086         TODO list in hurd source.
7088 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
7090         * sysdeps/mach/hurd/bits/time.h: New file.
7091         * sysdeps/mach/hurd/getrusage.c: New file.
7092         * sysdeps/mach/hurd/clk_tck.c: New file.
7093         * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
7094         * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
7095         (sysdep_routines): Add clk_tck.
7096         * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
7097         implemented.
7099 1999-04-02  Ulrich Drepper  <drepper@cygnus.com>
7101         * misc/syslog.c (closelog_internal): Do not reset LogTag here.
7102         (closelog): But instead here.
7103         Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
7105 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7107         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
7108         the source directory.  Fixes PR libc/1059.
7110 1999-04-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7112         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
7113         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7115 1999-04-01  Ulrich Drepper  <drepper@cygnus.com>
7117         * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
7118         * iconvdata/testdata/ISO-8859-14: New file.
7119         * iconvdata/testdata/ISO-8859-14..UTF8: New file.
7120         * iconvdata/testdata/ISO-8859-15: New file.
7121         * iconvdata/testdata/ISO-8859-15..UTF8: New file.
7123 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
7125         * iconvdata/testdata/CP1258: New file.
7126         * iconvdata/testdata/CP1258..UTF8: New file.
7127         * iconvdata/TESTS: Add CP1258 entry.
7129         * iconvdata/cp874.h (to_ucs4): Add Euro sign.
7131         * timezone/africa: Update from tzdata1999d.
7132         * timezone/europe: Likewise.
7133         * timezone/northamerica: Likewise.
7135 1999-03-31  Mark Kettenis  <kettenis@gnu.org>
7137         * login/programs/pt_chown.c (main): Save effective user ID before
7138         dropping priviliges and use this to check if the program is
7139         properly installed.
7141 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
7143         * iconvdata/testdata/CP1254: Update for charmap changes.
7144         * iconvdata/testdata/CP1254..UTF8: Likewise.
7145         * iconvdata/testdata/CP1255: Likewise.
7146         * iconvdata/testdata/CP1255..UTF8: Likewise.
7147         * iconvdata/testdata/CP1256: Likewise.
7148         * iconvdata/testdata/CP1256..UTF8: Likewise.
7149         * iconvdata/testdata/CP1257: Likewise.
7150         * iconvdata/testdata/CP1257..UTF8: Likewise.
7152         * iconvdata/Makefile (distribute): Remove cp1258.h.
7153         (gen-8bit-gap-modules): Add cp1258.
7154         * iconvdata/cp1258.h: Removed.
7156 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
7158         * timezone/tst-timezone.c (tests): Add more cases.
7159         (check_tzvars): Mark errors clearer.
7160         (main): Likewise.
7162 1999-03-30 20:59 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7164         * login/programs/pt_chown.c: Drop privileges if invoked with
7165         arguments.  Don't close the master pty.
7167 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
7169         * time/tzfile.c (__tzfile_read): Process transitions from the rear.
7170         Minor optimization.
7172 1999-03-29  Ulrich Drepper  <drepper@cygnus.com>
7174         * elf/rtld.c (process_envvars): Do not automatically prevent lazy
7175         relocation for SUID binaries.
7177 1999-03-29  Paul Eggert  <eggert@twinsun.com>
7179         * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
7180         while in child process.
7182 1999-03-29  Jakub Jelinek  <jj@ultra.linux.cz>
7184         * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
7185         * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
7186         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
7187         * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
7188         * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
7190         * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
7191         * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
7192         * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
7193         * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
7194         * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
7195         * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
7196         * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
7197         * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
7198         * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
7199         * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
7200         * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
7201         * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
7202         * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
7203         * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
7204         * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
7205         * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
7206         * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
7207         * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
7208         * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
7209         * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
7210         * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
7211         * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
7212         * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
7213         * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
7214         * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
7215         * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
7217         * sysdeps/sparc/sparc32/bcopy.c: New file.
7218         * sysdeps/sparc/sparc32/bzero.c: New file.
7219         * sysdeps/sparc/sparc32/memchr.S: New file.
7220         * sysdeps/sparc/sparc32/memcpy.S: New file.
7221         * sysdeps/sparc/sparc32/memmove.c: New file.
7222         * sysdeps/sparc/sparc32/memset.S: New file.
7223         * sysdeps/sparc/sparc32/stpcpy.S: New file.
7224         * sysdeps/sparc/sparc32/strchr.S: New file.
7225         * sysdeps/sparc/sparc32/strrchr.c: New file.
7226         * sysdeps/sparc/sparc32/strcpy.S: New file.
7227         * sysdeps/sparc/sparc32/strlen.S: New file.
7228         * sysdeps/sparc/sparc32/strcat.S: New file.
7229         * sysdeps/sparc/sparc32/strcmp.S: New file.
7231         * sysdeps/sparc/sparc64/bcopy.c: New file.
7232         * sysdeps/sparc/sparc64/bzero.c: New file.
7233         * sysdeps/sparc/sparc64/memchr.S: New file.
7234         * sysdeps/sparc/sparc64/memcmp.S: New file.
7235         * sysdeps/sparc/sparc64/memcpy.S: New file.
7236         * sysdeps/sparc/sparc64/memset.S: New file.
7237         * sysdeps/sparc/sparc64/stpcpy.S: New file.
7238         * sysdeps/sparc/sparc64/strcat.S: New file.
7239         * sysdeps/sparc/sparc64/strchr.S: New file.
7240         * sysdeps/sparc/sparc64/strcmp.S: New file.
7241         * sysdeps/sparc/sparc64/strcpy.S: New file.
7242         * sysdeps/sparc/sparc64/strcspn.S: New file.
7243         * sysdeps/sparc/sparc64/strlen.S: New file.
7244         * sysdeps/sparc/sparc64/strncpy.S: New file.
7245         * sysdeps/sparc/sparc64/strpbrk.S: New file.
7246         * sysdeps/sparc/sparc64/strrchr.c: New file.
7247         * sysdeps/sparc/sparc64/strspn.S: New file.
7248         * sysdeps/sparc/sparc64/stpncpy.S: New file.
7249         * sysdeps/sparc/sparc64/strncmp.S: New file.
7251         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
7252         Append -fPIC, don't replace.
7254         * configure.in: Recognize sparcv8plus / sparcv9.
7256 1999-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7258         * malloc/obstack.h (obstack_free): Explicitly convert __obj to
7259         char * to avoid C++ warning.
7260         Patch by yasushi@cs.washington.edu [PR libc/1035].
7262 1999-03-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7264         * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
7265         declared in stdlib.h, correct return value of mkstemp.
7266         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
7268         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
7269         from Linux 2.2.5.
7271 1999-03-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7273         * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
7274         C++ warning.
7276         * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
7277         inline functions.  Closes PR libc/1049.
7279 1999-03-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7281         * timezone/README: Update from tzdata1999c and tzcode1999c.
7283         * timezone/africa: Update from tzdata1999c.
7284         * timezone/antarctica: Likewise.
7285         * timezone/asia: Likewise.
7286         * timezone/australasia: Likewise.
7287         * timezone/europe: Likewise.
7288         * timezone/northamerica: Likewise.
7289         * timezone/southamerica: Likewise.
7290         * timezone/zone.tab: Likewise.
7292         * timezone/zic.c: Update from tzcode1999c.
7294 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7296         * Makerules: Add $(common-objpfx)Versions.all to common-generated
7297         outside of ifndef avoid-generated.
7299         * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
7300         in iofdopen.c.
7301         * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
7302         iofopen.c.
7303         * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
7304         in iofclose.c.
7305         * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
7306         _IO_old_file_seekoff): Bring over recent changes in fileops.c.
7308 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
7310         * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
7311         if we build the profiled library.
7313 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7315         * math/Makefile (gmp-objs): Add inlines.  Reported by Andreas
7316         Jaeger <aj@arthur.rhein-neckar.de>
7318 1999-03-25  Roland McGrath  <roland@yaumatei.ai.mit.edu>
7320         * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
7321         (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
7322         This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
7324 1999-03-24  Roland McGrath  <roland@baalperazim.frob.com>
7326         * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
7327         works properly in subdirs.
7329 1999-03-23  Roland McGrath  <roland@baalperazim.frob.com>
7331         * sysdeps/mach/hurd/Makefile: Undo last change.
7332         [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
7333         [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
7335         * mach/Machrules (+preinit, +postinit, +interp,
7336         LDFLAGS-$(interface.so)): Variables removed.  Interface libraries get
7337         linked just like other shared libraries.
7338         (interface.so): Fix typo in defn, so it works.
7339         ($(objpfx)$(interface.so)): Make it depend on libc.so.
7341 1999-03-21  Roland McGrath  <roland@baalperazim.frob.com>
7343         * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
7344         $(link-rpcuserlibs).
7346 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7348         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
7349         $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
7350         targets if not building shared libraries.
7352 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7354         * configure.in: Also look in $PATH when searching for
7355         install-info.  Remove autoconf bug workaround and require autoconf
7356         2.13.
7358 1999-03-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7360         * db/Makefile: Don't try to install shared library link if not
7361         building with shared libs.
7363 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7365         * rt/Makefile: Link against static library if no shared lib is
7366         available.
7368         * localedata/Makefile: The shells scripts implementing the test
7369         require the dynamic linker which is not available with
7370         --disable-shared.  Skip the test if --disable-shared is given.
7372         * linuxthreads/Makefile: Link test against static libpthread if no
7373         shared lib is available.
7375         * iconvdata/Makefile (tests): Run iconv-test only if we're
7376         building shared libraries.
7377         * elf/Makefile (tests): Likewise for elf tests.
7379         * posix/Makefile: The test frameworks globtest and wordexp-test
7380         require the dynamic linker which is not available with
7381         --disable-shared.  Skip the test if --disable-shared is given.
7383         * grp/Makefile (otherlibs): For static nss build link against
7384         necessary libs.
7386 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7388         * debug/Makefile (install-bin): Install and build catchsegv only
7389         if build-shared == yes.  Reported by jussi@jlaako.pp.fi [PR
7390         libc/965].
7392 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7394         * time/tzfile.c (__tzfile_read): Handle the case where there are
7395         transitions but no DST.
7397 1999-03-20  Roland McGrath  <roland@baalperazim.frob.com>
7399         * mach/Machrules (extra-libs-others): Add $(interface-library) here
7400         too, so it gets built in the others pass rather than the lib pass.
7401         This is necessary since the RPC libraries need to be linked against
7402         libc.
7404 1999-03-19  Roland McGrath  <roland@baalperazim.frob.com>
7406         * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
7407         _itoa_word decl.
7409         * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
7410         ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
7411         ($(link-rpcuserlibs)): New static pattern rule; link intermediate
7412         versions of lib{mach,hurd}user.so without reference to libc.so,
7413         then link libc.so against that to get deps and symbol versions, then
7414         finally link real lib*user.so against libc.so.
7416         * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
7417         Support whole-file locking (only) by using the file_lock RPC.  This
7418         has very wrong semantics, but is better than nothing for the time
7419         being.  (Correct POSIX.1 locking will require new RPCs in the Hurd
7420         protocols that will be somewhat hairy to specify.)
7422 1999-03-17  Mark Kettenis  <kettenis@gnu.org>
7424         * sysdeps/mach/hurd/ptsname.c: New file.
7426 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7428         * timezone/asia: Fix rule in Asia/Nicosia entry.
7430 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7432         * manual/getopt.texi (Using Getopt): Explain "::" in option
7433         string.  Reported by Yuri Niyazov <yuricake@geocities.com>.
7435 1999-03-18  Thorsten Kukuk  <kukuk@suse.de>
7437         * sunrpc/clnt_unix.c: Fix creation of parameters for
7438         sendmsg/recvmsg on non intel platforms.
7439         * sunrpc/svc_unix.c: Likewise.
7441 1999-03-18  Philip Blundell  <philb@gnu.org>
7443         * sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386
7444         implementation.
7446 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7448         * timezone/africa: Update from tzdata1999b.
7449         * timezone/asia: Likewise.
7450         * timezone/australasia: Likewise.
7451         * timezone/europe: Likewise.
7452         * timezone/northamerica: Likewise.
7453         * timezone/southamerica: Likewise.
7454         * timezone/zone.tab: Likewise.
7456         * timezone/README: Mention tzdata1999b.
7458 1999-03-17  Ulrich Drepper  <drepper@cygnus.com>
7460         * sysdeps/generic/segfault.c (write_strsignal): New function.
7461         (catch_segfault): Use it instead of calling strsignal.
7463 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7465         * iconv/gconv.c (__gconv): Change type of last_start to unsigned
7466         char to avoid warning.
7468 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
7470         * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
7472         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
7473         outbuf to unsigned char to avoid warning.
7475 1999-03-11  David S. Miller  <davem@redhat.com>
7477         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
7478         masks.
7479         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
7481 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
7483         * iconv/gconv.h (gconv_fct): Change parameter from `char' to
7484         `unsigned char'.
7485         (gconv_step_data): Likewise.
7486         * iconv/gconv_int.h (__gconv): Likewise.
7487         (__BUILINT_TRANS): Likewise.
7488         * iconv/gconv.c (__gconv): Likewise.
7489         * iconv/iconv.c (iconv): Add casts for call of __gconv.
7490         * iconv/skeleton.c: Change local parameters and variable from `char' to
7491         `unsigned char'.  Remove casts from calls into modules.
7492         * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
7493         `char' to `unsigned char'.
7494         * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
7495         * wcsmbs/mbrtowc.c: Likewise.
7496         * wcsmbs/mbsnrtowcs.c: Likewise.
7497         * wcsmbs/mbsrtowcs.c: Likewise.
7498         * wcsmbs/wcrtomb.c: Likewise.
7499         * wcsmbs/wcsnrtombs.c: Likewise.
7500         * wcsmbs/wcsrtombs.c: Likewise.
7501         * wcsmbs/wctob.c: Likewise.
7503 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
7505         * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
7506         __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
7507         __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
7508         __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
7509         __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
7510         __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
7512 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
7514         * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
7515         _hurd_select if TIMEMOUT is -1.
7517 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
7519         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
7521 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
7523         * elf/dl-load.c: Compute rtld_search_dir array size correctly.
7524         Reported by Yasushi Saito <yasushi@cs.washington.edu>.
7526 1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7528         * manual/libc.texinfo: Undo last change for now.
7530 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
7532         * intl/locale.alias: Add entries for Croatian.
7533         Patch by Tomislav Vujec <tvujec@CARNet.hr>.
7535 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
7537         * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
7538         if the opened master pty really is a pty.  `isatty' checks for
7539         tty-ness and a pty is not a tty.  Return ENOENT instead of ENFILE
7540         if we are out of pty's.
7542 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
7544         * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
7545         opened file is closed on exec.
7546         * login/utmp_daemon.c (setutent_daemon): Likewise for the just
7547         opened socket.
7549 1999-03-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7551         * manual/llio.texi (File Position Primitive): Reformat @end
7552         command.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
7554 1999-03-14  Ulrich Drepper  <drepper@cygnus.com>
7556         * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
7557         entry is found.
7558         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7559         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
7561         * locale/programs/localedef.c (main): Initialize `cat' to please
7562         the compiler.
7564 1999-03-14  Roland McGrath  <roland@baalperazim.frob.com>
7566         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
7567         check for root-owned symlinks and reject them too.
7569 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7571         * stdio-common/printf_fphex.c: Move to ...
7572         * sysdeps/generic/printf_fphex.c: ... here.  Fix exponent of
7573         extended precision number.
7574         * sysdeps/m68k/printf_fphex.c: New file.
7576 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7578         * manual/stdio.texi: Fix typos.
7580 1999-03-09  Ulrich Drepper  <drepper@cygnus.com>
7582         * version.h (VERSION): Bump to 2.1.1.
7584 1999-03-09  Thorsten Kukuk  <kukuk@suse.de>
7586         * nis/ypclnt.c: Try only twice to connect to NIS server.
7588 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
7590         * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
7592 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7594         * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
7595         (DENORM_EXP): New define.  Use it as the exponent for a denormal.
7596         * stdlib/strtold.c: Moved to ...
7597         * sysdeps/generic/strtold.c: ... here.
7598         * sysdeps/m68k/strtold.c: New file.
7600 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7602         * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
7603         point if the precision is zero, even if the mantissa is non-zero.
7605 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
7607         * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
7608         arguments into the request message buffer inside `send_rpc'
7609         subfunction.  We must repeat the marshalling when retrying the RPC
7610         after a SIGTTOU delivery.
7612         * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
7613         path when there is no ctty port.
7614         * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
7615         Move sigstate check inside loop so we recheck after handling a signal.
7617 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7619         * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
7620         O_EXLOCK are BSD extensions.
7621         Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
7623 1999-03-08  Ulrich Drepper  <drepper@cygnus.com>
7625         * manual/signal.texi (Termination in Handler): Correct example.
7626         Install default handler before reraising the signal.
7627         Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
7629 1999-03-08  Roland McGrath  <roland@baalperazim.frob.com>
7631         * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
7632         null, in which case send an empty string.
7634 1999-03-02  Mark Kettenis  <kettenis@gnu.org>
7636         * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
7637         backward compatibility EH functions to be linked when using
7638         gcc-2.8.1.  Patch by Zack Weinberg <zack@rabi.columbia.edu>.
7640 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7642         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
7643         /dev/pts status may change during runtime.
7645 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7647         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
7648         change.  /dev/pts status can change during runtime.
7650 1999-03-07  Thorsten Kukuk  <kukuk@suse.de>
7652         * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
7653         poll reports error.
7654         * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
7655         add some more sanity checks.
7656         * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
7657         parser prototype.
7659 1999-03-05  Thorsten Kukuk  <kukuk@suse.de>
7661         * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
7662         change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
7663         * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
7664         * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
7665         * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
7666         for x_getint32.
7667         * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
7668         * nis/nis_print.c: Fix ctime argument for platforms where
7669         sizeof (time_t) != sizeof (int).
7671 1999-03-07  Mark Kettenis  <kettenis@gnu.org>
7673         * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
7674         CLOCKS_PER_SEC instead of CLK_TCK.
7676 1999-03-05  Ulrich Drepper  <drepper@cygnus.com>
7678         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
7679         whether /dev/pts is available.
7680         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
7681         dev_pts_available.
7683         * posix/globtest.sh: Make common_objpfx path absolute and and db2
7684         and hesiod directory to library path [PR libc/1007].
7686 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7688         * resolv/inet_addr.c (inet_aton): Don't allow componets >
7689         255.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
7691 1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>
7693         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
7694         DT_PLTGOT has already been relocated.
7695         (__elf_machine_fixup_plt): Likewise.
7696         Minor cleanups.
7698 1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>
7700         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
7702 1999-03-03  Ulrich Drepper  <drepper@cygnus.com>
7704         * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
7705         and fold string to uppercase [PR libc/1005].
7707 1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7709         * elf/dl-load.c (lose): Fix return type.
7711 1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>
7713         * sysdeps/mach/hurd/bits/fcntl.h
7714         [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
7715         * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
7716         set O_NOTRANS as well.
7717         (__hurd_file_name_lookup_retry): At successful end of lookup,
7718         if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
7719         it is a translated node not owned by root.
7720         (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
7721         on the file name passed to LOOKUP.
7723 1999-03-02  Ulrich Drepper  <drepper@cygnus.com>
7725         * manual/time.texi (High Resolution Timer): Correct computation in
7726         example.  Reported by jjf@devel.cemsys.com.
7728 1999-03-02  Philip Blundell  <pb@nexus.co.uk>
7730         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
7731         entry is already relocated.
7733 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7735         * resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
7736         by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
7738 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7740         * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
7741         uc_link which is the right name according to Unix98.
7742         Reported by Craig Metz [PR libc/1001].
7743         * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
7744         * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
7745         * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
7746         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
7747         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise.
7748         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
7750 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7752         * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
7753         @ifinfo.
7755 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7757         * iconvdata/Makefile: Always include iconv-rules, but disable rule
7758         to regenerate it if avoid-generated.
7760         * Makeconfig: Always include sys-dirs, but disable rule to
7761         regenerate it when avoid-generated.
7763         * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
7764         rule to generate sysd-syscalls.
7766         * elf/Makefile (generated): Remove $(objpfx) from names.
7768 1999-02-28  Mark Kettenis  <kettenis@gnu.org>
7770         * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
7771         actual length if the adress length is smaller than the input
7772         value.  Change type of *LEN paramater to socklen_t.
7773         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
7774         * sysdeps/mach/hurd/accept.c (accept): Likewise.
7775         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
7776         * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
7777         paramater to socklen_t.
7779 1999-02-28  Roland McGrath  <roland@baalperazim.frob.com>
7781         * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
7782         msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
7783         with the RPC.
7785 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
7787         * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
7788         __get_phys_pages): Cast &HBI to silence warning.
7790         * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
7791         * hurd/hurdchdir.c: New file.
7792         * hurd/hurdfchdir.c: New file.
7793         * sysdeps/mach/hurd/chroot.c: Call
7794         _hurd_change_directory_port_from_name to do the work.
7795         * sysdeps/mach/hurd/chdir.c: Likewise.
7796         * sysdeps/mach/hurd/fchdir.c: Call
7797         _hurd_change_directory_port_from_fd to do the work.
7798         * hurd/fchroot.c: Likewise.
7799         * hurd/hurd.h: Declare them.
7801 1999-02-27  Ulrich Drepper  <drepper@cygnus.com>
7803         * elf/dl-load.c (lose): Add more comments to explain the `why'.
7804         (_dl_map_object): Remove redundant test.
7806 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
7808         * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
7809         try to _hurd_port_free a lower-numbered descriptor that was not in any
7810         fd_set.
7812 1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7814         * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
7815         declaration for ____wcstod_l_internal.
7817         * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
7818         __strtod_internal prototype.
7819         * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
7820         (____strtold_l_internal): Add prototype declaration.
7821         (__strtold_l): Call correct function.
7823 1999-02-24  Ulrich Drepper  <drepper@cygnus.com>
7825         * elf/elf.h: Add 32bit HPPA definitions.
7827 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7829         * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
7830         non-checked heap is restored when malloc checking was requested by
7831         the user.
7832         (struct malloc_state): Add using_malloc_checking.
7833         (MALLOC_STATE_VERSION): Increment minor.
7834         (using_malloc_checking, disallow_malloc_check): New variables.
7835         (__malloc_check_init): Use them.
7836         (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
7837         that it can the chunk is properly instrumented when malloc
7838         checking is enabled.  Set the new using_malloc_checking field.
7839         (malloc_hook_ini): Correct signature when _LIBC is not defined.
7841 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7843         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
7844         (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
7845         time.
7847         * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
7848         Don't call elf_get_dynamic_info and _dl_setup_hash a second time
7849         if ld.so is the main program.
7851 1999-02-23  Ulrich Drepper  <drepper@cygnus.com>
7853         * stdio-common/vfprintf.c (vfprintf): If precision or width is too
7854         large for work_buffer, allocate new buffer.
7855         (printf_unknown): Likewise.  [PR libc/988]
7857 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
7859         * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
7860         instead of stat and fstat.
7861         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7863 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7865         * elf/dl-error.c (_dl_signal_cerror): New function.
7866         (_dl_signal_error): Don't call receiver function.
7867         * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
7868         instead of _dl_signal_error when reporting references to undefined
7869         symbols or versions.
7870         (_dl_lookup_versioned_symbol): Likewise.
7871         (_dl_lookup_versioned_symbol_skip): Likewise.
7872         * elf/dl-version.c (match_symbol): Likewise.
7874         * elf/ldsodefs.h: Declare _dl_signal_cerror.
7876 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
7878         * misc/getttyent.c (getttyent): Release lock on stream later to
7879         also protect global variable zapchar.
7881         * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
7882         __times [PR libc/990].
7884 1999-02-21  David S. Miller  <davem@redhat.com>
7886         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
7887         parentheses in Feb 2 changes.
7888         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
7890 1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7892         * sysdeps/generic/glob.c (glob): Save previous errno.
7894 1999-02-21  Ulrich Drepper  <drepper@cygnus.com>
7896         * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
7897         lookup functions if it is too small.
7899 1999-02-20  Ulrich Drepper  <drepper@cygnus.com>
7901         * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
7902         for tracing to the scope lists.
7903         * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
7904         DT_SYMTAB is always available according to ELF spec.
7906         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
7907         call test whether there is any scope left.
7908         (_dl_lookup_versioned_symbol_skip): Likewise.
7910         * elf/Makefile (distribute): Add do-lookup.h.
7911         * elf/do-lookup.h: New file.  Split out from dl-lookup.c.
7912         * elf/dl-lookup.c: Move do_lookup function in separate file and
7913         include the file twice, for handling versioning and without it.
7915         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
7916         entry is already relocated.
7917         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
7918         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
7919         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
7920         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
7921         Likewise.
7922         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
7923         Likewise.
7924         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
7925         Likewise.
7927         * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
7928         load address.  Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
7929         DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
7930         (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
7931         rel and rela relocations can both happen and skip one test if this
7932         is not possible.
7933         (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
7934         appropriately.
7935         * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
7936         already relocated.
7937         * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
7938         relocated.
7939         * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
7940         (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
7941         (_dl_map_object): DT_STRTAB entry is already relocated.
7942         * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
7943         already relocated.
7944         * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
7945         relocated.
7946         * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
7947         DT_VERSYM entries are already relocated.
7948         (profile_fixup): Likewise.
7949         * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX.  Replace
7950         all users.
7951         (match_symbol): DT_STRTAB entry is already relocated.
7952         (_dl_check_map_versions): Likewise.  Also fo DT_VERSYM.
7953         * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
7954         relocated already.  DT_SYMTAB and DT_VERSYM entries are also relocated.
7955         * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
7956         (find_needed): DT_STRTAB entry is already relocated.
7957         (dl_main): Pass extra argument to elf_get_dynamic_info.
7958         DT_STRTAB entry is already relocated.
7959         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
7960         DT_PLTGOT entries are already relocated.
7961         (elf_machine_rela): Likewise for DT_SYMTAB.
7962         * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
7963         relocated.
7964         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7965         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
7966         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7967         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7968         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
7969         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
7970         (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
7971         * sysdeps/mips/mips64/dl-machine.h: Likewise.
7973         * grp/initgroups.c (initgroups): If function in current module was
7974         successful don't stop but continue to process to get all the groups.
7976         * elf/dl-load.c (_dl_map_object_from_fd): Use global
7977         _dl_pf_to_proot array to convert p_flags value.
7978         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7980         * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
7981         loop to clear `info'.
7983         * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
7984         do the work and don't use inline assembler.
7986 1999-02-19  Ulrich Drepper  <drepper@cygnus.com>
7988         * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
7989         * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
7990         noreturn, and prevent it from being inlined.
7991         Define LOSE appropriately.
7992         (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
7993         Optimize decoding of p_flags for certain platforms.
7995 1999-02-19  Philip Blundell  <pb@nexus.co.uk>
7997         * Makeconfig (link-libc): When doing a static link, make sure that
7998         libgcc.a is included both before and after libc.a.
8000 1999-02-18  Thorsten Kukuk  <kukuk@suse.de>
8002         * nis/nss_compat/compat-spwd.c: Fix handling of default values for
8003         sp_warn, sp_inact, sp_expire and sp_flag.
8005 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
8007         * elf/link.h (link_map): Add l_dev and l_ino.
8008         * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
8009         loaded shared object with all loaded objects.  Initialize l_ino
8010         and l_dev in case it's new.
8011         * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
8012         object.
8013         * elf/Makefile: Compile and run new test.
8014         * elf/multiload.c: New file.
8016         * nss/nsswitch.h (service_user): Change name field from const char *
8017         to char[0].
8018         (name_database_entry): Likewise.
8019         * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
8020         for change of `service_user'.
8021         (nss_getline): Adjust memory allocation for change of
8022         `name_database_entry'.
8024         * catgets/catgets.c: Correctly handle NLSPATH from environment
8025         [PR libc/980].
8027         * io/Makefile (routines): Add lock64.
8028         * io/Versions: Add lockf64 for GLIBC_2.1.1.
8029         * sysdeps/generic/lockf64.c: New file.
8031 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
8033         * string/bits/string2.h: Only use strncmp optimization if count
8034         argument is constant.
8036 1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>
8038         * sysdeps/mach/hurd/revoke.c: New file.
8040 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
8042         * wctype/wctype.h (_ISwbit): Cast result of shift operations to
8043         int to avoid warning about `ISO C restricts enumerator values to
8044         range of `int''.
8046 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8048         * elf/dlfcn.h: Fix typo.
8049         * sysdeps/generic/bits/dlfcn.h: Likewise.
8050         * sysdeps/mips/bits/dlfcn.h: Likewise.
8052 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
8054         * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
8055         for the case N == 0.
8057         * db2/Makefile (distribute): Add LICENSE.
8059 1999-02-03  Jeff Bailey  <jbailey@nisa.net>
8061         * sysdeps/unix/make_errlist.c: Add i18n and copyright to
8062         generated files.
8064         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
8066 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
8068         * time/mktime.c: Use ISO C form for function definitions and
8069         remove unnecessary prototypes.
8071         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
8073         * time/time.h: Avoid unneccesary #ifdef.
8075 1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
8077         * stdio-common/_itoa.c (_itoa): Correct parameters to
8078         udiv_qrnnd_preinv.
8080 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8082         * misc/sys/cdefs.h: Undefine __PMT since it might be defined
8083         before (e.g. in glob.h).
8084         Closes PR libc/959.
8086 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8088         * sysdeps/mips/fpu_control.h: Fix typo.
8089         Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
8090         Remove __setfpucw.
8092 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
8094         * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
8095         the "unused" ends of the sockets.  Let pipes be bidirectional.
8097 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
8099         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
8100         invalid ai_flags.
8102 1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8104         * manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
8105         Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
8107         * manual/setjmp.texi (Non-Local Exits and Signals): Fix
8108         typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
8110 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
8112         * string/Versions: Add __strverscmp to GLIBC_2.1.1.
8114 1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8116         * misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
8117         check for priority mask.
8119 1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
8121         * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
8122         Reported by Craig Metz <cmetz@inner.net> .
8124 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8126         * stdio-common/Makefile (tests): tllformat added.
8128         * stdio-common/tllformat.c: New program, based on tiformat.c with
8129         examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
8131 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8133         * posix/test-vfork.c: Fix exit status test.
8135 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8137         * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
8138         missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
8140 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8142         * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
8143         of separare explicit comparisons.
8145 1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8147         * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
8148         defined.
8150         * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
8151         defined.
8153 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
8155         * po/el.po: Update from translation team.
8157 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8159         * intl/locale.alias: Fix slovenian entry [PR libc/948].
8161 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8163         * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
8164         * inet/ruserpass.c: Likewise.
8165         * locale/programs/stringtrans.c: Likewise.
8166         * locale/programs/localedef.c: Likewise.
8167         * nscd/grpcache.c: Likewise.
8168         * nss/nss_files/files-XXX.c: Likewise.
8169         * stdlib/canonicalize.c: Likewise.
8170         * sysdeps/posix/sigwait.c: Likewise.
8172 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8174         * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
8175         even on 64 bit platforms.
8177         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
8178         Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
8180 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
8182         * intl/dcgettext.c: Include locale.h is available.
8184 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
8186         * po/nl.po: Update from translation team.
8188         * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
8190         * Makefile: Allow calling goals for po subdir.
8192         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
8193         signal definitions.
8195         * po/el.po: New file.
8197 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8199         * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
8200         when processing DT_SYMBOLIC objects.
8202 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8204         * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
8205         program headers without PT_PHDR only require that they are
8206         contained within one of the loaded segments.  Don't use assert,
8207         since that would be a bug in the object, not the dynamic linker.
8209 1999-02-08  Richard Henderson  <rth@cygnus.com>
8211         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
8212         restore all call-clobbered fp regs.
8214 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
8216         * po/cs.po: New file.
8218         * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
8219         SUID binaries.
8221 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
8223         * signal/signal.h: Don't declare __libc_allocate_rtsig.
8224         * include/signal.h: Declare __libc_allocate_rtsig here.
8226         * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
8227         point functions, not do_lookup since the later can be called more
8228         than once.
8230 1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>
8232         * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
8233         macro, so that architectures which need to add some special
8234         offset to stack pointer can share this file.
8236         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
8237         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
8238         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
8239         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
8241         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
8242         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
8243         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
8244         between sparc32 and sparc64.
8246         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
8247         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
8248         * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
8249         between sparc32 and sparc64.
8251         * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
8252         * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
8253         * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
8254         between sparc32 and sparc64.
8256         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
8257         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
8258         * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
8259         between sparc32 and sparc64.
8261 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
8263         * Versions.def: New version GLIBC_2.1.1 for libc.
8264         * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
8265         * stdlib/labs.c: Moved to...
8266         * sysdeps/generic/labs.c: ...here.
8267         * stdlib/llabs.c: Moved to...
8268         * sysdeps/generic/llabs.c: ...here.
8269         * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
8270         header.  Declare _Exit.
8271         * sysdeps/generic/_exit.c: Add alias _Exit.
8272         * sysdeps/mach/hurd/_exit.c: Likewise.
8273         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
8274         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
8275         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
8276         * sysdeps/unix/_exit.c: Likewise.
8277         * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
8278         imaxdiv and imaxabs.  Declare lldiv_t if necessary.
8279         * sysdeps/wordsize-64/inttypes.h: Likewise.
8280         * sysdeps/wordsize-32/llabs.c: New file.
8281         * sysdeps/wordsize-32/lldiv.c: New file.
8282         * sysdeps/wordsize-64/labs.c: New file.
8283         * sysdeps/wordsize-64/ldiv.c: New file.
8284         * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
8285         * manual/startup.texi: Document _Exit.
8287 1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8289         * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
8291 1999-02-06  Ulrich Drepper  <drepper@cygnus.com>
8293         * Versions.def: Add versions for ld.so.
8294         * csu/Versions: Remove __libc_stack_end here.
8295         * elf/Versions: Split libc definitions in libc and ld.so definitions.
8296         * elf/Makefile (ld-map): Change to ld.so.map.
8297         * scripts/versions.awk: Recognize dot in library names.
8299         * ctype/ctype.h: Remove definitions of __tolower and __toupper.
8300         Don't use __tolower and __toupper in inline functions.
8301         Add optimizing macros for tolower and toupper.
8302         * ctype/ctype-extn.c (_tolower): Don't use __tolower.
8303         (_toupper): Don't use __toupper.
8304         * ctype/ctype.c (tolower): Don't use __tolower.
8305         (toupper): Don't use toupper.
8307         * nscd/cache.c (prune_cache): Correct printing of debugging messages.
8309         * resolv/Versions (libresolv): Export __ns_name_unpack and
8310         __ns_name_ntop.
8311         * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
8312         make it global.  Change all users.  Similar for ns_name_ntop.
8313         * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
8314         user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
8315         directly to detect too small buffer.
8316         * resolv/nss_dns/dns-network.c: Likewise.
8318         * stdio-common/Makefile (tests): Add scanf12.
8319         * stdio-common/scanf12.c: New file.
8320         * stdio-common/scanf12.input: New file.
8321         * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
8322         floating-point correctly if the number is invalid.
8324         * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
8325         functions.
8326         * stdio-common/printf_fp.c: Likewise.
8327         * stdio-common/printf_fphex.c: Likewise.
8328         * stdio-common/vfprintf.c: Likewise.
8331 See ChangeLog.9 for earlier changes.