1 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
3 * malloc/Makefile: Add rule to generate memprof script.
4 * malloc/memprof.sh: New file.
6 * elf/ldd.bash.in: Add "Usage: " in help message to comply with
9 1999-10-04 Andreas Jaeger <aj@suse.de>
11 * configure.in: Allow makeinfo 4.*.
13 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
15 * stdio-common/vfprintf.c: Correct last patch and use outchar
16 instead of PUTC to output single characters.
17 * stdio-common/Makefile (tests): Add bug13.
18 * stdio-common/bug13.c: New file.
20 * configure.in: Add additional options --with-gd-include and
21 --with-gd-lib to help people with strange installations.
23 * malloc/Makefile: Add libdl dependency to libmemprof.so.
24 * malloc/Depend: New file.
26 1999-10-04 Andreas Jaeger <aj@suse.de>
28 * timezone/README: Change wording to not mention the current
29 version. This way we can't forget to update the file.
31 1999-10-04 Andreas Jaeger <aj@suse.de>
33 * manual/time.texi (Basic CPU Time): Fix typo.
34 Reported by Ben Pfaff <pfaffben@msu.edu>.
36 1999-10-04 Ulrich Drepper <drepper@cygnus.com>
38 * string/string.h: Move __memrchr declaration to ...
39 * include/string.h: ...here.
41 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
43 * string/Makefile (routines): Add memrchr.
45 * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
46 Correct order of tests for matching bytes.
48 * string/tester.c: Add tests for memrchr.
50 * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
51 Start from the last character and take decrement not increment
52 into account for correction in return line. Add memrchr alias.
53 * sysdeps/i386/bits/string.h: Likewise.
55 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
57 * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
59 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
61 * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
63 * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
66 * string/Versions: Export memrchr.
68 1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
70 * misc/Versions (GLIBC_2.2): Add getloadavg.
71 * misc/Makefile (routines): Add getloadavg.
72 * sysdeps/generic/getloadavg.c: New file.
73 * sysdeps/mach/getloadavg.c: New file.
74 * sysdeps/unix/sysv/linux/getloadavg.c: New file.
76 * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
77 * sysdeps/i386/bits/string.h (__memrchr): New function.
78 * string/string.h: Declare memrchr, __memrchr.
79 * manual/string.texi (Search Functions): Document memrchr.
81 1999-10-03 Ulrich Drepper <drepper@cygnus.com>
83 * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
84 CFLAGS-memprofstat.c, and LIBGD variables.
85 * config.make.in: Add LIBGD.
86 * malloc/Makefile: Add rules to generate libmemprof.so and
88 * malloc/memprof.c: New file.
89 * malloc/memprofstat.c: New file.
91 1999-10-02 Ulrich Drepper <drepper@cygnus.com>
93 * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
95 * resolv/inet_ntop.c (inet_ntop4): Little optimization.
96 (inet_ntop6): Likewise.
98 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
101 * resolv/tst-aton.c (main): Add more tests.
103 * resolv/inet_addr.c (inet_aton): Correct some problems with to
104 large numbers. Optimize a bit.
106 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
108 * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
109 account for added '0'.
111 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
112 handling of IPv6 tunnel address handling with bind 8.2.1. Allow
113 len argument to be greater than needed address size.
115 1999-10-01 Andreas Jaeger <aj@suse.de>
117 * locale/programs/ld-collate.c (insert_value): Add cast to avoid
119 * intl/finddomain.c (_nl_find_domain): Likewise.
121 1999-09-30 Andreas Schwab <schwab@suse.de>
123 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
125 1999-09-30 Andreas Jaeger <aj@suse.de>
127 * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
128 * sysdeps/i386/rshift.S: Likewise.
129 * sysdeps/i386/strchrnul.S: Likewise.
130 * sysdeps/i386/strchr.S: Likewise.
131 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
134 1999-09-30 Andreas Jaeger <aj@suse.de>
136 * manual/examples/pipe.c: Close other end of pipe to make example work.
138 1999-10-01 Ulrich Drepper <drepper@cygnus.com>
140 * timezone/checktab.awk: Update from tzcode1999g.
141 * timezone/tzselect.ksh: Likewise.
142 * timezone/africa: Update from tzdata1999g.
143 * timezone/asia: Likewise.
144 * timezone/australasia: Likewise.
145 * timezone/europe: Likewise.
146 * timezone/northamerica: Likewise.
147 * timezone/southamerica: Likewise.
148 * timezone/iso3166.tab: Likewise.
149 * timezone/zone.tab: Likewise.
151 1999-09-27 Andreas Jaeger <aj@suse.de>
153 * resolv/netdb.h: Remove declaration of getnodebyname. It has
154 been renamed to getipnodebyname. Move flags around.
156 1999-09-27 Andreas Schwab <schwab@suse.de>
158 * manual/message.texi (Locating gettext catalog): Fix typos.
160 1999-09-27 Andreas Jaeger <aj@suse.de>
162 * manual/socket.texi (Out-of-Band Data): Correct example program,
163 rename some variables for clarity.
164 Reported by James Antill <james@and.org>, close PR libc/1329.
166 1999-09-27 Ulrich Drepper <drepper@cygnus.com>
168 * locale/programs/ld-collate.c (insert_value): Add hack to not
169 crash in incomplete collate implementation.
171 * locale/programs/ld-collate.c (read_directions): Read new token
172 after accepting sorting rule.
174 1999-09-26 Ulrich Drepper <drepper@cygnus.com>
176 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
177 error message printing. Correctly test whether all characters of
178 current token are used.
179 (ctype_read): NUL terminate last_str.
181 1999-09-26 Thorsten Kukuk <kukuk@suse.de>
183 * nscd/connections.c: Invalidate caches on request.
184 * nscd/nscd-client.h: Add INVALIDATE to request_type.
185 * nscd/nscd.c: Add invalidate cache option.
186 * nscd/nscd.conf: Change log directory to /var/log (FHS).
188 1999-09-24 Ulrich Drepper <drepper@cygnus.com>
190 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
191 not ovverwrite last group member with NULL pointer.
192 Reported by Thomas Winder <thomas.winder@newlogic.at>.
194 1999-09-24 Andreas Jaeger <aj@suse.de>
196 * stdio-common/tst-printf.c (main): Add a testcase for large
197 precision. Reported by Tymm Twillman <tymm@coe.missouri.edu>.
199 1999-09-24 Andreas Schwab <schwab@suse.de>
201 * math/bits/mathcalls.h: Fix last change. Also declare __finite.
203 1999-09-24 Andreas Jaeger <aj@suse.de>
205 * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
206 normalized_codeset. Reported by Belicky Zsolt <zsolt@prolan.hu>.
208 1999-09-23 Mark Kettenis <kettenis@gnu.org>
210 * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
211 variable. Define MORECORE_CLEARS to 2.
213 * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
214 doesn't clear the contents of memory that is reallocated after
215 decrementing the break value first. Update comment about
216 MORECORE_CLEARS, explaining the meaning of the values it can be
219 1999-09-23 Ulrich Drepper <drepper@cygnus.com>
221 * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
224 * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
230 1999-09-22 Andreas Jaeger <aj@suse.de>
232 * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
233 reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
235 1999-09-22 Andreas Schwab <schwab@suse.de>
237 * stdio-common/vfscanf.c: Fix width handling when scanning floats.
239 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
241 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
242 the source directory. Fixes PR libc/1059.
244 1999-09-21 Ulrich Drepper <drepper@cygnus.com>
246 * locale/programs/repertoire.c (repertoire_find_value): Abort if
247 rep parameter is NULL.
248 (repertoire_find_symbol): Likewise.
249 (repertoire_find_seq): Likewise.
251 1999-09-20 Jean-Louis Martineau <martinea@IRO.UMontreal.CA>
253 * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
254 returned errno value in some cases.
256 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
258 * iconvdata/Makefile (modules): Add GBK.
259 (distribute): Add gbk.c.
260 * iconvdata/gbk.c: New file.
261 * iconvdata/gconv-modules: Add GBK entry.
262 Contributed by Sean Chen <sean.chen@turbolinux.com>.
264 * locale/programs/ld-monetary.c (monetary_output): Remove
267 * locale/programs/ld-time.c (time_output): Correct expected number
270 * manual/filesys.texi (Testing File Access): Correct description of
273 1999-080-25 H.J. Lu <hjl@gnu.org>
275 * csu/defs.awk (.end): Only match with leading white spaces.
278 1999-09-19 Ulrich Drepper <drepper@cygnus.com>
280 * stdlib/isomac.c: Add va_copy to allowed macros.
284 1999-09-17 Andreas Schwab <schwab@suse.de>
286 * Makefile (clean): Also remove $(postclean) files.
288 1999-09-15 Andreas Jaeger <aj@suse.de>
290 * pwd/Makefile (otherlibs): Add for building with static-nss.
291 * inet/Makefile (otherlibs): Likewise.
293 1999-09-15 Andreas Jaeger <aj@suse.de>
295 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
296 function definition to avoid a compilation failure.
298 1999-09-15 Andreas Jaeger <aj@suse.de>
300 * stdlib/tst-environ.c (main): Add getenv regression test for
301 environment variable that's one character long.
303 1999-09-15 Andreas Jaeger <aj@suse.de>
305 * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
306 signal definitions to let glibc compile with older Linux versions
307 (2.0.10 to 2.1.100 or so).
309 1999-09-18 Roland McGrath <roland@baalperazim.frob.com>
311 * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
312 return zero to indicate no children died yet (assuming WNOHANG).
314 * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
316 1999-09-17 Roland McGrath <roland@baalperazim.frob.com>
318 * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
320 * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
321 Return _hurd_pgrp instead of 0.
323 1999-09-19 Roland McGrath <roland@baalperazim.frob.com>
325 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
326 pages rather than just reprotecting them. This way we don't hold on
327 to the backing space.
329 * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
330 Use __munmap instead of __vm_deallocate.
332 1999-09-18 Ulrich Drepper <drepper@cygnus.com>
334 * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
335 returned errno value in some cases.
337 1999-09-17 Andreas Jaeger <aj@suse.de>
339 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
340 to override user settings.
342 1999-09-17 Andreas Schwab <schwab@suse.de>
344 * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
345 using a pointer to it.
347 1999-09-16 Ulrich Drepper <drepper@cygnus.com>
349 * time/getdate.c (__getdate_r): Pass correct year to check_mday.
350 Reported by Vern Staats <staatsvr@asc.hpc.mil>.
352 1999-09-14 Ulrich Drepper <drepper@cygnus.com>
354 * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
356 * elf/elf.h (PF_MASKOS): New definition.
357 (EM_VAX): New definition.
359 1999-08-09 Scott Bambrough <scottb@netwinder.org>
361 * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
362 'unsigned char ftype[8]', and 'unsigned int init_flag' to
363 struct user_fp. These were added in version 2.2.12 of the
365 * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
366 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
367 The generic procfs.h included <asm/elf.h>. This causes
368 structure redefinition errors when <sys/user.h> and <sys/procfs.h>
369 are included in the same source file. Found when building GDB.
371 1999-09-13 Ulrich Drepper <drepper@cygnus.com>
373 * locale/langinfo.h: Remove byte-order dependent names.
374 * locale/categories.def: Update after removal of byte-order dependent
376 * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
377 with magic number in other byte order.
378 * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
379 * locale/C-collate.c: Remove initializers for other byte-order.
380 * locale/C-ctype.c: Likewise.
381 * locale/C-monetary.c: Likewise.
382 * locale/C-paper.c: Likewise.
383 * locale/C-time.c: Likewise.
384 * locale/lc-collate.c: Remove byte-order oriented initialization.
385 * locale/lc-ctype.c: Likewise.
386 * locale/lc-monetary.c: Likewise.
387 * locale/lc-time.c: Likewise.
388 * locale/programs/ld-address.c: Don't generate output in both
390 * locale/programs/ld-ctype.c: Likewise.
391 * locale/programs/ld-paper.c: Likewise.
392 * locale/programs/ld-time.c: Likewise.
393 * time/strftime.c (NLW): Don't use different byte-orders.
394 * wctype/cname-lookup.h (cname_lookup): Likewise.
396 * Makeconfig (localedir): Define using libdir, not datadir.
397 (msgcatdir): New variable.
398 * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
399 * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
401 * intl/Makefile (install-others): Install locale.alias in msgcatdir.
402 (CPPFLAGS): Define paths using msgcatdir.
403 * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
404 * po/Makefile (mo-installed): Define using msgcatdir.
406 * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
408 1999-09-12 Ulrich Drepper <drepper@cygnus.com>
410 * stdio-common/vfprintf.c: Remove limitation on size of precision
413 * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
414 glibc by defining internal_function if it isn't already.
416 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
417 fails don't rely on errno value.
418 (getanswer_r): Set *ERRNOP in error cases.
420 * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
421 (gaih_inet_serv): Return EIA_NODATA if name is known but has no
422 associated data. Test for matching numeric address and family.
423 (getaddrinfo): Remember EAI_NODATA result and return this in case
425 Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
427 * locale/programs/ld-address.c: Fix handling of non-existing
428 definitions for this category. Correctly ignore content of this
429 category is this is necessary.
430 * locale/programs/ld-collate.c: Likewise.
431 * locale/programs/ld-ctype.c: Likewise.
432 * locale/programs/ld-identification.c: Likewise.
433 * locale/programs/ld-measurement.c: Likewise.
434 * locale/programs/ld-messages.c: Likewise.
435 * locale/programs/ld-monetary.c: Likewise.
436 * locale/programs/ld-name.c: Likewise.
437 * locale/programs/ld-numeric.c: Likewise.
438 * locale/programs/ld-paper.c: Likewise.
439 * locale/programs/ld-telephone.c: Likewise.
440 * locale/programs/ld-time.c: Likewise.
441 * locale/programs/locfile.h (handle_copy): Take extra parameter
442 with result pointer. Fill in name of locale from which to copy.
443 Correctly read token after `END'.
445 * locale/programs/localedef.c (main): Correct handling copy.
446 (add_to_readlist): Take extra parameter which says whether we
447 are supposed to read the file or not.
448 (find_locale): Call add_to_readlist with extra parameter set to 0.
450 * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
451 instead of wrong number in array definitions.
452 (add_to_readlist): Update prototype.
454 * locale/programs/locfile.c (locfile_read): Mark categories not
455 available in source file as read.
456 (write_all_categories): Fix typo.
458 * locale/programs/locales.h: Removed.
460 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
462 * elf/elf.h (SHF_MASKOS): Added.
464 * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
466 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
468 * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
470 1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
472 * configure.in: Fix make version test for make 3.77.95 and later
474 Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
476 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
478 * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
480 * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
483 * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
485 1999-09-09 Andreas Schwab <schwab@suse.de>
487 * elf/link.h: Fix comment.
489 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
491 * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
493 * math/math.h: Pretty print.
495 1999-09-10 Andreas Schwab <schwab@suse.de>
497 * sysdeps/generic/getenv.c (getenv): Fix lookup for single
498 character variable on bigendian platforms without unaligned memory
501 1999-09-07 Cristian Gafton <gafton@redhat.com>
503 * sysdeps/unix/sysv/linux/sys/raw.h: New file
504 * sysdeps/unix/sysv/linux/Dist: Add raw.h.
505 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
507 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
509 * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
511 * time/ap.c: Removed. It was not used.
512 * time/date.c: Likewise.
513 * sysdeps/unix/nlist.c: Likewise.
514 * sysdeps/generic/nlist.c: Likewise.
515 * sysdeps/generic/varargs.h: Likewise.
516 * stdio-common/scanf11.c: Likewise.
517 * stdio-common/scanf6.c: Likewise.
518 * scripts/=__ify: Likewise.
519 * scripts/printsources: Likewise.
520 * resolv/getnetnamadr.c: Likewise.
521 * posix/id.c: Likewise.
522 * misc/ioctltst.c: Likewise.
523 * misc/nlist.h: Likewise.
524 * math/test-math.h: Likewise.
525 * include/nlist.h: Likewise.
527 1999-09-06 Andreas Schwab <schwab@suse.de>
529 * time/tzset.c (compute_change): Replace slow loop to compute T by
532 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
534 * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
535 escape sequences out even if the character itself does not fit
538 * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
540 1999-08-31 H.J. Lu <hjl@gnu.org>
542 * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
544 1999-09-05 Roland McGrath <roland@baalperazim.frob.com>
546 * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
547 it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
548 (_hurd_priority_which_map):
550 1999-09-04 Ulrich Drepper <drepper@cygnus.com>
552 * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
554 1999-09-03 Andreas Schwab <schwab@suse.de>
556 * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
557 fork from __syscall_fork to __libc_fork.
558 * posix/Versions: Add __libc_fork and __vfork to version
561 1999-08-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
563 * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
564 dependencies in sort.
566 1999-09-01 H.J. Lu <hjl@gnu.org>
568 * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
570 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
571 <sys/user.h> instead of <asm/user.h>.
573 1999-09-02 Ulrich Drepper <drepper@cygnus.com>
575 * elf/elf.h: Update PARISC-specific flags and symbolic names.
577 1999-09-01 Ulrich Drepper <drepper@cygnus.com>
579 * elf/elf.h: Update PARISC relocations.
581 1999-08-31 Scott Bambrough <scottb@netwinder.org>
583 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
584 #ifdef statement to prevent it from being included twice.
585 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
586 #include <bits/armsigctx.h>.
588 1999-08-31 Andreas Schwab <schwab@suse.de>
590 * locale/C-collate.c: Add missing initialisations.
591 * locale/C-ctype.c: Likewise.
593 1999-08-31 Ulrich Drepper <drepper@cygnus.com>
595 * time/strftime.c (my_strftime): Remove unneeded variable len.
597 * time/strptime.c: Undo last change.
599 1999-08-30 Ulrich Drepper <drepper@cygnus.com>
601 * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
602 Change charset.h to charmap.h.
603 (categories): Add new categories. Leave out collate for now.
605 * locale/categories.def: Add definitions for new categories.
606 * locale/langinfo.h: Likewise.
607 * locale/locale.h: Likewise.
608 * locale/C-address.c: New file.
609 * locale/C-identification.c: New file.
610 * locale/C-measurement.c: New file.
611 * locale/C-name.c: New file.
612 * locale/C-paper.c: New file.
613 * locale/C-telephone.c: New file.
614 * locale/lc-address.c: Likewise.
615 * locale/lc-identification.c: Likewise.
616 * locale/lc-measurement.c: Likewise.
617 * locale/lc-name.c: Likewise.
618 * locale/lc-paper.c: Likewise.
619 * locale/lc-telephone.c: Likewise.
620 * locale/C-ctype.c: Update for locale rewrite.
621 * locale/C-messages.c: Likewise.
622 * locale/C-monetary.c: Likewise.
623 * locale/C-time.c: Likewise.
624 * locale/lc-collate.c: Likewise.
625 * locale/lc-ctype.c: Likewise.
626 * locale/lc-monetary.c: Likewise.
627 * locale/lc-time.c: Likewise.
628 * locale/localeinfo.h: Likewise.
629 * locale/newlocale.c: Likewise.
630 * locale/setlocale.c: Likewise.
631 * locale/weight.h: Likewise.
632 * locale/findlocale.c: Unconditionally use mmap.
633 Handle new categories.
634 * locale/loadlocale.c: Likewise.
635 * locale/iso-3166.def: New file.
636 * locale/iso-639.def: New file.
637 * locale/programs/charmap-kw.gperf: Add new keywords.
638 * locale/programs/locfile-kw.gperf: Likewise.
639 * locale/programs/locfile-token.h: Define new tokens.
640 * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
641 * locale/programs/charmap.h: New file.
642 * locale/programs/charset.h: Removed.
643 * locale/programs/config.h: Add __LC_LAST.
644 * locale/programs/lc-address.c: New file.
645 * locale/programs/lc-identification.c: New file.
646 * locale/programs/lc-measurement.c: New file.
647 * locale/programs/lc-name.c: New file.
648 * locale/programs/lc-paper.c: New file.
649 * locale/programs/lc-telephone.c: New file.
650 * locale/programs/lc-collate.c: Update for locale rewrite.
651 * locale/programs/lc-ctype.c: Likewise.
652 * locale/programs/lc-messages.c: Likewise.
653 * locale/programs/lc-monetary.c: Likewise.
654 * locale/programs/lc-numeric.c: Likewise.
655 * locale/programs/lc-time.c: Likewise.
656 * locale/programs/locale.c: Likewise.
657 * locale/programs/localedef.c: Likewise.
658 * locale/programs/locfile.c: Likewise.
659 * locale/programs/repertoire.c: Likewise.
660 * locale/programs/repertoire.h: Likewise.
661 * locale/programs/locfile.c: Update prototypes.
662 Update handle_copy definition.
663 * locale/programs/linereader.c: Add handling of wide char strings and
664 new definition file syntax.
665 * locale/programs/linereader.h (struct token): Add elements for wide
667 * locale/programs/locale-spec.c: Disable handling of collation
669 * locale/programs/simple-hash.h: Cleanup.
670 * locale/programs/stringtrans.h: Handle quite of end of line.
671 * string/strcoll.c: Fall back on strcmp for now.
672 * string/strxfrm.c: Fall back on strncpy/strlen for now.
673 * time/strftime.c: Use new wide character data for wcsftime.
674 * time/strptime.c: Remove _nl_C_LC_TIME declaration.
675 * wctype/cname-lookup.h: Update for new LC_CTYPE data.
677 * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
678 compiling for i386 to avoid i686-like GOT pointer computation.
680 * db2/db_int.h: Change tsl_t type to u_int32_t.
681 * db2/mutex/mutex.c: Allow Alpha mutex definitions.
682 * db2/mutex/alpha.h: New file.
683 * db2/mutex/sparc.gcc: Fix store code for v9. Simplify clear code.
684 * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
686 Patches by Richard Henderson.
688 * stdlib/tst-environ.c: Add cast to avoid warning.
689 * timezone/test-tz.c: Use setenv instead of putenv.
691 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
693 * manual/libc.texinfo: Update version and date.
695 * manual/locale.texi (Formatting Numbers): Fix @node pointers.
697 * manual/filesys.texi (Working with Directory Trees): Add missing @code.
698 (File System Interface): Correct entry.
699 (Permission Bits): Add missing commata after @xref.
701 1999-08-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
703 * timezone/tst-timezone.c (main): Don't pass const strings to
704 putenv to avoid warnings.
706 * posix/regexbug1.c: Include <stdio.h> for puts prototype.
708 1999-08-29 Thorsten Kukuk <kukuk@suse.de>
710 * nis/Versions: Add _nss_*_getipnodebyname_r.
711 * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
712 * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
713 * nss/Versions: Add _nss_files_getipnodebyname_r.
715 1999-08-28 H.J. Lu <hjl@gnu.org>
717 * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
720 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
722 * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
724 * inet/netinet/in.h: Likewise.
725 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
726 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
728 1999-08-28 Ulrich Drepper <drepper@cygnus.com>
730 * malloc/malloc.c (ptmalloc_init): Don't use variables to set
731 thresholds for SUID binaries. [PR libc/1277]
733 * posix/regexbug1.c: Add one more similar case.
735 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
737 * manual/install.texi (Running make install): Give examples for
738 timezone and locale installation.
740 1999-08-28 Zack Weinberg <zack@bitmover.com>
742 * glibcbug.in: Get CCVERSION from autoconf substitution.
743 * configure.in: Calculate and substitute CCVERSION.
745 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
747 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
748 partially reverting a patch from 1998-12-29. We just can't change
749 the flags, kernels with different flags lead to
752 1999-08-26 Andreas Schwab <schwab@suse.de>
754 * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
756 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
758 * inet/rexec.c (rexec): Free memory if strings were allocated in
759 ruserpass. Reported by Andrew Morton <morton@nortelnetworks.com>.
761 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
763 * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
765 * manual/argp.texi: Fixing language and typos.
766 * manual/conf.texi: Likewise.
767 * manual/contrib.texi: Likewise.
768 * manual/ctype.texi: Likewise.
769 * manual/filesys.texi: Likewise.
770 * manual/install.texi: Likewise.
771 * manual/job.texi: Likewise.
772 * manual/lang.texi: Likewise.
773 * manual/llio.texi: Likewise.
774 * manual/locale.texi: Likewise.
775 * manual/math.texi: Likewise.
776 * manual/nss.texi: Likewise.
777 * manual/pipe.texi: Likewise.
778 * manual/signal.texi: Likewise.
779 * manual/socket.texi: Likewise.
780 * manual/stdio.texi: Likewise.
781 * manual/sysinfo.texi: Likewise.
782 * manual/users.texi: Likewise.
783 Patches by Neil Booth <NeilB@earthling.net>.
785 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
787 * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
788 unsigned to avoid warning. [PR libc/1271].
790 * conform/conformtest.pl: Allow testing regex.h which requires
791 sys/types.h being included.
793 * conform/data/regex.h-data: Allow *_t types.
794 * conform/data/pwd.h-data: Likewise.
795 * conform/data/sched.h-data: Likewise
796 * conform/data/pthread.h-data: Likewise.
797 * conform/data/search.h-data: Likewise.
799 * misc/search.h: Avoid namespace pollution.
801 * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
802 pwd.h, and pthread.h.
803 * conform/data/pthread.h-data: New file.
804 * conform/data/pwd.h-data: New file.
805 * conform/data/regex.h-data: New file.
806 * conform/data/sched.h-data: New file.
807 * conform/data/search.h-data: New file.
809 * NAMESPACE: Add REG_ for regex.h.
811 * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
814 * configure.in (libc_cv_asm_global_directive): Indent .text in
815 test code so that the lame HPUX compiler recognizes it.
816 * sysdeps/hppa/bits/endian.h: New file.
817 * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
818 * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
819 * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
820 * sysdeps/unix/sysv/hpux/bits/types.h: New file.
822 * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
823 Patch by John Tobey <jtobey@banta-im.com>.
825 * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
827 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
828 old_siocfifconf definition to toplevel.
829 (__protocol_available): Remove old_siocfifconf definition.
831 1999-08-25 Mark Kettenis <kettenis@gnu.org>
833 * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
834 really dealing with a master pseudo terminal, and really returning
835 the name of the associated slave pseudo terminal by checking the
837 * sysdeps/unix/sysv/linux/pty-private.h: Removed.
838 * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
840 1999-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
842 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
843 underscore in _llseek entry.
845 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
848 * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
849 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
851 * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
852 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
854 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
856 * inet/Makefile (routines): Add getipnodebynm.
857 * inet/getipnodebynm.c: New file.
858 * nss/digits_dots.c: If HAVE_TYPE is define type contains the
860 * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
861 EXTRA_ARGS_VALUE is not already done.
862 (internal_getent): Allow extra parameters and pass them to parse_line.
863 (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
864 (_nss_files_get##name##_r): Likewise.
865 * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
866 and EXTRA_ARGS_VALUE to pass flags and type to parser.
867 Add getipnodebyname function.
868 * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
869 EXTRA_ARGS_VALUE is not already done.
870 (parse_line): Add EXTRA_ARGS_DECL to parameter list.
871 * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
873 (_nss_db_get##name##_r): Pass extra parameters to lookup.
874 (_nss_db_get,ENTNAME_r): Likewise.
875 * sysdeps/generic/if_index.c (__protocol_available): New function.
876 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
878 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
880 * login/pty-private.h: Move to...
881 * sysdeps/generic/pty-private.h: ...here.
882 * sysdeps/unix/sysv/linux/pty-private.h: New file. Linux specific
884 * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
887 * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
890 * conform/conformtest.pl (@headers): Add monetary.h-data,
891 mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
892 * conform/data/monetary.h-data: New file.
893 * conform/data/mqueue.h-data: New file.
894 * conform/data/ndbm.h-data: New file.
895 * conform/data/nl_types.h.h-data: New file.
896 * conform/data/poll.h-data: New file.
898 * stdio-common/Makefile (test): Add tst-cookie.
899 * stdio-common/tst-cookie.c: New file.
901 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
902 changed in last patch. Reported by Ralf Baechle.
904 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
906 * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
908 * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
909 Patches by Ralf Baechle <ralf@uni-koblenz.de>
911 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
913 * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
916 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
918 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
920 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
922 * misc/libgen.h: Don't take basename macro as taking arguments.
924 * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
926 * sysdeps/i386/bits/huge_val.h: Likewise.
927 * sysdeps/i386/bits/huge_val.h: Likewise.
928 * sysdeps/ieee754/bits/huge_val.h: Likewise.
929 * sysdeps/m68k/bits/huge_val.h: Likewise.
930 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
931 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
933 * conform/Makefile: New file.
934 * conform/conformtest.pl: New file.
935 * conform/data/aio.h-data: New file.
936 * conform/data/assert.h-data: New file.
937 * conform/data/cpio.h-data: New file.
938 * conform/data/ctype.h-data: New file.
939 * conform/data/dirent.h-data: New file.
940 * conform/data/dlfcn.h-data: New file.
941 * conform/data/errno.h-data: New file.
942 * conform/data/fcntl.h-data: New file.
943 * conform/data/float.h-data: New file.
944 * conform/data/fmtmsg.h-data: New file.
945 * conform/data/fnmatch.h-data: New file.
946 * conform/data/ftw.h-data: New file.
947 * conform/data/glob.h-data: New file.
948 * conform/data/grp.h-data: New file.
949 * conform/data/iconv.h-data: New file.
950 * conform/data/inttypes.h-data: New file.
951 * conform/data/iso646.h-data: New file.
952 * conform/data/langinfo.h-data: New file.
953 * conform/data/libgen.h-data: New file.
954 * conform/data/locale.h-data: New file.
955 * conform/data/math.h-data: New file.
957 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
959 * posix/execvp.c (execvp): Correct copying of file name.
961 1999-08-23 Mark Kettenis <kettenis@gnu.org>
963 * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
965 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
967 * stdio-common/Makefile: Move addition to routines to the right place.
969 1999-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
971 * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file. Neccessary
972 since mips*-linux has ECANCELED.
974 1999-08-23 Andreas Schwab <schwab@suse.de>
976 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
977 SIGCONTEXT_EXTRA_ARGS.
978 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
979 * sysdeps/generic/sigcontextinfo.h: Likewise.
980 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
981 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
982 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
983 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
984 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
985 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
987 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
989 * posix/regexbug1.c: Make it an error if the test fails.
991 1999-08-23 Andreas Schwab <schwab@suse.de>
993 * posix/regex.c (re_match_2_internal): Correct check for charset
994 after exactn in loop.
996 1999-08-22 Ulrich Drepper <drepper@cygnus.com>
998 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
999 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1000 Patch by Joel Klecker.
1002 * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
1003 (__gconv_find_transform): Update prototype.
1004 (__gconv_open): Likewise.
1005 * iconv/gconv_open.c: Take extra parameter and pass it to
1006 __gconv_find_transform.
1007 * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
1008 flags. If GCONV_AVOID_NOCONV flag is set don't return copying
1010 * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
1011 * wcsmbs/wcsmbsload.c: Likewise.
1012 * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
1014 * intl/gettextP.h: Likewise.
1015 * intl/loadmsgcat.c: Likewise.
1017 * posix/regexbug1.c: New file.
1018 * posix/Makefile (tests): Add regexbug1.
1020 1999-08-22 Mark Kettenis <kettenis@gnu.org>
1022 * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
1023 * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
1024 installing PORT in the descriptor cell.
1026 1999-08-19 Roland McGrath <roland@baalperazim.frob.com>
1028 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
1029 TIMEOUT as outputs of the asm to indicate that the signal thread
1031 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
1032 mach_msg if only sending or only receiving (i.e., not an RPC). When
1033 making an RPC that might get interrupted, save OPTION and the portion
1034 of the message buffer that gets clobbered by an EINTR reply message,
1035 and properly restore them before attempting to retry the request
1038 1999-08-21 Mark Kettenis <kettenis@gnu.org>
1040 * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
1041 definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
1042 CHAR_T, UCHAR_T and WIN_T to make the code compile again when
1043 stdio is used instead of libio.
1044 * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
1045 definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
1046 to make the code compile again when stdio is used instead of
1048 (vfprintf): Only check for correct orientation if ORIENT is
1050 * stdio-common/Makefile (routines): Only add vfwprintf and
1051 vfwscanf if we're using libio.
1053 1999-08-21 Mark Kettenis <kettenis@gnu.org>
1055 * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
1056 any additional prototype just as we do for libio.
1058 1999-08-21 Mark Kettenis <kettenis@gnu.org>
1060 * include/bits/xopen_lim.h: Do not define STREAM_MAX and
1061 TZNAME_MAX. These limits are not X/Open specific.
1062 * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
1065 1999-08-21 Mark Kettenis <kettenis@gnu.org>
1067 * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
1068 UIO_MAXIOV is left undefined in sys/uio.h.
1069 * stdio-common/stdio_lim.h.in: Adapt for change above.
1071 1999-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1073 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
1074 * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
1075 Patches by Ralf Baechle <ralf@uni-koblenz.de>
1077 1999-08-21 Ulrich Drepper <drepper@cygnus.com>
1079 * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
1081 1999-08-20 Ulrich Drepper <drepper@cygnus.com>
1083 * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
1085 * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
1086 call. It should not be necessary andis harmful for Alpha.
1088 * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
1089 type. [PR libc/1269]
1091 * posix/execvp.c (execvp): Allocate array name of correct size.
1092 Optimize inner loop. Use execve directly, not execv.
1094 * elf/elf.h: Corrected SHT_ values from new draft.
1096 * intl/gettextP.h (struct loaded_domain): Add conv element.
1097 * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
1098 Instead of returning found message directly convert it using iconv
1099 if a conversion was found when opening the file.
1100 * intl/loadinfo.h: Protect against multiple inclusion.
1101 Declare _nl_find_msg.
1102 * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
1103 in the message file and if necessary find approrpiate
1104 conversion to match currently selected charset.
1105 * include/libintl.h: Declare __dgettext and __dcgettext.
1106 * include/iconv.h: New file.
1108 1999-08-20 Andreas Schwab <schwab@suse.de>
1110 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
1112 1999-08-19 Ulrich Drepper <drepper@cygnus.com>
1114 * sysdeps/unix/sysv/linux/execve.c: New file. This version terminates
1115 all threads [PR libc/1223].
1117 * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
1120 * configure.in: Search for programs with prefix gnu* and g* first.
1123 * dirent/Makefile (routines): Add getdents64.
1124 * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
1126 * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
1127 compiled with _FILE_OFFSET_BITS=64.
1128 * sysdeps/generic/getdents64.c: New file.
1129 * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
1130 __lseek for getdirentries64 definition.
1132 * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
1134 * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
1135 _FILE_OFFSET_BITS=64.
1137 * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
1140 * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
1141 after we have the lock.
1143 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
1144 Patch by Richard Henderson.
1146 1999-08-19 Andreas Schwab <schwab@suse.de>
1148 * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
1149 and call _IO_fwide, to get the wide stream state initialized
1150 correctly. Don't set _IO_JUMPS.
1151 * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
1152 * libio/vswprintf.c (_IO_vswprintf): Likewise. Pass
1153 _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
1156 1999-08-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1158 * math/libm-test.c (jn_test): Fix typo in description.
1159 (erfc_test): Add some more tests.
1160 (erf_test): Add some more tests.
1162 1999-08-19 Andreas Schwab <schwab@suse.de>
1164 * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
1165 expression using $(exceptions).
1167 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
1169 * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
1171 * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
1172 allocated so far. [PR libc/1261].
1174 * math/libm-test.c (j0_test): Adjust deltas for m68k.
1175 (jn_test): Likewise.
1177 * dirent/dirent.h: Only define ino64_t if not already done.
1178 * posix/sys/types.h: Likewise.
1180 * ctype/ctype.h: Avoid useless #endif #if pairs.
1182 * dirent/dirent.h: Define ino_t and ino64_t if not done already.
1183 (seekdir): Fix type of second parameter.
1184 * sysdeps/generic/seekdir.c: Likewise.
1185 * sysdeps/mach/hurd/seekdir.c: Likewise.
1186 * sysdeps/unix/seekdir.c: Likewise.
1188 * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
1190 1999-08-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1192 * manual/install.texi (Configuring and compiling): Clarify ix86
1195 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
1197 * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
1198 * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
1199 * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
1200 stdio_lim.h. Define LONG_BIT and WORD_BIT.
1202 * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
1204 * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
1206 * misc/search.h: Don't define NULL.
1208 * posix/sys/types.h: Define blksize_t if it hasn't happened.
1209 Only define key_t and blkcnt_t if it hasn't happened before.
1210 Define blksize_t if not happened before.
1211 * io/sys/stat.h: Don't define pid_t. Define blkcnt_t and blksize_t.
1212 * sysdeps/generic/bits/types.h: Define __blksize_t.
1213 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1214 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1215 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1216 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1217 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1218 * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
1220 (struct stat64): Likewise.
1221 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1222 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
1223 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
1224 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1225 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1226 * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
1227 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
1229 * stdlib/getsubopt.c: Correct type of second argument.
1230 * stdlib/stdlib.h: Likewise.
1232 * stdlib/monetary.h: Don't include sys/types.h. Define only size_t
1235 * sysdeps/generic/putenv.c: Correct type of parameter.
1236 * stdlib/stdlib.h: Likewise.
1238 * sysdeps/generic/msgsnd.c: Correct type of second parameter.
1239 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
1240 * sysvips/sys/msg.h: Likewise.
1242 * sysdeps/generic/semop.c: Correct type of third parameter.
1243 * sysdeps/unix/sysv/linux/semop.c: Likewise.
1244 * sysvipc/sys/sem.h: Likewise. Don't include sys/types.h, define
1247 * sysdeps/generic/shmget.c: Correct type of second parameter.
1248 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
1249 * sysvips/sys/shm.h: Likewise. Don't include unistd.h and sys/types.h.
1250 Declare __getpagesize here.
1252 * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
1254 * sysdeps/gnu/bits/ipc.h: Likewise.
1255 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
1256 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1257 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1258 * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
1261 * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
1263 * debug/versions: Export __cyg_profile_func_enter and
1264 __cyg_profile_func_exit.
1266 * math/bits/mathcalls.h: Pretty print.
1268 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
1270 * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
1271 case for new tzdata.
1273 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
1275 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1276 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1277 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1278 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1280 * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
1282 * sysdeps/generic/ualarm.c (ualarm): Change return value and
1283 parameter type to useconds_t.
1284 * sysdeps/unix/bsd/ualarm.c: Likewise.
1286 * sysdeps/generic/usleep.c (usleep): Change parameter type to
1288 * sysdeps/unix/sysv/linux/usleep.c: Likewise.
1289 * sysdeps/mach/usleep.c: Likewise.
1291 * locale/weight.h: Include <errno.h>.
1293 * posix/sys/types.h: Define type useconds_t if not done already.
1294 * posix/unistd.h: Likewise. Use this in ualarm and usleep
1296 * sysdeps/generic/bits/types.h: Define type __useconds_t.
1297 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1298 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1299 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1300 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1301 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1303 * dirent/dirent.h (telldir): Change return type to long int.
1304 * sysdeps/generic/telldir.c: Likewise.
1305 * sysdeps/mach/hurd/telldir.c: Likewise.
1306 * sysdeps/unix/telldir.c: Likewise.
1307 * sysdeps/unix/bsd/telldir.c: Likewise. Fix locking problem.
1309 * locale/weight.h: Set errno if an invalid character is found.
1311 1999-08-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1313 * math/libm-test.c (erfc_test): Add test for example from PR
1315 (erf_test): Likewise.
1317 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
1319 * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
1320 rewrite. Patch by Alan Stern <stern@kitsilano.rowland.org>.
1322 * timezone/private.h: Update from tzcode1999e.
1323 * timezone/zic.c: Likewise.
1325 * timezone/africa: Update from tzdata1999e.
1326 * timezone/antarctica: Likewise.
1327 * timezone/asia: Likewise.
1328 * timezone/australasia: Likewise.
1329 * timezone/europe: Likewise.
1330 * timezone/leapseconds: Likewise.
1331 * timezone/northamerica: Likewise.
1332 * timezone/southamerica: Likewise.
1334 * stdio-common/vfprintf.c (process_string_arg): Correct last patch
1335 and write correct number of bytes in case of %ls with precision.
1336 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1338 1999-08-16 Ulrich Drepper <drepper@cygnus.com>
1340 * nscd/nscd.init: Test for kernel version and make LSB compliant.
1341 Patch by Christian Gafton.
1343 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
1344 O_RSYNC. Patch by Christian Gafton.
1346 * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
1347 possibly unterminated strings for %ls when a precision is
1349 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
1351 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
1352 update_conversion_ptrs.
1353 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1355 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
1357 * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
1358 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1360 * wcsmbs/Makefile (tests): Add tst-wcsnlen.
1361 * wcsmbs/tst-wcsnlen.c: New file.
1363 1999-08-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1365 * libio/ioputs.c (_IO_puts): Add missing brace.
1367 1999-07-20 Geoff Keating <geoffk@cygnus.com>
1369 * math/libm-test.c: Tweak deltas for a clean run on ppc.
1371 1999-08-10 H.J. Lu <hjl@gnu.org>
1373 * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
1374 (vfprintf): Likewise.
1375 * stdio-common/vfscanf.c (ORIENT): Likewise.
1376 * libio/genops.c (__underflow): Likewise.
1377 (__uflow): Likewise.
1378 * libio/iofputs.c (_IO_fputs): Likewise.
1379 * libio/ioftell.c (_IO_ftell): Likewise.
1380 * libio/iofwrite.c (_IO_fwrite): Likewise.
1381 * libio/ioputs.c (_IO_puts): Likewise.
1382 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
1383 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
1385 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
1387 * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
1389 1999-08-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1391 * manual/job.texi (Process Group Functions): Document getpgid,
1394 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
1396 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
1397 initialize si_pid from it.
1398 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
1400 * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
1401 * rt/aio_misc.h (struct waitlist): Add caller_pid element.
1402 (struct requestlist): Likewise.
1403 Adjust prototypes of __aio_notify_only and __aio_sigqueue.
1404 * rt/aio_notify.c (__aio_notify_only): Take extra parameter. Pass it
1406 (__aio_notify): Pass caller PID to __aio_notify_only.
1407 * rt/aio_suspend.c: Initialize caller_pid.
1408 * rt/lio_listio.c: Likewise.
1409 * rt/lio_listio64.c: Likewise.
1411 * rt/lio_listio.c: If nothing has to be done free mutex before
1413 * rt/lio_listio64.c: Likewise.
1415 1999-08-10 H.J. Lu <hjl@gnu.org>
1417 * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
1420 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
1422 * elf/elf.h: Define ElfXX_Versym.
1423 * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
1426 * stdio-common/vfprintf.c (process_string_arg): Handle precisions
1427 for string output correctly in the wide character case.
1428 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
1430 * intl/locale.alias: Add catalan.
1432 1999-08-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1434 * manual/install.texi (Configuring and compiling): Mention CFLAGS.
1436 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
1438 * po/pt_BR.po: New file.
1440 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1442 * math/libm-test.c (yn_test): Adjust deltas for i386.
1443 (ccosh_test): Likewise.
1444 (jn_test): Likewise.
1446 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
1448 * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
1450 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
1452 * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
1455 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1457 * configure.in: install-sh lives now in scripts subdir.
1458 PR libc/1255 (bug 4).
1460 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
1462 * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
1467 1999-08-11 Thorsten Kukuk <kukuk@suse.de>
1469 * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
1471 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
1473 * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
1476 1999-08-10 Andreas Schwab <schwab@suse.de>
1478 * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
1481 1999-08-09 Scott Bambrough <scottb@netwinder.org>
1483 * elf/elf.h: Added definition of ELFOSABI_ARM.
1484 * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
1485 VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
1486 object's header and ABI values are acceptable.
1487 (VALID_ELF_HEADER): New macro; provide default definition.
1488 (VALID_ELF_OSABI): New macro; provide default definition.
1489 (VALID_ELF_ABIVERSION): New macro; provide default definition.
1490 * sysdeps/arm/dl-machine.h Define ARM specific versions of
1491 VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
1493 1999-08-09 Andreas Schwab <schwab@suse.de>
1495 * inet/tst-ipnode.c (main): Don't compare integer with NULL.
1497 1999-08-09 Thorsten Kukuk <kukuk@suse.de>
1499 * sunrpc/svc_run.c (svc_run): Free my_pollfd.
1501 1999-08-09 Andreas Schwab <schwab@suse.de>
1503 * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
1505 1999-08-08 Ulrich Drepper <drepper@cygnus.com>
1507 * sysdeps/ieee754/ieee754.h: Handle platforms with special
1508 __FLOAT_WORD_ORDER. Patch by Joel Klecker <jk@espy.org>.
1510 * string/bits/string2.h: Mark void* operations as extensions.
1511 * sysdeps/i386/i486/bits/string.h: Likewise.
1513 * debug/Makefile (routines): Add noophooks.
1514 (extra-libs): Add libpcprofile. Add rules to build libpcprofile.
1515 * debug/noophooks.c: New file.
1516 * debug/pcprofile.c: New file.
1518 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
1520 * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
1521 systems which allow using the functions also on non-seekable
1524 * resolv/res_send.c (res_send): Recompute timeout for poll for
1525 each jump to `wait'.
1527 * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
1528 braces to avoid warnings.
1529 (IN6ADDR_LOOPBACK_INIT): Likewise.
1531 * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
1534 1999-08-06 H.J. Lu <hjl@gnu.org>
1536 * malloc/malloc.c: Initialize __libc_pagesize early.
1538 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
1540 * string/string-inlines.c: Undefined __USE_STRING_INLINES before
1543 * inet/Makefile (tests): Add tst-ipnode.
1544 * inet/tst-ipnode.c: New file.
1546 1999-08-06 Andreas Schwab <schwab@suse.de>
1548 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
1550 (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
1551 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
1552 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
1554 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
1555 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
1557 1999-08-06 Jakub Jelinek <jj@ultra.linux.cz>
1559 * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
1560 * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
1561 * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
1563 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
1565 * resolv/res_send.c (res_send): Don't test file descriptor for
1566 range, we use poll now. [PR libc/1240]
1568 1999-08-05 Ulrich Drepper <drepper@cygnus.com>
1570 * libio/genops.c (_IO_flush_all): Don't access elements beyond what
1571 2.0 defined if they are not available.
1573 1999-08-05 Thorsten Kukuk <kukuk@suse.de>
1575 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
1578 1999-08-04 Ulrich Drepper <drepper@cygnus.com>
1580 * rt/aio_read.c: Fix return value.
1581 * rt/aio_read64.c: Likewise.
1582 Reported by Christian Gafton.
1584 * rt/aio_write.c: Fix return value.
1585 * rt/aio_write64.c: Likewise.
1586 * rt/aio_fsync.c: Likewise.
1588 * rt/aio_misc.c: Set errno at correct place.
1590 * rt/aio_fsync.c: Test OP parameter for correct values.
1592 * hesiod/hesiod.c: Avoid emitting rcsid in object file.
1594 1999-08-04 Andreas Schwab <schwab@suse.de>
1596 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
1597 Initialize result to one.
1598 (GET_NPROCS_CONF_PARSER): Likewise.
1600 1999-08-03 Ulrich Drepper <drepper@cygnus.com>
1602 * inet/ether_hton.c: Pass errno pointer to NSS function.
1603 * inet/getnetgrent_r.c: Likewise.
1604 Reported by Marty Leisner <leisner@rochester.rr.com>.
1606 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
1608 * nis/nis_callback.c: Fix port problem on big-endian machines
1609 * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
1610 fields are always 32 bit.
1611 Patches from Paul Mackerras <paulus@cs.anu.edu.au>
1613 * nis/nss_nis/nis-service.c: Remove htons, port is always in
1615 * nis/nss_nisplus/nisplus-service.c: Rename number to port.
1617 1999-08-03 Andreas Schwab <schwab@suse.de>
1619 * sysdeps/posix/sigset.c: Unblock the signal after setting its
1620 disposition. Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
1621 avoid two calls to sigprocmask.
1623 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
1625 * sysdeps/generic/s_nexttowardf.c: Fix typo.
1627 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
1629 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
1630 Only allow rt signal frames. No SA_SIGINFO signals will have the
1631 siginfo_t just not filled out with SI_NOINFO code.
1632 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
1633 (register_dump): Take the above change into account.
1634 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
1635 (rt_signal_frame): Likewise.
1637 * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
1639 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
1641 * nis/nis_callback.c (internal_nis_do_callback): Use poll()
1642 instead of select().
1644 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
1646 * sysdeps/generic/s_nextafter.c: Define __nexttoward and
1647 nexttoward so something else so that aliasing works.
1649 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
1651 * sysdeps/generic/math_ldbl.h: Fix typo.
1652 * sysdeps/generic/strtold.c: Remove unbalanced #endif.
1653 * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
1655 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
1657 * elf/resolvfail.c: Include stdio.h. Also test dlerror.
1659 1999-08-01 Ulrich Drepper <drepper@cygnus.com>
1661 * elf/Makefile (tests): Add resolvfail. Add rules to build the
1663 * elf/resolvfail.c: New file.
1665 * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
1666 pass it to _dl_lookup_symbol.
1668 * elf/dl-error.c (_dl_signal_error): Optimize string generation a
1669 bit. Reword message.
1671 * dlfcn/dlerror.c: Make code thread-safe.
1673 1999-07-31 Roland McGrath <roland@baalperazim.frob.com>
1675 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
1676 initializer in CHECK: a bit size, not the type code repeated!
1678 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
1680 * string/tester.c: Add tests with constant arguments for strcpy
1683 1999-07-31 H.J. Lu <hjl@gnu.org>
1685 * string/bits/string2.h (__strcpy_small): Fix a typo.
1687 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
1689 * Makeconfig (link-libc): Always define it, not only for shared
1692 * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
1693 * sysdeps/i386/fpu/e_powf.S: Likewise.
1694 * sysdeps/i386/fpu/e_powl.S: Likewise. [PR libc/1213].
1696 * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
1697 * sysdeps/generic/e_gammal_r.c: Likewise. [PR libc/1212].
1699 1999-07-30 Andreas Schwab <schwab@suse.de>
1701 * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
1703 (__get_nprocs): Use it.
1704 (__get_nprocs_conf): Define as separate function if
1705 GET_NPROCS_CONF_PARSER is defined.
1706 * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
1708 * include/sys/sysinfo.h: New file.
1709 * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
1711 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
1713 1999-07-30 H.J. Lu <hjl@gnu.org>
1715 * libio/iofflush.c (fflush_unlocked): Weak aliase if
1716 _IO_MTSAFE_IO is not defined.
1717 * libio/clearerr.c (clearerr_unlocked): Likewise.
1718 * libio/feof.c (feof_unlocked): Likewise.
1719 * libio/ferror.c (ferror_unlocked): Likewise.
1720 * libio/fputc.c (fputc_unlocked): Likewise.
1721 * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
1722 * libio/getchar.c (getchar_unlocked): Likewise.
1723 * libio/putc.c (putc_unlocked): Likewise.
1724 * libio/putchar.c (putchar_unlocked): Likewise.
1726 1999-07-30 Thorsten Kukuk <kukuk@suse.de>
1728 * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
1729 svc_max_pollfd and svc_pollfd to GLIBC_2.2
1730 * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
1731 for svc_run/poll interface.
1732 * sunrpc/rpc/types.h: Add rpc*_t typedefs.
1733 * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
1735 * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
1736 rewrite other svc_getreq* functions to use svc_getreq_common.
1737 * sunrpc/svc_run.c: Use poll().
1739 1999-07-30 Andreas Schwab <schwab@suse.de>
1741 * Makerules: Put sysd-versions and Versions.all on
1742 postclean-generated instead of common-generated.
1744 1999-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1746 * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
1747 around and CLOCKS_PER_SEC is 1e6.
1749 1999-07-30 Ulrich Drepper <drepper@cygnus.com>
1751 * configure.in: Add test for local label subtraction.
1752 * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
1753 * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
1754 labels to reduce number of runtime relocations and move jump
1755 tables in read-only seciton.
1757 * malloc/malloc.c (ptmalloc_init): Correct last patch. The
1758 assignment cannot be moved.
1760 1999-07-29 H.J. Lu <hjl@gnu.org>
1762 * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
1763 if no threads are used.
1765 * libio/iofwrite.c: Add weak alias for _unlocked function if not
1767 * libio/iofread.c: Likewise.
1768 * libio/iofgets.c: Likewise.
1769 * libio/iofputs.c: Likewise.
1771 * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
1774 * stdlib/mbtowc.c: Include <string.h>.
1775 * stdlib/wctomb.c: Likewise.
1776 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
1777 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
1779 * misc/mntent_r.c: Include <alloca.h>.
1780 * elf/dl-runtime.c: Likewise.
1782 1999-07-29 Andreas Schwab <schwab@suse.de>
1784 * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
1785 all floating point formats supported by gcc. Error out for
1786 unhandled precisions.
1787 * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
1788 * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
1789 * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
1791 1999-07-29 Ulrich Drepper <drepper@cygnus.com>
1793 * sysdeps/generic/setenv.c: Move setenv code in new function
1794 __add_to_environ. Add new parameter specifying already
1795 constructed string for the environment.
1796 (setenv): Call __add_to_environ with new parameter set to NULL.
1797 (unsetenv): Really test all elements for duplicated name. Missed those
1798 cases where the two are following each other.
1799 * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
1800 * include/stdlib.h: Add prototype of __add_to_environ.
1801 * stdlib/tst-environ.c: New file.
1802 * stdlib/Makefile (tests): Add tst-environ.
1804 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
1806 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
1807 argument in realloc call.
1808 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
1810 Reported by Danny Braniss <danny@cs.huji.ac.il>.
1812 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
1814 * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
1816 * misc/efgcvt_r.c: Likewise.
1817 * misc/qefgcvt.c: Likewise.
1818 * misc/qefgcvt_r.c: Likewise.
1819 * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
1822 1999-07-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1824 * manual/math.texi (FP Function Optimization): Mention drawbacks.
1826 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
1828 * stdlib/mblen.c: Use static state.
1829 Reported by Bruno Haible <haible@ilog.fr>.
1831 * stdlib/mbtowc.c: Reset state for s == NULL.
1832 * stdlib/wctomb.c: Likewise.
1833 Reported by Bruno Haible <haible@ilog.fr>.
1835 * stdlib/mbstowcs.c: Do not use global state.
1836 Reported by Bruno Haible <haible@ilog.fr>.
1838 1999-07-28 Andeas Schwab <schwab@suse.de>
1840 * iconvdata/Makefile: Don't try to run iconv tests when cross
1843 1999-07-27 Mark Kettenis <kettenis@gnu.org>
1845 * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
1846 assembler code to switch stacks and call init1 outside this
1847 function. Inside `init' the code was optimized away by gcc
1848 2.95 since it was "clearly" unreachable.
1849 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1850 Do something similar for the trampoline code.
1852 1999-07-27 Ulrich Drepper <drepper@cygnus.com>
1854 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
1855 for the hinted protocol.
1857 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1859 * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
1861 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
1863 * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
1864 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
1865 * elf/dl-load.c (_dl_map_object): Likewise.
1866 * elf/do-lookup.h (do_lookup*): Likewise.
1867 * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
1868 * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
1870 * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
1872 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
1874 * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
1875 * sysdeps/generic/getpgrp.c: Likewise.
1876 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
1877 * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
1878 Patch by John Tobey <jtobey@banta-im.com>.
1880 * sysdeps/posix/wait3.c: Help compiling in presence of
1881 __transparent_union__. Reported by John Tobey <jtobey@banta-im.com>.
1883 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
1885 * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
1886 as much as possible. Declare them using .register pseudo-op if they
1888 * sysdeps/sparc/sparc64/lshift.S: Likewise.
1889 * sysdeps/sparc/sparc64/memchr.S: Likewise.
1890 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
1891 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1892 * sysdeps/sparc/sparc64/memset.S: Likewise.
1893 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1894 * sysdeps/sparc/sparc64/rshift.S: Likewise.
1895 * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
1896 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1897 * sysdeps/sparc/sparc64/strcat.S: Likewise.
1898 * sysdeps/sparc/sparc64/strchr.S: Likewise.
1899 * sysdeps/sparc/sparc64/strcmp.S: Likewise.
1900 * sysdeps/sparc/sparc64/strcpy.S: Likewise.
1901 * sysdeps/sparc/sparc64/strcspn.S: Likewise.
1902 * sysdeps/sparc/sparc64/strlen.S: Likewise.
1903 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1904 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1905 * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
1906 * sysdeps/sparc/sparc64/strspn.S: Likewise.
1907 * sysdeps/sparc/sparc64/sub_n.S: Likewise.
1908 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1909 Optimize trampoline code for .plt4-.plt32767.
1910 Fix trampolines for .plt32768+.
1912 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
1914 * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
1916 * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
1917 * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
1918 libc's private use (as assembly routine clobber it anyway).
1920 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1922 * README.template (configurations): The crypt add-on has a new
1924 * manual/install.texi (Installation): Likewise.
1926 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
1928 * time/time.h: Add forward for struct sigevent. Unix98 maybe
1929 requires to have a full definition but we wait for a bug report
1930 based on the test suite.
1932 * sysdeps/generic/clock_getres.c: New file.
1933 * sysdeps/generic/clock_gettime.c: New file.
1934 * sysdeps/generic/clock_settime.c: New file.
1935 * sysdeps/generic/timer_create.c: New file.
1936 * sysdeps/generic/timer_delete.c: New file.
1937 * sysdeps/generic/timer_getoverr.c: New file.
1938 * sysdeps/generic/timer_gettime.c: New file.
1939 * sysdeps/generic/timer_settime.c: New file.
1941 * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
1942 CLOCK_REALTIME, and TIMER_ABSTIME.
1943 * sysdeps/mach/hurd/bits/time.h: Likewise.
1944 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
1945 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
1947 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
1949 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
1952 * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
1954 * time/Makefile (routines): Add clock_getres, clock_gettime,
1955 clock_setres, timer_create, timer_delete, timer_getoverr,
1956 timer_gettime, and timer_settime.
1958 * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
1959 POSIX.1b. Add prototypes for clock and timer functions.
1961 1999-07-26 Roland McGrath <roland@baalperazim.frob.com>
1963 * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
1964 Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
1966 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
1968 * stdlib/wcstombs.c: Do not use global state.
1969 Reported by Bruno Haible <haible@ilog.fr>.
1971 * wcsmbs/wctob.c: Avoid sign extension when returning character.
1972 Reported by Bruno Haible <haible@ilog.fr>.
1974 * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
1975 of wide characters to convert do it right and don't overestimate
1976 by multiplying with MB_CUR_MAX.
1977 Reported by Bruno Haible <haible@ilog.fr>.
1979 1999-07-26 Jakub Jelinek <jj@ultra.linux.jz>
1981 * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
1982 (__stpcpy_small): Likewise.
1983 Union has no __uc member but __c.
1985 1999-07-26 Andreas Schwab <schwab@suse.de>
1987 * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
1989 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
1991 * libio/iofclose.c (_IO_new_fclose): Only fall back on
1992 _IO_old_fclose if doing versioning.
1994 * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
1996 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1998 * misc/mntent_r.c: Allow spaces and tabs in entry names by
1999 encoding these characters.
2000 * misc/tst-mntent.c: Add test case for addmntent and getmntent.
2002 * string/bits/string2.h: Fix aliasing problems.
2003 * sysdeps/i386/i486/bits/string.h: Likewise.
2004 * sysdeps/i386/bits/string.h: Likewise.
2006 1998-12-28 Geoff Keating <geoffk@ozemail.com.au>
2008 * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
2009 * elf/rtld.c (dl_main): Don't call malloc() between
2010 re-relocating the dynamic linker and running the application's crt0.
2012 1999-07-21 Paul D. Smith <psmith@gnu.org>
2014 * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
2015 glob.h to get __P() macro.
2017 * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
2019 (__strchrnul): This won't exist outside GLIBC, so create one.
2021 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
2023 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
2024 __ino64_t should be 32bit unsigned type on sparc32.
2025 Define __off64_t to __quad_t instead of __int64_t.
2026 Make __pic_pid_t unsigned on sparc32.
2028 1999-07-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2030 * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
2033 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
2035 * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
2036 of an error. Patch by Changwoo Ryu <cwryu@debian.org>.
2038 1999-07-24 Ulrich Drepper <drepper@cygnus.com>
2040 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
2043 * resolv/res_send.c: Add locks for res_send and res_close use.
2045 * elf/Makefile (dl-routines): Add preinit.
2046 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
2047 * elf/link.h (struct link_map): Add new field l_preinitcount.
2048 * elf/dl-preinit.c: New file.
2049 * elf/dynamic-link.h: Initialize l_preinitcount.
2050 * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
2052 * elf/dl-fini.c: Handle DT_FINI_ARRAY.
2053 * elf/link.h (struct link_map): Remove l_init_running. Add l_runcount
2055 * elf/dl-init.c: Handle DT_INIT_ARRAY.
2056 * elf/dynamic-link.h: Change parameters. Now only get link_map
2057 pointer. Calculate l_initcount.
2059 * elf/link.h (struct link_map): Add l_runpath_dirs.
2060 * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
2061 * elf/dl-load.c: Pretty print.
2062 (decompose_rpath): Take new parameter with info from where the path
2063 comes. Pass it the fillin_rpath.
2064 (_dl_init_paths): Initialize l_runpath_dirs.
2065 (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
2066 Search using RUNPATH after LD_LIBRARY_PATH.
2067 * elf/dl-support.c: Adjust comment.
2068 * elf/rtld.c: Adjust help message.
2070 1999-07-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2072 * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
2075 1999-07-23 Roland McGrath <roland@baalperazim.frob.com>
2077 * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
2078 match BSD value; previous value of 1<<8 was a typo. I bet nothing
2079 ever used this, so I'm not going to worry about compatibility.
2080 [__USE_GNU] (IUCLC, OLCUC): New macros.
2082 1999-07-23 Ulrich Drepper <drepper@cygnus.com>
2084 * include/libintl.h: Undefine N_ and _ first to avoid warnings.
2086 * elf/elf.h: Add ET_LOOS and ET_HIOS.
2087 Add various EM_* constants.
2088 Add SHN_LOOS and SHN_HIOS.
2089 Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
2090 Add SHF_MERGE and SHF_STRINGS.
2091 (ElfXX_Sym): Update description of st_other field.
2093 Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
2095 Update comment on DT_RPATH. Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
2096 DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
2097 Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
2099 * posix/unistd.h: Move declaration of __libc_enable_secure to...
2100 * include/unistd.h: ...here.
2102 * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
2103 * elf/dl-deps.c (expand_dst): Likewise.
2105 * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
2106 based on DT_FLAGS value.
2108 * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
2109 Add test for symbols marked STV_HIDDEN.
2110 * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
2111 add undef_map. Compute reference_name locally. Update call to
2113 (_dl_lookup_symbol_skip): Likewise.
2114 (_dl_lookup_versioned_symbol): Likewise.
2115 (_dl_lookup_versioned_symbol_skip): Likewise.
2116 * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
2117 * elf/dl-runtime.c: Likewise.
2118 * elf/dl-sym.c: Likewise.
2119 * elf/dl-symbol.c: Likewise.
2120 * elf/ldsodefs.h: Adjust prototypes.
2122 * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
2123 handle appropriately. Add comment about DT_TEXTREL.
2124 * elf/dl-runtime.c: Likewise.
2126 1999-07-21 Roland McGrath <roland@baalperazim.frob.com>
2128 * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
2129 * elf/ldsodefs.h: Declare it.
2130 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
2132 (elf_machine_lazy_rel): Likewise. Take new arg MAP.
2133 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2134 (elf_machine_lazy_rel): Likewise.
2135 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
2136 (elf_machine_lazy_rel): Likewise.
2137 * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
2138 (elf_machine_lazy_rel): Likewise.
2139 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
2140 (elf_machine_lazy_rel): Likewise.
2141 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2142 (elf_machine_lazy_rel): Likewise.
2143 * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
2144 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
2145 (elf_machine_lazy_rel): Likewise.
2146 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
2147 (elf_machine_lazy_rel): Likewise.
2148 * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
2149 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
2150 _dl_reloc_bad_type instead of _dl_signal_error.
2151 * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
2153 1999-07-20 Mark Kettenis <kettenis@gnu.org>
2155 * sysdeps/mach/_strerror.c: Include <libintl.h>.
2157 1999-07-19 Roland McGrath <roland@baalperazim.frob.com>
2159 * hurd/hurdsig.c (_hurd_internal_post_signal): If a
2160 hurd_signal_preemptor matches but its `preemptor' field is null, use
2161 its `handler' field directly. This is to comply with behavior
2162 documented in <hurd/sigpreempt.h>.
2164 1999-07-21 Andreas Schwab <schwab@suse.de>
2166 * libio/fileops.c (_IO_new_file_underflow): Set error indicator
2167 when reading from write-only stream.
2168 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
2169 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2171 1999-07-21 Andreas Schwab <schwab@suse.de>
2173 * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
2176 1999-07-21 Mark Kettenis <kettenis@gnu.org>
2178 * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
2180 * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
2182 (__libc_write): Call __pwrite instead of __pread.
2184 1999-07-20 Mark Kettenis <kettenis@gnu.org>
2186 * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
2187 __vm_allocate calls.
2189 * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>. Fix typo.
2190 * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
2192 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
2193 _hurd_fd_read with new OFFSET argument set to -1.
2194 (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
2197 1999-07-17 Roland McGrath <roland@baalperazim.frob.com>
2199 * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
2200 descriptor table sent in the RPC.
2202 1999-07-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2204 * time/strptime.c [!_LIBC]: Fix __mon_day size. Reported by
2205 bill@taniwha.org [PR libc/1211].
2207 1999-07-19 Andreas Schwab <schwab@suse.de>
2209 * libio/Makefile (routines): Add fwprintf.
2211 PowerPC has own version of w_sqrt.c and w_sqrtf.c.
2212 * math/w_sqrt.c: Moved to ...
2213 * sysdeps/generic/w_sqrt.c: ... here.
2214 * math/w_sqrtf.c: Moved to ...
2215 * sysdeps/generic/w_sqrtf.c: ... here.
2217 * Make-dist (generic-dirs): New variable.
2218 (try-sysdeps, +sysdep-names): Use it.
2219 * extra-lib.mk (all-$(lib)-routines): New variable. Use it
2220 instead of $(lib)-routines.
2221 * elf/Makefile (distribute): Add dl-cache.h.
2222 * db2/Makefile (distribute): Add all new files.
2223 * iconvdata/Makefile (distribute): Don't distribute CVS
2225 * math/Makefile (distribute): Remove machine/endian.h, add
2227 * stdio-common/Makefile (distribute): Add _itowa.h.
2228 * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
2229 * sysdeps/gnu/Dist: Add eval.c
2230 * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
2231 dlfcn]: Add to this instead of libdl-routines.
2232 * sysdeps/ieee754/ldbl-128/Dist: New file.
2233 * sysdeps/mach/hurd/Dist: Add siglist.h
2234 * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
2236 1999-07-18 Ulrich Drepper <drepper@cygnus.com>
2238 * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
2240 * inet/Makefile (routines): Add getipnodebyad and freehostent.
2241 * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
2242 * inet/freehostent.c: New file.
2243 * inet/getipnodebyad.c: New file.
2244 * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
2245 and getipnodebyname. The latter comes soon.
2246 * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
2247 Add support for getipnode* functions.
2249 * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
2250 Set h_aliases to NULL and not to a pointer to an array with a NULL
2251 pointer following XNS 5.2.
2253 * posix/sched.h: Remove internal interfaces.
2254 * include/sched.h: Add internal interfaces.
2256 * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
2258 * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
2260 * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
2261 and return an error in this case.
2262 * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
2265 1999-07-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2267 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
2268 1999-07-17 and adjust len parameter.
2269 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
2270 * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
2271 * manual/socket.texi (Host Names): Likewise.
2272 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
2273 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
2275 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
2276 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
2277 (ht_gethostbyaddr): Likewise.
2278 (_gethtbyaddr): Likewise.
2280 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
2282 * resolv/netdb.h: Adjust parameters of gethostbyaddr and
2284 * include/netdb.h: Likewise.
2285 * inet/gethstbyad.c: Correct type of len parameter.
2286 * inet/gethstbyad_r.c: Likewise.
2288 * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
2290 1999-07-17 Zack Weinberg <zack@rabi.columbia.edu>
2292 * include/libc-symbol.h: Clean up definitions of weak_alias,
2293 strong_alias, symbol_version, etc. etc.
2294 * posix/getopt.h: Use ctype.h to get features.h included, and don't
2295 include it at all if __GNU_LIBRARY__ is already defined.
2297 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
2299 * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
2301 * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
2303 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
2304 type for tv_usec element.
2305 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise
2306 * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
2307 * sysdeps/generic/bits/time.h: Likewise.
2308 * sysdeps/mach/hurd/bits/time.h: Likewise.
2309 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2310 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2311 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2312 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2313 * sysdeps/generic/bits/types.h: Likewise.
2314 * posix/sys/types.h: Define suseconds_t for X/Open.
2316 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
2318 * stdio-common/bug1.c: Avoid memory leak.
2320 * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
2321 program deterministic.
2322 * sysdeps/i386/fpu/e_powf.S: Likewise.
2323 * sysdeps/i386/fpu/e_powl.S: Likewise.
2325 1999-07-15 Jakub Jelinek <jj@ultra.linux.cz>
2327 * math/Makefile: Add t_sincosl and k_sincosl support routines.
2328 * math/math_private.h (__kernel_sincosl): New declaration.
2329 * sysdeps/generic/t_sincosl.c: New file.
2330 * sysdeps/generic/k_sincosl.c: New file.
2331 * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
2332 * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
2333 * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
2334 * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
2335 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
2336 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
2338 * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
2341 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
2343 * posix/unistd.h: Use __PMT for exit.
2345 1999-07-15 Philip Blundell <pb@nexus.co.uk>
2347 * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
2348 _outw, _outl): Added to GLIBC_2.1.2.
2350 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
2352 * posix/fnmatch.h: Use __name instead of __string in prototype to
2353 allow use outside glibc.
2355 1999-07-14 Ulrich Drepper <drepper@cygnus.com>
2357 * time/tst-strptime.c (main): Add one more test case. Produce
2358 output even when result is ok.
2360 * time/strptime.c (get_number): Handle number parsing more
2361 consistent with strftime. Only parse a given number of digits.
2362 (get_alt_number): Fix implementation. Was broken.
2363 (strptime_internal): Add third parameter to get_number and
2364 get_alt_number calls.
2366 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
2368 * elf/ldd.bash.in: Add support for multiple dynamic linkers.
2369 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
2370 try both 32bit and 64bit dynamic linker.
2371 * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
2372 script on all sparc targets.
2374 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
2376 * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
2379 1999-07-13 Andreas Schwab <schwab@suse.de>
2381 * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
2382 inlining. Fixes PR libc/1198.
2384 1999-07-14 Andreas Schwab <schwab@suse.de>
2386 * Makerules (common-generated): Don't prepend $(common-objpfx).
2388 1999-07-12 Jakub Jelinek <jj@ultra.linux.cz>
2390 * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
2391 as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
2392 * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
2393 quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
2395 * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
2397 * sysdeps/arm/Implies: Likewise.
2398 * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
2399 ieee754/ldbl-96 instead of ieee754.
2400 * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
2401 * sysdeps/generic/e_atanhl.c: New file.
2402 * sysdeps/generic/e_coshl.c: New file.
2403 * sysdeps/generic/e_sinhl.c: New file.
2404 * sysdeps/generic/e_gammal_r.c: New file.
2405 * sysdeps/generic/e_hypotl.c: New file.
2406 * sysdeps/generic/s_cbrtl.c: New file.
2407 * sysdeps/generic/s_asinhl.c: New file.
2408 * sysdeps/generic/s_tanhl.c: New file.
2409 * sysdeps/generic/w_expl.c: New file.
2410 * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
2412 * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
2413 ieee754/ldbl-96 instead of ieee754.
2414 * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
2415 * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
2417 * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
2419 * sysdeps/mips/mips64/Implies: Likewise.
2420 * sysdeps/powerpc/Implies: Likewise.
2421 * sysdeps/sparc/Implies: Remove.
2422 * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
2424 * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
2425 and ieee754/ldbl-128.
2427 * sysdeps/sparc/bits/wordsize.h: Remove.
2428 * sysdeps/sparc/fpu/bits/mathinline.h: New file.
2429 * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
2431 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
2432 * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
2433 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
2434 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
2435 * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
2438 * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
2439 of carries. Optimize.
2441 * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
2442 * sysdeps/generic/e_exp10.c: ...here.
2443 * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
2444 * sysdeps/generic/e_exp10f.c: ...here.
2445 * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
2446 * sysdeps/generic/e_exp10l.c: ...here.
2447 * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
2448 * sysdeps/generic/e_scalb.c: ...here.
2449 * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
2450 * sysdeps/generic/e_scalbf.c: ...here.
2451 * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
2452 * sysdeps/generic/e_scalbl.c: ...here.
2453 * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
2454 * sysdeps/generic/s_cacos.c: ...here.
2455 * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
2456 * sysdeps/generic/s_cacosf.c: ...here.
2457 * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
2458 * sysdeps/generic/s_cacosh.c: ...here.
2459 * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
2460 * sysdeps/generic/s_cacoshf.c: ...here.
2461 * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
2462 * sysdeps/generic/s_cacoshl.c: ...here.
2463 * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
2464 * sysdeps/generic/s_cacosl.c: ...here.
2465 * sysdeps/libm-ieee754/s_casin.c: Moved to ...
2466 * sysdeps/generic/s_casin.c: ...here.
2467 * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
2468 * sysdeps/generic/s_casinf.c: ...here.
2469 * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
2470 * sysdeps/generic/s_casinh.c: ...here.
2471 * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
2472 * sysdeps/generic/s_casinhf.c: ...here.
2473 * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
2474 * sysdeps/generic/s_casinhl.c: ...here.
2475 * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
2476 * sysdeps/generic/s_casinl.c: ...here.
2477 * sysdeps/libm-ieee754/s_catan.c: Moved to ...
2478 * sysdeps/generic/s_catan.c: ...here.
2479 * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
2480 * sysdeps/generic/s_catanf.c: ...here.
2481 * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
2482 * sysdeps/generic/s_catanh.c: ...here.
2483 * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
2484 * sysdeps/generic/s_catanhf.c: ...here.
2485 * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
2486 * sysdeps/generic/s_catanhl.c: ...here.
2487 * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
2488 * sysdeps/generic/s_catanl.c: ...here.
2489 * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
2490 * sysdeps/generic/s_ccos.c: ...here.
2491 * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
2492 * sysdeps/generic/s_ccosf.c: ...here.
2493 * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
2494 * sysdeps/generic/s_ccosh.c: ...here.
2495 * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
2496 * sysdeps/generic/s_ccoshf.c: ...here.
2497 * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
2498 * sysdeps/generic/s_ccoshl.c: ...here.
2499 * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
2500 * sysdeps/generic/s_ccosl.c: ...here.
2501 * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
2502 * sysdeps/generic/s_cexp.c: ...here.
2503 * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
2504 * sysdeps/generic/s_cexpf.c: ...here.
2505 * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
2506 * sysdeps/generic/s_cexpl.c: ...here.
2507 * sysdeps/libm-ieee754/s_clog.c: Moved to ...
2508 * sysdeps/generic/s_clog.c: ...here.
2509 * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
2510 * sysdeps/generic/s_clog10.c: ...here.
2511 * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
2512 * sysdeps/generic/s_clog10f.c: ...here.
2513 * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
2514 * sysdeps/generic/s_clog10l.c: ...here.
2515 * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
2516 * sysdeps/generic/s_clogf.c: ...here.
2517 * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
2518 * sysdeps/generic/s_clogl.c: ...here.
2519 * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
2520 * sysdeps/generic/s_cpow.c: ...here.
2521 * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
2522 * sysdeps/generic/s_cpowf.c: ...here.
2523 * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
2524 * sysdeps/generic/s_cpowl.c: ...here.
2525 * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
2526 * sysdeps/generic/s_cproj.c: ...here.
2527 * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
2528 * sysdeps/generic/s_cprojf.c: ...here.
2529 * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
2530 * sysdeps/generic/s_cprojl.c: ...here.
2531 * sysdeps/libm-ieee754/s_csin.c: Moved to ...
2532 * sysdeps/generic/s_csin.c: ...here.
2533 * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
2534 * sysdeps/generic/s_csinf.c: ...here.
2535 * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
2536 * sysdeps/generic/s_csinh.c: ...here.
2537 * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
2538 * sysdeps/generic/s_csinhf.c: ...here.
2539 * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
2540 * sysdeps/generic/s_csinhl.c: ...here.
2541 * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
2542 * sysdeps/generic/s_csinl.c: ...here.
2543 * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
2544 * sysdeps/generic/s_csqrt.c: ...here.
2545 * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
2546 * sysdeps/generic/s_csqrtf.c: ...here.
2547 * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
2548 * sysdeps/generic/s_csqrtl.c: ...here.
2549 * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
2550 * sysdeps/generic/s_ctan.c: ...here.
2551 * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
2552 * sysdeps/generic/s_ctanf.c: ...here.
2553 * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
2554 * sysdeps/generic/s_ctanh.c: ...here.
2555 * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
2556 * sysdeps/generic/s_ctanhf.c: ...here.
2557 * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
2558 * sysdeps/generic/s_ctanhl.c: ...here.
2559 * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
2560 * sysdeps/generic/s_ctanl.c: ...here.
2561 * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
2562 * sysdeps/generic/s_fdim.c: ...here.
2563 * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
2564 * sysdeps/generic/s_fdimf.c: ...here.
2565 * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
2566 * sysdeps/generic/s_fdiml.c: ...here.
2567 * sysdeps/libm-ieee754/s_fma.c: Moved to ...
2568 * sysdeps/generic/s_fma.c: ...here.
2569 * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
2570 * sysdeps/generic/s_fmaf.c: ...here.
2571 * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
2572 * sysdeps/generic/s_fmal.c: ...here.
2573 * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
2574 * sysdeps/generic/s_fmax.c: ...here.
2575 * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
2576 * sysdeps/generic/s_fmaxf.c: ...here.
2577 * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
2578 * sysdeps/generic/s_fmaxl.c: ...here.
2579 * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
2580 * sysdeps/generic/s_fmin.c: ...here.
2581 * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
2582 * sysdeps/generic/s_fminf.c: ...here.
2583 * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
2584 * sysdeps/generic/s_fminl.c: ...here.
2585 * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
2586 * sysdeps/generic/s_ldexp.c: ...here.
2587 * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
2588 * sysdeps/generic/s_ldexpf.c: ...here.
2589 * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
2590 * sysdeps/generic/s_ldexpl.c: ...here.
2591 * sysdeps/libm-ieee754/s_nan.c: Moved to ...
2592 * sysdeps/generic/s_nan.c: ...here.
2593 * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
2594 * sysdeps/generic/s_nanf.c: ...here.
2595 * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
2596 * sysdeps/generic/s_nanl.c: ...here.
2597 * sysdeps/libm-ieee754/s_significand.c: Moved to ...
2598 * sysdeps/generic/s_significand.c: ...here.
2599 * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
2600 * sysdeps/generic/s_significandf.c: ...here.
2601 * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
2602 * sysdeps/generic/s_significandl.c: ...here.
2603 Avoid conversion from int to double and then to long double.
2604 * sysdeps/libm-ieee754/w_acos.c: Moved to ...
2605 * math/w_acos.c: ...here.
2606 * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
2607 * math/w_acosf.c: ...here.
2608 * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
2609 * math/w_acosh.c: ...here.
2610 * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
2611 * math/w_acoshf.c: ...here.
2612 * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
2613 * math/w_acoshl.c: ...here.
2614 * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
2615 * math/w_acosl.c: ...here.
2616 * sysdeps/libm-ieee754/w_asin.c: Moved to ...
2617 * math/w_asin.c: ...here.
2618 * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
2619 * math/w_asinf.c: ...here.
2620 * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
2621 * math/w_asinl.c: ...here.
2622 * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
2623 * math/w_atan2.c: ...here.
2624 * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
2625 * math/w_atan2f.c: ...here.
2626 * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
2627 * math/w_atan2l.c: ...here.
2628 * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
2629 * math/w_atanh.c: ...here.
2630 * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
2631 * math/w_atanhf.c: ...here.
2632 * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
2633 * math/w_atanhl.c: ...here.
2634 * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
2635 * math/w_cosh.c: ...here.
2636 * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
2637 * math/w_coshf.c: ...here.
2638 * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
2639 * math/w_coshl.c: ...here.
2640 * sysdeps/libm-ieee754/w_drem.c: Moved to ...
2641 * math/w_drem.c: ...here.
2642 * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
2643 * math/w_dremf.c: ...here.
2644 * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
2645 * math/w_dreml.c: ...here.
2646 * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
2647 * math/w_exp10.c: ...here.
2648 * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
2649 * math/w_exp10f.c: ...here.
2650 * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
2651 * math/w_exp10l.c: ...here.
2652 * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
2653 * math/w_exp2.c: ...here.
2654 * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
2655 * math/w_exp2f.c: ...here.
2656 * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
2657 * math/w_exp2l.c: ...here.
2658 * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
2659 * math/w_fmod.c: ...here.
2660 * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
2661 * math/w_fmodf.c: ...here.
2662 * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
2663 * math/w_fmodl.c: ...here.
2664 * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
2665 * math/w_hypot.c: ...here.
2666 * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
2667 * math/w_hypotf.c: ...here.
2668 * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
2669 * math/w_hypotl.c: ...here.
2670 * sysdeps/libm-ieee754/w_j0.c: Moved to ...
2671 * math/w_j0.c: ...here.
2672 * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
2673 * math/w_j0f.c: ...here.
2674 * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
2675 * math/w_j0l.c: ...here.
2676 * sysdeps/libm-ieee754/w_j1.c: Moved to ...
2677 * math/w_j1.c: ...here.
2678 * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
2679 * math/w_j1f.c: ...here.
2680 * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
2681 * math/w_j1l.c: ...here.
2682 * sysdeps/libm-ieee754/w_jn.c: Moved to ...
2683 * math/w_jn.c: ...here.
2684 * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
2685 * math/w_jnf.c: ...here.
2686 * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
2687 * math/w_jnl.c: ...here.
2688 * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
2689 * math/w_lgamma.c: ...here.
2690 * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
2691 * math/w_lgamma_r.c: ...here.
2692 * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
2693 * math/w_lgammaf.c: ...here.
2694 * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
2695 * math/w_lgammaf_r.c: ...here.
2696 * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
2697 * math/w_lgammal.c: ...here.
2698 * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
2699 * math/w_lgammal_r.c: ...here.
2700 * sysdeps/libm-ieee754/w_log.c: Moved to ...
2701 * math/w_log.c: ...here.
2702 * sysdeps/libm-ieee754/w_log10.c: Moved to ...
2703 * math/w_log10.c: ...here.
2704 * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
2705 * math/w_log10f.c: ...here.
2706 * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
2707 * math/w_log10l.c: ...here.
2708 * sysdeps/libm-ieee754/w_logf.c: Moved to ...
2709 * math/w_logf.c: ...here.
2710 * sysdeps/libm-ieee754/w_logl.c: Moved to ...
2711 * math/w_logl.c: ...here.
2712 * sysdeps/libm-ieee754/w_pow.c: Moved to ...
2713 * math/w_pow.c: ...here.
2714 * sysdeps/libm-ieee754/w_powf.c: Moved to ...
2715 * math/w_powf.c: ...here.
2716 * sysdeps/libm-ieee754/w_powl.c: Moved to ...
2717 * math/w_powl.c: ...here.
2718 * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
2719 * math/w_remainder.c: ...here.
2720 * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
2721 * math/w_remainderf.c: ...here.
2722 * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
2723 * math/w_remainderl.c: ...here.
2724 * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
2725 * math/w_scalb.c: ...here.
2726 * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
2727 * math/w_scalbf.c: ...here.
2728 * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
2729 * math/w_scalbl.c: ...here.
2730 * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
2731 * math/w_sinh.c: ...here.
2732 * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
2733 * math/w_sinhf.c: ...here.
2734 * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
2735 * math/w_sinhl.c: ...here.
2736 * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
2737 * math/w_sqrt.c: ...here.
2738 * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
2739 * math/w_sqrtf.c: ...here.
2740 * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
2741 * math/w_sqrtl.c: ...here.
2742 * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
2743 * math/w_tgamma.c: ...here.
2744 * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
2745 * math/w_tgammaf.c: ...here.
2746 * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
2747 * math/w_tgammal.c: ...here.
2748 * sysdeps/libm-i387/e_acos.S: Moved to ...
2749 * sysdeps/i386/fpu/e_acos.S: ...here.
2750 * sysdeps/libm-i387/e_acosf.S: Moved to ...
2751 * sysdeps/i386/fpu/e_acosf.S: ...here.
2752 * sysdeps/libm-i387/e_acosh.S: Moved to ...
2753 * sysdeps/i386/fpu/e_acosh.S: ...here.
2754 * sysdeps/libm-i387/e_acoshf.S: Moved to ...
2755 * sysdeps/i386/fpu/e_acoshf.S: ...here.
2756 * sysdeps/libm-i387/e_acoshl.S: Moved to ...
2757 * sysdeps/i386/fpu/e_acoshl.S: ...here.
2758 * sysdeps/libm-i387/e_acosl.S: Moved to ...
2759 * sysdeps/i386/fpu/e_acosl.S: ...here.
2760 * sysdeps/libm-i387/e_asin.S: Moved to ...
2761 * sysdeps/i386/fpu/e_asin.S: ...here.
2762 * sysdeps/libm-i387/e_asinf.S: Moved to ...
2763 * sysdeps/i386/fpu/e_asinf.S: ...here.
2764 * sysdeps/libm-i387/e_asinl.S: Moved to ...
2765 * sysdeps/i386/fpu/e_asinl.S: ...here.
2766 * sysdeps/libm-i387/e_atan2.S: Moved to ...
2767 * sysdeps/i386/fpu/e_atan2.S: ...here.
2768 * sysdeps/libm-i387/e_atan2f.S: Moved to ...
2769 * sysdeps/i386/fpu/e_atan2f.S: ...here.
2770 * sysdeps/libm-i387/e_atan2l.S: Moved to ...
2771 * sysdeps/i386/fpu/e_atan2l.S: ...here.
2772 * sysdeps/libm-i387/e_atanh.S: Moved to ...
2773 * sysdeps/i386/fpu/e_atanh.S: ...here.
2774 * sysdeps/libm-i387/e_atanhf.S: Moved to ...
2775 * sysdeps/i386/fpu/e_atanhf.S: ...here.
2776 * sysdeps/libm-i387/e_atanhl.S: Moved to ...
2777 * sysdeps/i386/fpu/e_atanhl.S: ...here.
2778 * sysdeps/libm-i387/e_exp.S: Moved to ...
2779 * sysdeps/i386/fpu/e_exp.S: ...here.
2780 * sysdeps/libm-i387/e_exp10.S: Moved to ...
2781 * sysdeps/i386/fpu/e_exp10.S: ...here.
2782 * sysdeps/libm-i387/e_exp10f.S: Moved to ...
2783 * sysdeps/i386/fpu/e_exp10f.S: ...here.
2784 * sysdeps/libm-i387/e_exp10l.S: Moved to ...
2785 * sysdeps/i386/fpu/e_exp10l.S: ...here.
2786 * sysdeps/libm-i387/e_expf.S: Moved to ...
2787 * sysdeps/i386/fpu/e_expf.S: ...here.
2788 * sysdeps/libm-i387/e_expl.S: Moved to ...
2789 * sysdeps/i386/fpu/e_expl.S: ...here.
2790 * sysdeps/libm-i387/e_fmod.S: Moved to ...
2791 * sysdeps/i386/fpu/e_fmod.S: ...here.
2792 * sysdeps/libm-i387/e_fmodf.S: Moved to ...
2793 * sysdeps/i386/fpu/e_fmodf.S: ...here.
2794 * sysdeps/libm-i387/e_fmodl.S: Moved to ...
2795 * sysdeps/i386/fpu/e_fmodl.S: ...here.
2796 * sysdeps/libm-i387/e_hypot.S: Moved to ...
2797 * sysdeps/i386/fpu/e_hypot.S: ...here.
2798 * sysdeps/libm-i387/e_hypotf.S: Moved to ...
2799 * sysdeps/i386/fpu/e_hypotf.S: ...here.
2800 * sysdeps/libm-i387/e_log.S: Moved to ...
2801 * sysdeps/i386/fpu/e_log.S: ...here.
2802 * sysdeps/libm-i387/e_log10.S: Moved to ...
2803 * sysdeps/i386/fpu/e_log10.S: ...here.
2804 * sysdeps/libm-i387/e_log10f.S: Moved to ...
2805 * sysdeps/i386/fpu/e_log10f.S: ...here.
2806 * sysdeps/libm-i387/e_log10l.S: Moved to ...
2807 * sysdeps/i386/fpu/e_log10l.S: ...here.
2808 * sysdeps/libm-i387/e_logf.S: Moved to ...
2809 * sysdeps/i386/fpu/e_logf.S: ...here.
2810 * sysdeps/libm-i387/e_logl.S: Moved to ...
2811 * sysdeps/i386/fpu/e_logl.S: ...here.
2812 * sysdeps/libm-i387/e_pow.S: Moved to ...
2813 * sysdeps/i386/fpu/e_pow.S: ...here.
2814 * sysdeps/libm-i387/e_powf.S: Moved to ...
2815 * sysdeps/i386/fpu/e_powf.S: ...here.
2816 * sysdeps/libm-i387/e_powl.S: Moved to ...
2817 * sysdeps/i386/fpu/e_powl.S: ...here.
2818 * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
2819 * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
2820 * sysdeps/libm-i387/e_remainder.S: Moved to ...
2821 * sysdeps/i386/fpu/e_remainder.S: ...here.
2822 * sysdeps/libm-i387/e_remainderf.S: Moved to ...
2823 * sysdeps/i386/fpu/e_remainderf.S: ...here.
2824 * sysdeps/libm-i387/e_remainderl.S: Moved to ...
2825 * sysdeps/i386/fpu/e_remainderl.S: ...here.
2826 * sysdeps/libm-i387/e_scalb.S: Moved to ...
2827 * sysdeps/i386/fpu/e_scalb.S: ...here.
2828 * sysdeps/libm-i387/e_scalbf.S: Moved to ...
2829 * sysdeps/i386/fpu/e_scalbf.S: ...here.
2830 * sysdeps/libm-i387/e_scalbl.S: Moved to ...
2831 * sysdeps/i386/fpu/e_scalbl.S: ...here.
2832 * sysdeps/libm-i387/e_sqrt.S: Moved to ...
2833 * sysdeps/i386/fpu/e_sqrt.S: ...here.
2834 * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
2835 * sysdeps/i386/fpu/e_sqrtf.S: ...here.
2836 * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
2837 * sysdeps/i386/fpu/e_sqrtl.S: ...here.
2838 * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
2839 * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
2840 * sysdeps/libm-i387/s_asinh.S: Moved to ...
2841 * sysdeps/i386/fpu/s_asinh.S: ...here.
2842 * sysdeps/libm-i387/s_asinhf.S: Moved to ...
2843 * sysdeps/i386/fpu/s_asinhf.S: ...here.
2844 * sysdeps/libm-i387/s_asinhl.S: Moved to ...
2845 * sysdeps/i386/fpu/s_asinhl.S: ...here.
2846 * sysdeps/libm-i387/s_atan.S: Moved to ...
2847 * sysdeps/i386/fpu/s_atan.S: ...here.
2848 * sysdeps/libm-i387/s_atanf.S: Moved to ...
2849 * sysdeps/i386/fpu/s_atanf.S: ...here.
2850 * sysdeps/libm-i387/s_atanl.S: Moved to ...
2851 * sysdeps/i386/fpu/s_atanl.S: ...here.
2852 * sysdeps/libm-i387/s_cbrt.S: Moved to ...
2853 * sysdeps/i386/fpu/s_cbrt.S: ...here.
2854 * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
2855 * sysdeps/i386/fpu/s_cbrtf.S: ...here.
2856 * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
2857 * sysdeps/i386/fpu/s_cbrtl.S: ...here.
2858 * sysdeps/libm-i387/s_ceil.S: Moved to ...
2859 * sysdeps/i386/fpu/s_ceil.S: ...here.
2860 * sysdeps/libm-i387/s_ceilf.S: Moved to ...
2861 * sysdeps/i386/fpu/s_ceilf.S: ...here.
2862 * sysdeps/libm-i387/s_ceill.S: Moved to ...
2863 * sysdeps/i386/fpu/s_ceill.S: ...here.
2864 * sysdeps/libm-i387/s_cexp.S: Moved to ...
2865 * sysdeps/i386/fpu/s_cexp.S: ...here.
2866 * sysdeps/libm-i387/s_cexpf.S: Moved to ...
2867 * sysdeps/i386/fpu/s_cexpf.S: ...here.
2868 * sysdeps/libm-i387/s_cexpl.S: Moved to ...
2869 * sysdeps/i386/fpu/s_cexpl.S: ...here.
2870 * sysdeps/libm-i387/s_copysign.S: Moved to ...
2871 * sysdeps/i386/fpu/s_copysign.S: ...here.
2872 * sysdeps/libm-i387/s_copysignf.S: Moved to ...
2873 * sysdeps/i386/fpu/s_copysignf.S: ...here.
2874 * sysdeps/libm-i387/s_copysignl.S: Moved to ...
2875 * sysdeps/i386/fpu/s_copysignl.S: ...here.
2876 * sysdeps/libm-i387/s_cos.S: Moved to ...
2877 * sysdeps/i386/fpu/s_cos.S: ...here.
2878 * sysdeps/libm-i387/s_cosf.S: Moved to ...
2879 * sysdeps/i386/fpu/s_cosf.S: ...here.
2880 * sysdeps/libm-i387/s_cosl.S: Moved to ...
2881 * sysdeps/i386/fpu/s_cosl.S: ...here.
2882 * sysdeps/libm-i387/s_exp2.S: Moved to ...
2883 * sysdeps/i386/fpu/s_exp2.S: ...here.
2884 * sysdeps/libm-i387/s_exp2f.S: Moved to ...
2885 * sysdeps/i386/fpu/s_exp2f.S: ...here.
2886 * sysdeps/libm-i387/s_exp2l.S: Moved to ...
2887 * sysdeps/i386/fpu/s_exp2l.S: ...here.
2888 * sysdeps/libm-i387/s_expm1.S: Moved to ...
2889 * sysdeps/i386/fpu/s_expm1.S: ...here.
2890 * sysdeps/libm-i387/s_expm1f.S: Moved to ...
2891 * sysdeps/i386/fpu/s_expm1f.S: ...here.
2892 * sysdeps/libm-i387/s_expm1l.S: Moved to ...
2893 * sysdeps/i386/fpu/s_expm1l.S: ...here.
2894 * sysdeps/libm-i387/s_fdim.S: Moved to ...
2895 * sysdeps/i386/fpu/s_fdim.S: ...here.
2896 * sysdeps/libm-i387/s_fdimf.S: Moved to ...
2897 * sysdeps/i386/fpu/s_fdimf.S: ...here.
2898 * sysdeps/libm-i387/s_fdiml.S: Moved to ...
2899 * sysdeps/i386/fpu/s_fdiml.S: ...here.
2900 * sysdeps/libm-i387/s_finite.S: Moved to ...
2901 * sysdeps/i386/fpu/s_finite.S: ...here.
2902 * sysdeps/libm-i387/s_finitef.S: Moved to ...
2903 * sysdeps/i386/fpu/s_finitef.S: ...here.
2904 * sysdeps/libm-i387/s_finitel.S: Moved to ...
2905 * sysdeps/i386/fpu/s_finitel.S: ...here.
2906 * sysdeps/libm-i387/s_floor.S: Moved to ...
2907 * sysdeps/i386/fpu/s_floor.S: ...here.
2908 * sysdeps/libm-i387/s_floorf.S: Moved to ...
2909 * sysdeps/i386/fpu/s_floorf.S: ...here.
2910 * sysdeps/libm-i387/s_floorl.S: Moved to ...
2911 * sysdeps/i386/fpu/s_floorl.S: ...here.
2912 * sysdeps/libm-i387/s_fma.S: Moved to ...
2913 * sysdeps/i386/fpu/s_fma.S: ...here.
2914 * sysdeps/libm-i387/s_fmaf.S: Moved to ...
2915 * sysdeps/i386/fpu/s_fmaf.S: ...here.
2916 * sysdeps/libm-i387/s_fmal.S: Moved to ...
2917 * sysdeps/i386/fpu/s_fmal.S: ...here.
2918 * sysdeps/libm-i387/s_fmax.S: Moved to ...
2919 * sysdeps/i386/fpu/s_fmax.S: ...here.
2920 * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
2921 * sysdeps/i386/fpu/s_fmaxf.S: ...here.
2922 * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
2923 * sysdeps/i386/fpu/s_fmaxl.S: ...here.
2924 * sysdeps/libm-i387/s_fmin.S: Moved to ...
2925 * sysdeps/i386/fpu/s_fmin.S: ...here.
2926 * sysdeps/libm-i387/s_fminf.S: Moved to ...
2927 * sysdeps/i386/fpu/s_fminf.S: ...here.
2928 * sysdeps/libm-i387/s_fminl.S: Moved to ...
2929 * sysdeps/i386/fpu/s_fminl.S: ...here.
2930 * sysdeps/libm-i387/s_frexp.S: Moved to ...
2931 * sysdeps/i386/fpu/s_frexp.S: ...here.
2932 * sysdeps/libm-i387/s_frexpf.S: Moved to ...
2933 * sysdeps/i386/fpu/s_frexpf.S: ...here.
2934 * sysdeps/libm-i387/s_frexpl.S: Moved to ...
2935 * sysdeps/i386/fpu/s_frexpl.S: ...here.
2936 * sysdeps/libm-i387/s_ilogb.S: Moved to ...
2937 * sysdeps/i386/fpu/s_ilogb.S: ...here.
2938 * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
2939 * sysdeps/i386/fpu/s_ilogbf.S: ...here.
2940 * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
2941 * sysdeps/i386/fpu/s_ilogbl.S: ...here.
2942 * sysdeps/libm-i387/s_llrint.S: Moved to ...
2943 * sysdeps/i386/fpu/s_llrint.S: ...here.
2944 * sysdeps/libm-i387/s_llrintf.S: Moved to ...
2945 * sysdeps/i386/fpu/s_llrintf.S: ...here.
2946 * sysdeps/libm-i387/s_llrintl.S: Moved to ...
2947 * sysdeps/i386/fpu/s_llrintl.S: ...here.
2948 * sysdeps/libm-i387/s_log1p.S: Moved to ...
2949 * sysdeps/i386/fpu/s_log1p.S: ...here.
2950 * sysdeps/libm-i387/s_log1pf.S: Moved to ...
2951 * sysdeps/i386/fpu/s_log1pf.S: ...here.
2952 * sysdeps/libm-i387/s_log1pl.S: Moved to ...
2953 * sysdeps/i386/fpu/s_log1pl.S: ...here.
2954 * sysdeps/libm-i387/s_log2.S: Moved to ...
2955 * sysdeps/i386/fpu/s_log2.S: ...here.
2956 * sysdeps/libm-i387/s_log2f.S: Moved to ...
2957 * sysdeps/i386/fpu/s_log2f.S: ...here.
2958 * sysdeps/libm-i387/s_log2l.S: Moved to ...
2959 * sysdeps/i386/fpu/s_log2l.S: ...here.
2960 * sysdeps/libm-i387/s_logb.S: Moved to ...
2961 * sysdeps/i386/fpu/s_logb.S: ...here.
2962 * sysdeps/libm-i387/s_logbf.S: Moved to ...
2963 * sysdeps/i386/fpu/s_logbf.S: ...here.
2964 * sysdeps/libm-i387/s_logbl.S: Moved to ...
2965 * sysdeps/i386/fpu/s_logbl.S: ...here.
2966 * sysdeps/libm-i387/s_lrint.S: Moved to ...
2967 * sysdeps/i386/fpu/s_lrint.S: ...here.
2968 * sysdeps/libm-i387/s_lrintf.S: Moved to ...
2969 * sysdeps/i386/fpu/s_lrintf.S: ...here.
2970 * sysdeps/libm-i387/s_lrintl.S: Moved to ...
2971 * sysdeps/i386/fpu/s_lrintl.S: ...here.
2972 * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
2973 * sysdeps/i386/fpu/s_nearbyint.S: ...here.
2974 * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
2975 * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
2976 * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
2977 * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
2978 * sysdeps/libm-i387/s_remquo.S: Moved to ...
2979 * sysdeps/i386/fpu/s_remquo.S: ...here.
2980 * sysdeps/libm-i387/s_remquof.S: Moved to ...
2981 * sysdeps/i386/fpu/s_remquof.S: ...here.
2982 * sysdeps/libm-i387/s_remquol.S: Moved to ...
2983 * sysdeps/i386/fpu/s_remquol.S: ...here.
2984 * sysdeps/libm-i387/s_rint.S: Moved to ...
2985 * sysdeps/i386/fpu/s_rint.S: ...here.
2986 * sysdeps/libm-i387/s_rintf.S: Moved to ...
2987 * sysdeps/i386/fpu/s_rintf.S: ...here.
2988 * sysdeps/libm-i387/s_rintl.S: Moved to ...
2989 * sysdeps/i386/fpu/s_rintl.S: ...here.
2990 * sysdeps/libm-i387/s_scalbn.S: Moved to ...
2991 * sysdeps/i386/fpu/s_scalbn.S: ...here.
2992 * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
2993 * sysdeps/i386/fpu/s_scalbnf.S: ...here.
2994 * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
2995 * sysdeps/i386/fpu/s_scalbnl.S: ...here.
2996 * sysdeps/libm-i387/s_significand.S: Moved to ...
2997 * sysdeps/i386/fpu/s_significand.S: ...here.
2998 * sysdeps/libm-i387/s_significandf.S: Moved to ...
2999 * sysdeps/i386/fpu/s_significandf.S: ...here.
3000 * sysdeps/libm-i387/s_significandl.S: Moved to ...
3001 * sysdeps/i386/fpu/s_significandl.S: ...here.
3002 * sysdeps/libm-i387/s_sin.S: Moved to ...
3003 * sysdeps/i386/fpu/s_sin.S: ...here.
3004 * sysdeps/libm-i387/s_sincos.S: Moved to ...
3005 * sysdeps/i386/fpu/s_sincos.S: ...here.
3006 * sysdeps/libm-i387/s_sincosf.S: Moved to ...
3007 * sysdeps/i386/fpu/s_sincosf.S: ...here.
3008 * sysdeps/libm-i387/s_sincosl.S: Moved to ...
3009 * sysdeps/i386/fpu/s_sincosl.S: ...here.
3010 * sysdeps/libm-i387/s_sinf.S: Moved to ...
3011 * sysdeps/i386/fpu/s_sinf.S: ...here.
3012 * sysdeps/libm-i387/s_sinl.S: Moved to ...
3013 * sysdeps/i386/fpu/s_sinl.S: ...here.
3014 * sysdeps/libm-i387/s_tan.S: Moved to ...
3015 * sysdeps/i386/fpu/s_tan.S: ...here.
3016 * sysdeps/libm-i387/s_tanf.S: Moved to ...
3017 * sysdeps/i386/fpu/s_tanf.S: ...here.
3018 * sysdeps/libm-i387/s_tanl.S: Moved to ...
3019 * sysdeps/i386/fpu/s_tanl.S: ...here.
3020 * sysdeps/libm-i387/s_trunc.S: Moved to ...
3021 * sysdeps/i386/fpu/s_trunc.S: ...here.
3022 * sysdeps/libm-i387/s_truncf.S: Moved to ...
3023 * sysdeps/i386/fpu/s_truncf.S: ...here.
3024 * sysdeps/libm-i387/s_truncl.S: Moved to ...
3025 * sysdeps/i386/fpu/s_truncl.S: ...here.
3026 * sysdeps/libm-ieee754/k_standard.c: Moved to ...
3027 * sysdeps/ieee754/k_standard.c: ...here.
3028 * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
3029 * sysdeps/ieee754/s_lib_version.c: ...here.
3030 * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
3031 * sysdeps/ieee754/s_matherr.c: ...here.
3032 * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
3033 * sysdeps/ieee754/s_signgam.c: ...here.
3034 * sysdeps/ieee754/dbl2mpn.c: Moved to ...
3035 * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
3036 * sysdeps/ieee754/mpn2dbl.c: Moved to ...
3037 * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
3038 * sysdeps/libm-ieee754/e_acos.c: Moved to ...
3039 * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
3040 * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
3041 * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
3042 * sysdeps/libm-ieee754/e_asin.c: Moved to ...
3043 * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
3044 * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
3045 * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
3046 * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
3047 * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
3048 * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
3049 * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
3050 * sysdeps/libm-ieee754/e_exp.c: Moved to ...
3051 * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
3052 * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
3053 * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
3054 * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
3055 * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
3056 * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
3057 * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
3058 * sysdeps/libm-ieee754/e_j0.c: Moved to ...
3059 * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
3060 * sysdeps/libm-ieee754/e_j1.c: Moved to ...
3061 * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
3062 * sysdeps/libm-ieee754/e_jn.c: Moved to ...
3063 * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
3064 * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
3065 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
3066 * sysdeps/libm-ieee754/e_log.c: Moved to ...
3067 * sysdeps/ieee754/dbl-64/e_log.c: ...here.
3068 * sysdeps/libm-ieee754/e_log10.c: Moved to ...
3069 * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
3070 * sysdeps/libm-ieee754/e_pow.c: Moved to ...
3071 * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
3072 * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
3073 * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
3074 * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
3075 * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
3076 * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
3077 * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
3078 * sysdeps/libm-ieee754/k_cos.c: Moved to ...
3079 * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
3080 * sysdeps/libm-ieee754/k_sin.c: Moved to ...
3081 * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
3082 * sysdeps/libm-ieee754/k_tan.c: Moved to ...
3083 * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
3084 * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
3085 * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
3086 * sysdeps/libm-ieee754/s_atan.c: Moved to ...
3087 * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
3088 * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
3089 * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
3090 * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
3091 * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
3092 * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
3093 * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
3094 * sysdeps/libm-ieee754/s_cos.c: Moved to ...
3095 * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
3096 * sysdeps/libm-ieee754/s_erf.c: Moved to ...
3097 * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
3098 * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
3099 * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
3100 * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
3101 * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
3102 * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
3103 * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
3104 * sysdeps/libm-ieee754/s_finite.c: Moved to ...
3105 * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
3106 * sysdeps/libm-ieee754/s_floor.c: Moved to ...
3107 * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
3108 * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
3109 * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
3110 * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
3111 * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
3112 * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
3113 * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
3114 * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
3115 * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
3116 * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
3117 * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
3118 (__isnan): Comment above function says it returns 0 or 1, but it
3119 used to return 0 or -1.
3120 * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
3121 * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
3122 * sysdeps/libm-ieee754/s_llround.c: Moved to ...
3123 * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
3124 * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
3125 * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
3126 * sysdeps/libm-ieee754/s_log2.c: Moved to ...
3127 * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
3128 * sysdeps/libm-ieee754/s_logb.c: Moved to ...
3129 * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
3130 * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
3131 * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
3132 * sysdeps/libm-ieee754/s_lround.c: Moved to ...
3133 * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
3134 * sysdeps/libm-ieee754/s_modf.c: Moved to ...
3135 * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
3136 * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
3137 * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
3138 * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
3139 * sysdeps/generic/s_nextafter.c: ...here.
3140 Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
3141 * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
3142 * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
3143 * sysdeps/libm-ieee754/s_rint.c: Moved to ...
3144 * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
3145 * sysdeps/libm-ieee754/s_round.c: Moved to ...
3146 * sysdeps/ieee754/dbl-64/s_round.c: ...here.
3147 * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
3148 * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
3149 * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
3150 * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
3151 * sysdeps/libm-ieee754/s_sin.c: Moved to ...
3152 * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
3153 * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
3154 * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
3155 * sysdeps/libm-ieee754/s_tan.c: Moved to ...
3156 * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
3157 * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
3158 * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
3159 * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
3160 * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
3161 * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
3162 * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
3163 * sysdeps/libm-ieee754/w_exp.c: Moved to ...
3164 * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
3165 * sysdeps/ieee754/mpn2flt.c: Moved to ...
3166 * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
3167 * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
3168 * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
3169 * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
3170 * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
3171 * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
3172 * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
3173 * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
3174 * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
3175 * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
3176 * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
3177 * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
3178 * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
3179 * sysdeps/libm-ieee754/e_expf.c: Moved to ...
3180 * sysdeps/ieee754/flt-32/e_expf.c: ...here.
3181 * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
3182 * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
3183 * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
3184 * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
3185 * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
3186 * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
3187 * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
3188 * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
3189 * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
3190 * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
3191 * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
3192 * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
3193 * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
3194 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
3195 * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
3196 * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
3197 * sysdeps/libm-ieee754/e_logf.c: Moved to ...
3198 * sysdeps/ieee754/flt-32/e_logf.c: ...here.
3199 * sysdeps/libm-ieee754/e_powf.c: Moved to ...
3200 * sysdeps/ieee754/flt-32/e_powf.c: ...here.
3201 * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
3202 * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
3203 * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
3204 * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
3205 * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
3206 * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
3207 * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
3208 * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
3209 * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
3210 * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
3211 * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
3212 * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
3213 * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
3214 * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
3215 * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
3216 * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
3217 * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
3218 * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
3219 * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
3220 * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
3221 * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
3222 * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
3223 * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
3224 * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
3225 * sysdeps/libm-ieee754/s_erff.c: Moved to ...
3226 * sysdeps/ieee754/flt-32/s_erff.c: ...here.
3227 * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
3228 * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
3229 * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
3230 * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
3231 * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
3232 * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
3233 * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
3234 * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
3235 * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
3236 * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
3237 * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
3238 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
3239 * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
3240 * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
3241 * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
3242 * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
3243 * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
3244 * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
3245 * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
3246 * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
3247 * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
3248 * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
3249 * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
3250 * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
3251 * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
3252 * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
3253 * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
3254 * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
3255 * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
3256 * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
3257 * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
3258 * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
3259 * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
3260 * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
3261 * sysdeps/libm-ieee754/s_modff.c: Moved to ...
3262 * sysdeps/ieee754/flt-32/s_modff.c: ...here.
3263 * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
3264 * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
3265 * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
3266 * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
3267 * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
3268 * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
3269 * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
3270 * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
3271 * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
3272 * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
3273 * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
3274 * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
3275 * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
3276 * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
3277 * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
3278 * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
3279 * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
3280 * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
3281 * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
3282 * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
3283 * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
3284 * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
3285 * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
3286 * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
3287 * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
3288 * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
3289 * sysdeps/libm-ieee754/w_expf.c: Moved to ...
3290 * sysdeps/ieee754/flt-32/w_expf.c: ...here.
3291 * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
3292 * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
3293 * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
3294 * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
3295 * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
3296 * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
3297 * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
3298 * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
3299 * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
3300 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
3301 * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
3302 * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
3303 * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
3304 * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
3305 * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
3306 * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
3307 * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
3308 * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
3309 * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
3310 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
3311 * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
3312 * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
3313 * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
3314 * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
3315 * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
3316 * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
3317 * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
3318 * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
3319 * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
3320 * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
3321 * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
3322 * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
3323 * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
3324 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
3325 * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
3326 * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
3327 * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
3328 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
3329 * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
3330 * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
3331 * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
3332 * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
3333 * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
3334 * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
3335 * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
3336 * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
3337 * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
3338 * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
3339 * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
3340 * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
3341 (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
3343 * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
3344 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
3345 (__nearbyintl): Fix for exponents 2^30.
3346 * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
3347 * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
3348 * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
3349 * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
3350 (__rintl): Fix for exponents 2^30.
3351 * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
3352 * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
3353 * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
3354 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
3355 (__scalbnl): Fix exponent for subnormal result.
3356 * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
3357 * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
3358 * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
3359 * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
3360 * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
3361 * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
3362 * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
3363 * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
3364 * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
3365 * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
3366 * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
3367 * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
3368 * sysdeps/libm-ieee754/w_expl.c: Moved to ...
3369 * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
3370 * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
3371 * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
3372 * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
3373 * sysdeps/i386/fpu/s_scalblnf.c: ...here.
3374 * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
3375 * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
3376 * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
3377 * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
3378 * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
3379 * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
3380 * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
3381 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
3382 * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
3383 * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
3384 * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
3385 * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
3386 * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
3387 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
3388 * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
3389 * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
3390 * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
3391 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
3392 * sysdeps/libm-i387/s_scalbln.c: Moved to ...
3393 * sysdeps/i386/fpu/s_scalbln.c: ...here.
3394 * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
3395 * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
3396 * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
3397 * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
3398 * sysdeps/libm-i387/t_exp.c: Moved to ...
3399 * sysdeps/i386/fpu/t_exp.c: ...here.
3400 * sysdeps/libm-ieee754/t_exp.c: Moved to ...
3401 * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
3402 * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
3403 * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
3404 * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
3405 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
3406 * sysdeps/libm-i387/s_isinfl.c: Moved to ...
3407 * sysdeps/i386/fpu/s_isinfl.c: ...here.
3408 * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
3409 * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
3410 * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
3411 * sysdeps/i386/fpu/s_scalblnl.c: ...here.
3412 * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
3413 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
3414 Fix exponent for subnormal result.
3415 * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
3416 * sysdeps/generic/s_nexttowardl.c: ...here.
3417 * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
3418 * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
3419 * sysdeps/libm-i387/s_isnanl.c: Moved to ...
3420 * sysdeps/i386/fpu/s_isnanl.c: ...here.
3421 * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
3422 * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
3423 Comment above function says it returns 0 or 1, but it used to return
3425 * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
3426 * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
3427 * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
3428 * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
3429 * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
3430 * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
3431 * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
3432 * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
3433 * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
3434 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
3435 Cannot compare exponents with different biases without adjusting.
3436 * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
3437 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
3438 Cannot compare exponents with different biases without adjusting.
3439 * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
3440 * sysdeps/i386/fpu/s_nextafterl.c: ...here.
3441 * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
3442 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
3443 * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
3444 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
3445 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
3446 * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
3447 * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
3448 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
3449 * sysdeps/libm-ieee754/Dist: Split into ...
3450 * sysdeps/ieee754/dbl-64/Dist: ...this and ...
3451 * sysdeps/ieee754/flt-32/Dist: ...this file.
3453 * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
3454 * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
3455 * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
3456 * sysdeps/ieee754/ldbl-96/strtold.c: New file.
3457 * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
3458 * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
3459 * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
3460 * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
3461 * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
3462 * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
3463 * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
3464 * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
3465 * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
3466 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
3467 * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
3468 * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
3469 * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
3470 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
3471 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
3472 * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
3473 * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
3474 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
3475 * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
3476 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
3477 * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
3478 * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
3479 * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
3480 * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
3481 * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
3482 * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
3483 * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
3484 * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
3485 * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
3486 * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
3487 * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
3488 * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
3489 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
3490 * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
3491 * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
3492 * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
3493 * sysdeps/ieee754/ldbl-128/strtold.c: New file.
3494 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
3495 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
3496 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
3497 * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
3498 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
3499 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
3501 * sysdeps/generic/math_ldbl.h: New file.
3502 * sysdeps/generic/s_nexttowardf.c: New file.
3503 * sysdeps/generic/strtold.c: New file.
3504 * sysdeps/generic/ldbl2mpn.c: New file.
3506 * math/machine/endian.h: Remove.
3507 * sysdeps/i386/fpu/Implies: Remove.
3508 * sysdeps/ieee754/Implies: Remove.
3510 * math/math_private.h: Move long double macros to math_ldbl.h
3513 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
3515 * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
3516 connections without a hostname set address to localhost address.
3518 1999-07-11 H.J. Lu <hjl@gnu.org>
3520 * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
3521 nscd's own strong version of the get[a-z]*_r function.
3522 * nscd/hstcache.c: Likewise.
3523 * nscd/pwdcache.c: Likewise.
3525 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
3527 * configure.in: Recognize 2.95 as gcc version number.
3528 Patch by Joel Klecker <jk@espy.org>.
3530 1999-07-12 Andreas Schwab <schwab@suse.de>
3532 * elf/rtld.c (dl_main): When putting back the interpreter object
3533 handle the case where a missing object might occur in the list of
3534 objects but not in the search list when in trace mode.
3536 1999-07-11 Ulrich Drepper <drepper@cygnus.com>
3538 * Versions.def (libnss_hesiod): Add GLIBC_2.2.
3539 * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
3540 _nss_hesiod_initgroups.
3542 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
3544 * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
3545 (_hurd_set_brk, init_brk): Use that instead of &__data_start.
3546 Initialize it from &__data_start if defined, or else &_end.
3548 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
3550 * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
3551 for MAP_ANON, prot==PROT_READ|PROT_WRITE.
3553 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
3555 * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
3557 1999-07-09 H.J. Lu <hjl@gnu.org>
3559 * Versions.def (GLIBC_2.1.2): Added.
3561 * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
3562 old one as GLIBC_2.0.
3563 * nss/getXXbyYY_r.c: Likewise.
3565 * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
3567 * inet/Versions (getaliasbyname_r, getaliasent_r,
3568 gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
3569 gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
3570 getnetgrent_r, getprotobyname_r, getprotobynumber_r,
3571 getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
3572 getservbyname_r): Likewise.
3573 * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
3574 * shadow/Versions (getspent_r, getspnam_r): Likewise.
3576 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
3578 * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
3580 (__memset_cc): Likewise.
3582 * sysdeps/generic/libc-start.c: For SUID binaries check whether
3583 the standard file descriptors are open.
3584 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
3586 * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
3587 * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
3588 range of mmap. If not fail.
3589 Patches by Daniel Jacobowitz <dan@debian.org>.
3591 * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
3592 before the relocation happened.
3593 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3595 * Versions.def (libnsl): Add GLIBC_2.2.
3596 * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
3598 1999-07-08 Cristian Gafton <gafton@redhat.com>
3600 * nis/yp_xdr.c (xdr_ypall): New function.
3602 1999-07-09 Andreas Schwab <schwab@suse.de>
3604 * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
3606 * dlfcn/Makefile (headers): Add bits/dlfcn.h.
3608 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
3610 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
3611 * hesiod/hesiod-grp.c: Add initgroups support.
3612 Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
3614 1999-07-08 Andreas Schwab <schwab@suse.de>
3616 * libio/iofopncook.c (fopencookie): Set _fileno to -2.
3618 * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
3621 * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
3623 * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
3625 1999-07-08 Andreas Schwab <schwab@suse.de>
3627 * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
3629 1999-07-08 Andreas Schwab <schwab@suse.de>
3631 * libio/fileno.c: Return -1 instead of EOF and set errno if the
3632 stream is not a real file stream.
3634 1999-07-08 Andreas Schwab <schwab@suse.de>
3636 * manual/charset.texi: Fix typos.
3638 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
3640 * sysdeps/gnu/Makefile (libdl-routines): Add eval.
3642 1999-07-06 Zack Weinberg <zack@rabi.columbia.edu>
3644 * dlfcn: New directory. Move the following files from elf:
3645 dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
3646 dlopenold.c, dlsym.c, dlvsym.c.
3647 * dlfcn/Makefile: New file.
3648 * dlfcn/Versions: New file.
3649 * dlfcn/dlsym.c: All ELF-specific code split out to new
3651 * dlfcn/dlvsym.c: All ELF-specific code split out to new
3653 * elf/dl-sym.c: New file. _dl_sym and _dl_vsym are
3656 * dlfcn/dladdr.c: Remove all references to ELF data structures
3658 * dlfcn/dlclose.c: Likewise.
3659 * dlfcn/dlerror.c: Likewise.
3660 * dlfcn/dlopen.c: Likewise.
3661 * dlfcn/dlopenold.c: Likewise.
3663 * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
3664 yes, empty otherwise.
3665 (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
3666 depending on build-shared.
3667 (subdirs): Add $(dlfcn).
3668 (rpath-dirs): Add dlfcn.
3669 * elf/Makefile: Remove all references to libdl or its
3670 components, except the ones relating to the test cases.
3671 (routines): Add dl-sym.
3672 * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
3675 * elf/dl-close.c (_dl_close): Change argument to void *.
3676 * elf/dl-open.c (_dl_open): Change return type to void *.
3677 * elf/eval.c: Removed.
3678 * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
3679 _dlerror_run, _dl_open, _dl_close, _dl_addr, and
3680 _dl_mcount_wrapper_check to include/dlfcn.h. Delete
3682 * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
3683 Include real header from dlfcn directory.
3684 * include/ldsodefs.h: Removed.
3686 * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
3687 * nss/getXXbyYY_r.c: Likewise.
3688 * nss/getXXent_r.c: Likewise.
3689 * iconv/gconv.c: Likewise. Don't include ldsodefs.h.
3690 * iconv/gconv_db.c: Likewise. Don't include ldsodefs.h.
3691 * iconv/skeleton.c: Don't include ldsodefs.h.
3692 * nss/nsswitch.h: Don't include ldsodefs.h. Include dlfcn.h.
3694 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
3696 * sysdeps/generic/setenv.c: Describe problem.
3698 * malloc/malloc.c (request2size): Also set errno if failing.
3700 * malloc/malloc.c (request2size): Take care of overflow in
3703 * sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd
3704 (NULL, != 0) correctly.
3706 * elf/dl-load.c: Use a few more __builtin_expect.
3708 * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
3711 1999-07-07 Andreas Schwab <schwab@suse.de>
3713 * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
3714 (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
3715 (_PATH_DEVPTMX): Use _PATH_DEV.
3717 1999-07-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3719 * malloc/tst-malloc.c: New file. Tests some basic functionality.
3720 * malloc/Makefile (tests): Add tst-malloc.
3722 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
3724 * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
3727 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
3729 Patch by Jay Estabrook.
3731 * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
3733 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
3734 Patch by Cristian Gafton.
3736 1999-07-02 Cristian Gafton <gafton@redhat.com>
3738 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
3739 instead of "return NULL" to make C++ happy.
3741 1999-07-04 Mark Kettenis <kettenis@gnu.org>
3743 * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
3744 allowed by the file access mode of the open file.
3746 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
3748 * sysdeps/generic/setfpucw.c: Include math.h to get all needed
3751 1999-07-03 Jakub Jelinek <jj@ultra.linux.cz>
3753 * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
3754 * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
3755 * sysdeps/sparc/sparc64/rshift.S: Likewise.
3756 * sysdeps/sparc/sparc64/mul_1.S: Optimize.
3758 1999-07-04 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
3760 * malloc/malloc.c (request2size): Check for overflow and return
3761 NULL whenever it is encountered.
3763 1999-07-04 Zack Weinberg <zack@rabi.columbia.edu>
3765 * sysdeps/posix/tempname.c (__gen_tempname): Add
3766 ability to create directories. Replace OPENIT and LARGEFILE
3767 args with a single flags parameter.
3768 * sysdeps/generic/tempname.c: Likewise.
3769 * include/stdio.h: Adjust prototype of __gen_tempname to
3770 match. Define symbolic constants for second argument.
3772 * misc/mkdtemp.c: New file, provides new function mkdtemp().
3773 * stdlib/stdlib.h: Prototype it.
3774 * misc/Versions: Export it.
3775 * misc/Makefile (routines): Add mktemp.
3776 * manual/filesys.texi: Document it.
3778 * misc/mktemp.c: Adjust call of __gen_tempname to match new
3780 * misc/mkstemp.c: Likewise.
3781 * stdio-common/tempnam.c: Likewise.
3782 * stdio-common/tmpfile.c: Likewise.
3783 * stdio-common/tmpfile64.c: Likewise.
3784 * stdio-common/tmpnam.c: Likewise.
3785 * stdio-common/tmpnam_r.c: Likewise.
3787 1999-07-05 Jakub Jelinek <jj@ultra.linux.cz>
3789 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
3790 R_SPARC_OLO10 relocations.
3791 * elf/elf.h (R_SPARC_OLO10): Fix comment.
3793 1999-07-02 Tim Waugh <tim@cyberelk.demon.co.uk>
3795 * posix/wordexp-test.c: Revert bogus 'unset IFS' change. It
3796 doesn't belong in the tests, but in the wordexp implementation.
3798 * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
3801 1999-07-01 Cristian Gafton <gafton@redhat.com>
3803 * time/strptime.c (strptime): Initialize the tm struct first to avoid
3804 returning bogus results on incomplete data.
3805 (strptime_internal): day_of_the_week() requres bith tm_mon and
3806 tm_mday to be initializaed.
3807 Computer them first if they are not given.
3808 (strptime_internal): (have_mon, have_mday): New variables.
3810 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3812 * inet/rcmd.c (__icheckhost): Fix typo in last patch.
3814 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3816 * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
3817 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3819 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3821 * posix/wordexp.c (parse_tilde): Handle failing call to
3822 get.*_r functions correctly for non-existing entry.
3823 * sysdeps/posix/cuserid.c (cuserid): Likewise.
3824 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
3826 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
3828 * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
3829 getxxbyYY_r functions correctly for non-existing entry.
3830 * sunrpc/getrpcport.c: Likewise.
3831 * sunrpc/clnt_simp.c: Likewise.
3832 * inet/rexec.c: Likewise.
3833 * sunrpc/clnt_gen.c: Likewise.
3834 * inet/rcmd.c: Likewise.
3835 * sysdeps/generic/glob.c: Likewise.
3837 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3839 * pwd/Makefile (tests): Add rules for tst-getpw.
3841 * pwd/tst-getpw.c: New program to test getpw.
3843 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3845 * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
3848 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3850 * manual/arith.texi (System V Number Conversion): Fix the
3851 description which confused pointer and value to pointer.
3852 Reported by Andries.Brouwer@cwi.nl.
3854 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3856 * pwd/getpw.c (__getpw): Check for NULL result pointer.
3858 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3860 * manual/users.texi (Lookup User): Document POSIX return
3861 semantics for getpwuid_r and getgrgid_r.
3863 * manual/socket.texi (Host Names): Document that the result
3864 pointer is null in case of error or host not found and fix a
3865 typo. Give a small example.
3867 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
3869 * pwd/getpw.c: Add warning since no buffer size is given and
3870 therefore no overrun tests are possible.
3872 1999-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3874 * pwd/pwd.h: Add getpw prototype declaration.
3876 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
3878 * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
3879 * wcsmbs/wcschr.c: Likewise.
3881 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
3883 * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
3885 * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
3886 * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
3887 Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
3889 * elf/dl-dst.h: Fix typo.
3890 * elf/dl-open.c: Likewise.
3892 1999-06-26 Zack Weinberg <zack@rabi.columbia.edu>
3894 * elf/dl-libc.c: New file, provides three functions:
3895 __libc_dlopen, __libc_dlclose, __libc_dlsym.
3896 * include/dlfcn.h: Prototype them. Prototype _dl_addr.
3897 * elf/Makefile (routines): Add dl-libc.c.
3898 * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
3900 * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
3902 * iconv/gconv.c: Include dlfcn.h.
3903 * iconv/gconv_db.c: Likewise.
3904 * malloc/mtrace.c: Likewise. Don't include ldsodefs.h.
3906 * iconv/gconv_int.h (struct __gconv_loaded_object): Change
3907 `handle' to a void *.
3908 (__gconv_find_func): Delete prototype.
3910 * iconv/gconv_dl.c: Don't include ldsodefs.h. Remove
3911 dlerror_run and related functions and structs. Use
3912 __libc_dlopen, __libc_dlsym, __libc_dlclose.
3913 * nss/nsswitch.c: Likewise.
3915 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
3917 * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
3920 * sunrpc/getrpcport.c: Test for gethostbyname_r function
3923 * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
3925 * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
3926 functions correctly.
3928 * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
3930 * inet/rcmd.c: Test for gethostbyname_r result correctly. Optimize
3933 * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
3935 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3937 * manual/string.texi (Copying and Concatenation): Mention that
3938 strndup is a GNU extension.
3940 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3942 * pwd/getpw.c (__getpw): Fix check for error return.
3944 1999-06-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3946 * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
3947 occurence of the aux object start with the current list entry, not
3948 the new one. Adjust tail pointer in the unique list. Explain how
3949 the meaning of the variables changes [PR libc/1168].
3951 1999-06-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3953 * sysdeps/m68k/fpu/Dist: New file.
3955 1999-06-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3957 * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
3959 * sysdeps/m68k/fpu/mathimpl.h: ... here. New file.
3960 * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
3961 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
3962 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
3963 * sysdeps/m68k/fpu/e_pow.c: Likewise.
3964 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
3965 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
3966 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
3967 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
3968 * sysdeps/m68k/fpu/s_csin.c: Likewise.
3969 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
3970 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
3971 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
3972 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
3973 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
3974 * sysdeps/m68k/fpu/s_modf.c: Likewise.
3976 1999-06-25 Roland McGrath <roland@baalperazim.frob.com>
3978 * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
3979 hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
3980 _EXTERN_INLINE, use a macro specific to each file,
3981 _HURD_FD_H_EXTERN_INLINE and the like.
3982 * hurd/Makefile (inline-headers): New variable.
3983 (routines): Remove hurdinline. Add $(inlines).
3984 (inlines): New variable.
3985 ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
3986 (generated): Append those here.
3987 * hurd/hurdinline.c: File removed.
3989 * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
3991 * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
3993 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3995 * nscd/connections.c (nscd_run): Use correct type for optlen variable.
3997 1999-06-25 Ulrich Drepper <drepper@cygnus.com>
3999 * string/bits/string2.h (strnlen): Remove extra prototype.
4001 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4003 * manual/filesys.texi (Working on Directory Trees): Fix typos.
4004 Reported by Andries.Brouwer@cwi.nl.
4006 1999-06-24 Ulrich Drepper <drepper@cygnus.com>
4008 * nscd/connections.c (handle_request): Use correct type for optlen
4011 * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
4012 * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
4014 1999-06-24 Thorsten Kukuk <kukuk@suse.de>
4016 * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
4017 * nscd/pwdcache.c: Likewise.
4018 * nscd/hstcache.c: Likewise.
4020 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
4022 * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
4024 * posix/getopt.h: Include stdio.h.
4026 * manual/arith.texi: Document restriction of ndigit parameter of
4028 * misc/efgcvt.c: Define NDIGIT_MAX.
4029 (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
4030 Do not dynamically allocate the static buffers. They are small enough.
4031 * misc/efgcvt_r.c: Define NDIGIT_MAX.
4032 (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
4033 * misc/qefgcvt.c: Define NDIGIT_MAX.
4034 * misc/qefgcvt_r.c: Likewise.
4035 * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
4037 1999-06-23 Zack Weinberg <zack@rabi.columbia.edu>
4039 * libio/stdio.h: Define stdin, stdout, stderr as macros.
4040 * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
4041 These are *pragmas* not macros.
4042 * wcsmbs/wchar.h: Fix comment.
4044 * grp/grp.h: Use __foo_t_defined convention to typedef things
4046 * io/sys/stat.h: Likewise.
4047 * libio/stdio.h: Likewise.
4048 * posix/unistd.h: Likewise.
4049 * posix/sys/types.h: Likewise.
4050 * posix/sys/wait.h: Likewise.
4051 * pwd/pwd.h: Likewise.
4052 * signal/signal.h: Likewise.
4053 * sysdeps/generic/stdint.h: Likewise.
4054 * sysdeps/gnu/utmpx.h: Likewise.
4055 * termios/termios.h: Likewise.
4057 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
4059 * stdio/fputc.c: Don't define alias if fputc is defined as a
4061 * stdio/putc.c: Define weak alias here since it is not done
4064 1999-06-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4066 * assert/assert.h: Don't produce `defined' as part of macro
4069 1999-06-23 Roland McGrath <roland@baalperazim.frob.com>
4071 * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
4072 OFFSET argument of (off_t) -1.
4073 * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
4074 OFFSET argument of (off_t) -1.
4076 * sysdeps/mach/hurd/pwrite.c: New file.
4077 * sysdeps/mach/hurd/pread.c: New file.
4079 * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
4080 pass it in the RPC instead of always -1.
4081 * hurd/fd-write.c (_hurd_fd_write): Likewise.
4082 * hurd/hurd/fd.h: Update decls.
4084 1999-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4086 * libio/wscanf.c: Include <wchar.h> for prototype.
4088 1999-06-22 Ulrich Drepper <drepper@cygnus.com>
4090 * manual/io.texi. Fix typos.
4091 * manual/stdio.texi: Likewise.
4092 Patches by Brian Youmans <3diff@gnu.org>.
4094 1999-06-22 Geoff Keating <geoffk@ozemail.com.au>
4096 * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
4097 bits of two words differ.
4099 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4101 * libio/Makefile (routines): Add putwchar and putwchar_u.
4103 * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
4104 * libio/putwchar_u.c: Likewise. Use _IO_stdout instead of
4105 stdout. Fix parameter name.
4107 * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
4108 * libio/getchar_u.c: Likewise.
4110 * libio/putchar_u.c: Use _IO_stdout instead of stdout.
4112 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4114 * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
4115 macro expansion---it's undefined. Properly parenthesize
4116 substituted parameters.
4117 (__GLIBC_PREREQ): Likewise.
4119 1999-06-21 Ulrich Drepper <drepper@cygnus.com>
4121 * Makeconfig (CPPFLAGS): Revert last change. It has too many
4124 * stdlib/longlong.h: Provide __P definition if not already
4127 * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
4129 1999-06-18 Thorsten Kukuk <kukuk@suse.de>
4131 * sysdeps/alpha/atomicity.h: Correct counting of subsections.
4133 1999-06-17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4135 * stdlib/tst-strtoll.c: Avoid warning about huge constant.
4137 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4139 * stdio-common/vfprintf.c (group_member): Make parameters and
4140 return types pointers to CHAR_T instead of UCHAR_T.
4141 (vfprintf): Change type of work_buffer, workend and string to
4142 CHAR_T pointer/array.
4143 (process_arg, process_string_arg): Adjust/remove casts. Add
4144 missing use of L_ macro.
4145 (printf_unknown): Add missing uses of L_ macro.
4147 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4149 * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
4152 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4154 * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF. Call
4155 _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
4156 (__wunderflow): Likewise.
4157 (_IO_switch_to_wget_mode): Likewise.
4158 (_IO_init_wmarker): Likewise.
4160 * libio/wfileops.c (_IO_wfile_seekoff): Call
4161 _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
4162 (_IO_wfile_jumps): Fix pbackfail entry.
4164 * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
4165 function if the stream is currently unoriented.
4167 1999-06-19 Zack Weinberg <zack@rabi.columbia.edu>
4169 * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
4170 Wrap all wide stream functions with #ifdef __USE_ISOC9X. Use
4171 __gnuc_va_list in v*w(printf|scanf) prototypes.
4173 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4175 * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
4176 1999-03-29 to iopopen also here.
4177 Reported by Richard Braakman <dark@xs4all.nl>.
4179 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4181 * include/features.h: Use __GNUC_PREREQ.
4182 * sysdeps/i386/fpu/bits/mathinline.h: Likewise
4184 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4186 * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
4187 Change EOF to WEOF and remove cast.
4188 (UNGETC): Remove macro.
4189 (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
4190 * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
4191 Change ISASCII to isascii and MBRLEN to mbrlen.
4192 (parse_one_spec): Compare info.spec always against wchar_t
4194 * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
4195 (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
4196 (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
4198 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4200 * libio/Makefile (shared-only-routines): Add oldiofgetpos,
4201 oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
4202 (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
4203 oldiofsetpos64 only if doing versioning.
4205 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
4207 * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
4209 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4211 * libio/libio.h: Fix last patch.
4213 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
4215 * libio/libio.h (_IO_putwc): Correct type of first argument.
4216 * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
4217 putwc_unlocked, putwchar_unlocked): Likewise.
4218 * libio/fputwc.c: Likewise.
4219 * libio/fputwc_unlocked.c: Likewise.
4220 * libio/putwc.c: Likewise.
4221 * libio/putwc_unlocked.c: Likewise.
4222 * libio/putwchar.c: Likewise.
4223 * libio/putwchar_unlocked.c: Likewise.
4225 1999-06-19 Roland McGrath <roland@baalperazim.frob.com>
4227 * sysdeps/gnu/siglist.h: File moved to ...
4228 * sysdeps/generic/siglist.h: ... here. This file should be usable for
4229 any platform, since it just associates the SIG* macros with text names
4230 and descriptions. For any signal macros do not exist on every
4231 platform, we can use #ifdef tests here and still use this single
4232 common file for all platforms.
4233 * sysdeps/generic/siglist.c: Rewrite using <siglist.h>. This file
4234 should be usable for all platforms after the binary compatibility
4235 stuff in the current sysdeps/gnu version is no longer required.
4236 * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
4237 * sysdeps/generic/make_siglist.c: File removed.
4238 * sysdeps/mach/hurd/siglist.h: Use #include_next.
4239 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
4241 1999-06-16 Roland McGrath <roland@baalperazim.frob.com>
4243 * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
4244 * sysdeps/gnu/siglist.c: ... here.
4245 Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
4246 Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
4247 * sysdeps/gnu/siglist.h: New file, contents from linux version.
4248 Add entry for SIGLOST protected by #ifdef.
4249 * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
4250 and define OLD_SIGLIST_SIZE_STR.
4251 * sysdeps/mach/hurd/siglist.h: New file, likewise.
4253 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
4255 * include/features.h: Define new macros __GNUC_PREREQ and
4256 __GLIBC_PREREQ which can be used to test the version of gcc
4257 and glibc respectively.
4259 * assert/assert.h: Use __GNUC_PREREQ.
4260 * intl/libintl.h: Likewise.
4261 * math/complex.h: Likewise.
4262 * math/tgmath.h: Likewise.
4263 * misc/sys/cdefs.h: Likewise.
4264 * posix/sys/types.h: Likewise.
4265 * socket/sys/socket.h: Likewise.
4266 * string/bits/string2.h: Likewise.
4267 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
4268 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
4270 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
4272 * include/libintl.h: Declare _libc_intl_domainname here.
4273 Define _ and N_ here.
4274 * include/libc-symbols.h: Don't include <libintl.h>. Don't
4275 define _ and N_. Don't declare _libc_intl_domainname.
4276 * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
4278 * db2/config.h: Don't include sys/stat.h or define
4279 HAVE_ST_BLKSIZE here...
4280 * db2/compat.h: ...do it here.
4282 * linuxthreads/internals.h: Include bits/libc-tsd.h after all
4284 * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
4285 * iconv/iconv.c: Include stddef.h for NULL.
4286 * malloc/malloc.h: Include features.h.
4287 * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
4289 * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
4290 into the generated file.
4291 * sysdeps/gnu/errlist.awk: Likewise.
4292 * sysdeps/gnu/errlist.c: Rebuilt.
4294 * assert/assert-perr.c: Include libintl.h.
4295 * assert/assert.c: Likewise.
4296 * elf/dl-open.c: Likewise.
4297 * elf/dlsym.c: Likewise.
4298 * elf/dlvsym.c: Likewise.
4299 * iconv/iconv_prog.c: Likewise.
4300 * inet/rcmd.c: Likewise.
4301 * inet/ruserpass.c: Likewise.
4302 * locale/programs/charset.c: Likewise.
4303 * locale/programs/ld-collate.c: Likewise.
4304 * locale/programs/ld-ctype.c: Likewise.
4305 * locale/programs/ld-messages.c: Likewise.
4306 * locale/programs/ld-monetary.c: Likewise.
4307 * locale/programs/ld-numeric.c: Likewise.
4308 * locale/programs/ld-time.c: Likewise.
4309 * locale/programs/locfile.c: Likewise.
4310 * locale/programs/repertoire.c: Likewise.
4311 * login/programs/database.c: Likewise.
4312 * login/programs/request.c: Likewise.
4313 * malloc/mcheck.c: Likewise.
4314 * misc/error.c: Likewise.
4315 * nis/nis_call.c: Likewise.
4316 * nis/nis_callback.c: Likewise.
4317 * nis/nis_error.c: Likewise.
4318 * nis/nis_local_names.c: Likewise.
4319 * nis/nis_print.c: Likewise.
4320 * nis/nis_print_group_entry.c: Likewise.
4321 * nis/ypclnt.c: Likewise.
4322 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
4323 * nscd/cache.c: Likewise.
4324 * nscd/connections.c: Likewise.
4325 * nscd/grpcache.c: Likewise.
4326 * nscd/hstcache.c: Likewise.
4327 * nscd/nscd_conf.c: Likewise.
4328 * nscd/nscd_stat.c: Likewise.
4329 * nscd/pwdcache.c: Likewise.
4330 * posix/id.c: Likewise.
4331 * resolv/herror.c: Likewise.
4332 * stdio-common/psignal.c: Likewise.
4333 * string/strsignal.c: Likewise.
4334 * sunrpc/auth_unix.c: Likewise.
4335 * sunrpc/clnt_perr.c: Likewise.
4336 * sunrpc/clnt_raw.c: Likewise.
4337 * sunrpc/clnt_tcp.c: Likewise.
4338 * sunrpc/clnt_udp.c: Likewise.
4339 * sunrpc/clnt_unix.c: Likewise.
4340 * sunrpc/get_myaddr.c: Likewise.
4341 * sunrpc/pm_getmaps.c: Likewise.
4342 * sunrpc/pmap_clnt.c: Likewise.
4343 * sunrpc/pmap_rmt.c: Likewise.
4344 * sunrpc/rpc_main.c: Likewise.
4345 * sunrpc/rpc_scan.c: Likewise.
4346 * sunrpc/svc_run.c: Likewise.
4347 * sunrpc/svc_simple.c: Likewise.
4348 * sunrpc/svc_tcp.c: Likewise.
4349 * sunrpc/svc_udp.c: Likewise.
4350 * sunrpc/svc_unix.c: Likewise.
4351 * sunrpc/xdr_rec.c: Likewise.
4352 * sunrpc/xdr_ref.c: Likewise.
4353 * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
4354 * sysdeps/posix/gai_strerror.c: Likewise.
4355 * sysdeps/unix/siglist.c: Likewise.
4356 * sysdeps/unix/sysv/linux/siglist.c: Likewise.
4357 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
4358 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
4359 * timezone/zic.c: Likewise.
4361 1999-06-18 H.J. Lu <hjl@gnu.org>
4363 * localedata/Makefile (charmaps): Exclude SCCS.
4364 (locales): Likewise.
4365 (repertoiremaps): Likewise.
4367 1999-06-18 Ulrich Drepper <drepper@cygnus.com>
4369 * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
4370 * sysdeps/generic/bsd-setjmp.c: Likewise.
4372 * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
4374 * iconv/gconv_open.c: Include string.h for memset prototype.
4376 * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
4379 * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
4380 assignment to avoid warning on 64bit platforms.
4382 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
4384 * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
4386 * nss/getXXbyYY_r.c: Return error code not -1.
4387 * nss/getXXent_r.c: Likewise.
4388 * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
4390 * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
4391 value > 0 for error.
4392 * nscd/nscd_gethst_r.c: Likewise.
4393 * nscd/nscd_getpw_r.c: Likewise.
4395 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4397 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
4400 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4402 * nscd/nscd_nischeck.c: Fix typos.
4404 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
4406 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
4407 always when oact is NULL.
4408 Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
4410 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4412 * math/libm-test.c (jn_test): Adjust delta.
4414 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4416 * libio/vwprintf.c: Include <wchar.h> for prototypes.
4417 * libio/wprintf.c: Likewise.
4419 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4421 * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
4422 to not write beyond allocated memory.
4423 Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
4425 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
4427 * malloc/mtrace.c: Keep lock while printing output lines.
4428 Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
4430 1999-06-16 Ulrich Drepper <drepper@cygnus.com>
4432 * configure.in: Add warnings about broken code.
4434 * Versions.def: Add GLIBC_2.2 for libc.
4436 * iconv/gconv.h: Make header suitable for inclusion in public header
4437 by protecting all names with __.
4438 * iconv/gconv.c: Adapt for symbol name changes.
4439 * iconv/gconv.h: Likewise.
4440 * iconv/gconv_builtin.c: Likewise.
4441 * iconv/gconv_close.c: Likewise.
4442 * iconv/gconv_db.c: Likewise.
4443 * iconv/gconv_dl.c: Likewise.
4444 * iconv/gconv_int.h: Likewise.
4445 * iconv/gconv_open.c: Likewise.
4446 * iconv/gconv_simple.c: Likewise.
4447 * iconv/iconv.c: Likewise.
4448 * iconv/iconv_close.c: Likewise.
4449 * iconv/iconv_open.c: Likewise.
4450 * iconv/loop.c: Likewise.
4451 * iconv/skeleton.c: Likewise.
4452 * iconvdata/8bit-gap.c: Likewise.
4453 * iconvdata/8bit-generic.c: Likewise.
4454 * iconvdata/ansi_x3.110.c: Likewise.
4455 * iconvdata/big5.c: Likewise.
4456 * iconvdata/cns11643.h: Likewise.
4457 * iconvdata/cns11643l1.h: Likewise.
4458 * iconvdata/euc-cn.c: Likewise.
4459 * iconvdata/euc-jp.c: Likewise.
4460 * iconvdata/euc-kr.c: Likewise.
4461 * iconvdata/euc-tw.c: Likewise.
4462 * iconvdata/gb2312.h: Likewise.
4463 * iconvdata/iso-2022-jp.c: Likewise.
4464 * iconvdata/iso-2022-kr.c: Likewise.
4465 * iconvdata/iso646.c: Likewise.
4466 * iconvdata/iso8859-1.c: Likewise.
4467 * iconvdata/iso_6937-2.c: Likewise.
4468 * iconvdata/iso_6937.c: Likewise.
4469 * iconvdata/jis0201.h: Likewise.
4470 * iconvdata/jis0208.h: Likewise.
4471 * iconvdata/jis0212.h: Likewise.
4472 * iconvdata/johab.c: Likewise.
4473 * iconvdata/ksc5601.h: Likewise.
4474 * iconvdata/sjis.c: Likewise.
4475 * iconvdata/t.61.c: Likewise.
4476 * iconvdata/uhc.c: Likewise.
4477 * stdlib/mblen.c: Likewise.
4478 * stdlib/mbtowc.c: Likewise.
4479 * stdlib/wctomb.c: Likewise.
4480 * wcsmbs/btowc.c: Likewise.
4481 * wcsmbs/mbrtowc.c: Likewise.
4482 * wcsmbs/mbsnrtowcs.c: Likewise.
4483 * wcsmbs/mbsrtowcs.c: Likewise.
4484 * wcsmbs/wchar.h: Likewise.
4485 * wcsmbs/wcrtomb.c: Likewise.
4486 * wcsmbs/wcsmbsload.c: Likewise.
4487 * wcsmbs/wcsmbsload.h: Likewise.
4488 * wcsmbs/wcsnrtombs.c: Likewise.
4489 * wcsmbs/wcsrtombs.c: Likewise.
4490 * wcsmbs/wctob.c: Likewise.
4492 * include/limits.h (MB_LEN_MAX): Increase to 16.
4494 * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct. Define
4496 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
4497 * include/wchar.h: Change mbstate_t to __mbstate_t.
4499 * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
4500 oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
4501 getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
4502 iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
4503 putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
4504 vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
4506 (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
4507 * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
4508 _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
4509 fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
4510 fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
4511 getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
4512 putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
4513 vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
4515 * libio/libio.h: Define codecvt struct. Define _IO_wide_data.
4516 Extend _IO_file contain pointer to codecvt, widedata and mode.
4517 (_IO_getwc_unlocked): New macro.
4518 (_IO_putwc_unlocked): New macro.
4519 (_IO_fwide): New macro.
4520 * libio/libioP.h: Add new prototypes and adjust existing declarations.
4521 * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
4522 buffers based on mode.
4523 (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
4525 (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
4526 flag to be enough to signal unallocated buffer. For wide oriented
4527 stream don't make it linebuffered. Don't use _IO_do_flush, use
4528 _IO_new_do_write directly.
4529 (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
4530 (_IO_file_seek): Likewise.
4531 * libio/genops.c (_IO_least_marker): Make global.
4532 (__underflow): Orient stream if not already done.
4533 (__uflow): Likewise.
4534 (_IO_default_seekpos): Change to type _IO_off64_t.
4535 (_IO_default_seekoff): Likewise.
4536 (_IO_default_seek): Likewise.
4537 (_IO_no_init): New function. Similar to _IO_init but allows to orient
4539 * libio/iolibio.h: Add prototype for _IO_vswprintf. Change _IO_pos_BAD
4541 * libio/ftello.c: Use _IO_off_t. For now abort when use with wide
4543 * libio/ftello64.c: Likewise.
4544 * libio/ioftell.c: Likewise.
4545 * libio/iofopncook.c: Likewise.
4546 * libio/ioseekoff.c: Likewise.
4547 * libio/ioseekpos.c: Likewise.
4548 * libio/oldfileops.c: Likewise.
4549 * libio/iofgetpos.c: Store state of conversion if necessary.
4550 * libio/iofgetpos64.c: Likewise.
4551 * libio/iofsetpos.c: Restore conversion state if necessary.
4552 * libio/iofsetpos64.c: Likewise.
4553 * libio/iofdopen.c: Initialize so that stream can be wide oriented.
4554 * libio/iofopen.c: Likewise.
4555 * libio/iofopen64.c: Likewise.
4556 * libio/iopopen.c: Likewise.
4557 * libio/iovdprintf.c: Likewise.
4558 * libio/iovsprintf.c: Likewise.
4559 * libio/iovsscanf.c: Likewise.
4560 * libio/memstream.c: Likewise.
4561 * libio/obprintf.c: Likewise.
4562 * libio/iofputs.c: Orient stream if not already happened.
4563 * libio/iofputs_u.c: Likewise.
4564 * libio/iofwrite.c: Likewise.
4565 * libio/iofwrite_u.c: Likewise.
4566 * libio/ioputs.c: Likewise.
4567 * libio/iosetbuffer.c: Handle not yet oriented stream.
4568 * libio/iosetvbuf.c: Likewise.
4569 * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
4570 * libio/stdfiles.c: Likewise.
4571 * libio/strops.c (_IO_str_overflow): Correctly free buffer after
4573 (_IO_str_seekoff): Use _IO_off64_t.
4574 * libio/vasprintf.c: Pre-orient stream.
4575 * libio/vsnprintf.c: Likewise.
4576 * libio/fputwc.c: New file.
4577 * libio/fputwc_u.c: New file.
4578 * libio/fwprintf.c: New file.
4579 * libio/fwscanf.c: New file.
4580 * libio/getwc.c: New file.
4581 * libio/getwc_u.c: New file.
4582 * libio/getwchar.c: New file.
4583 * libio/getwchar_u.c: New file.
4584 * libio/iofgetws.c: New file.
4585 * libio/iofgetws_u.c: New file.
4586 * libio/iofputws.c: New file.
4587 * libio/iofputws_u.c: New file.
4588 * libio/iofwide.c: New file.
4589 * libio/iogetwline.c: New file.
4590 * libio/ioungetwc.c: New file.
4591 * libio/iovswscanf.c: New file.
4592 * libio/iowpadn.c: New file.
4593 * libio/oldiofgetpos.c: New file.
4594 * libio/oldiofgetpos64.c: New file.
4595 * libio/oldiofsetpos.c: New file.
4596 * libio/oldiofsetpos64.c: New file.
4597 * libio/putwc.c: New file.
4598 * libio/putwc_u.c: New file.
4599 * libio/putwchar.c: New file.
4600 * libio/putwchar_u.c: New file.
4601 * libio/swprintf.c: New file.
4602 * libio/swscanf.c: New file.
4603 * libio/tst_swprintf.c: New file.
4604 * libio/tst_swscanf.c: New file.
4605 * libio/tst_wprintf.c: New file.
4606 * libio/tst_wscanf.c: New file.
4607 * libio/tst_wscanf.input: New file.
4608 * libio/vswprintf.c: New file.
4609 * libio/vwprintf.c: New file.
4610 * libio/vwscanf.c: New file.
4611 * libio/wfiledoalloc.c: New file.
4612 * libio/wfileops.c: New file.
4613 * libio/wgenops.c: New file.
4614 * libio/wprintf.c: New file.
4615 * libio/wscanf.c: New file.
4616 * libio/wstrops.c: New file.
4617 * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
4618 vfwprintf, and vfwscanf.
4619 * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
4621 * stdio-common/_itowa.c: New file.
4622 * stdio-common/_itowa.h: New file.
4623 * stdio-common/itoa-digits.c: Minimal optimization.
4624 * stdio-common/itowa-digits.c: New file.
4625 * stdio-common/printf-parse.h: Allow use in wide character context.
4626 * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
4627 * stdio-common/printf.h (printf_info): Add wide bit.
4628 * stdio-common/printf_fp.c: Determine from wide bit whether stream
4629 is wide oriented or not.
4630 * stdio-common/printf_size.c: Likewise.
4631 * sysdeps/generic/printf_fphex.c: Likewise.
4632 * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
4633 * stdio-common/vfprintf.c: Rewrite to allow use in wide character
4635 * stdio-common/vfscand.c: Likewise.
4636 * stdio-common/vfwprintf.c: New file.
4637 * stdio-common/vfwscanf.c: New file.
4639 * time/Makefile (routines): Add wcsftime.
4640 (tests): Add tst_wcsftime.
4641 * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
4642 * time/strftime.c: Make usable as wcsftime.
4643 * time/wcsftime.c: New file.
4644 * time/tst_wcsftime.c: New file.
4646 * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
4647 * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
4648 * wcsmbs/wcschrnul.c: New file.
4649 * wcsmbs/wmemcpy.c: New file.
4650 * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
4651 * wcsmbs/wmemmove.c: Likewise for wmemmove.
4653 * manual/stdio.texi: Document is_char and wide element if printf_info.
4655 * manual/time.texi: Document wcsftime.
4657 * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
4658 __wmemmove, __wcschrnul, and __vfwscanf.
4660 * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
4661 * locale/C-time.c: Adapt for above change.
4662 * locale/categories.def: Likewise.
4663 * locale/localeinfo.h: Likewise.
4664 * localedata/Makefile: Don't run tests for now.
4666 * manual/errno.texi: Fix typos.
4667 * manual/memory.texi: Likewise.
4668 * manual/ctype.texi: Likewise.
4669 Patches by Brian Youmans <3diff@gnu.org>.
4671 1999-06-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4673 * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
4675 1999-06-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4677 * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
4679 * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
4680 * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
4682 1999-06-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4684 * db2/db/db.c: Restore __nss_db_open alias.
4685 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
4687 * db2/os/os_rw.c (__os_write): Maintain const correctness.
4688 * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
4690 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
4692 * stdio-common/printf-parse.h (parse_one_spec): Don't set
4693 is_longlong if not necessary.
4695 1999-06-15 H.J. Lu <hjl@gnu.org>
4697 * Make-dist (sysdep_dirs): Exclude SCCS.
4698 * MakeTAGS (sysdep_dirs): Likewise.
4700 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
4702 * posix/regex.c (re_error_msgid): Remove extra commas.
4704 1999-06-14 Geoff Keating <geoffk@ozemail.com.au>
4706 * stdlib/tst-strtoll.c: New file.
4707 * stdlib/Makefile (tests): Add tst-strtoll.c
4708 * stdlib/strtol.c: It is not generally true that if
4709 (unsigned)a*(unsigned)b overflows, then the result is
4712 1999-06-14 Thorsten Kukuk <kukuk@suse.de>
4714 * nscd/connections.c (handle_request): Only root is allowed to
4715 send GETSTAT request in non secure mode.
4716 * nscd/nscd.c: Print error message if other then root try to
4719 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4721 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
4723 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4725 * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
4726 Closes PR libc/1164, reported by sascha@schumann.2ns.de.
4728 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4730 * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
4731 for character to search, to help the compiler.
4732 * sysdeps/generic/strchrnul.c: Likewise.
4733 * sysdeps/generic/memchr.c: Likewise.
4734 * sysdeps/generic/memccpy.c: Likewise.
4735 * sysdeps/generic/rawmemchr.c: Likewise. Fix comment.
4737 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4739 * sysdeps/m68k/memchr.S: New file.
4740 * sysdeps/m68k/rawmemchr.S: New file.
4741 * sysdeps/m68k/strchr.S: New file.
4742 * sysdeps/m68k/strchrnul.S: New file.
4744 1999-06-13 Geoff Keating <geoffk@ozemail.com.au>
4746 * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
4747 add `memory' clobber; optimise for constant `val'.
4748 (atomic_add): Likewise.
4749 (test_and_set): Remove `volatile'; add `memory' clobber; be more
4750 like the original `test_and_set'.
4751 (compare_and_swap): Remove `volatile'; add `memory' clobber;
4752 optimise for constant `oldval'.
4753 (always_swap): Remove `volatile'; add `memory' clobber.
4755 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4757 * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
4758 functions for gcc <= 2.7.x.
4760 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
4762 * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
4765 1999-06-13 Ulrich Drepper <drepper@cygnus.com>
4767 * db2/Makefile (distribute): Remove files which do not exist
4770 * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
4771 definitions to calm down gcc.
4773 * db2/db.h: Update from db 2.7.5.
4774 * db2/db_185.h: Likewise.
4775 * db2/db_int.h: Likewise.
4776 * db2/btree/bt_compare.c: Likewise.
4777 * db2/btree/bt_conv.c: Likewise.
4778 * db2/btree/bt_curadj.c: Likewise.
4779 * db2/btree/bt_cursor.c: Likewise.
4780 * db2/btree/bt_delete.c: Likewise.
4781 * db2/btree/bt_open.c: Likewise.
4782 * db2/btree/bt_page.c: Likewise.
4783 * db2/btree/bt_put.c: Likewise.
4784 * db2/btree/bt_rec.c: Likewise.
4785 * db2/btree/bt_recno.c: Likewise.
4786 * db2/btree/bt_rsearch.c: Likewise.
4787 * db2/btree/bt_search.c: Likewise.
4788 * db2/btree/bt_split.c: Likewise.
4789 * db2/btree/bt_stat.c: Likewise.
4790 * db2/btree/btree_auto.c: Likewise.
4791 * db2/common/db_appinit.c: Likewise.
4792 * db2/common/db_apprec.c: Likewise.
4793 * db2/common/db_err.c: Likewise.
4794 * db2/common/db_region.c: Likewise.
4795 * db2/common/db_salloc.c: Likewise.
4796 * db2/db/db.c: Likewise.
4797 * db2/db/db.src: Likewise.
4798 * db2/db/db_am.c: Likewise.
4799 * db2/db/db_auto.c: Likewise.
4800 * db2/db/db_dispatch.c: Likewise.
4801 * db2/db/db_dup.c: Likewise.
4802 * db2/db/db_iface.c: Likewise.
4803 * db2/db/db_join.c: Likewise.
4804 * db2/db/db_overflow.c: Likewise.
4805 * db2/db/db_pr.c: Likewise.
4806 * db2/db/db_rec.c: Likewise.
4807 * db2/db/db_ret.c: Likewise.
4808 * db2/db185/db185.c: Likewise.
4809 * db2/dbm/dbm.c: Likewise.
4810 * db2/hash/hash.c: Likewise.
4811 * db2/hash/hash_auto.c: Likewise.
4812 * db2/hash/hash_dup.c: Likewise.
4813 * db2/hash/hash_page.c: Likewise.
4814 * db2/hash/hash_rec.c: Likewise.
4815 * db2/hash/hash_stat.c: Likewise.
4816 * db2/include/btree.h: Likewise.
4817 * db2/include/btree_ext.h: Likewise.
4818 * db2/include/clib_ext.h: Likewise.
4819 * db2/include/common_ext.h: Likewise.
4820 * db2/include/db_am.h: Likewise.
4821 * db2/include/db_auto.h: Likewise.
4822 * db2/include/db_cxx.h: Likewise.
4823 * db2/include/db_ext.h: Likewise.
4824 * db2/include/db_join.h: Likewise.
4825 * db2/include/db_page.h: Likewise.
4826 * db2/include/hash.h: Likewise.
4827 * db2/include/hash_ext.h: Likewise.
4828 * db2/include/lock.h: Likewise.
4829 * db2/include/lock_ext.h: Likewise.
4830 * db2/include/log.h: Likewise.
4831 * db2/include/log_ext.h: Likewise.
4832 * db2/include/mp.h: Likewise.
4833 * db2/include/mp_ext.h: Likewise.
4834 * db2/include/os.h: Likewise.
4835 * db2/include/os_ext.h: Likewise.
4836 * db2/include/os_func.h: Likewise.
4837 * db2/include/txn.h: Likewise.
4838 * db2/include/txn_auto.h: Likewise.
4839 * db2/include/txn_ext.h: Likewise.
4840 * db2/include/xa.h: Likewise.
4841 * db2/include/xa_ext.h: Likewise.
4842 * db2/lock/lock.c: Likewise.
4843 * db2/lock/lock_conflict.c: Likewise.
4844 * db2/lock/lock_deadlock.c: Likewise.
4845 * db2/lock/lock_region.c: Likewise.
4846 * db2/lock/lock_util.c: Likewise.
4847 * db2/log/log.c: Likewise.
4848 * db2/log/log_archive.c: Likewise.
4849 * db2/log/log_auto.c: Likewise.
4850 * db2/log/log_findckp.c: Likewise.
4851 * db2/log/log_get.c: Likewise.
4852 * db2/log/log_put.c: Likewise.
4853 * db2/log/log_rec.c: Likewise.
4854 * db2/log/log_register.c: Likewise.
4855 * db2/mp/mp_bh.c: Likewise.
4856 * db2/mp/mp_fget.c: Likewise.
4857 * db2/mp/mp_fopen.c: Likewise.
4858 * db2/mp/mp_fput.c: Likewise.
4859 * db2/mp/mp_fset.c: Likewise.
4860 * db2/mp/mp_open.c: Likewise.
4861 * db2/mp/mp_pr.c: Likewise.
4862 * db2/mp/mp_region.c: Likewise.
4863 * db2/mp/mp_sync.c: Likewise.
4864 * db2/mutex/mutex.c: Likewise.
4865 * db2/mutex/uts4_cc.s: Likewise.
4866 * db2/os/os_abs.c: Likewise.
4867 * db2/os/os_alloc.c: Likewise.
4868 * db2/os/os_config.c: Likewise.
4869 * db2/os/os_dir.c: Likewise.
4870 * db2/os/os_fid.c: Likewise.
4871 * db2/os/os_fsync.c: Likewise.
4872 * db2/os/os_map.c: Likewise.
4873 * db2/os/os_oflags.c: Likewise.
4874 * db2/os/os_open.c: Likewise.
4875 * db2/os/os_rw.c: Likewise.
4876 * db2/os/os_seek.c: Likewise.
4877 * db2/os/os_sleep.c: Likewise.
4878 * db2/os/os_spin.c: Likewise.
4879 * db2/os/os_stat.c: Likewise.
4880 * db2/os/os_tmpdir.c: Likewise.
4881 * db2/os/os_unlink.c: Likewise.
4882 * db2/progs/db_archive/db_archive.c: Likewise.
4883 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
4884 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
4885 * db2/progs/db_dump/db_dump.c: Likewise.
4886 * db2/progs/db_load/db_load.c: Likewise.
4887 * db2/progs/db_printlog/README: Likewise.
4888 * db2/progs/db_printlog/commit.awk: Likewise.
4889 * db2/progs/db_printlog/count.awk: Likewise.
4890 * db2/progs/db_printlog/db_printlog.c: Likewise.
4891 * db2/progs/db_printlog/pgno.awk: Likewise.
4892 * db2/progs/db_printlog/range.awk: Likewise.
4893 * db2/progs/db_printlog/status.awk: Likewise.
4894 * db2/progs/db_printlog/txn.awk: Likewise.
4895 * db2/progs/db_recover/db_recover.c: Likewise.
4896 * db2/progs/db_stat/db_stat.c: Likewise.
4897 * db2/txn/txn.c: Likewise.
4898 * db2/txn/txn.src: Likewise.
4899 * db2/txn/txn_auto.c: Likewise.
4900 * db2/txn/txn_rec.c: Likewise.
4901 * db2/xa/xa.c: Likewise.
4902 * db2/xa/xa_db.c: Likewise.
4903 * db2/xa/xa_map.c: Likewise.
4905 * db2/btree/bt_close.c: Removed.
4906 * db2/db/db_thread.c: Likewise.
4907 * db2/hash/hash_debug.c: Likewise.
4908 * db2/include/db.h.src: Likewise.
4909 * db2/include/db_int.h.src: Likewise.
4910 * db2/include/os_jump.h: Likewise.
4911 * db2/mutex/alpha.dec: Likewise.
4912 * db2/mutex/alpha.gcc: Likewise.
4913 * db2/mutex/parisc.hp: Likewise.
4914 * db2/mutex/uts4.cc.s: Likewise.
4916 * db2/Makefile: Add new routines, remove old for 2.7.5.
4917 * db2/Versions: Add internal function names for the helper programs.
4918 * db2/makedb.c: Update for new cursor callback.
4919 * Versions.def: Define versions for libdb.
4921 1999-06-13 Thorsten Kukuk <kukuk@suse.de>
4923 * nscd/connections.c (nscd_run): Get user ID for all non-db services.
4924 * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
4925 * nscd/nscd_nischeck.c: New file.
4926 * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
4928 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4930 * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
4931 MSG_* flags from Linux 2.2.9.
4933 1999-06-12 Mark Kettenis <kettenis@gnu.org>
4935 * Makeconfig (static-start-installed-name): Set to
4936 $(start-installed-name) if not defined.
4937 (+link-static): Use $(static-start-installed-name) instead of
4938 $(start-installed-name).
4939 * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
4942 1999-06-12 Mark Kettenis <kettenis@gnu.org>
4944 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
4945 inserting a send right into the child instead of unconditionally
4946 copying the send right.
4948 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
4950 * locale/lc-time.c: Add free_mem function to free if necessary
4951 statically allocated memory.
4953 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
4955 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
4956 bias from the raw exponent.
4958 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
4960 * inet/arpa/tftp.h: Move attribute declaration in right position.
4962 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
4964 * nscd/nscd.c: Add -S options for separate caching of data for
4965 every user. So one user couldn't see the data another user
4966 has gotten with his credentials.
4967 * nscd/nscd.h: Add new prototypes.
4968 * nscd/cache.c: Compare owner of cache entry if in secure mode.
4969 * nscd/connections.c: Check on shutdown if caller really was root.
4970 In secure mode get uid of caller.
4971 * nscd/grpcache.c: Add support for new secure group mode.
4972 * nscd/hstcache.c: Add support for new secure hosts mode.
4973 * nscd/pwdcache.c: Add support for new secure passwd mode.
4975 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
4977 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
4978 of user-provided buffer.
4980 1999-06-11 Mark Kettenis <kettenis@gnu.org>
4982 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
4983 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
4985 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
4987 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
4990 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
4991 returning after last entry.
4992 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
4994 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
4996 * misc/sysexits.h: Remove advertising clause of copyright.
4997 * resolv/getnetnamadr.c: Likewise.
4998 * sysdeps/vax/bcopy.s: Likewise.
4999 * sysdeps/vax/bzero.s: Likewise.
5000 * sysdeps/vax/ffs.s: Likewise.
5001 * sysdeps/vax/memchr.s: Likewise.
5002 * sysdeps/vax/memcmp.s: Likewise.
5003 * sysdeps/vax/memmove.s: Likewise.
5004 * sysdeps/vax/memset.s: Likewise.
5005 * sysdeps/vax/strcat.s: Likewise.
5006 * sysdeps/vax/strchr.s: Likewise.
5007 * sysdeps/vax/strcmp.s: Likewise.
5008 * sysdeps/vax/strcpy.s: Likewise.
5009 * sysdeps/vax/strcspn.s: Likewise.
5010 * sysdeps/vax/strlen.s: Likewise.
5011 * sysdeps/vax/strncat.s: Likewise.
5012 * sysdeps/vax/strncmp.s: Likewise.
5013 * sysdeps/vax/strncpy.s: Likewise.
5014 * sysdeps/vax/strpbrk.s: Likewise.
5015 * sysdeps/vax/strrchr.s: Likewise.
5016 * sysdeps/vax/strsep.s: Likewise.
5017 * sysdeps/vax/strspn.s: Likewise.
5018 * sysdeps/vax/strstr.s: Likewise.
5020 * libio/iofopncook.c: Adjust for renaming of structure elements.
5021 * libio/libio.h: Define cookie functions with all the names.
5023 * pwd/fgetpwent_r.c: Set errno in the correct way.
5024 * shadow/fgetspent_r.c: Likewise.
5025 * pwd/fgetpwent.c: Handle long lines correctly. Little
5026 optimizations. Free static buffer when debugging memory handling.
5027 * shadow/fgetspent.c: Likewise.
5029 * grp/fgetgrent.c: Little optimization in loop.
5031 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5033 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
5036 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
5038 * stdlib/longlong.h: gas changed sethi handling when without
5039 %hi(). Fix assembly.
5040 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
5041 port specific cache id checks.
5042 * sysdeps/generic/dl-cache.h: New file.
5043 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
5045 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
5047 * gmon/gmon.c: Remove advertising clause of copyright.
5048 * gmon/mcount.c: Likewise.
5049 * gmon/sys/gmon.h: Likewise.
5050 * inet/arpa/ftp.h: Likewise.
5051 * inet/arpa/telnet.h: Likewise.
5052 * inet/arpa/tftp.h: Likewise.
5053 * inet/inet_lnaof.c: Likewise.
5054 * inet/inet_mkadr.c: Likewise.
5055 * inet/inet_net.c: Likewise.
5056 * inet/inet_netof.c: Likewise.
5057 * inet/protocols/routed.h: Likewise.
5058 * inet/protocols/rwhod.h: Likewise.
5059 * inet/protocols/talkd.h: Likewise.
5060 * inet/protocols/timed.h: Likewise.
5061 * inet/rcmd.c: Likewise.
5062 * inet/rexec.c: Likewise.
5063 * inet/ruserpass.c: Likewise.
5064 * io/fts.c: Likewise.
5065 * io/fts.h: Likewise.
5066 * login/login_tty.c: Likewise.
5067 * misc/fstab.h: Likewise.
5068 * misc/getttyent.c: Likewise.
5069 * misc/getusershell.c: Likewise.
5070 * misc/sys/queue.h: Likewise.
5071 * misc/sys/syslog.h: Likewise.
5072 * misc/syslog.c: Likewise.
5073 * misc/ttyent.h: Likewise.
5074 * misc/ttyslot.c: Likewise.
5075 * resolv/arpa/nameser.h: Likewise.
5076 * resolv/gethnamaddr.c: Likewise.
5077 * resolv/herror.c: Likewise.
5078 * resolv/inet_addr.c: Likewise.
5079 * resolv/mapv4v6addr.h: Likewise.
5080 * resolv/mapv4v6hostent.h: Likewise
5081 * resolv/nss_dns/dns-host.c: Likewise.
5082 * resolv/nss_dns/dns-network.c: Likewise.
5083 * resolv/res_comp.c: Likewise.
5084 * resolv/res_data.c: Likewise.
5085 * resolv/res_debug.c: Likewise.
5086 * resolv/res_init.c: Likewise.
5087 * resolv/res_mkquery.c: Likewise.
5088 * resolv/res_query.c: Likewise.
5089 * resolv/res_send.c: Likewise.
5090 * resolv/resolv.h: Likewise.
5091 * sysdeps/generic/div.c: Likewise.
5092 * sysdeps/generic/netinet/ip.h: Likewise.
5093 * sysdeps/generic/netinet/tcp.h: Likewise.
5094 * sysdeps/generic/paths.h: Likewise.
5095 * sysdeps/generic/prof-freq.c: Likewise.
5096 * sysdeps/generic/sys/ttydefaults.h: Likewise.
5097 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5098 * sysdeps/gnu/netinet/tcp.h: Likewise.
5099 * sysdeps/ieee754/support.c: Likewise.
5100 * sysdeps/mach/hurd/sys/param.h: Likewise.
5101 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
5102 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5103 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
5104 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5105 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
5106 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
5107 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
5108 * sysdeps/unix/sysv/linux/paths.h: Likewise.
5109 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
5110 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
5111 * sysdeps/vax/DEFS.h: Likewise.
5112 * termios/sys/ttychars.h: Likewise.
5113 * misc/daemon.c: Likewise. Call fork.
5115 * grp/fgetgrent.c (buffer): Make file local variable.
5116 (free_mem): New function. Call for malloc debugging.
5118 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
5120 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5122 * grp/Makefile: Add rules for tst_fgetgrent.
5124 * grp/tst_fgetgrent.c: Rewritten to read only one file.
5126 * grp/tst_fgetgrent.sh: New file.
5128 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
5130 * grp/Makefile (tests): Add tst_fgetgrent.
5131 * grp/tst_fgetgrent.c: New file.
5132 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
5134 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
5136 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
5137 be POSIX compliant. Prior definition was broken for Hurd.
5138 Reported by Mark Kettenis <kettenis@gnu.org>.
5140 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
5142 * ctype/ctype.h: Protect __tobody code by __extension__.
5144 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
5146 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
5147 reading and reset in case the buffer was too small.
5149 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
5152 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5154 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
5155 another SIOGIFNAME typo.
5157 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
5159 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
5161 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
5164 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5166 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
5167 the precision if the mantissa is zero.
5169 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5171 * manual/lang.texi (Floating Point Parameters): GCC already
5172 supports long double for a long time.
5174 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5176 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
5177 yn_test): Increase some epsilons.
5179 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
5181 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
5184 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
5186 * sysdeps/unix/sysv/linux/kernel-features.h: Define
5187 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
5188 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
5189 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
5191 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
5192 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
5193 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
5194 * sysdeps/libm-ieee754/w_j1.c: Likewise.
5195 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
5196 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
5197 * sysdeps/libm-ieee754/w_jn.c: Likewise.
5198 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
5199 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
5201 * stdio-common/vfprintf.c: Correct typos.
5203 * math/libm-test.c (jn_test): Adjust delta.
5204 (y1_test): Likewise.
5205 (yn_test): Likewise.
5207 * elf/do-lookup.h: It should never happen that if we expect a versioned
5208 symbol from a file the file has no version table. This should have
5209 been checked in dl-version.c.
5210 * elf/dl-lookup.c: Include assert.h.
5212 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
5215 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
5217 1999-06-06 Andi Kleen <ak@muc.de>
5219 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
5222 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5224 * math/libm-test.c (yn_test): Change one delta.
5225 (jn_test): Likewise.
5226 (j1_test): Likewise.
5227 (y0_test): Likewise.
5229 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
5231 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
5232 avoid multiple calls to getpagesize() which might be a syscall.
5234 1999-06-06 Philip Blundell <philb@gnu.org>
5236 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
5238 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5240 * manual/install.texi (Running make install): Correct typo in
5241 dynamic linker invocation.
5243 1999-06-05 Philip Blundell <philb@gnu.org>
5245 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
5246 problems with GOT addressing.
5248 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
5250 * malloc/malloc.c (check_action): Change into bitmap so that both
5251 diagnostic and abort can be requested by setting it to 3.
5252 (mALLOC_SET_STATe): Disable malloc checking if necessary.
5254 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
5256 * configure.in: Few changes for HPUX.
5258 * scripts/config.guess: Update from latest version.
5259 * scripts/config.sub: Likewise.
5261 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5263 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
5264 map files. Closes PR libc/1147.
5266 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5268 * math/libm-test.c (main): Add new test functions.
5269 (jn_test): New tests.
5270 (j1_test): Add some more tests.
5271 (j0_test): Add some more tests.
5272 (y0_test): Add some more tests.
5273 (y1_test): Add some more tests.
5275 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5277 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
5278 Patch by mhagger@dera.gov.uk [PR libc/1145].
5280 * math/libm-test.c (y1_test): New tests.
5281 (y0_test): Likewise.
5282 (j1_test): Likewise.
5283 (j0_test): Likewise.
5284 (main): Added new tests.
5286 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
5288 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
5289 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
5290 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
5291 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
5292 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
5293 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
5295 1999-06-02 David S. Miller <davem@redhat.com>
5297 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
5300 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
5302 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
5303 and elide compatibility code if possible.
5305 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
5307 * manual/llio.texi: Remove menu entry for removed section.
5309 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5311 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
5314 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5316 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
5319 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
5321 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
5323 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5325 * manual/stdio.texi: Fix some typos.
5327 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5329 * malloc/malloc.h: Properly handle future GCC versions.
5331 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5333 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
5334 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
5335 text of error message.
5337 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
5339 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
5341 * manual/filesys.texi: Extend (f)truncate documentation.
5342 * manual/llio.texi: Remove duplicate (f)truncate definition.
5344 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5346 * manual/stdio.texi (Formatted Output Functions): Mention
5347 semantics of snprintf in glibc 2.0.
5348 Reported by Ben Pfaff <pfaffben@msu.edu>.
5350 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
5352 * include/features.h (__GLIBC_MINOR__): Bump to 2.
5354 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
5356 * math/libm-test.c: Adjust a few more deltas for the poor ARM
5359 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5361 * configure.in: Fix typo.
5363 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5365 * manual/socket.texi (Host Names): Remove statement that h_errno
5366 needs to be declared since this isn't true anymore.
5367 Closes PR libc/1138.
5369 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
5371 * config.h.in: Add __LINUX_KERNEL_VERSION.
5372 * configure.in: Recognize --enable-kernel.
5373 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
5374 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
5376 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
5377 given perform runtime test.
5379 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
5380 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
5381 minimal supported kernel is known to have the feature.
5382 * sysdeps/unix/sysv/linux/poll.c: Likewise.
5383 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5384 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5385 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5386 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5387 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
5388 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5389 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5390 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5391 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5392 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5393 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
5394 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
5395 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
5396 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
5398 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
5400 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
5402 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
5404 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
5406 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
5407 Optimized sparc64 routines.
5409 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
5411 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
5412 they are the same as ints.
5413 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
5415 * version.h (VERSION): Bump to 2.1.90.
5416 (RELEASE): Mark as development.
5418 * stdio-common/vfprintf.c (vfprintf): Don't implement special
5419 handling for long long if it is the same as long.
5420 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
5422 * stdlib/strtol.c: Moved to ...
5423 * sysdeps/generic/strtol.c: ...here.
5424 * stdlib/strtoul.c: Moved to ...
5425 * sysdeps/generic/strtoul.c: ...here.
5426 * stdlib/strtoll.c: Moved to ...
5427 * sysdeps/generic/strtoll.c: ...here.
5428 * stdlib/strtoull.c: Moved to ...
5429 * sysdeps/generic/strtoull.c: ...here.
5430 * stdlib/strtol_l.c: Moved to ...
5431 * sysdeps/generic/strtol_l.c: ...here.
5432 * stdlib/strtoul_l.c: Moved to ...
5433 * sysdeps/generic/strtoul_l.c: ...here.
5434 * stdlib/strtoll_l.c: Moved to ...
5435 * sysdeps/generic/strtoll_l.c: ...here.
5436 * stdlib/strtoull_l.c: Moved to ...
5437 * sysdeps/generic/strtoull_l.c: ...here.
5439 * sysdeps/wordsize-64/strtol.c: New file.
5440 * sysdeps/wordsize-64/strtoul.c: New file.
5441 * sysdeps/wordsize-64/strtoll.c: New file.
5442 * sysdeps/wordsize-64/strtoull.c: New file.
5443 * sysdeps/wordsize-64/strtol_l.c: New file.
5444 * sysdeps/wordsize-64/strtoul_l.c: New file.
5445 * sysdeps/wordsize-64/strtoll_l.c: New file.
5446 * sysdeps/wordsize-64/strtoull_l.c: New file.
5448 * wcsmbs/wcstol.c: Moved to ...
5449 * sysdeps/generic/wcstol.c: ...here.
5450 * wcsmbs/wcstoul.c: Moved to ...
5451 * sysdeps/generic/wcstoul.c: ...here.
5452 * wcsmbs/wcstoll.c: Moved to ...
5453 * sysdeps/generic/wcstoll.c: ...here.
5454 * wcsmbs/wcstoull.c: Moved to ...
5455 * sysdeps/generic/wcstoull.c: ...here.
5456 * wcsmbs/wcstol_l.c: Moved to ...
5457 * sysdeps/generic/wcstol_l.c: ...here.
5458 * wcsmbs/wcstoul_l.c: Moved to ...
5459 * sysdeps/generic/wcstoul_l.c: ...here.
5460 * wcsmbs/wcstoll_l.c: Moved to ...
5461 * sysdeps/generic/wcstoll_l.c: ...here.
5462 * wcsmbs/wcstoull_l.c: Moved to ...
5463 * sysdeps/generic/wcstoull_l.c: ...here.
5465 * sysdeps/wordsize-64/wcstol.c: New file.
5466 * sysdeps/wordsize-64/wcstoul.c: New file.
5467 * sysdeps/wordsize-64/wcstoll.c: New file.
5468 * sysdeps/wordsize-64/wcstoull.c: New file.
5469 * sysdeps/wordsize-64/wcstol_l.c: New file.
5470 * sysdeps/wordsize-64/wcstoul_l.c: New file.
5471 * sysdeps/wordsize-64/wcstoll_l.c: New file.
5472 * sysdeps/wordsize-64/wcstoull_l.c: New file.
5474 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
5476 * sysdeps/sparc/bits/wordsize.h: New file.
5477 * sysdeps/sparc/fpu/bits/fenv.h: New file.
5478 * sysdeps/sparc/fpu/fpu_control.h: New file.
5479 * sysdeps/sparc/gmp-mparam.h: New file.
5481 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
5482 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
5483 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
5484 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
5485 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
5486 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
5488 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
5489 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
5490 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
5491 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
5493 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
5494 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
5495 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
5496 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
5497 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
5499 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
5501 * login/openpty.c (openpty): Make sure pty does not because
5504 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
5506 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
5508 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
5509 Do proper error return.
5511 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5513 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
5514 of __P in the rest of glibc; define __MALLOC_PMT and use it.
5515 Reported by Stephan Kulow <coolo@kde.org>.
5517 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
5519 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
5521 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
5523 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5525 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
5526 names to protect from user's macro namespace.
5527 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
5528 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
5529 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
5530 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
5531 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
5533 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
5534 sysdeps/arm/fpu/fesetenv.c: Likewise.
5535 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
5536 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
5537 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
5538 * sysdeps/mips/fesetenv.c: Likewise.
5540 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
5542 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
5544 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
5546 * configure.in: Recognize and allow gcc 2.95.
5548 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
5550 * sysdeps/generic/bits/elfclass.h: Version common to
5551 wordsize-32 and wordsize-64.
5552 * sysdeps/generic/bits/environments.h: Ditto.
5553 * sysdeps/generic/stdint.h: Ditto.
5554 * sysdeps/generic/inttypes.h: Ditto.
5556 * sysdeps/generic/bits/wordsize.h: New file.
5557 * stdlib/Makefile: Add bits/wordsize.h to headers.
5559 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
5561 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
5562 headers to be used for 32bit and 64bit ABI compilations.
5563 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
5564 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
5565 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
5566 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
5567 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
5569 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
5570 * sysdeps/wordsize-64/bits/environments.h: Remove.
5571 * sysdeps/wordsize-64/stdint.h: Remove.
5572 * sysdeps/wordsize-64/inttypes.h: Remove.
5573 * sysdeps/wordsize-64/bits/wordsize.h: New file.
5575 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
5576 * sysdeps/wordsize-32/bits/environments.h: Remove.
5577 * sysdeps/wordsize-32/stdint.h: Remove.
5578 * sysdeps/wordsize-32/inttypes.h: Remove.
5579 * sysdeps/wordsize-32/bits/wordsize.h: New file.
5581 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
5583 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
5584 __align_cpy_16): New functions.
5585 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
5587 * sysdeps/sparc/sparc32/Versions: New file.
5588 * sysdeps/sparc/sparc64/Versions: New file.
5589 * sysdeps/sparc/Versions: Remove.
5591 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
5593 * sysdeps/unix/sysv/linux/configure.in:
5594 On sparc64-*-linux*, set slibdir to /lib64 if prefix
5595 is /usr, plus set libdir to ${exec_prefix}/lib64.
5596 * sysdeps/unix/sysv/linux/configure: Regenerated.
5597 * config.make.in: Propagate libdir settings from configure
5599 * shlib-versions: sparc64-*-linux* dynamic linker is
5600 /lib64/ld-linux.so.2.
5602 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
5604 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
5607 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
5609 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
5610 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
5612 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
5613 contains garbage in bits 8-63.
5614 * sysdeps/sparc/sparc64/memset.S: Ditto.
5615 * sysdeps/sparc/sparc64/strchr.S: Ditto.
5617 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
5619 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
5621 1999-05-17 David S. Miller <davem@redhat.com>
5623 * sysdeps/sparc/sparc32/atomicity.h: New file.
5624 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
5625 * sysdeps/sparc/sparc64/atomicity.h: New file.
5626 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
5629 1999-05-18 Richard Henderson <rth@twiddle.net>
5631 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
5633 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
5635 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
5636 posix/sys/types.h: Handle the case of __GNUC__=3,
5637 __GNUC_MINOR__=(anything).
5639 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5641 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
5644 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
5646 * elf/Makefile (distribute): Remove dl-origin.h.
5647 Add dl-dst.h and gen-trusted-dirs.awk.
5649 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5651 * sysdeps/i386/i486/Versions: New file with inline functions from
5652 sysdeps/i386/i486/bits/string.h for now.
5654 * sysdeps/i386/Versions: Add inline functions from
5655 sysdeps/i386/bits/string.h.
5657 * string/Versions: Add inline functions from <bits/string2.h>.
5659 * string/Makefile (routines): Add string-inlines.
5660 * string/string-inlines.c: New file, used for implementation of
5661 extern inline functions.
5663 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
5664 non inlined versions of functions.
5665 * string/bits/string2.h: Likewise.
5666 * sysdeps/i386/bits/string.h: Likewise.
5668 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
5670 * inet/arpa/tftp.h: Add second packed attribute.
5672 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
5674 * malloc/malloc.c: Cleanup to bring in line with released
5675 stand-alone version `ptmalloc'. Update some comments.
5676 (internal_function): Move fallback definition so that the source
5677 compiles outside of libc, and use it in more places.
5678 (malloc_atfork): Fix when malloc_check is in use.
5680 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5682 * stdlib/tst-strtod.c: Fix typo.
5684 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5686 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
5687 const incorrectness.
5689 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
5691 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
5693 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
5695 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
5696 * sunrpc/key_call.c: Fix memory leak, close file handle.
5697 * nis/nis_creategroup.c: Use malloc instead of calloc,
5698 set ctime and mtime.
5699 * nis/nis_subr.c: Check for realloc result.
5700 * nis/nis_file.c: Fix memory leak.
5701 * nis/nis_table.c: Pretty print.
5702 * nis/nis_getservlist.c: Likewise.
5703 * nis/nis_ismember.c: Likewise.
5704 * nis/nis_lookup.c: Likewise.
5705 * nis/nis_ping.c: Likewise.
5706 * nis/nis_removemember.c: Likewise.
5707 * nis/nis_util.c: Likewise, check calloc result.
5709 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
5711 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
5712 * sysdeps/generic/sys/socketvar.h: ... here.
5713 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
5714 * sysdeps/generic/netinet/in_systm.h: ... here.
5715 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
5717 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
5718 * inet/Makefile (headers): Add netinet/in_systm.h here.
5719 * socket/Makefile (headers): Add sys/socketvar.h here.
5721 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
5723 * stdlib/strtol.c: Optimize inner loop of long long versions.
5725 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
5726 Unix98. Add forward declaration of struct utmp.
5728 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
5730 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
5733 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
5734 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
5735 memory allocation results.
5737 1999-05-14 Mark Kettenis <kettenis@gnu.org>
5739 * sysdeps/generic/getutmp.c: Include <string.h>
5740 (getutmp): Rewrite to only copy those members that are really
5741 present in `struct utmp'.
5742 * sysdeps/generic/getutmpx.c: Likewise.
5744 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
5746 * nss/getXXbyYY.c: Add free_mem function which disposes all
5747 statically allocated memory when debugging.
5748 * nss/getXXent.c: Likewise.
5749 * nss/nsswitch.c: Likewise.
5751 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
5753 * sysdeps/gnu/getutmpx.c: New file.
5754 * sysdeps/gnu/getutmp.c: New file.
5756 1999-05-13 H.J. Lu <hjl@gnu.org>
5758 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
5759 (getutmp): Likewise.
5761 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
5764 * sysdeps/gnu/utmpx.h (getutmp): Added.
5765 (getutmpx): Likewise.
5767 * sysdeps/generic/getutmp.c: New file.
5769 * sysdeps/generic/getutmpx.c: New file.
5771 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5773 * glibcbug.in (BUGGLIBC): Change address to
5774 libc-alpha@sourceware.cygnus.com.
5776 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5778 * resolv/arpa/nameser.h: Add C++ protectors.
5780 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5782 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
5783 Elad Tsur <eladts@post.tau.ac.il>.
5785 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
5787 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
5788 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
5789 lazily if LD_BIND_NOW is not set.
5790 * elf/dl-support.c (_dl_lazy): New variable.
5791 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
5792 * elf/rtld.c (_dl_lazy): new global variable.
5793 ( dl_main): Remove lazy, replace it by _dl_lazy.
5795 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5797 * locale/setlocale.c (new_composite_name): Check also whether the
5798 first category name differs.
5800 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5802 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
5805 1999-05-11 Philip Blundell <pb@nexus.co.uk>
5807 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
5808 structure; storage suitable for any socket address.
5809 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
5811 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
5812 sockaddr_storage): Likewise.
5814 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
5817 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
5819 * hesiod/Versions: Change _nss_hesiod_getpwuid and
5820 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
5821 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
5823 1999-05-09 Mark Kettenis <kettenis@gnu.org>
5825 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
5826 if the file is empty.
5828 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
5830 * elf/do-lookup.h: Fix typo in comment.
5832 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
5833 f_bsize to help some broken programs.
5835 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
5837 * stdio-common/vfprintf.c: Fix typo.
5839 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
5841 * elf/link.h (struct link_map): New field l_phdr_allocated.
5842 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
5843 the program header being part of any loaded segment. If it is not
5844 allocate memory and set l_phdr_allocated flag.
5845 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
5847 * nss/digits_dots.c: Correct return value interpretation of
5848 inet_ntoa. Fix PR libc/1109.
5850 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
5852 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
5854 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
5856 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
5857 * stdlib/fpioconst.c: Move #endif before end of struct.
5859 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
5861 * Versions.def (ld.so): Add GLIBC_2.1.1.
5862 * elf/Makefile (routines): Add dl-origin.
5863 (tests): Add origtest. Add dependencies for the program.
5864 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
5865 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
5866 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
5867 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
5868 DT_AUXILIARY, and DT_FILTER filenames.
5869 * elf/dl-load.c (expand_dynamic_string_token): Explode into
5870 two functions and three macros.
5871 (_dl_dst_count, _dl_dst_substitute): New functions.
5872 * elf/dl-dst.h: New file.
5873 * elf/dl-open.c (_dl_open): Take extra parameter with address of
5874 caller. Pass address in args structure.
5875 (dl_open_worker): Recognize and expand DSTs in filename.
5876 * elf/ldsodefs.h (_dl_open): Adapt prototype.
5877 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
5878 (__dlopen_check): Pass caller address to dlopen_doit in args.
5879 * elf/dlopendoit.c: Likewise.
5880 * iconv/gconv_dl.c: Adapt call of _dl_open.
5881 * nss/nsswitch.c: Likewise.
5882 * elf/origtest.c: New file.
5883 * sysdeps/generic/dl-origin.h: Moved to...
5884 * sysdeps/generic/dl-origin.c: ...here.
5885 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
5886 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
5888 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
5889 with specific bases and only few bits set in second word.
5891 * timezone/Makefile (install-others): Create target directory
5892 before creating tzfiles.
5894 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
5896 * nis/nis_file.c (readColdStartFile): Allocate memory only after
5897 the file is opened successfully.
5899 * nis/nis_table.c: Fix some memory leaks.
5901 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
5903 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
5906 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
5907 around DST. Correctly ignore ORIGIN IN SUID binaries.
5909 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
5911 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
5912 * sysdeps/generic/strtok.c: Likewise.
5914 * string/tester.c: Add test of rawmemchr.
5916 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
5917 specification. It's not necessary.
5919 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
5920 * elf/gen-trusted-dirs.awk: New file.
5921 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
5922 from SYSTEM_DIRS macro.
5923 (system_dirs_len): New variable. Contains lengths of system_dirs
5925 (fillin_rpath): Rewrite for systems_dirs being a simple string.
5926 Improve string comparisons. Change parameter trusted to be a flag.
5928 (_dt_init_paths): Improve using new format for system_dirs.
5930 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
5931 $ORIGIN for SUID binaries.
5933 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
5935 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5937 * sunrpc/Makefile: Generate dependencies for all flavors of
5939 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
5942 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5944 * elf/dlopenold.c: Move #if down after includes to get
5947 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5949 * sysdeps/generic/bzero.c: Undefine __bzero.
5951 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
5953 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
5954 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
5955 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
5956 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
5958 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
5959 parameter to struct gaih_servtuple *. Adapt appropriately.
5960 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
5961 This fixes a memory leak.
5962 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
5964 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
5965 and fpregset_t definition. They are defined in ucontext.h.
5967 1999-04-14 Scott Bambrough <scottb@netwinder.org>
5969 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
5970 and struct ether_header must be packed on the ARM. The default
5971 alignment constraints add padding to the end of the structures.
5973 1999-04-14 Scott Bambrough <scottb@netwinder.org>
5975 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
5976 default alignment constraints add padding to the end of the
5977 structure and between members.
5979 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
5981 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
5982 _dl_cache_libcmp instead of strcmp.
5984 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
5986 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
5988 1998-03-30 Joel Klecker <espy@debian.org>
5990 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
5991 (sysdep-others,install-bin): Add lddlibc4.
5993 1999-05-02 H.J. Lu <hjl@gnu.org>
5995 * timezone/zic.c (dolink): Remove the symlink destination first.
5997 * catgets/open_catalog.c (__open_catalog): Set catalog->status
5998 to "nonexisting" if failed to open the file.
6000 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
6002 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
6005 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
6006 Prevent warnings from multiplication with 0x01010101 by another cast.
6008 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6010 * string/bits/string2.h (memset): Revert to previous version if
6011 unaligned writes are not available.
6013 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
6015 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
6016 better code in presence of the asm.
6018 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6020 * stdlib/fmtmsg.c (keywords): Increase array size for faster
6023 * locale/localeinfo.h (_nl_category_names): Increase array element
6024 size for faster indexing.
6025 * locale/setlocale.c (_nl_category_names): Adjusted.
6027 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6029 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
6031 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6033 * sysdeps/m68k/stackinfo.h: New file.
6035 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
6037 * string/tester.c (test_strchrnul): New function.
6038 (test_memset): Test one more special case.
6040 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
6043 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
6046 * string/bits/string2.h: Fix bugs I introduced in last change.
6048 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
6050 Extend memset optimization.
6051 Correct i686 version of memchr.
6053 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
6055 * sysdeps/i386/bzero.c: Add #undef __bzero.
6057 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
6058 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
6059 exec server simulated a SIGTRAP before we even started up, so gdb is
6062 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
6064 * nss/digits_dots.c: Always initialize not_ok.
6066 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
6068 * string/bits/string2.h (memset): Avoid arithmetic overflow at
6069 compile time, which produces obnoxious warnings. If GCCv2 is
6070 in use, map __bzero to __builtin_memset to enable that
6073 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
6075 * string/bits/string2.h: Add more memset optimizations.
6077 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
6079 * resolv/inet_pton.c (inet_pton4): Little optimizations.
6080 (inet_pton6): Likewise.
6082 * nss/getXXbyYY_r.c: Include assert.h.
6083 * nss/getXXbyYY.c: Likewise.
6085 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6087 * termios/tcgetsid.c (tcgetsid): Rename variable to
6088 tiocgsid_does_not_work.
6090 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
6092 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
6094 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6096 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
6097 This allows e.g. gethostbyname to accept "10.1234".
6098 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
6100 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
6101 non quad IPv4 numbers.
6103 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6105 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
6107 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
6109 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
6110 * argp/argp-parse.c (_argp_hang): Likewise.
6111 * argp/argp-pv.c (argp_program_version): Likewise.
6112 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
6113 * inet/ether_hton.c (ether_hton, startp): Likewise.
6114 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
6115 * inet/getnetgrent_r.c (setup, startp): Likewise.
6116 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
6117 * intl/localealias.c (string_space, string_space_act, string_space_max,
6118 nmap, maxmap): Likewise.
6119 * libio/iopopen.c (proc_file_chain): Likewise.
6120 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
6121 * locale/lc-collate.c (__collate_table, __collate_extra,
6122 __collate_element_hash, __collate_element_strings,
6123 __collate_element_values): Likewise.
6124 * malloc/mcheck.c (mcheck_used): Likewise.
6125 * malloc/mtrace.c (added_atexit_handler): Likewise.
6126 * malloc/set-freeres.c (already_called): Likewise.
6127 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
6128 * misc/syslog.c (LogStat, LogTag): Likewise.
6129 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
6130 * nss/getXXbyYY_r.c (startp): Likewise.
6131 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
6132 * posix/regex.c (init_syntax_once) [done]: Likewise.
6134 * string/strfry.c (init): Likewise.
6135 * sunrpc/svc_run.c (svc_top): Likewise.
6136 * posix/euidaccess.c (have_ids): Likewise.
6137 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
6138 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
6139 * time/getdate.c (getdate_err): Likewise.
6140 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
6142 * time/tzset.c (old_tz, is_initialized): Likewise.
6144 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
6145 of static data with zero.
6146 * signal/allocrtsig.c (init): Likewise.
6148 * string/Makefile (routines): Add strchrnul.
6149 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
6150 * string/string.c: Add strchrnul prototype.
6151 * include/string.h: Add __strchrnul prototype.
6152 * sysdeps/generic/strchrnul.c: New file.
6153 * sysdeps/i386/strchrnul.S: New file.
6154 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
6155 * sysdeps/i386/i486/bits/string.c: Likewise.
6156 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
6157 * inet/ether_line.c (ether_line): Likewise.
6158 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
6159 * nss/nsswitch.c (nss_parse_file): Likewise.
6160 * posix/execvp.c (execvp): Likewise.
6161 * posix/fnmatch.c (internal_fnmatch): Likewise.
6162 * resolv/res_hconf.c (_res_hconv_init): Likewise.
6163 * resolv/res_init.c (res_init): Likewise.
6164 * stdlib/fmtmsg.c (init): Likewise.
6165 * stdlib/getsubopt.c (getsubopt): Likewise.
6167 * catgets/catgets.c (catopen): Only allocate one memory block.
6168 (catclose): Only one free call necessary.
6170 * catgets/open_catalog.c (__open_catalog): Simplify handling of
6173 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
6174 of real functions. Simplify _tolower and _toupper.
6176 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
6179 * iconv/gconv.h (struct gconv_info): Change data element from pointer
6181 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
6182 * iconv/gconv_close.c (__gconv_close): Don't free data.
6184 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
6187 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
6188 for error while inserting in tree.
6190 * include/time.h: Pretty print.
6192 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
6193 in table and lots of relocations.
6194 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
6195 string pointers in table and lots of relocations.
6197 * intl/finddomain.c: Remove definition of strchr macro.
6199 * io/ftw.c (nftw_arr, ftw_arr): Make const.
6201 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
6203 * locale/localeinfo.h (_nl_category_names): Change into an array with
6204 fixed width char string elements.
6205 * locale/setlocale.c (_nl_category_names): Likewise.
6206 (_nl_current): Make global.
6207 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
6209 * malloc/Makefile (distribute): Add stackinfo.h.
6210 * sysdeps/generic/stackinfo.h: New file.
6211 * sysdeps/i386/stackinfo.h: New file.
6212 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
6213 * posix/execle.c: Likewise.
6214 * posix/execlp.c: Likewise.
6216 * nis/nis_table.c (__create_ib_request): Always use realloc.
6218 * posix/execvp.c (execute): Rename to script_execute and keep only
6219 code to execute using shell.
6220 (execvp): Call execv directly and only fall back on script_execute.
6222 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
6223 and always use xdigits instead.
6225 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
6228 * stdlib/fpioconst.h (__tens): New declaration.
6229 (struct mp_power): Remove array, add arrayoff element.
6230 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
6231 __tens array and add in _fpioconst_pow10 offsets into __tens.
6232 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
6233 * stdlib/strtod.c: Likewise.
6235 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
6237 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
6239 * stdlib/atexit.c (__exit_funcs): Don't initialize.
6241 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
6243 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
6244 a single and an array with offsets.
6246 * sunrpc/des_soft.c (partab): Make it const.
6248 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
6249 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
6250 (__key_decryptsession_pk_LOCAL): Likewise.
6251 (__key_gendes_LOCAL): Likewise.
6252 (MESSENGER): Mark const.
6253 (key_call_private_main): Don't initialize with 0.
6254 (use_keyenvoy): Don't initialize with 0.
6255 (key_call): Rewrite to reverse logic of use_doors variable.
6257 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
6258 (startp): Don't initialize with zero.
6260 * sunrpc/openchild.c (_openchild): Make first argument const.
6262 * sunrpc/pmap_rmt.c (timeout): Mark const.
6263 * sunrpc/xcrypt.c (hex): Likewise.
6265 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
6266 initialization of global variables.
6267 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
6268 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6269 * termios/tcgetsid.c: Likewise.
6271 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
6274 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
6275 block. Add function to free memory if wanted.
6276 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
6278 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
6280 * wcsmbs/wmemset.c: Little code optimization.
6282 1999-04-23 Paul Eggert <eggert@twinsun.com>
6284 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
6287 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
6289 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
6290 implementation and just always fail with ENOSYS. This entry point is
6291 obsolete. Add link warning to that effect.
6293 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
6295 * hurd/get-host.c: Include <hurd/lookup.h>.
6297 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
6299 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
6302 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6304 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
6307 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
6309 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
6310 Patch by Peter Miller <millerp@canb.auug.org.au>.
6312 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
6314 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
6315 prefers loopback device.
6317 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
6319 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
6320 no_leading_period change.
6322 * posix/testfnm.c: More test cases.
6324 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
6326 * include/dirent.h: Remove __getdirentries declaration, add __getdents
6328 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
6329 * sysdeps/unix/readdir_r.c: Likewise.
6330 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6331 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
6332 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
6333 __getdirentries. Remove fourth argument.
6334 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
6335 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
6336 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
6337 Add getdirentries and getdirentries64.
6338 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
6340 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
6341 pointer in case of an invalid [[: expression.
6343 * posix/testfnm.c: Add more test cases.
6345 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
6347 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
6348 set, pass EXEC_SIGTRAP flag in exec RPC.
6350 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
6352 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
6353 extra parameter. Fix several more bugs involving wildcard and
6355 (fnmatch): New function. Call internal_fnmatch.
6357 * posix/testfnm.c: More test cases.
6359 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6361 * manual/install.texi (Configuring and compiling): Explain that
6362 files are changed in the source directory.
6364 (Configuring and compiling): Explain situation with PARALLELMFLAGS
6365 in the source directory.
6367 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6369 * locale/programs/ld-ctype.c: Spelling fixes.
6370 (ctype_finish): Fix argument of error message format.
6371 * locale/programs/ld-messages.c: Spelling fixes.
6372 * locale/programs/ld-monetary.c: Spelling fixes.
6373 * locale/programs/ld-time.c (time_finish): Make sure that name and
6374 format of era_entries are adjacent.
6375 (time_output): Reduce the size of the io vector.
6377 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6379 * manual/filesys.texi (Attribute Meanings): Move a misplaced
6382 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6384 * locale/programs/ld-collate.c (collate_output): Convert
6385 undefined_offset to an array index. Fix computation of other
6388 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
6390 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
6391 return success with empty value.
6393 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
6395 * posix/fnmatch.c: Include string.h also for glibc.
6396 (fnmatch, case '?'): Optimize if cascades a bit.
6397 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
6399 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
6401 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
6403 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
6404 * iconv/gconv_int.h: Declare UTF16 functions.
6405 * iconv/gconv_simple.c: Add UTF16 conversion functions.
6407 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6409 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
6410 be used correctly as parameter for parse_dollars/parse_tilde.
6412 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6414 * manual/conf.texi (Utility Limits): Remove duplicate description
6417 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
6419 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
6420 outbufend for dst==NULL.
6422 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
6424 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
6428 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
6431 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
6433 * sunrpc/Makefile: Remove special handling of bootparam.x,
6434 add rpcsvc/bootparam.h to headers.
6435 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
6436 * sunrpc/rpcsvc/bootparam.x: Renamed to...
6437 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
6439 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
6441 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
6442 detect and handle invalid descriptors.
6444 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
6446 * timezone/zic.c (dolink): Append complete path not only filename
6449 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6451 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
6453 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
6455 * iconvdata/gconv-modules: Rename CP874 to IBM874.
6456 * iconvdata/Makefile: Likewise.
6457 * iconvdata/cp874.h: Removed.
6458 * iconvdata/cp874.c: Renamed to...
6459 * iconvdata/ibm874.c: ...this.
6461 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
6463 * sysdeps/unix/sysv/linux/bits/types.h: Correct
6464 signed/unsigned-ness of blkcnt and fsblkcnt.
6465 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6466 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6468 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
6469 SOL_AAL, and SOL_IRDA.
6471 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6473 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
6474 include "linux_fsinfo.h".
6475 Based on a patch by H.J. Lu <hjl@gnu.org>.
6477 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
6479 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
6481 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
6483 * nscd/cache.c (prune_cache): Only disable file checking for
6484 future if the file does not exist.
6485 Update file_mtime if cache was flushed.
6487 1999-04-15 David S. Miller <davem@redhat.com>
6489 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
6490 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
6492 1999-04-15 Scott Bambrough <scottb@netwinder.org>
6494 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
6495 compilation of file.
6497 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
6499 * Versions.def: Add GLIBC_2.1.1 to libpthread.
6501 * iconvdata/Makefile (modules): Add KOI8-U.
6502 (distribute): Add koi8-u.c.
6503 (gen-8bit-gap-modules): Add koi8-u.
6504 * iconvdata/gconv-modules: Add KOI8-U entries.
6505 * iconvdata/koi8-u.c: New file.
6507 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
6509 * sunrpc/auth_des.c: 64bit fixes, security fixes.
6510 * sunrpc/auth_none.c: Pretty print.
6511 * sunrpc/auth_unix.c: Likewise.
6512 * sunrpc/authdes_prot.c: Likewise.
6513 * sunrpc/authuxprot.c: Likewise.
6514 * sunrpc/bindrsvprt.c: Likewise.
6515 * sunrpc/clnt_gen.c: Likewise.
6516 * sunrpc/rpc/xdr.h: Likewise.
6517 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
6518 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
6519 * sunrpc/rtime.c: Use new rpc_timeval.
6520 * sunrpc/svc_authux.c: Don't use *long pointers.
6521 * sunrpc/svcauth_des.c: Likewise + security fixes.
6522 * sunrpc/xdr_mem.c: Don't use *long pointers.
6523 * sunrpc/xdr_rec.c: Likewise.
6524 * sunrpc/xdr_sizeof.c: Likewise.
6525 * sunrpc/xdr_stdio.c: Likewise.
6527 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
6529 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
6530 so that it is redone for each sending.
6532 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6534 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
6536 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
6538 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
6539 known to not exist don't try to load shared objects.
6540 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
6542 * nscd/cache.c (prune_cache): The table might not be unused. In
6543 this case do nothing.
6545 * catgets/gencat.c (read_input_file): Don't drop white spaces
6546 between number/identifier and string.
6547 Patch by Dima Barsky <dima@pwd.hp.com>.
6548 If no white space at all follows number/identifier remove existing
6549 message with the number/identifier.
6551 1999-04-14 H.J. Lu <hjl@gnu.org>
6553 * sunrpc/clnt_udp.c (is_network_up): New function.
6554 (clntudp_call): Call is_network_up () to check if any network
6555 interface is up in case of timeout.
6557 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6559 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
6560 * wctype/Makefile (tests): Add test_wcfuncs.
6562 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
6564 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
6566 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
6568 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
6569 instead of CFLAGS. For gnulib and string directories use
6570 -Wa,-Av9a gcc ASFLAGS.
6571 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
6572 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
6573 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
6574 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
6575 the same way as sparc-*.
6577 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
6579 * locale/programs/locfile.c (locfile_read): Fix typo.
6580 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
6582 1999-04-14 Scott Bambrough <scottb@netwinder.org>
6584 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
6585 restarted after being interrupted by a signal. The parameters on
6586 the stack were corrupted by the signal handler.
6588 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
6589 restarted after being interrupted by a signal. The parameters on
6590 the stack were corrupted by the signal handler.
6592 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6594 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
6595 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
6597 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
6599 * posix/wordexp-test.c: In field-splitting test cases where
6600 subshells were involved, unset IFS first: some shells (ash) use
6601 IFS even when no expansion is performed.
6603 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6605 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
6606 the real end of the chunk, not some random point inbetween.
6607 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
6608 obstack when growing. Use fast version of obstack_blank when
6610 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
6611 allocating the vtable pointer.
6612 (_IO_obstack_vprintf): Adjust for above change and avoid
6613 unnecessary casts. Use fast version of obstack_blank when
6617 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
6619 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
6620 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
6622 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
6624 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
6625 is seen, as well as fixing semantics. Don't reset the word count
6626 to zero when an invalid character is seen, but leave it as it was
6627 (this makes a difference with WRDE_APPEND).
6629 * posix/wordexp-test.c: More test cases.
6631 * posix/wordexp.c (parse_param): In words like ${var#pattern},
6632 always expand pattern when it is needed. Also, handle quoting in
6635 1999-04-12 Philip Blundell <philb@gnu.org>
6637 * elf/elf.h: Update ARM definitions to match current gas2.
6639 * sysdeps/arm/bits/endian.h: Support big endian operation.
6641 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
6642 Don't bother range checking the port number.
6644 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
6646 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
6647 the syscall name in assembler output for ease of debugging.
6649 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
6651 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
6652 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
6653 (sysdep_routines): Add sigrestorer.
6655 * string/tester.c (test_strcpy): Add new tests for unaligned
6657 * sysdeps/arm/bits/string.h: Delete inline implementations of
6660 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
6662 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
6664 1999-04-10 Mark Kettenis <kettenis@gnu.org>
6666 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
6668 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
6670 * iconvdata/Makefile (modules): Add TIS-620.
6671 (distribute): Add tis-620.c.
6672 (gen-8bit-gap-modules): tis-620.
6673 * iconvdata/tis-620.c: New file.
6674 * iconvdata/gconv-modules: Add TIS-620 entries.
6676 * iconvdata/asmo_449.c: Correct comment.
6678 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6680 * manual/install.texi (Configuring and compiling): Comment out
6681 description of --disable-static since this doesn't work currently
6682 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
6684 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
6686 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
6688 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
6690 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6692 * scripts/test-installation.pl (installation_problem): Skip
6693 libnss1_* libraries from glibc-compat add-on.
6695 1999-04-07 H.J. Lu <hjl@gnu.org>
6697 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
6699 * posix/Versions (__waitpid): Likewise.
6701 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6703 * manual/install.texi (Reporting Bugs): Add section about reported
6704 bugs and correct email address of glibcbug script.
6706 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
6708 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
6709 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
6710 xdr_u_longlong_t. Based on patch from Dan Shechter
6711 <damageboy@isdn.net.il>.
6712 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
6713 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
6715 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
6717 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6719 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
6720 directly if getdents returns with error set.
6722 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6724 * locale/langinfo.h (THOUSEP): Rename second occurence of
6725 THOUSANDS_SEP to THOUSEP.
6726 Reported by Roman Belenov <roman@nstl.nnov.ru>.
6728 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
6730 * hurd/STATUS: File removed. Moved items that are still relevant into
6731 TODO list in hurd source.
6733 1999-03-26 Mark Kettenis <kettenis@gnu.org>
6735 * sysdeps/mach/hurd/bits/time.h: New file.
6736 * sysdeps/mach/hurd/getrusage.c: New file.
6737 * sysdeps/mach/hurd/clk_tck.c: New file.
6738 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
6739 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
6740 (sysdep_routines): Add clk_tck.
6741 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
6744 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
6746 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
6747 (closelog): But instead here.
6748 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
6750 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6752 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
6753 the source directory. Fixes PR libc/1059.
6755 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6757 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
6758 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6760 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
6762 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
6763 * iconvdata/testdata/ISO-8859-14: New file.
6764 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
6765 * iconvdata/testdata/ISO-8859-15: New file.
6766 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
6768 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
6770 * iconvdata/testdata/CP1258: New file.
6771 * iconvdata/testdata/CP1258..UTF8: New file.
6772 * iconvdata/TESTS: Add CP1258 entry.
6774 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
6776 * timezone/africa: Update from tzdata1999d.
6777 * timezone/europe: Likewise.
6778 * timezone/northamerica: Likewise.
6780 1999-03-31 Mark Kettenis <kettenis@gnu.org>
6782 * login/programs/pt_chown.c (main): Save effective user ID before
6783 dropping priviliges and use this to check if the program is
6786 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
6788 * iconvdata/testdata/CP1254: Update for charmap changes.
6789 * iconvdata/testdata/CP1254..UTF8: Likewise.
6790 * iconvdata/testdata/CP1255: Likewise.
6791 * iconvdata/testdata/CP1255..UTF8: Likewise.
6792 * iconvdata/testdata/CP1256: Likewise.
6793 * iconvdata/testdata/CP1256..UTF8: Likewise.
6794 * iconvdata/testdata/CP1257: Likewise.
6795 * iconvdata/testdata/CP1257..UTF8: Likewise.
6797 * iconvdata/Makefile (distribute): Remove cp1258.h.
6798 (gen-8bit-gap-modules): Add cp1258.
6799 * iconvdata/cp1258.h: Removed.
6801 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
6803 * timezone/tst-timezone.c (tests): Add more cases.
6804 (check_tzvars): Mark errors clearer.
6807 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
6809 * login/programs/pt_chown.c: Drop privileges if invoked with
6810 arguments. Don't close the master pty.
6812 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
6814 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
6817 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
6819 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
6820 relocation for SUID binaries.
6822 1999-03-29 Paul Eggert <eggert@twinsun.com>
6824 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
6825 while in child process.
6827 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
6829 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
6830 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
6831 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
6832 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
6833 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
6835 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
6836 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
6837 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
6838 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
6839 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
6840 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
6841 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
6842 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
6843 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
6844 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
6845 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
6846 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
6847 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
6848 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
6849 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
6850 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
6851 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
6852 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
6853 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
6854 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
6855 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
6856 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
6857 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
6858 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
6859 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
6860 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
6862 * sysdeps/sparc/sparc32/bcopy.c: New file.
6863 * sysdeps/sparc/sparc32/bzero.c: New file.
6864 * sysdeps/sparc/sparc32/memchr.S: New file.
6865 * sysdeps/sparc/sparc32/memcpy.S: New file.
6866 * sysdeps/sparc/sparc32/memmove.c: New file.
6867 * sysdeps/sparc/sparc32/memset.S: New file.
6868 * sysdeps/sparc/sparc32/stpcpy.S: New file.
6869 * sysdeps/sparc/sparc32/strchr.S: New file.
6870 * sysdeps/sparc/sparc32/strrchr.c: New file.
6871 * sysdeps/sparc/sparc32/strcpy.S: New file.
6872 * sysdeps/sparc/sparc32/strlen.S: New file.
6873 * sysdeps/sparc/sparc32/strcat.S: New file.
6874 * sysdeps/sparc/sparc32/strcmp.S: New file.
6876 * sysdeps/sparc/sparc64/bcopy.c: New file.
6877 * sysdeps/sparc/sparc64/bzero.c: New file.
6878 * sysdeps/sparc/sparc64/memchr.S: New file.
6879 * sysdeps/sparc/sparc64/memcmp.S: New file.
6880 * sysdeps/sparc/sparc64/memcpy.S: New file.
6881 * sysdeps/sparc/sparc64/memset.S: New file.
6882 * sysdeps/sparc/sparc64/stpcpy.S: New file.
6883 * sysdeps/sparc/sparc64/strcat.S: New file.
6884 * sysdeps/sparc/sparc64/strchr.S: New file.
6885 * sysdeps/sparc/sparc64/strcmp.S: New file.
6886 * sysdeps/sparc/sparc64/strcpy.S: New file.
6887 * sysdeps/sparc/sparc64/strcspn.S: New file.
6888 * sysdeps/sparc/sparc64/strlen.S: New file.
6889 * sysdeps/sparc/sparc64/strncpy.S: New file.
6890 * sysdeps/sparc/sparc64/strpbrk.S: New file.
6891 * sysdeps/sparc/sparc64/strrchr.c: New file.
6892 * sysdeps/sparc/sparc64/strspn.S: New file.
6893 * sysdeps/sparc/sparc64/stpncpy.S: New file.
6894 * sysdeps/sparc/sparc64/strncmp.S: New file.
6896 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
6897 Append -fPIC, don't replace.
6899 * configure.in: Recognize sparcv8plus / sparcv9.
6901 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6903 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
6904 char * to avoid C++ warning.
6905 Patch by yasushi@cs.washington.edu [PR libc/1035].
6907 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6909 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
6910 declared in stdlib.h, correct return value of mkstemp.
6911 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
6913 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
6916 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6918 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
6921 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
6922 inline functions. Closes PR libc/1049.
6924 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6926 * timezone/README: Update from tzdata1999c and tzcode1999c.
6928 * timezone/africa: Update from tzdata1999c.
6929 * timezone/antarctica: Likewise.
6930 * timezone/asia: Likewise.
6931 * timezone/australasia: Likewise.
6932 * timezone/europe: Likewise.
6933 * timezone/northamerica: Likewise.
6934 * timezone/southamerica: Likewise.
6935 * timezone/zone.tab: Likewise.
6937 * timezone/zic.c: Update from tzcode1999c.
6939 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6941 * Makerules: Add $(common-objpfx)Versions.all to common-generated
6942 outside of ifndef avoid-generated.
6944 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
6946 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
6948 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
6950 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
6951 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
6953 1999-03-26 Mark Kettenis <kettenis@gnu.org>
6955 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
6956 if we build the profiled library.
6958 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6960 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
6961 Jaeger <aj@arthur.rhein-neckar.de>
6963 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
6965 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
6966 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
6967 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
6969 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
6971 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
6972 works properly in subdirs.
6974 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
6976 * sysdeps/mach/hurd/Makefile: Undo last change.
6977 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
6978 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
6980 * mach/Machrules (+preinit, +postinit, +interp,
6981 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
6982 linked just like other shared libraries.
6983 (interface.so): Fix typo in defn, so it works.
6984 ($(objpfx)$(interface.so)): Make it depend on libc.so.
6986 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
6988 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
6989 $(link-rpcuserlibs).
6991 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6993 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
6994 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
6995 targets if not building shared libraries.
6997 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6999 * configure.in: Also look in $PATH when searching for
7000 install-info. Remove autoconf bug workaround and require autoconf
7003 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7005 * db/Makefile: Don't try to install shared library link if not
7006 building with shared libs.
7008 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7010 * rt/Makefile: Link against static library if no shared lib is
7013 * localedata/Makefile: The shells scripts implementing the test
7014 require the dynamic linker which is not available with
7015 --disable-shared. Skip the test if --disable-shared is given.
7017 * linuxthreads/Makefile: Link test against static libpthread if no
7018 shared lib is available.
7020 * iconvdata/Makefile (tests): Run iconv-test only if we're
7021 building shared libraries.
7022 * elf/Makefile (tests): Likewise for elf tests.
7024 * posix/Makefile: The test frameworks globtest and wordexp-test
7025 require the dynamic linker which is not available with
7026 --disable-shared. Skip the test if --disable-shared is given.
7028 * grp/Makefile (otherlibs): For static nss build link against
7031 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7033 * debug/Makefile (install-bin): Install and build catchsegv only
7034 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
7037 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7039 * time/tzfile.c (__tzfile_read): Handle the case where there are
7040 transitions but no DST.
7042 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
7044 * mach/Machrules (extra-libs-others): Add $(interface-library) here
7045 too, so it gets built in the others pass rather than the lib pass.
7046 This is necessary since the RPC libraries need to be linked against
7049 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
7051 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
7054 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
7055 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
7056 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
7057 versions of lib{mach,hurd}user.so without reference to libc.so,
7058 then link libc.so against that to get deps and symbol versions, then
7059 finally link real lib*user.so against libc.so.
7061 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
7062 Support whole-file locking (only) by using the file_lock RPC. This
7063 has very wrong semantics, but is better than nothing for the time
7064 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
7065 protocols that will be somewhat hairy to specify.)
7067 1999-03-17 Mark Kettenis <kettenis@gnu.org>
7069 * sysdeps/mach/hurd/ptsname.c: New file.
7071 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7073 * timezone/asia: Fix rule in Asia/Nicosia entry.
7075 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7077 * manual/getopt.texi (Using Getopt): Explain "::" in option
7078 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
7080 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
7082 * sunrpc/clnt_unix.c: Fix creation of parameters for
7083 sendmsg/recvmsg on non intel platforms.
7084 * sunrpc/svc_unix.c: Likewise.
7086 1999-03-18 Philip Blundell <philb@gnu.org>
7088 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
7091 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7093 * timezone/africa: Update from tzdata1999b.
7094 * timezone/asia: Likewise.
7095 * timezone/australasia: Likewise.
7096 * timezone/europe: Likewise.
7097 * timezone/northamerica: Likewise.
7098 * timezone/southamerica: Likewise.
7099 * timezone/zone.tab: Likewise.
7101 * timezone/README: Mention tzdata1999b.
7103 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
7105 * sysdeps/generic/segfault.c (write_strsignal): New function.
7106 (catch_segfault): Use it instead of calling strsignal.
7108 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7110 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
7111 char to avoid warning.
7113 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
7115 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
7117 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
7118 outbuf to unsigned char to avoid warning.
7120 1999-03-11 David S. Miller <davem@redhat.com>
7122 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
7124 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
7126 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
7128 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
7130 (gconv_step_data): Likewise.
7131 * iconv/gconv_int.h (__gconv): Likewise.
7132 (__BUILINT_TRANS): Likewise.
7133 * iconv/gconv.c (__gconv): Likewise.
7134 * iconv/iconv.c (iconv): Add casts for call of __gconv.
7135 * iconv/skeleton.c: Change local parameters and variable from `char' to
7136 `unsigned char'. Remove casts from calls into modules.
7137 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
7138 `char' to `unsigned char'.
7139 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
7140 * wcsmbs/mbrtowc.c: Likewise.
7141 * wcsmbs/mbsnrtowcs.c: Likewise.
7142 * wcsmbs/mbsrtowcs.c: Likewise.
7143 * wcsmbs/wcrtomb.c: Likewise.
7144 * wcsmbs/wcsnrtombs.c: Likewise.
7145 * wcsmbs/wcsrtombs.c: Likewise.
7146 * wcsmbs/wctob.c: Likewise.
7148 1999-03-15 Mark Kettenis <kettenis@gnu.org>
7150 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
7151 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
7152 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
7153 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
7154 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
7155 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
7157 1999-03-15 Mark Kettenis <kettenis@gnu.org>
7159 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
7160 _hurd_select if TIMEMOUT is -1.
7162 1999-03-15 Mark Kettenis <kettenis@gnu.org>
7164 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
7166 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
7168 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
7169 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
7171 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7173 * manual/libc.texinfo: Undo last change for now.
7175 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
7177 * intl/locale.alias: Add entries for Croatian.
7178 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
7180 1999-03-13 Mark Kettenis <kettenis@gnu.org>
7182 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
7183 if the opened master pty really is a pty. `isatty' checks for
7184 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
7185 if we are out of pty's.
7187 1999-03-13 Mark Kettenis <kettenis@gnu.org>
7189 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
7190 opened file is closed on exec.
7191 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
7194 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7196 * manual/llio.texi (File Position Primitive): Reformat @end
7197 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
7199 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
7201 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
7203 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7204 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
7206 * locale/programs/localedef.c (main): Initialize `cat' to please
7209 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
7211 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
7212 check for root-owned symlinks and reject them too.
7214 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7216 * stdio-common/printf_fphex.c: Move to ...
7217 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
7218 extended precision number.
7219 * sysdeps/m68k/printf_fphex.c: New file.
7221 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7223 * manual/stdio.texi: Fix typos.
7225 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
7227 * version.h (VERSION): Bump to 2.1.1.
7229 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
7231 * nis/ypclnt.c: Try only twice to connect to NIS server.
7233 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
7235 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
7237 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7239 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
7240 (DENORM_EXP): New define. Use it as the exponent for a denormal.
7241 * stdlib/strtold.c: Moved to ...
7242 * sysdeps/generic/strtold.c: ... here.
7243 * sysdeps/m68k/strtold.c: New file.
7245 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7247 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
7248 point if the precision is zero, even if the mantissa is non-zero.
7250 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
7252 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
7253 arguments into the request message buffer inside `send_rpc'
7254 subfunction. We must repeat the marshalling when retrying the RPC
7255 after a SIGTTOU delivery.
7257 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
7258 path when there is no ctty port.
7259 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
7260 Move sigstate check inside loop so we recheck after handling a signal.
7262 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7264 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
7265 O_EXLOCK are BSD extensions.
7266 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
7268 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
7270 * manual/signal.texi (Termination in Handler): Correct example.
7271 Install default handler before reraising the signal.
7272 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
7274 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
7276 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
7277 null, in which case send an empty string.
7279 1999-03-02 Mark Kettenis <kettenis@gnu.org>
7281 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
7282 backward compatibility EH functions to be linked when using
7283 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
7285 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7287 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
7288 /dev/pts status may change during runtime.
7290 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7292 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
7293 change. /dev/pts status can change during runtime.
7295 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
7297 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
7299 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
7300 add some more sanity checks.
7301 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
7304 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
7306 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
7307 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
7308 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
7309 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
7310 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
7312 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
7313 * nis/nis_print.c: Fix ctime argument for platforms where
7314 sizeof (time_t) != sizeof (int).
7316 1999-03-07 Mark Kettenis <kettenis@gnu.org>
7318 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
7319 CLOCKS_PER_SEC instead of CLK_TCK.
7321 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
7323 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
7324 whether /dev/pts is available.
7325 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
7328 * posix/globtest.sh: Make common_objpfx path absolute and and db2
7329 and hesiod directory to library path [PR libc/1007].
7331 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7333 * resolv/inet_addr.c (inet_aton): Don't allow componets >
7334 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
7336 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
7338 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
7339 DT_PLTGOT has already been relocated.
7340 (__elf_machine_fixup_plt): Likewise.
7343 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
7345 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
7347 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
7349 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
7350 and fold string to uppercase [PR libc/1005].
7352 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7354 * elf/dl-load.c (lose): Fix return type.
7356 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
7358 * sysdeps/mach/hurd/bits/fcntl.h
7359 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
7360 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
7361 set O_NOTRANS as well.
7362 (__hurd_file_name_lookup_retry): At successful end of lookup,
7363 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
7364 it is a translated node not owned by root.
7365 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
7366 on the file name passed to LOOKUP.
7368 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
7370 * manual/time.texi (High Resolution Timer): Correct computation in
7371 example. Reported by jjf@devel.cemsys.com.
7373 1999-03-02 Philip Blundell <pb@nexus.co.uk>
7375 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
7376 entry is already relocated.
7378 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7380 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
7381 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
7383 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7385 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
7386 uc_link which is the right name according to Unix98.
7387 Reported by Craig Metz [PR libc/1001].
7388 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
7389 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
7390 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
7391 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
7392 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
7393 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
7395 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7397 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
7400 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7402 * iconvdata/Makefile: Always include iconv-rules, but disable rule
7403 to regenerate it if avoid-generated.
7405 * Makeconfig: Always include sys-dirs, but disable rule to
7406 regenerate it when avoid-generated.
7408 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
7409 rule to generate sysd-syscalls.
7411 * elf/Makefile (generated): Remove $(objpfx) from names.
7413 1999-02-28 Mark Kettenis <kettenis@gnu.org>
7415 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
7416 actual length if the adress length is smaller than the input
7417 value. Change type of *LEN paramater to socklen_t.
7418 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
7419 * sysdeps/mach/hurd/accept.c (accept): Likewise.
7420 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
7421 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
7422 paramater to socklen_t.
7424 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
7426 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
7427 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
7430 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
7432 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
7433 __get_phys_pages): Cast &HBI to silence warning.
7435 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
7436 * hurd/hurdchdir.c: New file.
7437 * hurd/hurdfchdir.c: New file.
7438 * sysdeps/mach/hurd/chroot.c: Call
7439 _hurd_change_directory_port_from_name to do the work.
7440 * sysdeps/mach/hurd/chdir.c: Likewise.
7441 * sysdeps/mach/hurd/fchdir.c: Call
7442 _hurd_change_directory_port_from_fd to do the work.
7443 * hurd/fchroot.c: Likewise.
7444 * hurd/hurd.h: Declare them.
7446 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
7448 * elf/dl-load.c (lose): Add more comments to explain the `why'.
7449 (_dl_map_object): Remove redundant test.
7451 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
7453 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
7454 try to _hurd_port_free a lower-numbered descriptor that was not in any
7457 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7459 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
7460 declaration for ____wcstod_l_internal.
7462 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
7463 __strtod_internal prototype.
7464 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
7465 (____strtold_l_internal): Add prototype declaration.
7466 (__strtold_l): Call correct function.
7468 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
7470 * elf/elf.h: Add 32bit HPPA definitions.
7472 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7474 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
7475 non-checked heap is restored when malloc checking was requested by
7477 (struct malloc_state): Add using_malloc_checking.
7478 (MALLOC_STATE_VERSION): Increment minor.
7479 (using_malloc_checking, disallow_malloc_check): New variables.
7480 (__malloc_check_init): Use them.
7481 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
7482 that it can the chunk is properly instrumented when malloc
7483 checking is enabled. Set the new using_malloc_checking field.
7484 (malloc_hook_ini): Correct signature when _LIBC is not defined.
7486 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7488 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
7489 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
7492 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
7493 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
7494 if ld.so is the main program.
7496 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
7498 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
7499 large for work_buffer, allocate new buffer.
7500 (printf_unknown): Likewise. [PR libc/988]
7502 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
7504 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
7505 instead of stat and fstat.
7506 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7508 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7510 * elf/dl-error.c (_dl_signal_cerror): New function.
7511 (_dl_signal_error): Don't call receiver function.
7512 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
7513 instead of _dl_signal_error when reporting references to undefined
7514 symbols or versions.
7515 (_dl_lookup_versioned_symbol): Likewise.
7516 (_dl_lookup_versioned_symbol_skip): Likewise.
7517 * elf/dl-version.c (match_symbol): Likewise.
7519 * elf/ldsodefs.h: Declare _dl_signal_cerror.
7521 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
7523 * misc/getttyent.c (getttyent): Release lock on stream later to
7524 also protect global variable zapchar.
7526 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
7527 __times [PR libc/990].
7529 1999-02-21 David S. Miller <davem@redhat.com>
7531 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
7532 parentheses in Feb 2 changes.
7533 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
7535 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7537 * sysdeps/generic/glob.c (glob): Save previous errno.
7539 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
7541 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
7542 lookup functions if it is too small.
7544 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
7546 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
7547 for tracing to the scope lists.
7548 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
7549 DT_SYMTAB is always available according to ELF spec.
7551 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
7552 call test whether there is any scope left.
7553 (_dl_lookup_versioned_symbol_skip): Likewise.
7555 * elf/Makefile (distribute): Add do-lookup.h.
7556 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
7557 * elf/dl-lookup.c: Move do_lookup function in separate file and
7558 include the file twice, for handling versioning and without it.
7560 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
7561 entry is already relocated.
7562 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
7563 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
7564 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
7565 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
7567 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
7569 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
7572 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
7573 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
7574 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
7575 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
7576 rel and rela relocations can both happen and skip one test if this
7578 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
7580 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
7582 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
7584 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
7585 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
7586 (_dl_map_object): DT_STRTAB entry is already relocated.
7587 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
7589 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
7591 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
7592 DT_VERSYM entries are already relocated.
7593 (profile_fixup): Likewise.
7594 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
7596 (match_symbol): DT_STRTAB entry is already relocated.
7597 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
7598 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
7599 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
7600 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
7601 (find_needed): DT_STRTAB entry is already relocated.
7602 (dl_main): Pass extra argument to elf_get_dynamic_info.
7603 DT_STRTAB entry is already relocated.
7604 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
7605 DT_PLTGOT entries are already relocated.
7606 (elf_machine_rela): Likewise for DT_SYMTAB.
7607 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
7609 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7610 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
7611 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7612 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7613 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
7614 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
7615 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
7616 * sysdeps/mips/mips64/dl-machine.h: Likewise.
7618 * grp/initgroups.c (initgroups): If function in current module was
7619 successful don't stop but continue to process to get all the groups.
7621 * elf/dl-load.c (_dl_map_object_from_fd): Use global
7622 _dl_pf_to_proot array to convert p_flags value.
7623 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7625 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
7626 loop to clear `info'.
7628 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
7629 do the work and don't use inline assembler.
7631 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
7633 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
7634 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
7635 noreturn, and prevent it from being inlined.
7636 Define LOSE appropriately.
7637 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
7638 Optimize decoding of p_flags for certain platforms.
7640 1999-02-19 Philip Blundell <pb@nexus.co.uk>
7642 * Makeconfig (link-libc): When doing a static link, make sure that
7643 libgcc.a is included both before and after libc.a.
7645 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
7647 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
7648 sp_warn, sp_inact, sp_expire and sp_flag.
7650 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
7652 * elf/link.h (link_map): Add l_dev and l_ino.
7653 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
7654 loaded shared object with all loaded objects. Initialize l_ino
7655 and l_dev in case it's new.
7656 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
7658 * elf/Makefile: Compile and run new test.
7659 * elf/multiload.c: New file.
7661 * nss/nsswitch.h (service_user): Change name field from const char *
7663 (name_database_entry): Likewise.
7664 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
7665 for change of `service_user'.
7666 (nss_getline): Adjust memory allocation for change of
7667 `name_database_entry'.
7669 * catgets/catgets.c: Correctly handle NLSPATH from environment
7672 * io/Makefile (routines): Add lock64.
7673 * io/Versions: Add lockf64 for GLIBC_2.1.1.
7674 * sysdeps/generic/lockf64.c: New file.
7676 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
7678 * string/bits/string2.h: Only use strncmp optimization if count
7679 argument is constant.
7681 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
7683 * sysdeps/mach/hurd/revoke.c: New file.
7685 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
7687 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
7688 int to avoid warning about `ISO C restricts enumerator values to
7691 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7693 * elf/dlfcn.h: Fix typo.
7694 * sysdeps/generic/bits/dlfcn.h: Likewise.
7695 * sysdeps/mips/bits/dlfcn.h: Likewise.
7697 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
7699 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
7700 for the case N == 0.
7702 * db2/Makefile (distribute): Add LICENSE.
7704 1999-02-03 Jeff Bailey <jbailey@nisa.net>
7706 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
7709 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
7711 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
7713 * time/mktime.c: Use ISO C form for function definitions and
7714 remove unnecessary prototypes.
7716 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
7718 * time/time.h: Avoid unneccesary #ifdef.
7720 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
7722 * stdio-common/_itoa.c (_itoa): Correct parameters to
7725 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7727 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
7728 before (e.g. in glob.h).
7731 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7733 * sysdeps/mips/fpu_control.h: Fix typo.
7734 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
7737 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
7739 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
7740 the "unused" ends of the sockets. Let pipes be bidirectional.
7742 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
7744 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
7747 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7749 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
7750 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
7752 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
7753 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
7755 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
7757 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
7759 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7761 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
7762 check for priority mask.
7764 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
7766 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
7767 Reported by Craig Metz <cmetz@inner.net> .
7769 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7771 * stdio-common/Makefile (tests): tllformat added.
7773 * stdio-common/tllformat.c: New program, based on tiformat.c with
7774 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
7776 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7778 * posix/test-vfork.c: Fix exit status test.
7780 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7782 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
7783 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
7785 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7787 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
7788 of separare explicit comparisons.
7790 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7792 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
7795 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
7798 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
7800 * po/el.po: Update from translation team.
7802 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7804 * intl/locale.alias: Fix slovenian entry [PR libc/948].
7806 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7808 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
7809 * inet/ruserpass.c: Likewise.
7810 * locale/programs/stringtrans.c: Likewise.
7811 * locale/programs/localedef.c: Likewise.
7812 * nscd/grpcache.c: Likewise.
7813 * nss/nss_files/files-XXX.c: Likewise.
7814 * stdlib/canonicalize.c: Likewise.
7815 * sysdeps/posix/sigwait.c: Likewise.
7817 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7819 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
7820 even on 64 bit platforms.
7822 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7823 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
7825 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
7827 * intl/dcgettext.c: Include locale.h is available.
7829 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
7831 * po/nl.po: Update from translation team.
7833 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
7835 * Makefile: Allow calling goals for po subdir.
7837 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
7840 * po/el.po: New file.
7842 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7844 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
7845 when processing DT_SYMBOLIC objects.
7847 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7849 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
7850 program headers without PT_PHDR only require that they are
7851 contained within one of the loaded segments. Don't use assert,
7852 since that would be a bug in the object, not the dynamic linker.
7854 1999-02-08 Richard Henderson <rth@cygnus.com>
7856 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
7857 restore all call-clobbered fp regs.
7859 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
7861 * po/cs.po: New file.
7863 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
7866 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
7868 * signal/signal.h: Don't declare __libc_allocate_rtsig.
7869 * include/signal.h: Declare __libc_allocate_rtsig here.
7871 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
7872 point functions, not do_lookup since the later can be called more
7875 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
7877 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
7878 macro, so that architectures which need to add some special
7879 offset to stack pointer can share this file.
7881 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
7882 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
7883 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
7884 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
7886 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
7887 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
7888 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
7889 between sparc32 and sparc64.
7891 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
7892 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
7893 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
7894 between sparc32 and sparc64.
7896 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
7897 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
7898 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
7899 between sparc32 and sparc64.
7901 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
7902 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
7903 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
7904 between sparc32 and sparc64.
7906 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
7908 * Versions.def: New version GLIBC_2.1.1 for libc.
7909 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
7910 * stdlib/labs.c: Moved to...
7911 * sysdeps/generic/labs.c: ...here.
7912 * stdlib/llabs.c: Moved to...
7913 * sysdeps/generic/llabs.c: ...here.
7914 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
7915 header. Declare _Exit.
7916 * sysdeps/generic/_exit.c: Add alias _Exit.
7917 * sysdeps/mach/hurd/_exit.c: Likewise.
7918 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
7919 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
7920 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
7921 * sysdeps/unix/_exit.c: Likewise.
7922 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
7923 imaxdiv and imaxabs. Declare lldiv_t if necessary.
7924 * sysdeps/wordsize-64/inttypes.h: Likewise.
7925 * sysdeps/wordsize-32/llabs.c: New file.
7926 * sysdeps/wordsize-32/lldiv.c: New file.
7927 * sysdeps/wordsize-64/labs.c: New file.
7928 * sysdeps/wordsize-64/ldiv.c: New file.
7929 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
7930 * manual/startup.texi: Document _Exit.
7932 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7934 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
7936 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
7938 * Versions.def: Add versions for ld.so.
7939 * csu/Versions: Remove __libc_stack_end here.
7940 * elf/Versions: Split libc definitions in libc and ld.so definitions.
7941 * elf/Makefile (ld-map): Change to ld.so.map.
7942 * scripts/versions.awk: Recognize dot in library names.
7944 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
7945 Don't use __tolower and __toupper in inline functions.
7946 Add optimizing macros for tolower and toupper.
7947 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
7948 (_toupper): Don't use __toupper.
7949 * ctype/ctype.c (tolower): Don't use __tolower.
7950 (toupper): Don't use toupper.
7952 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
7954 * resolv/Versions (libresolv): Export __ns_name_unpack and
7956 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
7957 make it global. Change all users. Similar for ns_name_ntop.
7958 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
7959 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
7960 directly to detect too small buffer.
7961 * resolv/nss_dns/dns-network.c: Likewise.
7963 * stdio-common/Makefile (tests): Add scanf12.
7964 * stdio-common/scanf12.c: New file.
7965 * stdio-common/scanf12.input: New file.
7966 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
7967 floating-point correctly if the number is invalid.
7969 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
7971 * stdio-common/printf_fp.c: Likewise.
7972 * stdio-common/printf_fphex.c: Likewise.
7973 * stdio-common/vfprintf.c: Likewise.
7976 See ChangeLog.9 for earlier changes.