1 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
3 * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
5 * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
8 * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
10 1999-09-09 Andreas Schwab <schwab@suse.de>
12 * elf/link.h: Fix comment.
14 1999-09-10 Ulrich Drepper <drepper@cygnus.com>
16 * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
18 * math/math.h: Pretty print.
20 1999-09-10 Andreas Schwab <schwab@suse.de>
22 * sysdeps/generic/getenv.c (getenv): Fix lookup for single
23 character variable on bigendian platforms without unaligned memory
26 1999-09-07 Cristian Gafton <gafton@redhat.com>
28 * sysdeps/unix/sysv/linux/sys/raw.h: New file
29 * sysdeps/unix/sysv/linux/Dist: Add raw.h.
30 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
32 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
34 * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
36 * time/ap.c: Removed. It was not used.
37 * time/date.c: Likewise.
38 * sysdeps/unix/nlist.c: Likewise.
39 * sysdeps/generic/nlist.c: Likewise.
40 * sysdeps/generic/varargs.h: Likewise.
41 * stdio-common/scanf11.c: Likewise.
42 * stdio-common/scanf6.c: Likewise.
43 * scripts/=__ify: Likewise.
44 * scripts/printsources: Likewise.
45 * resolv/getnetnamadr.c: Likewise.
46 * posix/id.c: Likewise.
47 * misc/ioctltst.c: Likewise.
48 * misc/nlist.h: Likewise.
49 * math/test-math.h: Likewise.
50 * include/nlist.h: Likewise.
52 1999-09-06 Andreas Schwab <schwab@suse.de>
54 * time/tzset.c (compute_change): Replace slow loop to compute T by
57 1999-09-06 Ulrich Drepper <drepper@cygnus.com>
59 * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
60 escape sequences out even if the character itself does not fit
63 * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
65 1999-08-31 H.J. Lu <hjl@gnu.org>
67 * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
69 1999-09-05 Roland McGrath <roland@baalperazim.frob.com>
71 * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
72 it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
74 1999-09-04 Ulrich Drepper <drepper@cygnus.com>
76 * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
78 1999-09-03 Andreas Schwab <schwab@suse.de>
80 * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
81 fork from __syscall_fork to __libc_fork.
82 * posix/Versions: Add __libc_fork and __vfork to version
85 1999-08-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
87 * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
90 1999-09-01 H.J. Lu <hjl@gnu.org>
92 * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
94 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
95 <sys/user.h> instead of <asm/user.h>.
97 1999-09-02 Ulrich Drepper <drepper@cygnus.com>
99 * elf/elf.h: Update PARISC-specific flags and symbolic names.
101 1999-09-01 Ulrich Drepper <drepper@cygnus.com>
103 * elf/elf.h: Update PARISC relocations.
105 1999-08-31 Scott Bambrough <scottb@netwinder.org>
107 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
108 #ifdef statement to prevent it from being included twice.
109 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
110 #include <bits/armsigctx.h>.
112 1999-08-31 Andreas Schwab <schwab@suse.de>
114 * locale/C-collate.c: Add missing initialisations.
115 * locale/C-ctype.c: Likewise.
117 1999-08-31 Ulrich Drepper <drepper@cygnus.com>
119 * time/strftime.c (my_strftime): Remove unneeded variable len.
121 * time/strptime.c: Undo last change.
123 1999-08-30 Ulrich Drepper <drepper@cygnus.com>
125 * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
126 Change charset.h to charmap.h.
127 (categories): Add new categories. Leave out collate for now.
129 * locale/categories.def: Add definitions for new categories.
130 * locale/langinfo.h: Likewise.
131 * locale/locale.h: Likewise.
132 * locale/C-address.c: New file.
133 * locale/C-identification.c: New file.
134 * locale/C-measurement.c: New file.
135 * locale/C-name.c: New file.
136 * locale/C-paper.c: New file.
137 * locale/C-telephone.c: New file.
138 * locale/lc-address.c: Likewise.
139 * locale/lc-identification.c: Likewise.
140 * locale/lc-measurement.c: Likewise.
141 * locale/lc-name.c: Likewise.
142 * locale/lc-paper.c: Likewise.
143 * locale/lc-telephone.c: Likewise.
144 * locale/C-ctype.c: Update for locale rewrite.
145 * locale/C-messages.c: Likewise.
146 * locale/C-monetary.c: Likewise.
147 * locale/C-time.c: Likewise.
148 * locale/lc-collate.c: Likewise.
149 * locale/lc-ctype.c: Likewise.
150 * locale/lc-monetary.c: Likewise.
151 * locale/lc-time.c: Likewise.
152 * locale/localeinfo.h: Likewise.
153 * locale/newlocale.c: Likewise.
154 * locale/setlocale.c: Likewise.
155 * locale/weight.h: Likewise.
156 * locale/findlocale.c: Unconditionally use mmap.
157 Handle new categories.
158 * locale/loadlocale.c: Likewise.
159 * locale/iso-3166.def: New file.
160 * locale/iso-639.def: New file.
161 * locale/programs/charmap-kw.gperf: Add new keywords.
162 * locale/programs/locfile-kw.gperf: Likewise.
163 * locale/programs/locfile-token.h: Define new tokens.
164 * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
165 * locale/programs/charmap.h: New file.
166 * locale/programs/charset.h: Removed.
167 * locale/programs/config.h: Add __LC_LAST.
168 * locale/programs/lc-address.c: New file.
169 * locale/programs/lc-identification.c: New file.
170 * locale/programs/lc-measurement.c: New file.
171 * locale/programs/lc-name.c: New file.
172 * locale/programs/lc-paper.c: New file.
173 * locale/programs/lc-telephone.c: New file.
174 * locale/programs/lc-collate.c: Update for locale rewrite.
175 * locale/programs/lc-ctype.c: Likewise.
176 * locale/programs/lc-messages.c: Likewise.
177 * locale/programs/lc-monetary.c: Likewise.
178 * locale/programs/lc-numeric.c: Likewise.
179 * locale/programs/lc-time.c: Likewise.
180 * locale/programs/locale.c: Likewise.
181 * locale/programs/localedef.c: Likewise.
182 * locale/programs/locfile.c: Likewise.
183 * locale/programs/repertoire.c: Likewise.
184 * locale/programs/repertoire.h: Likewise.
185 * locale/programs/locfile.c: Update prototypes.
186 Update handle_copy definition.
187 * locale/programs/linereader.c: Add handling of wide char strings and
188 new definition file syntax.
189 * locale/programs/linereader.h (struct token): Add elements for wide
191 * locale/programs/locale-spec.c: Disable handling of collation
193 * locale/programs/simple-hash.h: Cleanup.
194 * locale/programs/stringtrans.h: Handle quite of end of line.
195 * string/strcoll.c: Fall back on strcmp for now.
196 * string/strxfrm.c: Fall back on strncpy/strlen for now.
197 * time/strftime.c: Use new wide character data for wcsftime.
198 * time/strptime.c: Remove _nl_C_LC_TIME declaration.
199 * wctype/cname-lookup.h: Update for new LC_CTYPE data.
201 * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
202 compiling for i386 to avoid i686-like GOT pointer computation.
204 * db2/db_int.h: Change tsl_t type to u_int32_t.
205 * db2/mutex/mutex.c: Allow Alpha mutex definitions.
206 * db2/mutex/alpha.h: New file.
207 * db2/mutex/sparc.gcc: Fix store code for v9. Simplify clear code.
208 * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
210 Patches by Richard Henderson.
212 * stdlib/tst-environ.c: Add cast to avoid warning.
213 * timezone/test-tz.c: Use setenv instead of putenv.
215 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
217 * manual/libc.texinfo: Update version and date.
219 * manual/locale.texi (Formatting Numbers): Fix @node pointers.
221 * manual/filesys.texi (Working with Directory Trees): Add missing @code.
222 (File System Interface): Correct entry.
223 (Permission Bits): Add missing commata after @xref.
225 1999-08-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
227 * timezone/tst-timezone.c (main): Don't pass const strings to
228 putenv to avoid warnings.
230 * posix/regexbug1.c: Include <stdio.h> for puts prototype.
232 1999-08-29 Thorsten Kukuk <kukuk@suse.de>
234 * nis/Versions: Add _nss_*_getipnodebyname_r.
235 * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
236 * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
237 * nss/Versions: Add _nss_files_getipnodebyname_r.
239 1999-08-28 H.J. Lu <hjl@gnu.org>
241 * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
244 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
246 * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
248 * inet/netinet/in.h: Likewise.
249 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
250 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
252 1999-08-28 Ulrich Drepper <drepper@cygnus.com>
254 * malloc/malloc.c (ptmalloc_init): Don't use variables to set
255 thresholds for SUID binaries. [PR libc/1277]
257 * posix/regexbug1.c: Add one more similar case.
259 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
261 * manual/install.texi (Running make install): Give examples for
262 timezone and locale installation.
264 1999-08-28 Zack Weinberg <zack@bitmover.com>
266 * glibcbug.in: Get CCVERSION from autoconf substitution.
267 * configure.in: Calculate and substitute CCVERSION.
269 1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
271 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
272 partially reverting a patch from 1998-12-29. We just can't change
273 the flags, kernels with different flags lead to
276 1999-08-26 Andreas Schwab <schwab@suse.de>
278 * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
280 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
282 * inet/rexec.c (rexec): Free memory if strings were allocated in
283 ruserpass. Reported by Andrew Morton <morton@nortelnetworks.com>.
285 1999-08-27 Ulrich Drepper <drepper@cygnus.com>
287 * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
289 * manual/argp.texi: Fixing language and typos.
290 * manual/conf.texi: Likewise.
291 * manual/contrib.texi: Likewise.
292 * manual/ctype.texi: Likewise.
293 * manual/filesys.texi: Likewise.
294 * manual/install.texi: Likewise.
295 * manual/job.texi: Likewise.
296 * manual/lang.texi: Likewise.
297 * manual/llio.texi: Likewise.
298 * manual/locale.texi: Likewise.
299 * manual/math.texi: Likewise.
300 * manual/nss.texi: Likewise.
301 * manual/pipe.texi: Likewise.
302 * manual/signal.texi: Likewise.
303 * manual/socket.texi: Likewise.
304 * manual/stdio.texi: Likewise.
305 * manual/sysinfo.texi: Likewise.
306 * manual/users.texi: Likewise.
307 Patches by Neil Booth <NeilB@earthling.net>.
309 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
311 * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
312 unsigned to avoid warning. [PR libc/1271].
314 * conform/conformtest.pl: Allow testing regex.h which requires
315 sys/types.h being included.
317 * conform/data/regex.h-data: Allow *_t types.
318 * conform/data/pwd.h-data: Likewise.
319 * conform/data/sched.h-data: Likewise
320 * conform/data/pthread.h-data: Likewise.
321 * conform/data/search.h-data: Likewise.
323 * misc/search.h: Avoid namespace pollution.
325 * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
326 pwd.h, and pthread.h.
327 * conform/data/pthread.h-data: New file.
328 * conform/data/pwd.h-data: New file.
329 * conform/data/regex.h-data: New file.
330 * conform/data/sched.h-data: New file.
331 * conform/data/search.h-data: New file.
333 * NAMESPACE: Add REG_ for regex.h.
335 * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
338 * configure.in (libc_cv_asm_global_directive): Indent .text in
339 test code so that the lame HPUX compiler recognizes it.
340 * sysdeps/hppa/bits/endian.h: New file.
341 * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
342 * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
343 * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
344 * sysdeps/unix/sysv/hpux/bits/types.h: New file.
346 * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
347 Patch by John Tobey <jtobey@banta-im.com>.
349 * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
351 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
352 old_siocfifconf definition to toplevel.
353 (__protocol_available): Remove old_siocfifconf definition.
355 1999-08-25 Mark Kettenis <kettenis@gnu.org>
357 * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
358 really dealing with a master pseudo terminal, and really returning
359 the name of the associated slave pseudo terminal by checking the
361 * sysdeps/unix/sysv/linux/pty-private.h: Removed.
362 * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
364 1999-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
366 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
367 underscore in _llseek entry.
369 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
372 * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
373 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
375 * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
376 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
378 1999-08-25 Ulrich Drepper <drepper@cygnus.com>
380 * inet/Makefile (routines): Add getipnodebynm.
381 * inet/getipnodebynm.c: New file.
382 * nss/digits_dots.c: If HAVE_TYPE is define type contains the
384 * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
385 EXTRA_ARGS_VALUE is not already done.
386 (internal_getent): Allow extra parameters and pass them to parse_line.
387 (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
388 (_nss_files_get##name##_r): Likewise.
389 * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
390 and EXTRA_ARGS_VALUE to pass flags and type to parser.
391 Add getipnodebyname function.
392 * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
393 EXTRA_ARGS_VALUE is not already done.
394 (parse_line): Add EXTRA_ARGS_DECL to parameter list.
395 * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
397 (_nss_db_get##name##_r): Pass extra parameters to lookup.
398 (_nss_db_get,ENTNAME_r): Likewise.
399 * sysdeps/generic/if_index.c (__protocol_available): New function.
400 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
402 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
404 * login/pty-private.h: Move to...
405 * sysdeps/generic/pty-private.h: ...here.
406 * sysdeps/unix/sysv/linux/pty-private.h: New file. Linux specific
408 * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
411 * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
414 * conform/conformtest.pl (@headers): Add monetary.h-data,
415 mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
416 * conform/data/monetary.h-data: New file.
417 * conform/data/mqueue.h-data: New file.
418 * conform/data/ndbm.h-data: New file.
419 * conform/data/nl_types.h.h-data: New file.
420 * conform/data/poll.h-data: New file.
422 * stdio-common/Makefile (test): Add tst-cookie.
423 * stdio-common/tst-cookie.c: New file.
425 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
426 changed in last patch. Reported by Ralf Baechle.
428 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
430 * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
432 * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
433 Patches by Ralf Baechle <ralf@uni-koblenz.de>
435 1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
437 * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
440 1999-08-24 Ulrich Drepper <drepper@cygnus.com>
442 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
444 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
446 * misc/libgen.h: Don't take basename macro as taking arguments.
448 * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
450 * sysdeps/i386/bits/huge_val.h: Likewise.
451 * sysdeps/i386/bits/huge_val.h: Likewise.
452 * sysdeps/ieee754/bits/huge_val.h: Likewise.
453 * sysdeps/m68k/bits/huge_val.h: Likewise.
454 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
455 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
457 * conform/Makefile: New file.
458 * conform/conformtest.pl: New file.
459 * conform/data/aio.h-data: New file.
460 * conform/data/assert.h-data: New file.
461 * conform/data/cpio.h-data: New file.
462 * conform/data/ctype.h-data: New file.
463 * conform/data/dirent.h-data: New file.
464 * conform/data/dlfcn.h-data: New file.
465 * conform/data/errno.h-data: New file.
466 * conform/data/fcntl.h-data: New file.
467 * conform/data/float.h-data: New file.
468 * conform/data/fmtmsg.h-data: New file.
469 * conform/data/fnmatch.h-data: New file.
470 * conform/data/ftw.h-data: New file.
471 * conform/data/glob.h-data: New file.
472 * conform/data/grp.h-data: New file.
473 * conform/data/iconv.h-data: New file.
474 * conform/data/inttypes.h-data: New file.
475 * conform/data/iso646.h-data: New file.
476 * conform/data/langinfo.h-data: New file.
477 * conform/data/libgen.h-data: New file.
478 * conform/data/locale.h-data: New file.
479 * conform/data/math.h-data: New file.
481 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
483 * posix/execvp.c (execvp): Correct copying of file name.
485 1999-08-23 Mark Kettenis <kettenis@gnu.org>
487 * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
489 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
491 * stdio-common/Makefile: Move addition to routines to the right place.
493 1999-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
495 * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file. Neccessary
496 since mips*-linux has ECANCELED.
498 1999-08-23 Andreas Schwab <schwab@suse.de>
500 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
501 SIGCONTEXT_EXTRA_ARGS.
502 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
503 * sysdeps/generic/sigcontextinfo.h: Likewise.
504 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
505 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
506 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
507 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
508 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
509 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
511 1999-08-23 Ulrich Drepper <drepper@cygnus.com>
513 * posix/regexbug1.c: Make it an error if the test fails.
515 1999-08-23 Andreas Schwab <schwab@suse.de>
517 * posix/regex.c (re_match_2_internal): Correct check for charset
518 after exactn in loop.
520 1999-08-22 Ulrich Drepper <drepper@cygnus.com>
522 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
523 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
524 Patch by Joel Klecker.
526 * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
527 (__gconv_find_transform): Update prototype.
528 (__gconv_open): Likewise.
529 * iconv/gconv_open.c: Take extra parameter and pass it to
530 __gconv_find_transform.
531 * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
532 flags. If GCONV_AVOID_NOCONV flag is set don't return copying
534 * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
535 * wcsmbs/wcsmbsload.c: Likewise.
536 * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
538 * intl/gettextP.h: Likewise.
539 * intl/loadmsgcat.c: Likewise.
541 * posix/regexbug1.c: New file.
542 * posix/Makefile (tests): Add regexbug1.
544 1999-08-22 Mark Kettenis <kettenis@gnu.org>
546 * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
547 * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
548 installing PORT in the descriptor cell.
550 1999-08-19 Roland McGrath <roland@baalperazim.frob.com>
552 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
553 TIMEOUT as outputs of the asm to indicate that the signal thread
555 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
556 mach_msg if only sending or only receiving (i.e., not an RPC). When
557 making an RPC that might get interrupted, save OPTION and the portion
558 of the message buffer that gets clobbered by an EINTR reply message,
559 and properly restore them before attempting to retry the request
562 1999-08-21 Mark Kettenis <kettenis@gnu.org>
564 * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
565 definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
566 CHAR_T, UCHAR_T and WIN_T to make the code compile again when
567 stdio is used instead of libio.
568 * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
569 definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
570 to make the code compile again when stdio is used instead of
572 (vfprintf): Only check for correct orientation if ORIENT is
574 * stdio-common/Makefile (routines): Only add vfwprintf and
575 vfwscanf if we're using libio.
577 1999-08-21 Mark Kettenis <kettenis@gnu.org>
579 * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
580 any additional prototype just as we do for libio.
582 1999-08-21 Mark Kettenis <kettenis@gnu.org>
584 * include/bits/xopen_lim.h: Do not define STREAM_MAX and
585 TZNAME_MAX. These limits are not X/Open specific.
586 * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
589 1999-08-21 Mark Kettenis <kettenis@gnu.org>
591 * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
592 UIO_MAXIOV is left undefined in sys/uio.h.
593 * stdio-common/stdio_lim.h.in: Adapt for change above.
595 1999-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
597 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
598 * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
599 Patches by Ralf Baechle <ralf@uni-koblenz.de>
601 1999-08-21 Ulrich Drepper <drepper@cygnus.com>
603 * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
605 1999-08-20 Ulrich Drepper <drepper@cygnus.com>
607 * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
609 * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
610 call. It should not be necessary andis harmful for Alpha.
612 * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
615 * posix/execvp.c (execvp): Allocate array name of correct size.
616 Optimize inner loop. Use execve directly, not execv.
618 * elf/elf.h: Corrected SHT_ values from new draft.
620 * intl/gettextP.h (struct loaded_domain): Add conv element.
621 * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
622 Instead of returning found message directly convert it using iconv
623 if a conversion was found when opening the file.
624 * intl/loadinfo.h: Protect against multiple inclusion.
625 Declare _nl_find_msg.
626 * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
627 in the message file and if necessary find approrpiate
628 conversion to match currently selected charset.
629 * include/libintl.h: Declare __dgettext and __dcgettext.
630 * include/iconv.h: New file.
632 1999-08-20 Andreas Schwab <schwab@suse.de>
634 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
636 1999-08-19 Ulrich Drepper <drepper@cygnus.com>
638 * sysdeps/unix/sysv/linux/execve.c: New file. This version terminates
639 all threads [PR libc/1223].
641 * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
644 * configure.in: Search for programs with prefix gnu* and g* first.
647 * dirent/Makefile (routines): Add getdents64.
648 * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
650 * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
651 compiled with _FILE_OFFSET_BITS=64.
652 * sysdeps/generic/getdents64.c: New file.
653 * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
654 __lseek for getdirentries64 definition.
656 * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
658 * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
659 _FILE_OFFSET_BITS=64.
661 * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
664 * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
665 after we have the lock.
667 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
668 Patch by Richard Henderson.
670 1999-08-19 Andreas Schwab <schwab@suse.de>
672 * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
673 and call _IO_fwide, to get the wide stream state initialized
674 correctly. Don't set _IO_JUMPS.
675 * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
676 * libio/vswprintf.c (_IO_vswprintf): Likewise. Pass
677 _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
680 1999-08-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
682 * math/libm-test.c (jn_test): Fix typo in description.
683 (erfc_test): Add some more tests.
684 (erf_test): Add some more tests.
686 1999-08-19 Andreas Schwab <schwab@suse.de>
688 * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
689 expression using $(exceptions).
691 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
693 * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
695 * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
696 allocated so far. [PR libc/1261].
698 * math/libm-test.c (j0_test): Adjust deltas for m68k.
701 * dirent/dirent.h: Only define ino64_t if not already done.
702 * posix/sys/types.h: Likewise.
704 * ctype/ctype.h: Avoid useless #endif #if pairs.
706 * dirent/dirent.h: Define ino_t and ino64_t if not done already.
707 (seekdir): Fix type of second parameter.
708 * sysdeps/generic/seekdir.c: Likewise.
709 * sysdeps/mach/hurd/seekdir.c: Likewise.
710 * sysdeps/unix/seekdir.c: Likewise.
712 * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
714 1999-08-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
716 * manual/install.texi (Configuring and compiling): Clarify ix86
719 1999-08-18 Ulrich Drepper <drepper@cygnus.com>
721 * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
722 * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
723 * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
724 stdio_lim.h. Define LONG_BIT and WORD_BIT.
726 * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
728 * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
730 * misc/search.h: Don't define NULL.
732 * posix/sys/types.h: Define blksize_t if it hasn't happened.
733 Only define key_t and blkcnt_t if it hasn't happened before.
734 Define blksize_t if not happened before.
735 * io/sys/stat.h: Don't define pid_t. Define blkcnt_t and blksize_t.
736 * sysdeps/generic/bits/types.h: Define __blksize_t.
737 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
738 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
739 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
740 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
741 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
742 * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
744 (struct stat64): Likewise.
745 * sysdeps/unix/bsd/bits/stat.h: Likewise.
746 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
747 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
748 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
749 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
750 * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
751 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
753 * stdlib/getsubopt.c: Correct type of second argument.
754 * stdlib/stdlib.h: Likewise.
756 * stdlib/monetary.h: Don't include sys/types.h. Define only size_t
759 * sysdeps/generic/putenv.c: Correct type of parameter.
760 * stdlib/stdlib.h: Likewise.
762 * sysdeps/generic/msgsnd.c: Correct type of second parameter.
763 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
764 * sysvips/sys/msg.h: Likewise.
766 * sysdeps/generic/semop.c: Correct type of third parameter.
767 * sysdeps/unix/sysv/linux/semop.c: Likewise.
768 * sysvipc/sys/sem.h: Likewise. Don't include sys/types.h, define
771 * sysdeps/generic/shmget.c: Correct type of second parameter.
772 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
773 * sysvips/sys/shm.h: Likewise. Don't include unistd.h and sys/types.h.
774 Declare __getpagesize here.
776 * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
778 * sysdeps/gnu/bits/ipc.h: Likewise.
779 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
780 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
781 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
782 * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
785 * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
787 * debug/versions: Export __cyg_profile_func_enter and
788 __cyg_profile_func_exit.
790 * math/bits/mathcalls.h: Pretty print.
792 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
794 * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
797 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
799 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
800 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
801 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
802 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
804 * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
806 * sysdeps/generic/ualarm.c (ualarm): Change return value and
807 parameter type to useconds_t.
808 * sysdeps/unix/bsd/ualarm.c: Likewise.
810 * sysdeps/generic/usleep.c (usleep): Change parameter type to
812 * sysdeps/unix/sysv/linux/usleep.c: Likewise.
813 * sysdeps/mach/usleep.c: Likewise.
815 * locale/weight.h: Include <errno.h>.
817 * posix/sys/types.h: Define type useconds_t if not done already.
818 * posix/unistd.h: Likewise. Use this in ualarm and usleep
820 * sysdeps/generic/bits/types.h: Define type __useconds_t.
821 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
822 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
823 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
824 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
825 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
827 * dirent/dirent.h (telldir): Change return type to long int.
828 * sysdeps/generic/telldir.c: Likewise.
829 * sysdeps/mach/hurd/telldir.c: Likewise.
830 * sysdeps/unix/telldir.c: Likewise.
831 * sysdeps/unix/bsd/telldir.c: Likewise. Fix locking problem.
833 * locale/weight.h: Set errno if an invalid character is found.
835 1999-08-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
837 * math/libm-test.c (erfc_test): Add test for example from PR
839 (erf_test): Likewise.
841 1999-08-17 Ulrich Drepper <drepper@cygnus.com>
843 * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
844 rewrite. Patch by Alan Stern <stern@kitsilano.rowland.org>.
846 * timezone/private.h: Update from tzcode1999e.
847 * timezone/zic.c: Likewise.
849 * timezone/africa: Update from tzdata1999e.
850 * timezone/antarctica: Likewise.
851 * timezone/asia: Likewise.
852 * timezone/australasia: Likewise.
853 * timezone/europe: Likewise.
854 * timezone/leapseconds: Likewise.
855 * timezone/northamerica: Likewise.
856 * timezone/southamerica: Likewise.
858 * stdio-common/vfprintf.c (process_string_arg): Correct last patch
859 and write correct number of bytes in case of %ls with precision.
860 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
862 1999-08-16 Ulrich Drepper <drepper@cygnus.com>
864 * nscd/nscd.init: Test for kernel version and make LSB compliant.
865 Patch by Christian Gafton.
867 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
868 O_RSYNC. Patch by Christian Gafton.
870 * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
871 possibly unterminated strings for %ls when a precision is
873 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
875 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
876 update_conversion_ptrs.
877 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
879 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
881 * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
882 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
884 * wcsmbs/Makefile (tests): Add tst-wcsnlen.
885 * wcsmbs/tst-wcsnlen.c: New file.
887 1999-08-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
889 * libio/ioputs.c (_IO_puts): Add missing brace.
891 1999-07-20 Geoff Keating <geoffk@cygnus.com>
893 * math/libm-test.c: Tweak deltas for a clean run on ppc.
895 1999-08-10 H.J. Lu <hjl@gnu.org>
897 * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
898 (vfprintf): Likewise.
899 * stdio-common/vfscanf.c (ORIENT): Likewise.
900 * libio/genops.c (__underflow): Likewise.
902 * libio/iofputs.c (_IO_fputs): Likewise.
903 * libio/ioftell.c (_IO_ftell): Likewise.
904 * libio/iofwrite.c (_IO_fwrite): Likewise.
905 * libio/ioputs.c (_IO_puts): Likewise.
906 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
907 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
909 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
911 * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
913 1999-08-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
915 * manual/job.texi (Process Group Functions): Document getpgid,
918 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
920 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
921 initialize si_pid from it.
922 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
924 * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
925 * rt/aio_misc.h (struct waitlist): Add caller_pid element.
926 (struct requestlist): Likewise.
927 Adjust prototypes of __aio_notify_only and __aio_sigqueue.
928 * rt/aio_notify.c (__aio_notify_only): Take extra parameter. Pass it
930 (__aio_notify): Pass caller PID to __aio_notify_only.
931 * rt/aio_suspend.c: Initialize caller_pid.
932 * rt/lio_listio.c: Likewise.
933 * rt/lio_listio64.c: Likewise.
935 * rt/lio_listio.c: If nothing has to be done free mutex before
937 * rt/lio_listio64.c: Likewise.
939 1999-08-10 H.J. Lu <hjl@gnu.org>
941 * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
944 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
946 * elf/elf.h: Define ElfXX_Versym.
947 * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
950 * stdio-common/vfprintf.c (process_string_arg): Handle precisions
951 for string output correctly in the wide character case.
952 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
954 * intl/locale.alias: Add catalan.
956 1999-08-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
958 * manual/install.texi (Configuring and compiling): Mention CFLAGS.
960 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
962 * po/pt_BR.po: New file.
964 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
966 * math/libm-test.c (yn_test): Adjust deltas for i386.
967 (ccosh_test): Likewise.
970 1999-08-15 Ulrich Drepper <drepper@cygnus.com>
972 * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
974 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
976 * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
979 1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
981 * configure.in: install-sh lives now in scripts subdir.
982 PR libc/1255 (bug 4).
984 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
986 * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
991 1999-08-11 Thorsten Kukuk <kukuk@suse.de>
993 * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
995 1999-08-13 Ulrich Drepper <drepper@cygnus.com>
997 * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
1000 1999-08-10 Andreas Schwab <schwab@suse.de>
1002 * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
1005 1999-08-09 Scott Bambrough <scottb@netwinder.org>
1007 * elf/elf.h: Added definition of ELFOSABI_ARM.
1008 * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
1009 VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
1010 object's header and ABI values are acceptable.
1011 (VALID_ELF_HEADER): New macro; provide default definition.
1012 (VALID_ELF_OSABI): New macro; provide default definition.
1013 (VALID_ELF_ABIVERSION): New macro; provide default definition.
1014 * sysdeps/arm/dl-machine.h Define ARM specific versions of
1015 VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
1017 1999-08-09 Andreas Schwab <schwab@suse.de>
1019 * inet/tst-ipnode.c (main): Don't compare integer with NULL.
1021 1999-08-09 Thorsten Kukuk <kukuk@suse.de>
1023 * sunrpc/svc_run.c (svc_run): Free my_pollfd.
1025 1999-08-09 Andreas Schwab <schwab@suse.de>
1027 * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
1029 1999-08-08 Ulrich Drepper <drepper@cygnus.com>
1031 * sysdeps/ieee754/ieee754.h: Handle platforms with special
1032 __FLOAT_WORD_ORDER. Patch by Joel Klecker <jk@espy.org>.
1034 * string/bits/string2.h: Mark void* operations as extensions.
1035 * sysdeps/i386/i486/bits/string.h: Likewise.
1037 * debug/Makefile (routines): Add noophooks.
1038 (extra-libs): Add libpcprofile. Add rules to build libpcprofile.
1039 * debug/noophooks.c: New file.
1040 * debug/pcprofile.c: New file.
1042 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
1044 * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
1045 systems which allow using the functions also on non-seekable
1048 * resolv/res_send.c (res_send): Recompute timeout for poll for
1049 each jump to `wait'.
1051 * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
1052 braces to avoid warnings.
1053 (IN6ADDR_LOOPBACK_INIT): Likewise.
1055 * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
1058 1999-08-06 H.J. Lu <hjl@gnu.org>
1060 * malloc/malloc.c: Initialize __libc_pagesize early.
1062 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
1064 * string/string-inlines.c: Undefined __USE_STRING_INLINES before
1067 * inet/Makefile (tests): Add tst-ipnode.
1068 * inet/tst-ipnode.c: New file.
1070 1999-08-06 Andreas Schwab <schwab@suse.de>
1072 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
1074 (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
1075 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
1076 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
1078 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
1079 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
1081 1999-08-06 Jakub Jelinek <jj@ultra.linux.cz>
1083 * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
1084 * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
1085 * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
1087 1999-08-06 Ulrich Drepper <drepper@cygnus.com>
1089 * resolv/res_send.c (res_send): Don't test file descriptor for
1090 range, we use poll now. [PR libc/1240]
1092 1999-08-05 Ulrich Drepper <drepper@cygnus.com>
1094 * libio/genops.c (_IO_flush_all): Don't access elements beyond what
1095 2.0 defined if they are not available.
1097 1999-08-05 Thorsten Kukuk <kukuk@suse.de>
1099 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
1102 1999-08-04 Ulrich Drepper <drepper@cygnus.com>
1104 * rt/aio_read.c: Fix return value.
1105 * rt/aio_read64.c: Likewise.
1106 Reported by Christian Gafton.
1108 * rt/aio_write.c: Fix return value.
1109 * rt/aio_write64.c: Likewise.
1110 * rt/aio_fsync.c: Likewise.
1112 * rt/aio_misc.c: Set errno at correct place.
1114 * rt/aio_fsync.c: Test OP parameter for correct values.
1116 * hesiod/hesiod.c: Avoid emitting rcsid in object file.
1118 1999-08-04 Andreas Schwab <schwab@suse.de>
1120 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
1121 Initialize result to one.
1122 (GET_NPROCS_CONF_PARSER): Likewise.
1124 1999-08-03 Ulrich Drepper <drepper@cygnus.com>
1126 * inet/ether_hton.c: Pass errno pointer to NSS function.
1127 * inet/getnetgrent_r.c: Likewise.
1128 Reported by Marty Leisner <leisner@rochester.rr.com>.
1130 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
1132 * nis/nis_callback.c: Fix port problem on big-endian machines
1133 * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
1134 fields are always 32 bit.
1135 Patches from Paul Mackerras <paulus@cs.anu.edu.au>
1137 * nis/nss_nis/nis-service.c: Remove htons, port is always in
1139 * nis/nss_nisplus/nisplus-service.c: Rename number to port.
1141 1999-08-03 Andreas Schwab <schwab@suse.de>
1143 * sysdeps/posix/sigset.c: Unblock the signal after setting its
1144 disposition. Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
1145 avoid two calls to sigprocmask.
1147 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
1149 * sysdeps/generic/s_nexttowardf.c: Fix typo.
1151 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
1153 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
1154 Only allow rt signal frames. No SA_SIGINFO signals will have the
1155 siginfo_t just not filled out with SI_NOINFO code.
1156 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
1157 (register_dump): Take the above change into account.
1158 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
1159 (rt_signal_frame): Likewise.
1161 * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
1163 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
1165 * nis/nis_callback.c (internal_nis_do_callback): Use poll()
1166 instead of select().
1168 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
1170 * sysdeps/generic/s_nextafter.c: Define __nexttoward and
1171 nexttoward so something else so that aliasing works.
1173 1999-08-02 Thorsten Kukuk <kukuk@suse.de>
1175 * sysdeps/generic/math_ldbl.h: Fix typo.
1176 * sysdeps/generic/strtold.c: Remove unbalanced #endif.
1177 * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
1179 1999-08-02 Ulrich Drepper <drepper@cygnus.com>
1181 * elf/resolvfail.c: Include stdio.h. Also test dlerror.
1183 1999-08-01 Ulrich Drepper <drepper@cygnus.com>
1185 * elf/Makefile (tests): Add resolvfail. Add rules to build the
1187 * elf/resolvfail.c: New file.
1189 * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
1190 pass it to _dl_lookup_symbol.
1192 * elf/dl-error.c (_dl_signal_error): Optimize string generation a
1193 bit. Reword message.
1195 * dlfcn/dlerror.c: Make code thread-safe.
1197 1999-07-31 Roland McGrath <roland@baalperazim.frob.com>
1199 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
1200 initializer in CHECK: a bit size, not the type code repeated!
1202 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
1204 * string/tester.c: Add tests with constant arguments for strcpy
1207 1999-07-31 H.J. Lu <hjl@gnu.org>
1209 * string/bits/string2.h (__strcpy_small): Fix a typo.
1211 1999-07-31 Ulrich Drepper <drepper@cygnus.com>
1213 * Makeconfig (link-libc): Always define it, not only for shared
1216 * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
1217 * sysdeps/i386/fpu/e_powf.S: Likewise.
1218 * sysdeps/i386/fpu/e_powl.S: Likewise. [PR libc/1213].
1220 * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
1221 * sysdeps/generic/e_gammal_r.c: Likewise. [PR libc/1212].
1223 1999-07-30 Andreas Schwab <schwab@suse.de>
1225 * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
1227 (__get_nprocs): Use it.
1228 (__get_nprocs_conf): Define as separate function if
1229 GET_NPROCS_CONF_PARSER is defined.
1230 * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
1232 * include/sys/sysinfo.h: New file.
1233 * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
1235 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
1237 1999-07-30 H.J. Lu <hjl@gnu.org>
1239 * libio/iofflush.c (fflush_unlocked): Weak aliase if
1240 _IO_MTSAFE_IO is not defined.
1241 * libio/clearerr.c (clearerr_unlocked): Likewise.
1242 * libio/feof.c (feof_unlocked): Likewise.
1243 * libio/ferror.c (ferror_unlocked): Likewise.
1244 * libio/fputc.c (fputc_unlocked): Likewise.
1245 * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
1246 * libio/getchar.c (getchar_unlocked): Likewise.
1247 * libio/putc.c (putc_unlocked): Likewise.
1248 * libio/putchar.c (putchar_unlocked): Likewise.
1250 1999-07-30 Thorsten Kukuk <kukuk@suse.de>
1252 * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
1253 svc_max_pollfd and svc_pollfd to GLIBC_2.2
1254 * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
1255 for svc_run/poll interface.
1256 * sunrpc/rpc/types.h: Add rpc*_t typedefs.
1257 * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
1259 * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
1260 rewrite other svc_getreq* functions to use svc_getreq_common.
1261 * sunrpc/svc_run.c: Use poll().
1263 1999-07-30 Andreas Schwab <schwab@suse.de>
1265 * Makerules: Put sysd-versions and Versions.all on
1266 postclean-generated instead of common-generated.
1268 1999-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1270 * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
1271 around and CLOCKS_PER_SEC is 1e6.
1273 1999-07-30 Ulrich Drepper <drepper@cygnus.com>
1275 * configure.in: Add test for local label subtraction.
1276 * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
1277 * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
1278 labels to reduce number of runtime relocations and move jump
1279 tables in read-only seciton.
1281 * malloc/malloc.c (ptmalloc_init): Correct last patch. The
1282 assignment cannot be moved.
1284 1999-07-29 H.J. Lu <hjl@gnu.org>
1286 * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
1287 if no threads are used.
1289 * libio/iofwrite.c: Add weak alias for _unlocked function if not
1291 * libio/iofread.c: Likewise.
1292 * libio/iofgets.c: Likewise.
1293 * libio/iofputs.c: Likewise.
1295 * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
1298 * stdlib/mbtowc.c: Include <string.h>.
1299 * stdlib/wctomb.c: Likewise.
1300 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
1301 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
1303 * misc/mntent_r.c: Include <alloca.h>.
1304 * elf/dl-runtime.c: Likewise.
1306 1999-07-29 Andreas Schwab <schwab@suse.de>
1308 * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
1309 all floating point formats supported by gcc. Error out for
1310 unhandled precisions.
1311 * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
1312 * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
1313 * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
1315 1999-07-29 Ulrich Drepper <drepper@cygnus.com>
1317 * sysdeps/generic/setenv.c: Move setenv code in new function
1318 __add_to_environ. Add new parameter specifying already
1319 constructed string for the environment.
1320 (setenv): Call __add_to_environ with new parameter set to NULL.
1321 (unsetenv): Really test all elements for duplicated name. Missed those
1322 cases where the two are following each other.
1323 * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
1324 * include/stdlib.h: Add prototype of __add_to_environ.
1325 * stdlib/tst-environ.c: New file.
1326 * stdlib/Makefile (tests): Add tst-environ.
1328 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
1330 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
1331 argument in realloc call.
1332 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
1334 Reported by Danny Braniss <danny@cs.huji.ac.il>.
1336 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
1338 * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
1340 * misc/efgcvt_r.c: Likewise.
1341 * misc/qefgcvt.c: Likewise.
1342 * misc/qefgcvt_r.c: Likewise.
1343 * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
1346 1999-07-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1348 * manual/math.texi (FP Function Optimization): Mention drawbacks.
1350 1999-07-28 Ulrich Drepper <drepper@cygnus.com>
1352 * stdlib/mblen.c: Use static state.
1353 Reported by Bruno Haible <haible@ilog.fr>.
1355 * stdlib/mbtowc.c: Reset state for s == NULL.
1356 * stdlib/wctomb.c: Likewise.
1357 Reported by Bruno Haible <haible@ilog.fr>.
1359 * stdlib/mbstowcs.c: Do not use global state.
1360 Reported by Bruno Haible <haible@ilog.fr>.
1362 1999-07-28 Andeas Schwab <schwab@suse.de>
1364 * iconvdata/Makefile: Don't try to run iconv tests when cross
1367 1999-07-27 Mark Kettenis <kettenis@gnu.org>
1369 * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
1370 assembler code to switch stacks and call init1 outside this
1371 function. Inside `init' the code was optimized away by gcc
1372 2.95 since it was "clearly" unreachable.
1373 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1374 Do something similar for the trampoline code.
1376 1999-07-27 Ulrich Drepper <drepper@cygnus.com>
1378 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
1379 for the hinted protocol.
1381 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1383 * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
1385 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
1387 * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
1388 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
1389 * elf/dl-load.c (_dl_map_object): Likewise.
1390 * elf/do-lookup.h (do_lookup*): Likewise.
1391 * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
1392 * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
1394 * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
1396 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
1398 * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
1399 * sysdeps/generic/getpgrp.c: Likewise.
1400 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
1401 * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
1402 Patch by John Tobey <jtobey@banta-im.com>.
1404 * sysdeps/posix/wait3.c: Help compiling in presence of
1405 __transparent_union__. Reported by John Tobey <jtobey@banta-im.com>.
1407 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
1409 * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
1410 as much as possible. Declare them using .register pseudo-op if they
1412 * sysdeps/sparc/sparc64/lshift.S: Likewise.
1413 * sysdeps/sparc/sparc64/memchr.S: Likewise.
1414 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
1415 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1416 * sysdeps/sparc/sparc64/memset.S: Likewise.
1417 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1418 * sysdeps/sparc/sparc64/rshift.S: Likewise.
1419 * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
1420 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1421 * sysdeps/sparc/sparc64/strcat.S: Likewise.
1422 * sysdeps/sparc/sparc64/strchr.S: Likewise.
1423 * sysdeps/sparc/sparc64/strcmp.S: Likewise.
1424 * sysdeps/sparc/sparc64/strcpy.S: Likewise.
1425 * sysdeps/sparc/sparc64/strcspn.S: Likewise.
1426 * sysdeps/sparc/sparc64/strlen.S: Likewise.
1427 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1428 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1429 * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
1430 * sysdeps/sparc/sparc64/strspn.S: Likewise.
1431 * sysdeps/sparc/sparc64/sub_n.S: Likewise.
1432 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1433 Optimize trampoline code for .plt4-.plt32767.
1434 Fix trampolines for .plt32768+.
1436 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
1438 * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
1440 * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
1441 * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
1442 libc's private use (as assembly routine clobber it anyway).
1444 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1446 * README.template (configurations): The crypt add-on has a new
1448 * manual/install.texi (Installation): Likewise.
1450 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
1452 * time/time.h: Add forward for struct sigevent. Unix98 maybe
1453 requires to have a full definition but we wait for a bug report
1454 based on the test suite.
1456 * sysdeps/generic/clock_getres.c: New file.
1457 * sysdeps/generic/clock_gettime.c: New file.
1458 * sysdeps/generic/clock_settime.c: New file.
1459 * sysdeps/generic/timer_create.c: New file.
1460 * sysdeps/generic/timer_delete.c: New file.
1461 * sysdeps/generic/timer_getoverr.c: New file.
1462 * sysdeps/generic/timer_gettime.c: New file.
1463 * sysdeps/generic/timer_settime.c: New file.
1465 * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
1466 CLOCK_REALTIME, and TIMER_ABSTIME.
1467 * sysdeps/mach/hurd/bits/time.h: Likewise.
1468 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
1469 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
1471 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
1473 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
1476 * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
1478 * time/Makefile (routines): Add clock_getres, clock_gettime,
1479 clock_setres, timer_create, timer_delete, timer_getoverr,
1480 timer_gettime, and timer_settime.
1482 * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
1483 POSIX.1b. Add prototypes for clock and timer functions.
1485 1999-07-26 Roland McGrath <roland@baalperazim.frob.com>
1487 * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
1488 Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
1490 1999-07-26 Ulrich Drepper <drepper@cygnus.com>
1492 * stdlib/wcstombs.c: Do not use global state.
1493 Reported by Bruno Haible <haible@ilog.fr>.
1495 * wcsmbs/wctob.c: Avoid sign extension when returning character.
1496 Reported by Bruno Haible <haible@ilog.fr>.
1498 * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
1499 of wide characters to convert do it right and don't overestimate
1500 by multiplying with MB_CUR_MAX.
1501 Reported by Bruno Haible <haible@ilog.fr>.
1503 1999-07-26 Jakub Jelinek <jj@ultra.linux.jz>
1505 * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
1506 (__stpcpy_small): Likewise.
1507 Union has no __uc member but __c.
1509 1999-07-26 Andreas Schwab <schwab@suse.de>
1511 * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
1513 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
1515 * libio/iofclose.c (_IO_new_fclose): Only fall back on
1516 _IO_old_fclose if doing versioning.
1518 * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
1520 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1522 * misc/mntent_r.c: Allow spaces and tabs in entry names by
1523 encoding these characters.
1524 * misc/tst-mntent.c: Add test case for addmntent and getmntent.
1526 * string/bits/string2.h: Fix aliasing problems.
1527 * sysdeps/i386/i486/bits/string.h: Likewise.
1528 * sysdeps/i386/bits/string.h: Likewise.
1530 1998-12-28 Geoff Keating <geoffk@ozemail.com.au>
1532 * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
1533 * elf/rtld.c (dl_main): Don't call malloc() between
1534 re-relocating the dynamic linker and running the application's crt0.
1536 1999-07-21 Paul D. Smith <psmith@gnu.org>
1538 * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
1539 glob.h to get __P() macro.
1541 * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
1543 (__strchrnul): This won't exist outside GLIBC, so create one.
1545 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
1547 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
1548 __ino64_t should be 32bit unsigned type on sparc32.
1549 Define __off64_t to __quad_t instead of __int64_t.
1550 Make __pic_pid_t unsigned on sparc32.
1552 1999-07-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1554 * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
1557 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
1559 * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
1560 of an error. Patch by Changwoo Ryu <cwryu@debian.org>.
1562 1999-07-24 Ulrich Drepper <drepper@cygnus.com>
1564 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
1567 * resolv/res_send.c: Add locks for res_send and res_close use.
1569 * elf/Makefile (dl-routines): Add preinit.
1570 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
1571 * elf/link.h (struct link_map): Add new field l_preinitcount.
1572 * elf/dl-preinit.c: New file.
1573 * elf/dynamic-link.h: Initialize l_preinitcount.
1574 * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
1576 * elf/dl-fini.c: Handle DT_FINI_ARRAY.
1577 * elf/link.h (struct link_map): Remove l_init_running. Add l_runcount
1579 * elf/dl-init.c: Handle DT_INIT_ARRAY.
1580 * elf/dynamic-link.h: Change parameters. Now only get link_map
1581 pointer. Calculate l_initcount.
1583 * elf/link.h (struct link_map): Add l_runpath_dirs.
1584 * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
1585 * elf/dl-load.c: Pretty print.
1586 (decompose_rpath): Take new parameter with info from where the path
1587 comes. Pass it the fillin_rpath.
1588 (_dl_init_paths): Initialize l_runpath_dirs.
1589 (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
1590 Search using RUNPATH after LD_LIBRARY_PATH.
1591 * elf/dl-support.c: Adjust comment.
1592 * elf/rtld.c: Adjust help message.
1594 1999-07-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1596 * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
1599 1999-07-23 Roland McGrath <roland@baalperazim.frob.com>
1601 * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
1602 match BSD value; previous value of 1<<8 was a typo. I bet nothing
1603 ever used this, so I'm not going to worry about compatibility.
1604 [__USE_GNU] (IUCLC, OLCUC): New macros.
1606 1999-07-23 Ulrich Drepper <drepper@cygnus.com>
1608 * include/libintl.h: Undefine N_ and _ first to avoid warnings.
1610 * elf/elf.h: Add ET_LOOS and ET_HIOS.
1611 Add various EM_* constants.
1612 Add SHN_LOOS and SHN_HIOS.
1613 Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
1614 Add SHF_MERGE and SHF_STRINGS.
1615 (ElfXX_Sym): Update description of st_other field.
1617 Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
1619 Update comment on DT_RPATH. Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
1620 DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
1621 Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
1623 * posix/unistd.h: Move declaration of __libc_enable_secure to...
1624 * include/unistd.h: ...here.
1626 * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
1627 * elf/dl-deps.c (expand_dst): Likewise.
1629 * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
1630 based on DT_FLAGS value.
1632 * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
1633 Add test for symbols marked STV_HIDDEN.
1634 * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
1635 add undef_map. Compute reference_name locally. Update call to
1637 (_dl_lookup_symbol_skip): Likewise.
1638 (_dl_lookup_versioned_symbol): Likewise.
1639 (_dl_lookup_versioned_symbol_skip): Likewise.
1640 * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
1641 * elf/dl-runtime.c: Likewise.
1642 * elf/dl-sym.c: Likewise.
1643 * elf/dl-symbol.c: Likewise.
1644 * elf/ldsodefs.h: Adjust prototypes.
1646 * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
1647 handle appropriately. Add comment about DT_TEXTREL.
1648 * elf/dl-runtime.c: Likewise.
1650 1999-07-21 Roland McGrath <roland@baalperazim.frob.com>
1652 * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
1653 * elf/ldsodefs.h: Declare it.
1654 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
1656 (elf_machine_lazy_rel): Likewise. Take new arg MAP.
1657 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
1658 (elf_machine_lazy_rel): Likewise.
1659 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
1660 (elf_machine_lazy_rel): Likewise.
1661 * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
1662 (elf_machine_lazy_rel): Likewise.
1663 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
1664 (elf_machine_lazy_rel): Likewise.
1665 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1666 (elf_machine_lazy_rel): Likewise.
1667 * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
1668 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
1669 (elf_machine_lazy_rel): Likewise.
1670 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
1671 (elf_machine_lazy_rel): Likewise.
1672 * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
1673 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
1674 _dl_reloc_bad_type instead of _dl_signal_error.
1675 * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
1677 1999-07-20 Mark Kettenis <kettenis@gnu.org>
1679 * sysdeps/mach/_strerror.c: Include <libintl.h>.
1681 1999-07-19 Roland McGrath <roland@baalperazim.frob.com>
1683 * hurd/hurdsig.c (_hurd_internal_post_signal): If a
1684 hurd_signal_preemptor matches but its `preemptor' field is null, use
1685 its `handler' field directly. This is to comply with behavior
1686 documented in <hurd/sigpreempt.h>.
1688 1999-07-21 Andreas Schwab <schwab@suse.de>
1690 * libio/fileops.c (_IO_new_file_underflow): Set error indicator
1691 when reading from write-only stream.
1692 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
1693 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1695 1999-07-21 Andreas Schwab <schwab@suse.de>
1697 * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
1700 1999-07-21 Mark Kettenis <kettenis@gnu.org>
1702 * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
1704 * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
1706 (__libc_write): Call __pwrite instead of __pread.
1708 1999-07-20 Mark Kettenis <kettenis@gnu.org>
1710 * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
1711 __vm_allocate calls.
1713 * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>. Fix typo.
1714 * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
1716 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
1717 _hurd_fd_read with new OFFSET argument set to -1.
1718 (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
1721 1999-07-17 Roland McGrath <roland@baalperazim.frob.com>
1723 * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
1724 descriptor table sent in the RPC.
1726 1999-07-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1728 * time/strptime.c [!_LIBC]: Fix __mon_day size. Reported by
1729 bill@taniwha.org [PR libc/1211].
1731 1999-07-19 Andreas Schwab <schwab@suse.de>
1733 * libio/Makefile (routines): Add fwprintf.
1735 PowerPC has own version of w_sqrt.c and w_sqrtf.c.
1736 * math/w_sqrt.c: Moved to ...
1737 * sysdeps/generic/w_sqrt.c: ... here.
1738 * math/w_sqrtf.c: Moved to ...
1739 * sysdeps/generic/w_sqrtf.c: ... here.
1741 * Make-dist (generic-dirs): New variable.
1742 (try-sysdeps, +sysdep-names): Use it.
1743 * extra-lib.mk (all-$(lib)-routines): New variable. Use it
1744 instead of $(lib)-routines.
1745 * elf/Makefile (distribute): Add dl-cache.h.
1746 * db2/Makefile (distribute): Add all new files.
1747 * iconvdata/Makefile (distribute): Don't distribute CVS
1749 * math/Makefile (distribute): Remove machine/endian.h, add
1751 * stdio-common/Makefile (distribute): Add _itowa.h.
1752 * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
1753 * sysdeps/gnu/Dist: Add eval.c
1754 * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
1755 dlfcn]: Add to this instead of libdl-routines.
1756 * sysdeps/ieee754/ldbl-128/Dist: New file.
1757 * sysdeps/mach/hurd/Dist: Add siglist.h
1758 * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
1760 1999-07-18 Ulrich Drepper <drepper@cygnus.com>
1762 * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
1764 * inet/Makefile (routines): Add getipnodebyad and freehostent.
1765 * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
1766 * inet/freehostent.c: New file.
1767 * inet/getipnodebyad.c: New file.
1768 * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
1769 and getipnodebyname. The latter comes soon.
1770 * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
1771 Add support for getipnode* functions.
1773 * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
1774 Set h_aliases to NULL and not to a pointer to an array with a NULL
1775 pointer following XNS 5.2.
1777 * posix/sched.h: Remove internal interfaces.
1778 * include/sched.h: Add internal interfaces.
1780 * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
1782 * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
1784 * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
1785 and return an error in this case.
1786 * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
1789 1999-07-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1791 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
1792 1999-07-17 and adjust len parameter.
1793 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
1794 * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
1795 * manual/socket.texi (Host Names): Likewise.
1796 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
1797 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
1799 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
1800 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
1801 (ht_gethostbyaddr): Likewise.
1802 (_gethtbyaddr): Likewise.
1804 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
1806 * resolv/netdb.h: Adjust parameters of gethostbyaddr and
1808 * include/netdb.h: Likewise.
1809 * inet/gethstbyad.c: Correct type of len parameter.
1810 * inet/gethstbyad_r.c: Likewise.
1812 * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
1814 1999-07-17 Zack Weinberg <zack@rabi.columbia.edu>
1816 * include/libc-symbol.h: Clean up definitions of weak_alias,
1817 strong_alias, symbol_version, etc. etc.
1818 * posix/getopt.h: Use ctype.h to get features.h included, and don't
1819 include it at all if __GNU_LIBRARY__ is already defined.
1821 1999-07-17 Ulrich Drepper <drepper@cygnus.com>
1823 * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
1825 * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
1827 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
1828 type for tv_usec element.
1829 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise
1830 * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
1831 * sysdeps/generic/bits/time.h: Likewise.
1832 * sysdeps/mach/hurd/bits/time.h: Likewise.
1833 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1834 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1835 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1836 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1837 * sysdeps/generic/bits/types.h: Likewise.
1838 * posix/sys/types.h: Define suseconds_t for X/Open.
1840 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
1842 * stdio-common/bug1.c: Avoid memory leak.
1844 * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
1845 program deterministic.
1846 * sysdeps/i386/fpu/e_powf.S: Likewise.
1847 * sysdeps/i386/fpu/e_powl.S: Likewise.
1849 1999-07-15 Jakub Jelinek <jj@ultra.linux.cz>
1851 * math/Makefile: Add t_sincosl and k_sincosl support routines.
1852 * math/math_private.h (__kernel_sincosl): New declaration.
1853 * sysdeps/generic/t_sincosl.c: New file.
1854 * sysdeps/generic/k_sincosl.c: New file.
1855 * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
1856 * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
1857 * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
1858 * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
1859 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
1860 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
1862 * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
1865 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
1867 * posix/unistd.h: Use __PMT for exit.
1869 1999-07-15 Philip Blundell <pb@nexus.co.uk>
1871 * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
1872 _outw, _outl): Added to GLIBC_2.1.2.
1874 1999-07-15 Ulrich Drepper <drepper@cygnus.com>
1876 * posix/fnmatch.h: Use __name instead of __string in prototype to
1877 allow use outside glibc.
1879 1999-07-14 Ulrich Drepper <drepper@cygnus.com>
1881 * time/tst-strptime.c (main): Add one more test case. Produce
1882 output even when result is ok.
1884 * time/strptime.c (get_number): Handle number parsing more
1885 consistent with strftime. Only parse a given number of digits.
1886 (get_alt_number): Fix implementation. Was broken.
1887 (strptime_internal): Add third parameter to get_number and
1888 get_alt_number calls.
1890 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
1892 * elf/ldd.bash.in: Add support for multiple dynamic linkers.
1893 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
1894 try both 32bit and 64bit dynamic linker.
1895 * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
1896 script on all sparc targets.
1898 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz>
1900 * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
1903 1999-07-13 Andreas Schwab <schwab@suse.de>
1905 * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
1906 inlining. Fixes PR libc/1198.
1908 1999-07-14 Andreas Schwab <schwab@suse.de>
1910 * Makerules (common-generated): Don't prepend $(common-objpfx).
1912 1999-07-12 Jakub Jelinek <jj@ultra.linux.cz>
1914 * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
1915 as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
1916 * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
1917 quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
1919 * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
1921 * sysdeps/arm/Implies: Likewise.
1922 * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
1923 ieee754/ldbl-96 instead of ieee754.
1924 * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
1925 * sysdeps/generic/e_atanhl.c: New file.
1926 * sysdeps/generic/e_coshl.c: New file.
1927 * sysdeps/generic/e_sinhl.c: New file.
1928 * sysdeps/generic/e_gammal_r.c: New file.
1929 * sysdeps/generic/e_hypotl.c: New file.
1930 * sysdeps/generic/s_cbrtl.c: New file.
1931 * sysdeps/generic/s_asinhl.c: New file.
1932 * sysdeps/generic/s_tanhl.c: New file.
1933 * sysdeps/generic/w_expl.c: New file.
1934 * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
1936 * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
1937 ieee754/ldbl-96 instead of ieee754.
1938 * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
1939 * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
1941 * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
1943 * sysdeps/mips/mips64/Implies: Likewise.
1944 * sysdeps/powerpc/Implies: Likewise.
1945 * sysdeps/sparc/Implies: Remove.
1946 * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
1948 * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
1949 and ieee754/ldbl-128.
1951 * sysdeps/sparc/bits/wordsize.h: Remove.
1952 * sysdeps/sparc/fpu/bits/mathinline.h: New file.
1953 * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
1955 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
1956 * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
1957 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
1958 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
1959 * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
1962 * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
1963 of carries. Optimize.
1965 * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
1966 * sysdeps/generic/e_exp10.c: ...here.
1967 * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
1968 * sysdeps/generic/e_exp10f.c: ...here.
1969 * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
1970 * sysdeps/generic/e_exp10l.c: ...here.
1971 * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
1972 * sysdeps/generic/e_scalb.c: ...here.
1973 * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
1974 * sysdeps/generic/e_scalbf.c: ...here.
1975 * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
1976 * sysdeps/generic/e_scalbl.c: ...here.
1977 * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
1978 * sysdeps/generic/s_cacos.c: ...here.
1979 * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
1980 * sysdeps/generic/s_cacosf.c: ...here.
1981 * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
1982 * sysdeps/generic/s_cacosh.c: ...here.
1983 * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
1984 * sysdeps/generic/s_cacoshf.c: ...here.
1985 * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
1986 * sysdeps/generic/s_cacoshl.c: ...here.
1987 * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
1988 * sysdeps/generic/s_cacosl.c: ...here.
1989 * sysdeps/libm-ieee754/s_casin.c: Moved to ...
1990 * sysdeps/generic/s_casin.c: ...here.
1991 * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
1992 * sysdeps/generic/s_casinf.c: ...here.
1993 * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
1994 * sysdeps/generic/s_casinh.c: ...here.
1995 * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
1996 * sysdeps/generic/s_casinhf.c: ...here.
1997 * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
1998 * sysdeps/generic/s_casinhl.c: ...here.
1999 * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
2000 * sysdeps/generic/s_casinl.c: ...here.
2001 * sysdeps/libm-ieee754/s_catan.c: Moved to ...
2002 * sysdeps/generic/s_catan.c: ...here.
2003 * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
2004 * sysdeps/generic/s_catanf.c: ...here.
2005 * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
2006 * sysdeps/generic/s_catanh.c: ...here.
2007 * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
2008 * sysdeps/generic/s_catanhf.c: ...here.
2009 * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
2010 * sysdeps/generic/s_catanhl.c: ...here.
2011 * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
2012 * sysdeps/generic/s_catanl.c: ...here.
2013 * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
2014 * sysdeps/generic/s_ccos.c: ...here.
2015 * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
2016 * sysdeps/generic/s_ccosf.c: ...here.
2017 * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
2018 * sysdeps/generic/s_ccosh.c: ...here.
2019 * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
2020 * sysdeps/generic/s_ccoshf.c: ...here.
2021 * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
2022 * sysdeps/generic/s_ccoshl.c: ...here.
2023 * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
2024 * sysdeps/generic/s_ccosl.c: ...here.
2025 * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
2026 * sysdeps/generic/s_cexp.c: ...here.
2027 * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
2028 * sysdeps/generic/s_cexpf.c: ...here.
2029 * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
2030 * sysdeps/generic/s_cexpl.c: ...here.
2031 * sysdeps/libm-ieee754/s_clog.c: Moved to ...
2032 * sysdeps/generic/s_clog.c: ...here.
2033 * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
2034 * sysdeps/generic/s_clog10.c: ...here.
2035 * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
2036 * sysdeps/generic/s_clog10f.c: ...here.
2037 * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
2038 * sysdeps/generic/s_clog10l.c: ...here.
2039 * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
2040 * sysdeps/generic/s_clogf.c: ...here.
2041 * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
2042 * sysdeps/generic/s_clogl.c: ...here.
2043 * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
2044 * sysdeps/generic/s_cpow.c: ...here.
2045 * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
2046 * sysdeps/generic/s_cpowf.c: ...here.
2047 * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
2048 * sysdeps/generic/s_cpowl.c: ...here.
2049 * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
2050 * sysdeps/generic/s_cproj.c: ...here.
2051 * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
2052 * sysdeps/generic/s_cprojf.c: ...here.
2053 * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
2054 * sysdeps/generic/s_cprojl.c: ...here.
2055 * sysdeps/libm-ieee754/s_csin.c: Moved to ...
2056 * sysdeps/generic/s_csin.c: ...here.
2057 * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
2058 * sysdeps/generic/s_csinf.c: ...here.
2059 * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
2060 * sysdeps/generic/s_csinh.c: ...here.
2061 * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
2062 * sysdeps/generic/s_csinhf.c: ...here.
2063 * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
2064 * sysdeps/generic/s_csinhl.c: ...here.
2065 * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
2066 * sysdeps/generic/s_csinl.c: ...here.
2067 * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
2068 * sysdeps/generic/s_csqrt.c: ...here.
2069 * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
2070 * sysdeps/generic/s_csqrtf.c: ...here.
2071 * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
2072 * sysdeps/generic/s_csqrtl.c: ...here.
2073 * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
2074 * sysdeps/generic/s_ctan.c: ...here.
2075 * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
2076 * sysdeps/generic/s_ctanf.c: ...here.
2077 * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
2078 * sysdeps/generic/s_ctanh.c: ...here.
2079 * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
2080 * sysdeps/generic/s_ctanhf.c: ...here.
2081 * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
2082 * sysdeps/generic/s_ctanhl.c: ...here.
2083 * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
2084 * sysdeps/generic/s_ctanl.c: ...here.
2085 * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
2086 * sysdeps/generic/s_fdim.c: ...here.
2087 * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
2088 * sysdeps/generic/s_fdimf.c: ...here.
2089 * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
2090 * sysdeps/generic/s_fdiml.c: ...here.
2091 * sysdeps/libm-ieee754/s_fma.c: Moved to ...
2092 * sysdeps/generic/s_fma.c: ...here.
2093 * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
2094 * sysdeps/generic/s_fmaf.c: ...here.
2095 * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
2096 * sysdeps/generic/s_fmal.c: ...here.
2097 * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
2098 * sysdeps/generic/s_fmax.c: ...here.
2099 * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
2100 * sysdeps/generic/s_fmaxf.c: ...here.
2101 * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
2102 * sysdeps/generic/s_fmaxl.c: ...here.
2103 * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
2104 * sysdeps/generic/s_fmin.c: ...here.
2105 * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
2106 * sysdeps/generic/s_fminf.c: ...here.
2107 * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
2108 * sysdeps/generic/s_fminl.c: ...here.
2109 * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
2110 * sysdeps/generic/s_ldexp.c: ...here.
2111 * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
2112 * sysdeps/generic/s_ldexpf.c: ...here.
2113 * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
2114 * sysdeps/generic/s_ldexpl.c: ...here.
2115 * sysdeps/libm-ieee754/s_nan.c: Moved to ...
2116 * sysdeps/generic/s_nan.c: ...here.
2117 * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
2118 * sysdeps/generic/s_nanf.c: ...here.
2119 * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
2120 * sysdeps/generic/s_nanl.c: ...here.
2121 * sysdeps/libm-ieee754/s_significand.c: Moved to ...
2122 * sysdeps/generic/s_significand.c: ...here.
2123 * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
2124 * sysdeps/generic/s_significandf.c: ...here.
2125 * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
2126 * sysdeps/generic/s_significandl.c: ...here.
2127 Avoid conversion from int to double and then to long double.
2128 * sysdeps/libm-ieee754/w_acos.c: Moved to ...
2129 * math/w_acos.c: ...here.
2130 * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
2131 * math/w_acosf.c: ...here.
2132 * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
2133 * math/w_acosh.c: ...here.
2134 * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
2135 * math/w_acoshf.c: ...here.
2136 * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
2137 * math/w_acoshl.c: ...here.
2138 * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
2139 * math/w_acosl.c: ...here.
2140 * sysdeps/libm-ieee754/w_asin.c: Moved to ...
2141 * math/w_asin.c: ...here.
2142 * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
2143 * math/w_asinf.c: ...here.
2144 * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
2145 * math/w_asinl.c: ...here.
2146 * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
2147 * math/w_atan2.c: ...here.
2148 * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
2149 * math/w_atan2f.c: ...here.
2150 * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
2151 * math/w_atan2l.c: ...here.
2152 * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
2153 * math/w_atanh.c: ...here.
2154 * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
2155 * math/w_atanhf.c: ...here.
2156 * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
2157 * math/w_atanhl.c: ...here.
2158 * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
2159 * math/w_cosh.c: ...here.
2160 * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
2161 * math/w_coshf.c: ...here.
2162 * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
2163 * math/w_coshl.c: ...here.
2164 * sysdeps/libm-ieee754/w_drem.c: Moved to ...
2165 * math/w_drem.c: ...here.
2166 * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
2167 * math/w_dremf.c: ...here.
2168 * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
2169 * math/w_dreml.c: ...here.
2170 * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
2171 * math/w_exp10.c: ...here.
2172 * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
2173 * math/w_exp10f.c: ...here.
2174 * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
2175 * math/w_exp10l.c: ...here.
2176 * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
2177 * math/w_exp2.c: ...here.
2178 * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
2179 * math/w_exp2f.c: ...here.
2180 * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
2181 * math/w_exp2l.c: ...here.
2182 * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
2183 * math/w_fmod.c: ...here.
2184 * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
2185 * math/w_fmodf.c: ...here.
2186 * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
2187 * math/w_fmodl.c: ...here.
2188 * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
2189 * math/w_hypot.c: ...here.
2190 * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
2191 * math/w_hypotf.c: ...here.
2192 * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
2193 * math/w_hypotl.c: ...here.
2194 * sysdeps/libm-ieee754/w_j0.c: Moved to ...
2195 * math/w_j0.c: ...here.
2196 * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
2197 * math/w_j0f.c: ...here.
2198 * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
2199 * math/w_j0l.c: ...here.
2200 * sysdeps/libm-ieee754/w_j1.c: Moved to ...
2201 * math/w_j1.c: ...here.
2202 * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
2203 * math/w_j1f.c: ...here.
2204 * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
2205 * math/w_j1l.c: ...here.
2206 * sysdeps/libm-ieee754/w_jn.c: Moved to ...
2207 * math/w_jn.c: ...here.
2208 * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
2209 * math/w_jnf.c: ...here.
2210 * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
2211 * math/w_jnl.c: ...here.
2212 * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
2213 * math/w_lgamma.c: ...here.
2214 * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
2215 * math/w_lgamma_r.c: ...here.
2216 * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
2217 * math/w_lgammaf.c: ...here.
2218 * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
2219 * math/w_lgammaf_r.c: ...here.
2220 * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
2221 * math/w_lgammal.c: ...here.
2222 * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
2223 * math/w_lgammal_r.c: ...here.
2224 * sysdeps/libm-ieee754/w_log.c: Moved to ...
2225 * math/w_log.c: ...here.
2226 * sysdeps/libm-ieee754/w_log10.c: Moved to ...
2227 * math/w_log10.c: ...here.
2228 * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
2229 * math/w_log10f.c: ...here.
2230 * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
2231 * math/w_log10l.c: ...here.
2232 * sysdeps/libm-ieee754/w_logf.c: Moved to ...
2233 * math/w_logf.c: ...here.
2234 * sysdeps/libm-ieee754/w_logl.c: Moved to ...
2235 * math/w_logl.c: ...here.
2236 * sysdeps/libm-ieee754/w_pow.c: Moved to ...
2237 * math/w_pow.c: ...here.
2238 * sysdeps/libm-ieee754/w_powf.c: Moved to ...
2239 * math/w_powf.c: ...here.
2240 * sysdeps/libm-ieee754/w_powl.c: Moved to ...
2241 * math/w_powl.c: ...here.
2242 * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
2243 * math/w_remainder.c: ...here.
2244 * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
2245 * math/w_remainderf.c: ...here.
2246 * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
2247 * math/w_remainderl.c: ...here.
2248 * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
2249 * math/w_scalb.c: ...here.
2250 * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
2251 * math/w_scalbf.c: ...here.
2252 * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
2253 * math/w_scalbl.c: ...here.
2254 * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
2255 * math/w_sinh.c: ...here.
2256 * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
2257 * math/w_sinhf.c: ...here.
2258 * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
2259 * math/w_sinhl.c: ...here.
2260 * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
2261 * math/w_sqrt.c: ...here.
2262 * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
2263 * math/w_sqrtf.c: ...here.
2264 * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
2265 * math/w_sqrtl.c: ...here.
2266 * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
2267 * math/w_tgamma.c: ...here.
2268 * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
2269 * math/w_tgammaf.c: ...here.
2270 * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
2271 * math/w_tgammal.c: ...here.
2272 * sysdeps/libm-i387/e_acos.S: Moved to ...
2273 * sysdeps/i386/fpu/e_acos.S: ...here.
2274 * sysdeps/libm-i387/e_acosf.S: Moved to ...
2275 * sysdeps/i386/fpu/e_acosf.S: ...here.
2276 * sysdeps/libm-i387/e_acosh.S: Moved to ...
2277 * sysdeps/i386/fpu/e_acosh.S: ...here.
2278 * sysdeps/libm-i387/e_acoshf.S: Moved to ...
2279 * sysdeps/i386/fpu/e_acoshf.S: ...here.
2280 * sysdeps/libm-i387/e_acoshl.S: Moved to ...
2281 * sysdeps/i386/fpu/e_acoshl.S: ...here.
2282 * sysdeps/libm-i387/e_acosl.S: Moved to ...
2283 * sysdeps/i386/fpu/e_acosl.S: ...here.
2284 * sysdeps/libm-i387/e_asin.S: Moved to ...
2285 * sysdeps/i386/fpu/e_asin.S: ...here.
2286 * sysdeps/libm-i387/e_asinf.S: Moved to ...
2287 * sysdeps/i386/fpu/e_asinf.S: ...here.
2288 * sysdeps/libm-i387/e_asinl.S: Moved to ...
2289 * sysdeps/i386/fpu/e_asinl.S: ...here.
2290 * sysdeps/libm-i387/e_atan2.S: Moved to ...
2291 * sysdeps/i386/fpu/e_atan2.S: ...here.
2292 * sysdeps/libm-i387/e_atan2f.S: Moved to ...
2293 * sysdeps/i386/fpu/e_atan2f.S: ...here.
2294 * sysdeps/libm-i387/e_atan2l.S: Moved to ...
2295 * sysdeps/i386/fpu/e_atan2l.S: ...here.
2296 * sysdeps/libm-i387/e_atanh.S: Moved to ...
2297 * sysdeps/i386/fpu/e_atanh.S: ...here.
2298 * sysdeps/libm-i387/e_atanhf.S: Moved to ...
2299 * sysdeps/i386/fpu/e_atanhf.S: ...here.
2300 * sysdeps/libm-i387/e_atanhl.S: Moved to ...
2301 * sysdeps/i386/fpu/e_atanhl.S: ...here.
2302 * sysdeps/libm-i387/e_exp.S: Moved to ...
2303 * sysdeps/i386/fpu/e_exp.S: ...here.
2304 * sysdeps/libm-i387/e_exp10.S: Moved to ...
2305 * sysdeps/i386/fpu/e_exp10.S: ...here.
2306 * sysdeps/libm-i387/e_exp10f.S: Moved to ...
2307 * sysdeps/i386/fpu/e_exp10f.S: ...here.
2308 * sysdeps/libm-i387/e_exp10l.S: Moved to ...
2309 * sysdeps/i386/fpu/e_exp10l.S: ...here.
2310 * sysdeps/libm-i387/e_expf.S: Moved to ...
2311 * sysdeps/i386/fpu/e_expf.S: ...here.
2312 * sysdeps/libm-i387/e_expl.S: Moved to ...
2313 * sysdeps/i386/fpu/e_expl.S: ...here.
2314 * sysdeps/libm-i387/e_fmod.S: Moved to ...
2315 * sysdeps/i386/fpu/e_fmod.S: ...here.
2316 * sysdeps/libm-i387/e_fmodf.S: Moved to ...
2317 * sysdeps/i386/fpu/e_fmodf.S: ...here.
2318 * sysdeps/libm-i387/e_fmodl.S: Moved to ...
2319 * sysdeps/i386/fpu/e_fmodl.S: ...here.
2320 * sysdeps/libm-i387/e_hypot.S: Moved to ...
2321 * sysdeps/i386/fpu/e_hypot.S: ...here.
2322 * sysdeps/libm-i387/e_hypotf.S: Moved to ...
2323 * sysdeps/i386/fpu/e_hypotf.S: ...here.
2324 * sysdeps/libm-i387/e_log.S: Moved to ...
2325 * sysdeps/i386/fpu/e_log.S: ...here.
2326 * sysdeps/libm-i387/e_log10.S: Moved to ...
2327 * sysdeps/i386/fpu/e_log10.S: ...here.
2328 * sysdeps/libm-i387/e_log10f.S: Moved to ...
2329 * sysdeps/i386/fpu/e_log10f.S: ...here.
2330 * sysdeps/libm-i387/e_log10l.S: Moved to ...
2331 * sysdeps/i386/fpu/e_log10l.S: ...here.
2332 * sysdeps/libm-i387/e_logf.S: Moved to ...
2333 * sysdeps/i386/fpu/e_logf.S: ...here.
2334 * sysdeps/libm-i387/e_logl.S: Moved to ...
2335 * sysdeps/i386/fpu/e_logl.S: ...here.
2336 * sysdeps/libm-i387/e_pow.S: Moved to ...
2337 * sysdeps/i386/fpu/e_pow.S: ...here.
2338 * sysdeps/libm-i387/e_powf.S: Moved to ...
2339 * sysdeps/i386/fpu/e_powf.S: ...here.
2340 * sysdeps/libm-i387/e_powl.S: Moved to ...
2341 * sysdeps/i386/fpu/e_powl.S: ...here.
2342 * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
2343 * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
2344 * sysdeps/libm-i387/e_remainder.S: Moved to ...
2345 * sysdeps/i386/fpu/e_remainder.S: ...here.
2346 * sysdeps/libm-i387/e_remainderf.S: Moved to ...
2347 * sysdeps/i386/fpu/e_remainderf.S: ...here.
2348 * sysdeps/libm-i387/e_remainderl.S: Moved to ...
2349 * sysdeps/i386/fpu/e_remainderl.S: ...here.
2350 * sysdeps/libm-i387/e_scalb.S: Moved to ...
2351 * sysdeps/i386/fpu/e_scalb.S: ...here.
2352 * sysdeps/libm-i387/e_scalbf.S: Moved to ...
2353 * sysdeps/i386/fpu/e_scalbf.S: ...here.
2354 * sysdeps/libm-i387/e_scalbl.S: Moved to ...
2355 * sysdeps/i386/fpu/e_scalbl.S: ...here.
2356 * sysdeps/libm-i387/e_sqrt.S: Moved to ...
2357 * sysdeps/i386/fpu/e_sqrt.S: ...here.
2358 * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
2359 * sysdeps/i386/fpu/e_sqrtf.S: ...here.
2360 * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
2361 * sysdeps/i386/fpu/e_sqrtl.S: ...here.
2362 * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
2363 * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
2364 * sysdeps/libm-i387/s_asinh.S: Moved to ...
2365 * sysdeps/i386/fpu/s_asinh.S: ...here.
2366 * sysdeps/libm-i387/s_asinhf.S: Moved to ...
2367 * sysdeps/i386/fpu/s_asinhf.S: ...here.
2368 * sysdeps/libm-i387/s_asinhl.S: Moved to ...
2369 * sysdeps/i386/fpu/s_asinhl.S: ...here.
2370 * sysdeps/libm-i387/s_atan.S: Moved to ...
2371 * sysdeps/i386/fpu/s_atan.S: ...here.
2372 * sysdeps/libm-i387/s_atanf.S: Moved to ...
2373 * sysdeps/i386/fpu/s_atanf.S: ...here.
2374 * sysdeps/libm-i387/s_atanl.S: Moved to ...
2375 * sysdeps/i386/fpu/s_atanl.S: ...here.
2376 * sysdeps/libm-i387/s_cbrt.S: Moved to ...
2377 * sysdeps/i386/fpu/s_cbrt.S: ...here.
2378 * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
2379 * sysdeps/i386/fpu/s_cbrtf.S: ...here.
2380 * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
2381 * sysdeps/i386/fpu/s_cbrtl.S: ...here.
2382 * sysdeps/libm-i387/s_ceil.S: Moved to ...
2383 * sysdeps/i386/fpu/s_ceil.S: ...here.
2384 * sysdeps/libm-i387/s_ceilf.S: Moved to ...
2385 * sysdeps/i386/fpu/s_ceilf.S: ...here.
2386 * sysdeps/libm-i387/s_ceill.S: Moved to ...
2387 * sysdeps/i386/fpu/s_ceill.S: ...here.
2388 * sysdeps/libm-i387/s_cexp.S: Moved to ...
2389 * sysdeps/i386/fpu/s_cexp.S: ...here.
2390 * sysdeps/libm-i387/s_cexpf.S: Moved to ...
2391 * sysdeps/i386/fpu/s_cexpf.S: ...here.
2392 * sysdeps/libm-i387/s_cexpl.S: Moved to ...
2393 * sysdeps/i386/fpu/s_cexpl.S: ...here.
2394 * sysdeps/libm-i387/s_copysign.S: Moved to ...
2395 * sysdeps/i386/fpu/s_copysign.S: ...here.
2396 * sysdeps/libm-i387/s_copysignf.S: Moved to ...
2397 * sysdeps/i386/fpu/s_copysignf.S: ...here.
2398 * sysdeps/libm-i387/s_copysignl.S: Moved to ...
2399 * sysdeps/i386/fpu/s_copysignl.S: ...here.
2400 * sysdeps/libm-i387/s_cos.S: Moved to ...
2401 * sysdeps/i386/fpu/s_cos.S: ...here.
2402 * sysdeps/libm-i387/s_cosf.S: Moved to ...
2403 * sysdeps/i386/fpu/s_cosf.S: ...here.
2404 * sysdeps/libm-i387/s_cosl.S: Moved to ...
2405 * sysdeps/i386/fpu/s_cosl.S: ...here.
2406 * sysdeps/libm-i387/s_exp2.S: Moved to ...
2407 * sysdeps/i386/fpu/s_exp2.S: ...here.
2408 * sysdeps/libm-i387/s_exp2f.S: Moved to ...
2409 * sysdeps/i386/fpu/s_exp2f.S: ...here.
2410 * sysdeps/libm-i387/s_exp2l.S: Moved to ...
2411 * sysdeps/i386/fpu/s_exp2l.S: ...here.
2412 * sysdeps/libm-i387/s_expm1.S: Moved to ...
2413 * sysdeps/i386/fpu/s_expm1.S: ...here.
2414 * sysdeps/libm-i387/s_expm1f.S: Moved to ...
2415 * sysdeps/i386/fpu/s_expm1f.S: ...here.
2416 * sysdeps/libm-i387/s_expm1l.S: Moved to ...
2417 * sysdeps/i386/fpu/s_expm1l.S: ...here.
2418 * sysdeps/libm-i387/s_fdim.S: Moved to ...
2419 * sysdeps/i386/fpu/s_fdim.S: ...here.
2420 * sysdeps/libm-i387/s_fdimf.S: Moved to ...
2421 * sysdeps/i386/fpu/s_fdimf.S: ...here.
2422 * sysdeps/libm-i387/s_fdiml.S: Moved to ...
2423 * sysdeps/i386/fpu/s_fdiml.S: ...here.
2424 * sysdeps/libm-i387/s_finite.S: Moved to ...
2425 * sysdeps/i386/fpu/s_finite.S: ...here.
2426 * sysdeps/libm-i387/s_finitef.S: Moved to ...
2427 * sysdeps/i386/fpu/s_finitef.S: ...here.
2428 * sysdeps/libm-i387/s_finitel.S: Moved to ...
2429 * sysdeps/i386/fpu/s_finitel.S: ...here.
2430 * sysdeps/libm-i387/s_floor.S: Moved to ...
2431 * sysdeps/i386/fpu/s_floor.S: ...here.
2432 * sysdeps/libm-i387/s_floorf.S: Moved to ...
2433 * sysdeps/i386/fpu/s_floorf.S: ...here.
2434 * sysdeps/libm-i387/s_floorl.S: Moved to ...
2435 * sysdeps/i386/fpu/s_floorl.S: ...here.
2436 * sysdeps/libm-i387/s_fma.S: Moved to ...
2437 * sysdeps/i386/fpu/s_fma.S: ...here.
2438 * sysdeps/libm-i387/s_fmaf.S: Moved to ...
2439 * sysdeps/i386/fpu/s_fmaf.S: ...here.
2440 * sysdeps/libm-i387/s_fmal.S: Moved to ...
2441 * sysdeps/i386/fpu/s_fmal.S: ...here.
2442 * sysdeps/libm-i387/s_fmax.S: Moved to ...
2443 * sysdeps/i386/fpu/s_fmax.S: ...here.
2444 * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
2445 * sysdeps/i386/fpu/s_fmaxf.S: ...here.
2446 * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
2447 * sysdeps/i386/fpu/s_fmaxl.S: ...here.
2448 * sysdeps/libm-i387/s_fmin.S: Moved to ...
2449 * sysdeps/i386/fpu/s_fmin.S: ...here.
2450 * sysdeps/libm-i387/s_fminf.S: Moved to ...
2451 * sysdeps/i386/fpu/s_fminf.S: ...here.
2452 * sysdeps/libm-i387/s_fminl.S: Moved to ...
2453 * sysdeps/i386/fpu/s_fminl.S: ...here.
2454 * sysdeps/libm-i387/s_frexp.S: Moved to ...
2455 * sysdeps/i386/fpu/s_frexp.S: ...here.
2456 * sysdeps/libm-i387/s_frexpf.S: Moved to ...
2457 * sysdeps/i386/fpu/s_frexpf.S: ...here.
2458 * sysdeps/libm-i387/s_frexpl.S: Moved to ...
2459 * sysdeps/i386/fpu/s_frexpl.S: ...here.
2460 * sysdeps/libm-i387/s_ilogb.S: Moved to ...
2461 * sysdeps/i386/fpu/s_ilogb.S: ...here.
2462 * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
2463 * sysdeps/i386/fpu/s_ilogbf.S: ...here.
2464 * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
2465 * sysdeps/i386/fpu/s_ilogbl.S: ...here.
2466 * sysdeps/libm-i387/s_llrint.S: Moved to ...
2467 * sysdeps/i386/fpu/s_llrint.S: ...here.
2468 * sysdeps/libm-i387/s_llrintf.S: Moved to ...
2469 * sysdeps/i386/fpu/s_llrintf.S: ...here.
2470 * sysdeps/libm-i387/s_llrintl.S: Moved to ...
2471 * sysdeps/i386/fpu/s_llrintl.S: ...here.
2472 * sysdeps/libm-i387/s_log1p.S: Moved to ...
2473 * sysdeps/i386/fpu/s_log1p.S: ...here.
2474 * sysdeps/libm-i387/s_log1pf.S: Moved to ...
2475 * sysdeps/i386/fpu/s_log1pf.S: ...here.
2476 * sysdeps/libm-i387/s_log1pl.S: Moved to ...
2477 * sysdeps/i386/fpu/s_log1pl.S: ...here.
2478 * sysdeps/libm-i387/s_log2.S: Moved to ...
2479 * sysdeps/i386/fpu/s_log2.S: ...here.
2480 * sysdeps/libm-i387/s_log2f.S: Moved to ...
2481 * sysdeps/i386/fpu/s_log2f.S: ...here.
2482 * sysdeps/libm-i387/s_log2l.S: Moved to ...
2483 * sysdeps/i386/fpu/s_log2l.S: ...here.
2484 * sysdeps/libm-i387/s_logb.S: Moved to ...
2485 * sysdeps/i386/fpu/s_logb.S: ...here.
2486 * sysdeps/libm-i387/s_logbf.S: Moved to ...
2487 * sysdeps/i386/fpu/s_logbf.S: ...here.
2488 * sysdeps/libm-i387/s_logbl.S: Moved to ...
2489 * sysdeps/i386/fpu/s_logbl.S: ...here.
2490 * sysdeps/libm-i387/s_lrint.S: Moved to ...
2491 * sysdeps/i386/fpu/s_lrint.S: ...here.
2492 * sysdeps/libm-i387/s_lrintf.S: Moved to ...
2493 * sysdeps/i386/fpu/s_lrintf.S: ...here.
2494 * sysdeps/libm-i387/s_lrintl.S: Moved to ...
2495 * sysdeps/i386/fpu/s_lrintl.S: ...here.
2496 * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
2497 * sysdeps/i386/fpu/s_nearbyint.S: ...here.
2498 * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
2499 * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
2500 * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
2501 * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
2502 * sysdeps/libm-i387/s_remquo.S: Moved to ...
2503 * sysdeps/i386/fpu/s_remquo.S: ...here.
2504 * sysdeps/libm-i387/s_remquof.S: Moved to ...
2505 * sysdeps/i386/fpu/s_remquof.S: ...here.
2506 * sysdeps/libm-i387/s_remquol.S: Moved to ...
2507 * sysdeps/i386/fpu/s_remquol.S: ...here.
2508 * sysdeps/libm-i387/s_rint.S: Moved to ...
2509 * sysdeps/i386/fpu/s_rint.S: ...here.
2510 * sysdeps/libm-i387/s_rintf.S: Moved to ...
2511 * sysdeps/i386/fpu/s_rintf.S: ...here.
2512 * sysdeps/libm-i387/s_rintl.S: Moved to ...
2513 * sysdeps/i386/fpu/s_rintl.S: ...here.
2514 * sysdeps/libm-i387/s_scalbn.S: Moved to ...
2515 * sysdeps/i386/fpu/s_scalbn.S: ...here.
2516 * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
2517 * sysdeps/i386/fpu/s_scalbnf.S: ...here.
2518 * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
2519 * sysdeps/i386/fpu/s_scalbnl.S: ...here.
2520 * sysdeps/libm-i387/s_significand.S: Moved to ...
2521 * sysdeps/i386/fpu/s_significand.S: ...here.
2522 * sysdeps/libm-i387/s_significandf.S: Moved to ...
2523 * sysdeps/i386/fpu/s_significandf.S: ...here.
2524 * sysdeps/libm-i387/s_significandl.S: Moved to ...
2525 * sysdeps/i386/fpu/s_significandl.S: ...here.
2526 * sysdeps/libm-i387/s_sin.S: Moved to ...
2527 * sysdeps/i386/fpu/s_sin.S: ...here.
2528 * sysdeps/libm-i387/s_sincos.S: Moved to ...
2529 * sysdeps/i386/fpu/s_sincos.S: ...here.
2530 * sysdeps/libm-i387/s_sincosf.S: Moved to ...
2531 * sysdeps/i386/fpu/s_sincosf.S: ...here.
2532 * sysdeps/libm-i387/s_sincosl.S: Moved to ...
2533 * sysdeps/i386/fpu/s_sincosl.S: ...here.
2534 * sysdeps/libm-i387/s_sinf.S: Moved to ...
2535 * sysdeps/i386/fpu/s_sinf.S: ...here.
2536 * sysdeps/libm-i387/s_sinl.S: Moved to ...
2537 * sysdeps/i386/fpu/s_sinl.S: ...here.
2538 * sysdeps/libm-i387/s_tan.S: Moved to ...
2539 * sysdeps/i386/fpu/s_tan.S: ...here.
2540 * sysdeps/libm-i387/s_tanf.S: Moved to ...
2541 * sysdeps/i386/fpu/s_tanf.S: ...here.
2542 * sysdeps/libm-i387/s_tanl.S: Moved to ...
2543 * sysdeps/i386/fpu/s_tanl.S: ...here.
2544 * sysdeps/libm-i387/s_trunc.S: Moved to ...
2545 * sysdeps/i386/fpu/s_trunc.S: ...here.
2546 * sysdeps/libm-i387/s_truncf.S: Moved to ...
2547 * sysdeps/i386/fpu/s_truncf.S: ...here.
2548 * sysdeps/libm-i387/s_truncl.S: Moved to ...
2549 * sysdeps/i386/fpu/s_truncl.S: ...here.
2550 * sysdeps/libm-ieee754/k_standard.c: Moved to ...
2551 * sysdeps/ieee754/k_standard.c: ...here.
2552 * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
2553 * sysdeps/ieee754/s_lib_version.c: ...here.
2554 * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
2555 * sysdeps/ieee754/s_matherr.c: ...here.
2556 * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
2557 * sysdeps/ieee754/s_signgam.c: ...here.
2558 * sysdeps/ieee754/dbl2mpn.c: Moved to ...
2559 * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
2560 * sysdeps/ieee754/mpn2dbl.c: Moved to ...
2561 * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
2562 * sysdeps/libm-ieee754/e_acos.c: Moved to ...
2563 * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
2564 * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
2565 * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
2566 * sysdeps/libm-ieee754/e_asin.c: Moved to ...
2567 * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
2568 * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
2569 * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
2570 * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
2571 * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
2572 * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
2573 * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
2574 * sysdeps/libm-ieee754/e_exp.c: Moved to ...
2575 * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
2576 * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
2577 * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
2578 * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
2579 * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
2580 * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
2581 * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
2582 * sysdeps/libm-ieee754/e_j0.c: Moved to ...
2583 * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
2584 * sysdeps/libm-ieee754/e_j1.c: Moved to ...
2585 * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
2586 * sysdeps/libm-ieee754/e_jn.c: Moved to ...
2587 * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
2588 * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
2589 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
2590 * sysdeps/libm-ieee754/e_log.c: Moved to ...
2591 * sysdeps/ieee754/dbl-64/e_log.c: ...here.
2592 * sysdeps/libm-ieee754/e_log10.c: Moved to ...
2593 * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
2594 * sysdeps/libm-ieee754/e_pow.c: Moved to ...
2595 * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
2596 * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
2597 * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
2598 * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
2599 * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
2600 * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
2601 * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
2602 * sysdeps/libm-ieee754/k_cos.c: Moved to ...
2603 * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
2604 * sysdeps/libm-ieee754/k_sin.c: Moved to ...
2605 * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
2606 * sysdeps/libm-ieee754/k_tan.c: Moved to ...
2607 * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
2608 * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
2609 * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
2610 * sysdeps/libm-ieee754/s_atan.c: Moved to ...
2611 * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
2612 * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
2613 * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
2614 * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
2615 * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
2616 * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
2617 * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
2618 * sysdeps/libm-ieee754/s_cos.c: Moved to ...
2619 * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
2620 * sysdeps/libm-ieee754/s_erf.c: Moved to ...
2621 * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
2622 * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
2623 * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
2624 * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
2625 * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
2626 * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
2627 * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
2628 * sysdeps/libm-ieee754/s_finite.c: Moved to ...
2629 * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
2630 * sysdeps/libm-ieee754/s_floor.c: Moved to ...
2631 * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
2632 * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
2633 * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
2634 * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
2635 * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
2636 * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
2637 * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
2638 * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
2639 * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
2640 * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
2641 * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
2642 (__isnan): Comment above function says it returns 0 or 1, but it
2643 used to return 0 or -1.
2644 * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
2645 * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
2646 * sysdeps/libm-ieee754/s_llround.c: Moved to ...
2647 * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
2648 * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
2649 * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
2650 * sysdeps/libm-ieee754/s_log2.c: Moved to ...
2651 * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
2652 * sysdeps/libm-ieee754/s_logb.c: Moved to ...
2653 * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
2654 * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
2655 * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
2656 * sysdeps/libm-ieee754/s_lround.c: Moved to ...
2657 * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
2658 * sysdeps/libm-ieee754/s_modf.c: Moved to ...
2659 * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
2660 * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
2661 * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
2662 * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
2663 * sysdeps/generic/s_nextafter.c: ...here.
2664 Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
2665 * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
2666 * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
2667 * sysdeps/libm-ieee754/s_rint.c: Moved to ...
2668 * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
2669 * sysdeps/libm-ieee754/s_round.c: Moved to ...
2670 * sysdeps/ieee754/dbl-64/s_round.c: ...here.
2671 * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
2672 * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
2673 * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
2674 * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
2675 * sysdeps/libm-ieee754/s_sin.c: Moved to ...
2676 * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
2677 * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
2678 * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
2679 * sysdeps/libm-ieee754/s_tan.c: Moved to ...
2680 * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
2681 * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
2682 * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
2683 * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
2684 * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
2685 * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
2686 * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
2687 * sysdeps/libm-ieee754/w_exp.c: Moved to ...
2688 * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
2689 * sysdeps/ieee754/mpn2flt.c: Moved to ...
2690 * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
2691 * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
2692 * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
2693 * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
2694 * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
2695 * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
2696 * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
2697 * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
2698 * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
2699 * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
2700 * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
2701 * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
2702 * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
2703 * sysdeps/libm-ieee754/e_expf.c: Moved to ...
2704 * sysdeps/ieee754/flt-32/e_expf.c: ...here.
2705 * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
2706 * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
2707 * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
2708 * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
2709 * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
2710 * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
2711 * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
2712 * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
2713 * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
2714 * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
2715 * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
2716 * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
2717 * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
2718 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
2719 * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
2720 * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
2721 * sysdeps/libm-ieee754/e_logf.c: Moved to ...
2722 * sysdeps/ieee754/flt-32/e_logf.c: ...here.
2723 * sysdeps/libm-ieee754/e_powf.c: Moved to ...
2724 * sysdeps/ieee754/flt-32/e_powf.c: ...here.
2725 * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
2726 * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
2727 * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
2728 * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
2729 * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
2730 * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
2731 * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
2732 * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
2733 * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
2734 * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
2735 * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
2736 * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
2737 * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
2738 * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
2739 * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
2740 * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
2741 * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
2742 * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
2743 * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
2744 * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
2745 * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
2746 * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
2747 * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
2748 * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
2749 * sysdeps/libm-ieee754/s_erff.c: Moved to ...
2750 * sysdeps/ieee754/flt-32/s_erff.c: ...here.
2751 * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
2752 * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
2753 * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
2754 * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
2755 * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
2756 * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
2757 * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
2758 * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
2759 * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
2760 * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
2761 * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
2762 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
2763 * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
2764 * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
2765 * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
2766 * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
2767 * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
2768 * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
2769 * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
2770 * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
2771 * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
2772 * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
2773 * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
2774 * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
2775 * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
2776 * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
2777 * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
2778 * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
2779 * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
2780 * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
2781 * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
2782 * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
2783 * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
2784 * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
2785 * sysdeps/libm-ieee754/s_modff.c: Moved to ...
2786 * sysdeps/ieee754/flt-32/s_modff.c: ...here.
2787 * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
2788 * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
2789 * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
2790 * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
2791 * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
2792 * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
2793 * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
2794 * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
2795 * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
2796 * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
2797 * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
2798 * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
2799 * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
2800 * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
2801 * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
2802 * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
2803 * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
2804 * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
2805 * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
2806 * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
2807 * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
2808 * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
2809 * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
2810 * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
2811 * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
2812 * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
2813 * sysdeps/libm-ieee754/w_expf.c: Moved to ...
2814 * sysdeps/ieee754/flt-32/w_expf.c: ...here.
2815 * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
2816 * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
2817 * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
2818 * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
2819 * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
2820 * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
2821 * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
2822 * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
2823 * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
2824 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
2825 * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
2826 * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
2827 * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
2828 * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
2829 * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
2830 * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
2831 * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
2832 * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
2833 * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
2834 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
2835 * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
2836 * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
2837 * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
2838 * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
2839 * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
2840 * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
2841 * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
2842 * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
2843 * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
2844 * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
2845 * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
2846 * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
2847 * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
2848 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
2849 * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
2850 * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
2851 * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
2852 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
2853 * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
2854 * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
2855 * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
2856 * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
2857 * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
2858 * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
2859 * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
2860 * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
2861 * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
2862 * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
2863 * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
2864 * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
2865 (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
2867 * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
2868 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
2869 (__nearbyintl): Fix for exponents 2^30.
2870 * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
2871 * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
2872 * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
2873 * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
2874 (__rintl): Fix for exponents 2^30.
2875 * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
2876 * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
2877 * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
2878 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
2879 (__scalbnl): Fix exponent for subnormal result.
2880 * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
2881 * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
2882 * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
2883 * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
2884 * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
2885 * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
2886 * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
2887 * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
2888 * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
2889 * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
2890 * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
2891 * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
2892 * sysdeps/libm-ieee754/w_expl.c: Moved to ...
2893 * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
2894 * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
2895 * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
2896 * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
2897 * sysdeps/i386/fpu/s_scalblnf.c: ...here.
2898 * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
2899 * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
2900 * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
2901 * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
2902 * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
2903 * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
2904 * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
2905 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
2906 * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
2907 * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
2908 * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
2909 * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
2910 * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
2911 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
2912 * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
2913 * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
2914 * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
2915 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
2916 * sysdeps/libm-i387/s_scalbln.c: Moved to ...
2917 * sysdeps/i386/fpu/s_scalbln.c: ...here.
2918 * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
2919 * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
2920 * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
2921 * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
2922 * sysdeps/libm-i387/t_exp.c: Moved to ...
2923 * sysdeps/i386/fpu/t_exp.c: ...here.
2924 * sysdeps/libm-ieee754/t_exp.c: Moved to ...
2925 * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
2926 * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
2927 * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
2928 * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
2929 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
2930 * sysdeps/libm-i387/s_isinfl.c: Moved to ...
2931 * sysdeps/i386/fpu/s_isinfl.c: ...here.
2932 * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
2933 * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
2934 * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
2935 * sysdeps/i386/fpu/s_scalblnl.c: ...here.
2936 * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
2937 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
2938 Fix exponent for subnormal result.
2939 * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
2940 * sysdeps/generic/s_nexttowardl.c: ...here.
2941 * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
2942 * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
2943 * sysdeps/libm-i387/s_isnanl.c: Moved to ...
2944 * sysdeps/i386/fpu/s_isnanl.c: ...here.
2945 * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
2946 * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
2947 Comment above function says it returns 0 or 1, but it used to return
2949 * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
2950 * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
2951 * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
2952 * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
2953 * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
2954 * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
2955 * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
2956 * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
2957 * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
2958 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
2959 Cannot compare exponents with different biases without adjusting.
2960 * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
2961 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
2962 Cannot compare exponents with different biases without adjusting.
2963 * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
2964 * sysdeps/i386/fpu/s_nextafterl.c: ...here.
2965 * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
2966 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
2967 * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
2968 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
2969 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
2970 * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
2971 * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
2972 Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
2973 * sysdeps/libm-ieee754/Dist: Split into ...
2974 * sysdeps/ieee754/dbl-64/Dist: ...this and ...
2975 * sysdeps/ieee754/flt-32/Dist: ...this file.
2977 * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
2978 * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
2979 * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
2980 * sysdeps/ieee754/ldbl-96/strtold.c: New file.
2981 * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
2982 * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
2983 * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
2984 * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
2985 * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
2986 * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
2987 * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
2988 * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
2989 * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
2990 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
2991 * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
2992 * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
2993 * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
2994 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
2995 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
2996 * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
2997 * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
2998 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
2999 * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
3000 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
3001 * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
3002 * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
3003 * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
3004 * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
3005 * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
3006 * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
3007 * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
3008 * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
3009 * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
3010 * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
3011 * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
3012 * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
3013 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
3014 * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
3015 * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
3016 * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
3017 * sysdeps/ieee754/ldbl-128/strtold.c: New file.
3018 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
3019 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
3020 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
3021 * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
3022 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
3023 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
3025 * sysdeps/generic/math_ldbl.h: New file.
3026 * sysdeps/generic/s_nexttowardf.c: New file.
3027 * sysdeps/generic/strtold.c: New file.
3028 * sysdeps/generic/ldbl2mpn.c: New file.
3030 * math/machine/endian.h: Remove.
3031 * sysdeps/i386/fpu/Implies: Remove.
3032 * sysdeps/ieee754/Implies: Remove.
3034 * math/math_private.h: Move long double macros to math_ldbl.h
3037 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
3039 * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
3040 connections without a hostname set address to localhost address.
3042 1999-07-11 H.J. Lu <hjl@gnu.org>
3044 * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
3045 nscd's own strong version of the get[a-z]*_r function.
3046 * nscd/hstcache.c: Likewise.
3047 * nscd/pwdcache.c: Likewise.
3049 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
3051 * configure.in: Recognize 2.95 as gcc version number.
3052 Patch by Joel Klecker <jk@espy.org>.
3054 1999-07-12 Andreas Schwab <schwab@suse.de>
3056 * elf/rtld.c (dl_main): When putting back the interpreter object
3057 handle the case where a missing object might occur in the list of
3058 objects but not in the search list when in trace mode.
3060 1999-07-11 Ulrich Drepper <drepper@cygnus.com>
3062 * Versions.def (libnss_hesiod): Add GLIBC_2.2.
3063 * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
3064 _nss_hesiod_initgroups.
3066 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
3068 * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
3069 (_hurd_set_brk, init_brk): Use that instead of &__data_start.
3070 Initialize it from &__data_start if defined, or else &_end.
3072 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
3074 * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
3075 for MAP_ANON, prot==PROT_READ|PROT_WRITE.
3077 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
3079 * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
3081 1999-07-09 H.J. Lu <hjl@gnu.org>
3083 * Versions.def (GLIBC_2.1.2): Added.
3085 * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
3086 old one as GLIBC_2.0.
3087 * nss/getXXbyYY_r.c: Likewise.
3089 * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
3091 * inet/Versions (getaliasbyname_r, getaliasent_r,
3092 gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
3093 gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
3094 getnetgrent_r, getprotobyname_r, getprotobynumber_r,
3095 getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
3096 getservbyname_r): Likewise.
3097 * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
3098 * shadow/Versions (getspent_r, getspnam_r): Likewise.
3100 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
3102 * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
3104 (__memset_cc): Likewise.
3106 * sysdeps/generic/libc-start.c: For SUID binaries check whether
3107 the standard file descriptors are open.
3108 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
3110 * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
3111 * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
3112 range of mmap. If not fail.
3113 Patches by Daniel Jacobowitz <dan@debian.org>.
3115 * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
3116 before the relocation happened.
3117 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3119 * Versions.def (libnsl): Add GLIBC_2.2.
3120 * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
3122 1999-07-08 Cristian Gafton <gafton@redhat.com>
3124 * nis/yp_xdr.c (xdr_ypall): New function.
3126 1999-07-09 Andreas Schwab <schwab@suse.de>
3128 * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
3130 * dlfcn/Makefile (headers): Add bits/dlfcn.h.
3132 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
3134 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
3135 * hesiod/hesiod-grp.c: Add initgroups support.
3136 Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
3138 1999-07-08 Andreas Schwab <schwab@suse.de>
3140 * libio/iofopncook.c (fopencookie): Set _fileno to -2.
3142 * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
3145 * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
3147 * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
3149 1999-07-08 Andreas Schwab <schwab@suse.de>
3151 * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
3153 1999-07-08 Andreas Schwab <schwab@suse.de>
3155 * libio/fileno.c: Return -1 instead of EOF and set errno if the
3156 stream is not a real file stream.
3158 1999-07-08 Andreas Schwab <schwab@suse.de>
3160 * manual/charset.texi: Fix typos.
3162 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
3164 * sysdeps/gnu/Makefile (libdl-routines): Add eval.
3166 1999-07-06 Zack Weinberg <zack@rabi.columbia.edu>
3168 * dlfcn: New directory. Move the following files from elf:
3169 dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
3170 dlopenold.c, dlsym.c, dlvsym.c.
3171 * dlfcn/Makefile: New file.
3172 * dlfcn/Versions: New file.
3173 * dlfcn/dlsym.c: All ELF-specific code split out to new
3175 * dlfcn/dlvsym.c: All ELF-specific code split out to new
3177 * elf/dl-sym.c: New file. _dl_sym and _dl_vsym are
3180 * dlfcn/dladdr.c: Remove all references to ELF data structures
3182 * dlfcn/dlclose.c: Likewise.
3183 * dlfcn/dlerror.c: Likewise.
3184 * dlfcn/dlopen.c: Likewise.
3185 * dlfcn/dlopenold.c: Likewise.
3187 * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
3188 yes, empty otherwise.
3189 (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
3190 depending on build-shared.
3191 (subdirs): Add $(dlfcn).
3192 (rpath-dirs): Add dlfcn.
3193 * elf/Makefile: Remove all references to libdl or its
3194 components, except the ones relating to the test cases.
3195 (routines): Add dl-sym.
3196 * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
3199 * elf/dl-close.c (_dl_close): Change argument to void *.
3200 * elf/dl-open.c (_dl_open): Change return type to void *.
3201 * elf/eval.c: Removed.
3202 * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
3203 _dlerror_run, _dl_open, _dl_close, _dl_addr, and
3204 _dl_mcount_wrapper_check to include/dlfcn.h. Delete
3206 * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
3207 Include real header from dlfcn directory.
3208 * include/ldsodefs.h: Removed.
3210 * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
3211 * nss/getXXbyYY_r.c: Likewise.
3212 * nss/getXXent_r.c: Likewise.
3213 * iconv/gconv.c: Likewise. Don't include ldsodefs.h.
3214 * iconv/gconv_db.c: Likewise. Don't include ldsodefs.h.
3215 * iconv/skeleton.c: Don't include ldsodefs.h.
3216 * nss/nsswitch.h: Don't include ldsodefs.h. Include dlfcn.h.
3218 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
3220 * sysdeps/generic/setenv.c: Describe problem.
3222 * malloc/malloc.c (request2size): Also set errno if failing.
3224 * malloc/malloc.c (request2size): Take care of overflow in
3227 * sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd
3228 (NULL, != 0) correctly.
3230 * elf/dl-load.c: Use a few more __builtin_expect.
3232 * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
3235 1999-07-07 Andreas Schwab <schwab@suse.de>
3237 * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
3238 (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
3239 (_PATH_DEVPTMX): Use _PATH_DEV.
3241 1999-07-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3243 * malloc/tst-malloc.c: New file. Tests some basic functionality.
3244 * malloc/Makefile (tests): Add tst-malloc.
3246 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
3248 * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
3251 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
3253 Patch by Jay Estabrook.
3255 * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
3257 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
3258 Patch by Cristian Gafton.
3260 1999-07-02 Cristian Gafton <gafton@redhat.com>
3262 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
3263 instead of "return NULL" to make C++ happy.
3265 1999-07-04 Mark Kettenis <kettenis@gnu.org>
3267 * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
3268 allowed by the file access mode of the open file.
3270 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
3272 * sysdeps/generic/setfpucw.c: Include math.h to get all needed
3275 1999-07-03 Jakub Jelinek <jj@ultra.linux.cz>
3277 * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
3278 * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
3279 * sysdeps/sparc/sparc64/rshift.S: Likewise.
3280 * sysdeps/sparc/sparc64/mul_1.S: Optimize.
3282 1999-07-04 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
3284 * malloc/malloc.c (request2size): Check for overflow and return
3285 NULL whenever it is encountered.
3287 1999-07-04 Zack Weinberg <zack@rabi.columbia.edu>
3289 * sysdeps/posix/tempname.c (__gen_tempname): Add
3290 ability to create directories. Replace OPENIT and LARGEFILE
3291 args with a single flags parameter.
3292 * sysdeps/generic/tempname.c: Likewise.
3293 * include/stdio.h: Adjust prototype of __gen_tempname to
3294 match. Define symbolic constants for second argument.
3296 * misc/mkdtemp.c: New file, provides new function mkdtemp().
3297 * stdlib/stdlib.h: Prototype it.
3298 * misc/Versions: Export it.
3299 * misc/Makefile (routines): Add mktemp.
3300 * manual/filesys.texi: Document it.
3302 * misc/mktemp.c: Adjust call of __gen_tempname to match new
3304 * misc/mkstemp.c: Likewise.
3305 * stdio-common/tempnam.c: Likewise.
3306 * stdio-common/tmpfile.c: Likewise.
3307 * stdio-common/tmpfile64.c: Likewise.
3308 * stdio-common/tmpnam.c: Likewise.
3309 * stdio-common/tmpnam_r.c: Likewise.
3311 1999-07-05 Jakub Jelinek <jj@ultra.linux.cz>
3313 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
3314 R_SPARC_OLO10 relocations.
3315 * elf/elf.h (R_SPARC_OLO10): Fix comment.
3317 1999-07-02 Tim Waugh <tim@cyberelk.demon.co.uk>
3319 * posix/wordexp-test.c: Revert bogus 'unset IFS' change. It
3320 doesn't belong in the tests, but in the wordexp implementation.
3322 * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
3325 1999-07-01 Cristian Gafton <gafton@redhat.com>
3327 * time/strptime.c (strptime): Initialize the tm struct first to avoid
3328 returning bogus results on incomplete data.
3329 (strptime_internal): day_of_the_week() requres bith tm_mon and
3330 tm_mday to be initializaed.
3331 Computer them first if they are not given.
3332 (strptime_internal): (have_mon, have_mday): New variables.
3334 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3336 * inet/rcmd.c (__icheckhost): Fix typo in last patch.
3338 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3340 * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
3341 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3343 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3345 * posix/wordexp.c (parse_tilde): Handle failing call to
3346 get.*_r functions correctly for non-existing entry.
3347 * sysdeps/posix/cuserid.c (cuserid): Likewise.
3348 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
3350 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
3352 * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
3353 getxxbyYY_r functions correctly for non-existing entry.
3354 * sunrpc/getrpcport.c: Likewise.
3355 * sunrpc/clnt_simp.c: Likewise.
3356 * inet/rexec.c: Likewise.
3357 * sunrpc/clnt_gen.c: Likewise.
3358 * inet/rcmd.c: Likewise.
3359 * sysdeps/generic/glob.c: Likewise.
3361 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3363 * pwd/Makefile (tests): Add rules for tst-getpw.
3365 * pwd/tst-getpw.c: New program to test getpw.
3367 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3369 * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
3372 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3374 * manual/arith.texi (System V Number Conversion): Fix the
3375 description which confused pointer and value to pointer.
3376 Reported by Andries.Brouwer@cwi.nl.
3378 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3380 * pwd/getpw.c (__getpw): Check for NULL result pointer.
3382 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3384 * manual/users.texi (Lookup User): Document POSIX return
3385 semantics for getpwuid_r and getgrgid_r.
3387 * manual/socket.texi (Host Names): Document that the result
3388 pointer is null in case of error or host not found and fix a
3389 typo. Give a small example.
3391 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
3393 * pwd/getpw.c: Add warning since no buffer size is given and
3394 therefore no overrun tests are possible.
3396 1999-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3398 * pwd/pwd.h: Add getpw prototype declaration.
3400 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
3402 * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
3403 * wcsmbs/wcschr.c: Likewise.
3405 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
3407 * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
3409 * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
3410 * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
3411 Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
3413 * elf/dl-dst.h: Fix typo.
3414 * elf/dl-open.c: Likewise.
3416 1999-06-26 Zack Weinberg <zack@rabi.columbia.edu>
3418 * elf/dl-libc.c: New file, provides three functions:
3419 __libc_dlopen, __libc_dlclose, __libc_dlsym.
3420 * include/dlfcn.h: Prototype them. Prototype _dl_addr.
3421 * elf/Makefile (routines): Add dl-libc.c.
3422 * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
3424 * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
3426 * iconv/gconv.c: Include dlfcn.h.
3427 * iconv/gconv_db.c: Likewise.
3428 * malloc/mtrace.c: Likewise. Don't include ldsodefs.h.
3430 * iconv/gconv_int.h (struct __gconv_loaded_object): Change
3431 `handle' to a void *.
3432 (__gconv_find_func): Delete prototype.
3434 * iconv/gconv_dl.c: Don't include ldsodefs.h. Remove
3435 dlerror_run and related functions and structs. Use
3436 __libc_dlopen, __libc_dlsym, __libc_dlclose.
3437 * nss/nsswitch.c: Likewise.
3439 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
3441 * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
3444 * sunrpc/getrpcport.c: Test for gethostbyname_r function
3447 * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
3449 * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
3450 functions correctly.
3452 * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
3454 * inet/rcmd.c: Test for gethostbyname_r result correctly. Optimize
3457 * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
3459 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3461 * manual/string.texi (Copying and Concatenation): Mention that
3462 strndup is a GNU extension.
3464 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3466 * pwd/getpw.c (__getpw): Fix check for error return.
3468 1999-06-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3470 * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
3471 occurence of the aux object start with the current list entry, not
3472 the new one. Adjust tail pointer in the unique list. Explain how
3473 the meaning of the variables changes [PR libc/1168].
3475 1999-06-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3477 * sysdeps/m68k/fpu/Dist: New file.
3479 1999-06-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3481 * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
3483 * sysdeps/m68k/fpu/mathimpl.h: ... here. New file.
3484 * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
3485 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
3486 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
3487 * sysdeps/m68k/fpu/e_pow.c: Likewise.
3488 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
3489 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
3490 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
3491 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
3492 * sysdeps/m68k/fpu/s_csin.c: Likewise.
3493 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
3494 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
3495 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
3496 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
3497 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
3498 * sysdeps/m68k/fpu/s_modf.c: Likewise.
3500 1999-06-25 Roland McGrath <roland@baalperazim.frob.com>
3502 * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
3503 hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
3504 _EXTERN_INLINE, use a macro specific to each file,
3505 _HURD_FD_H_EXTERN_INLINE and the like.
3506 * hurd/Makefile (inline-headers): New variable.
3507 (routines): Remove hurdinline. Add $(inlines).
3508 (inlines): New variable.
3509 ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
3510 (generated): Append those here.
3511 * hurd/hurdinline.c: File removed.
3513 * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
3515 * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
3517 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3519 * nscd/connections.c (nscd_run): Use correct type for optlen variable.
3521 1999-06-25 Ulrich Drepper <drepper@cygnus.com>
3523 * string/bits/string2.h (strnlen): Remove extra prototype.
3525 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3527 * manual/filesys.texi (Working on Directory Trees): Fix typos.
3528 Reported by Andries.Brouwer@cwi.nl.
3530 1999-06-24 Ulrich Drepper <drepper@cygnus.com>
3532 * nscd/connections.c (handle_request): Use correct type for optlen
3535 * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
3536 * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
3538 1999-06-24 Thorsten Kukuk <kukuk@suse.de>
3540 * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
3541 * nscd/pwdcache.c: Likewise.
3542 * nscd/hstcache.c: Likewise.
3544 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
3546 * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
3548 * posix/getopt.h: Include stdio.h.
3550 * manual/arith.texi: Document restriction of ndigit parameter of
3552 * misc/efgcvt.c: Define NDIGIT_MAX.
3553 (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
3554 Do not dynamically allocate the static buffers. They are small enough.
3555 * misc/efgcvt_r.c: Define NDIGIT_MAX.
3556 (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
3557 * misc/qefgcvt.c: Define NDIGIT_MAX.
3558 * misc/qefgcvt_r.c: Likewise.
3559 * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
3561 1999-06-23 Zack Weinberg <zack@rabi.columbia.edu>
3563 * libio/stdio.h: Define stdin, stdout, stderr as macros.
3564 * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
3565 These are *pragmas* not macros.
3566 * wcsmbs/wchar.h: Fix comment.
3568 * grp/grp.h: Use __foo_t_defined convention to typedef things
3570 * io/sys/stat.h: Likewise.
3571 * libio/stdio.h: Likewise.
3572 * posix/unistd.h: Likewise.
3573 * posix/sys/types.h: Likewise.
3574 * posix/sys/wait.h: Likewise.
3575 * pwd/pwd.h: Likewise.
3576 * signal/signal.h: Likewise.
3577 * sysdeps/generic/stdint.h: Likewise.
3578 * sysdeps/gnu/utmpx.h: Likewise.
3579 * termios/termios.h: Likewise.
3581 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
3583 * stdio/fputc.c: Don't define alias if fputc is defined as a
3585 * stdio/putc.c: Define weak alias here since it is not done
3588 1999-06-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3590 * assert/assert.h: Don't produce `defined' as part of macro
3593 1999-06-23 Roland McGrath <roland@baalperazim.frob.com>
3595 * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
3596 OFFSET argument of (off_t) -1.
3597 * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
3598 OFFSET argument of (off_t) -1.
3600 * sysdeps/mach/hurd/pwrite.c: New file.
3601 * sysdeps/mach/hurd/pread.c: New file.
3603 * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
3604 pass it in the RPC instead of always -1.
3605 * hurd/fd-write.c (_hurd_fd_write): Likewise.
3606 * hurd/hurd/fd.h: Update decls.
3608 1999-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3610 * libio/wscanf.c: Include <wchar.h> for prototype.
3612 1999-06-22 Ulrich Drepper <drepper@cygnus.com>
3614 * manual/io.texi. Fix typos.
3615 * manual/stdio.texi: Likewise.
3616 Patches by Brian Youmans <3diff@gnu.org>.
3618 1999-06-22 Geoff Keating <geoffk@ozemail.com.au>
3620 * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
3621 bits of two words differ.
3623 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3625 * libio/Makefile (routines): Add putwchar and putwchar_u.
3627 * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
3628 * libio/putwchar_u.c: Likewise. Use _IO_stdout instead of
3629 stdout. Fix parameter name.
3631 * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
3632 * libio/getchar_u.c: Likewise.
3634 * libio/putchar_u.c: Use _IO_stdout instead of stdout.
3636 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3638 * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
3639 macro expansion---it's undefined. Properly parenthesize
3640 substituted parameters.
3641 (__GLIBC_PREREQ): Likewise.
3643 1999-06-21 Ulrich Drepper <drepper@cygnus.com>
3645 * Makeconfig (CPPFLAGS): Revert last change. It has too many
3648 * stdlib/longlong.h: Provide __P definition if not already
3651 * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
3653 1999-06-18 Thorsten Kukuk <kukuk@suse.de>
3655 * sysdeps/alpha/atomicity.h: Correct counting of subsections.
3657 1999-06-17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3659 * stdlib/tst-strtoll.c: Avoid warning about huge constant.
3661 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3663 * stdio-common/vfprintf.c (group_member): Make parameters and
3664 return types pointers to CHAR_T instead of UCHAR_T.
3665 (vfprintf): Change type of work_buffer, workend and string to
3666 CHAR_T pointer/array.
3667 (process_arg, process_string_arg): Adjust/remove casts. Add
3668 missing use of L_ macro.
3669 (printf_unknown): Add missing uses of L_ macro.
3671 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3673 * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
3676 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3678 * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF. Call
3679 _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
3680 (__wunderflow): Likewise.
3681 (_IO_switch_to_wget_mode): Likewise.
3682 (_IO_init_wmarker): Likewise.
3684 * libio/wfileops.c (_IO_wfile_seekoff): Call
3685 _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
3686 (_IO_wfile_jumps): Fix pbackfail entry.
3688 * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
3689 function if the stream is currently unoriented.
3691 1999-06-19 Zack Weinberg <zack@rabi.columbia.edu>
3693 * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
3694 Wrap all wide stream functions with #ifdef __USE_ISOC9X. Use
3695 __gnuc_va_list in v*w(printf|scanf) prototypes.
3697 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3699 * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
3700 1999-03-29 to iopopen also here.
3701 Reported by Richard Braakman <dark@xs4all.nl>.
3703 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3705 * include/features.h: Use __GNUC_PREREQ.
3706 * sysdeps/i386/fpu/bits/mathinline.h: Likewise
3708 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3710 * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
3711 Change EOF to WEOF and remove cast.
3712 (UNGETC): Remove macro.
3713 (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
3714 * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
3715 Change ISASCII to isascii and MBRLEN to mbrlen.
3716 (parse_one_spec): Compare info.spec always against wchar_t
3718 * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
3719 (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
3720 (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
3722 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3724 * libio/Makefile (shared-only-routines): Add oldiofgetpos,
3725 oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
3726 (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
3727 oldiofsetpos64 only if doing versioning.
3729 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
3731 * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
3733 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3735 * libio/libio.h: Fix last patch.
3737 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
3739 * libio/libio.h (_IO_putwc): Correct type of first argument.
3740 * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
3741 putwc_unlocked, putwchar_unlocked): Likewise.
3742 * libio/fputwc.c: Likewise.
3743 * libio/fputwc_unlocked.c: Likewise.
3744 * libio/putwc.c: Likewise.
3745 * libio/putwc_unlocked.c: Likewise.
3746 * libio/putwchar.c: Likewise.
3747 * libio/putwchar_unlocked.c: Likewise.
3749 1999-06-19 Roland McGrath <roland@baalperazim.frob.com>
3751 * sysdeps/gnu/siglist.h: File moved to ...
3752 * sysdeps/generic/siglist.h: ... here. This file should be usable for
3753 any platform, since it just associates the SIG* macros with text names
3754 and descriptions. For any signal macros do not exist on every
3755 platform, we can use #ifdef tests here and still use this single
3756 common file for all platforms.
3757 * sysdeps/generic/siglist.c: Rewrite using <siglist.h>. This file
3758 should be usable for all platforms after the binary compatibility
3759 stuff in the current sysdeps/gnu version is no longer required.
3760 * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
3761 * sysdeps/generic/make_siglist.c: File removed.
3762 * sysdeps/mach/hurd/siglist.h: Use #include_next.
3763 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
3765 1999-06-16 Roland McGrath <roland@baalperazim.frob.com>
3767 * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
3768 * sysdeps/gnu/siglist.c: ... here.
3769 Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
3770 Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
3771 * sysdeps/gnu/siglist.h: New file, contents from linux version.
3772 Add entry for SIGLOST protected by #ifdef.
3773 * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
3774 and define OLD_SIGLIST_SIZE_STR.
3775 * sysdeps/mach/hurd/siglist.h: New file, likewise.
3777 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
3779 * include/features.h: Define new macros __GNUC_PREREQ and
3780 __GLIBC_PREREQ which can be used to test the version of gcc
3781 and glibc respectively.
3783 * assert/assert.h: Use __GNUC_PREREQ.
3784 * intl/libintl.h: Likewise.
3785 * math/complex.h: Likewise.
3786 * math/tgmath.h: Likewise.
3787 * misc/sys/cdefs.h: Likewise.
3788 * posix/sys/types.h: Likewise.
3789 * socket/sys/socket.h: Likewise.
3790 * string/bits/string2.h: Likewise.
3791 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
3792 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3794 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
3796 * include/libintl.h: Declare _libc_intl_domainname here.
3797 Define _ and N_ here.
3798 * include/libc-symbols.h: Don't include <libintl.h>. Don't
3799 define _ and N_. Don't declare _libc_intl_domainname.
3800 * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
3802 * db2/config.h: Don't include sys/stat.h or define
3803 HAVE_ST_BLKSIZE here...
3804 * db2/compat.h: ...do it here.
3806 * linuxthreads/internals.h: Include bits/libc-tsd.h after all
3808 * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
3809 * iconv/iconv.c: Include stddef.h for NULL.
3810 * malloc/malloc.h: Include features.h.
3811 * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
3813 * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
3814 into the generated file.
3815 * sysdeps/gnu/errlist.awk: Likewise.
3816 * sysdeps/gnu/errlist.c: Rebuilt.
3818 * assert/assert-perr.c: Include libintl.h.
3819 * assert/assert.c: Likewise.
3820 * elf/dl-open.c: Likewise.
3821 * elf/dlsym.c: Likewise.
3822 * elf/dlvsym.c: Likewise.
3823 * iconv/iconv_prog.c: Likewise.
3824 * inet/rcmd.c: Likewise.
3825 * inet/ruserpass.c: Likewise.
3826 * locale/programs/charset.c: Likewise.
3827 * locale/programs/ld-collate.c: Likewise.
3828 * locale/programs/ld-ctype.c: Likewise.
3829 * locale/programs/ld-messages.c: Likewise.
3830 * locale/programs/ld-monetary.c: Likewise.
3831 * locale/programs/ld-numeric.c: Likewise.
3832 * locale/programs/ld-time.c: Likewise.
3833 * locale/programs/locfile.c: Likewise.
3834 * locale/programs/repertoire.c: Likewise.
3835 * login/programs/database.c: Likewise.
3836 * login/programs/request.c: Likewise.
3837 * malloc/mcheck.c: Likewise.
3838 * misc/error.c: Likewise.
3839 * nis/nis_call.c: Likewise.
3840 * nis/nis_callback.c: Likewise.
3841 * nis/nis_error.c: Likewise.
3842 * nis/nis_local_names.c: Likewise.
3843 * nis/nis_print.c: Likewise.
3844 * nis/nis_print_group_entry.c: Likewise.
3845 * nis/ypclnt.c: Likewise.
3846 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
3847 * nscd/cache.c: Likewise.
3848 * nscd/connections.c: Likewise.
3849 * nscd/grpcache.c: Likewise.
3850 * nscd/hstcache.c: Likewise.
3851 * nscd/nscd_conf.c: Likewise.
3852 * nscd/nscd_stat.c: Likewise.
3853 * nscd/pwdcache.c: Likewise.
3854 * posix/id.c: Likewise.
3855 * resolv/herror.c: Likewise.
3856 * stdio-common/psignal.c: Likewise.
3857 * string/strsignal.c: Likewise.
3858 * sunrpc/auth_unix.c: Likewise.
3859 * sunrpc/clnt_perr.c: Likewise.
3860 * sunrpc/clnt_raw.c: Likewise.
3861 * sunrpc/clnt_tcp.c: Likewise.
3862 * sunrpc/clnt_udp.c: Likewise.
3863 * sunrpc/clnt_unix.c: Likewise.
3864 * sunrpc/get_myaddr.c: Likewise.
3865 * sunrpc/pm_getmaps.c: Likewise.
3866 * sunrpc/pmap_clnt.c: Likewise.
3867 * sunrpc/pmap_rmt.c: Likewise.
3868 * sunrpc/rpc_main.c: Likewise.
3869 * sunrpc/rpc_scan.c: Likewise.
3870 * sunrpc/svc_run.c: Likewise.
3871 * sunrpc/svc_simple.c: Likewise.
3872 * sunrpc/svc_tcp.c: Likewise.
3873 * sunrpc/svc_udp.c: Likewise.
3874 * sunrpc/svc_unix.c: Likewise.
3875 * sunrpc/xdr_rec.c: Likewise.
3876 * sunrpc/xdr_ref.c: Likewise.
3877 * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
3878 * sysdeps/posix/gai_strerror.c: Likewise.
3879 * sysdeps/unix/siglist.c: Likewise.
3880 * sysdeps/unix/sysv/linux/siglist.c: Likewise.
3881 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
3882 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
3883 * timezone/zic.c: Likewise.
3885 1999-06-18 H.J. Lu <hjl@gnu.org>
3887 * localedata/Makefile (charmaps): Exclude SCCS.
3888 (locales): Likewise.
3889 (repertoiremaps): Likewise.
3891 1999-06-18 Ulrich Drepper <drepper@cygnus.com>
3893 * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
3894 * sysdeps/generic/bsd-setjmp.c: Likewise.
3896 * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
3898 * iconv/gconv_open.c: Include string.h for memset prototype.
3900 * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
3903 * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
3904 assignment to avoid warning on 64bit platforms.
3906 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
3908 * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
3910 * nss/getXXbyYY_r.c: Return error code not -1.
3911 * nss/getXXent_r.c: Likewise.
3912 * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
3914 * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
3915 value > 0 for error.
3916 * nscd/nscd_gethst_r.c: Likewise.
3917 * nscd/nscd_getpw_r.c: Likewise.
3919 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3921 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
3924 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3926 * nscd/nscd_nischeck.c: Fix typos.
3928 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
3930 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
3931 always when oact is NULL.
3932 Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
3934 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3936 * math/libm-test.c (jn_test): Adjust delta.
3938 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3940 * libio/vwprintf.c: Include <wchar.h> for prototypes.
3941 * libio/wprintf.c: Likewise.
3943 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3945 * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
3946 to not write beyond allocated memory.
3947 Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
3949 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
3951 * malloc/mtrace.c: Keep lock while printing output lines.
3952 Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
3954 1999-06-16 Ulrich Drepper <drepper@cygnus.com>
3956 * configure.in: Add warnings about broken code.
3958 * Versions.def: Add GLIBC_2.2 for libc.
3960 * iconv/gconv.h: Make header suitable for inclusion in public header
3961 by protecting all names with __.
3962 * iconv/gconv.c: Adapt for symbol name changes.
3963 * iconv/gconv.h: Likewise.
3964 * iconv/gconv_builtin.c: Likewise.
3965 * iconv/gconv_close.c: Likewise.
3966 * iconv/gconv_db.c: Likewise.
3967 * iconv/gconv_dl.c: Likewise.
3968 * iconv/gconv_int.h: Likewise.
3969 * iconv/gconv_open.c: Likewise.
3970 * iconv/gconv_simple.c: Likewise.
3971 * iconv/iconv.c: Likewise.
3972 * iconv/iconv_close.c: Likewise.
3973 * iconv/iconv_open.c: Likewise.
3974 * iconv/loop.c: Likewise.
3975 * iconv/skeleton.c: Likewise.
3976 * iconvdata/8bit-gap.c: Likewise.
3977 * iconvdata/8bit-generic.c: Likewise.
3978 * iconvdata/ansi_x3.110.c: Likewise.
3979 * iconvdata/big5.c: Likewise.
3980 * iconvdata/cns11643.h: Likewise.
3981 * iconvdata/cns11643l1.h: Likewise.
3982 * iconvdata/euc-cn.c: Likewise.
3983 * iconvdata/euc-jp.c: Likewise.
3984 * iconvdata/euc-kr.c: Likewise.
3985 * iconvdata/euc-tw.c: Likewise.
3986 * iconvdata/gb2312.h: Likewise.
3987 * iconvdata/iso-2022-jp.c: Likewise.
3988 * iconvdata/iso-2022-kr.c: Likewise.
3989 * iconvdata/iso646.c: Likewise.
3990 * iconvdata/iso8859-1.c: Likewise.
3991 * iconvdata/iso_6937-2.c: Likewise.
3992 * iconvdata/iso_6937.c: Likewise.
3993 * iconvdata/jis0201.h: Likewise.
3994 * iconvdata/jis0208.h: Likewise.
3995 * iconvdata/jis0212.h: Likewise.
3996 * iconvdata/johab.c: Likewise.
3997 * iconvdata/ksc5601.h: Likewise.
3998 * iconvdata/sjis.c: Likewise.
3999 * iconvdata/t.61.c: Likewise.
4000 * iconvdata/uhc.c: Likewise.
4001 * stdlib/mblen.c: Likewise.
4002 * stdlib/mbtowc.c: Likewise.
4003 * stdlib/wctomb.c: Likewise.
4004 * wcsmbs/btowc.c: Likewise.
4005 * wcsmbs/mbrtowc.c: Likewise.
4006 * wcsmbs/mbsnrtowcs.c: Likewise.
4007 * wcsmbs/mbsrtowcs.c: Likewise.
4008 * wcsmbs/wchar.h: Likewise.
4009 * wcsmbs/wcrtomb.c: Likewise.
4010 * wcsmbs/wcsmbsload.c: Likewise.
4011 * wcsmbs/wcsmbsload.h: Likewise.
4012 * wcsmbs/wcsnrtombs.c: Likewise.
4013 * wcsmbs/wcsrtombs.c: Likewise.
4014 * wcsmbs/wctob.c: Likewise.
4016 * include/limits.h (MB_LEN_MAX): Increase to 16.
4018 * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct. Define
4020 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
4021 * include/wchar.h: Change mbstate_t to __mbstate_t.
4023 * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
4024 oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
4025 getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
4026 iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
4027 putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
4028 vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
4030 (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
4031 * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
4032 _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
4033 fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
4034 fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
4035 getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
4036 putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
4037 vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
4039 * libio/libio.h: Define codecvt struct. Define _IO_wide_data.
4040 Extend _IO_file contain pointer to codecvt, widedata and mode.
4041 (_IO_getwc_unlocked): New macro.
4042 (_IO_putwc_unlocked): New macro.
4043 (_IO_fwide): New macro.
4044 * libio/libioP.h: Add new prototypes and adjust existing declarations.
4045 * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
4046 buffers based on mode.
4047 (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
4049 (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
4050 flag to be enough to signal unallocated buffer. For wide oriented
4051 stream don't make it linebuffered. Don't use _IO_do_flush, use
4052 _IO_new_do_write directly.
4053 (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
4054 (_IO_file_seek): Likewise.
4055 * libio/genops.c (_IO_least_marker): Make global.
4056 (__underflow): Orient stream if not already done.
4057 (__uflow): Likewise.
4058 (_IO_default_seekpos): Change to type _IO_off64_t.
4059 (_IO_default_seekoff): Likewise.
4060 (_IO_default_seek): Likewise.
4061 (_IO_no_init): New function. Similar to _IO_init but allows to orient
4063 * libio/iolibio.h: Add prototype for _IO_vswprintf. Change _IO_pos_BAD
4065 * libio/ftello.c: Use _IO_off_t. For now abort when use with wide
4067 * libio/ftello64.c: Likewise.
4068 * libio/ioftell.c: Likewise.
4069 * libio/iofopncook.c: Likewise.
4070 * libio/ioseekoff.c: Likewise.
4071 * libio/ioseekpos.c: Likewise.
4072 * libio/oldfileops.c: Likewise.
4073 * libio/iofgetpos.c: Store state of conversion if necessary.
4074 * libio/iofgetpos64.c: Likewise.
4075 * libio/iofsetpos.c: Restore conversion state if necessary.
4076 * libio/iofsetpos64.c: Likewise.
4077 * libio/iofdopen.c: Initialize so that stream can be wide oriented.
4078 * libio/iofopen.c: Likewise.
4079 * libio/iofopen64.c: Likewise.
4080 * libio/iopopen.c: Likewise.
4081 * libio/iovdprintf.c: Likewise.
4082 * libio/iovsprintf.c: Likewise.
4083 * libio/iovsscanf.c: Likewise.
4084 * libio/memstream.c: Likewise.
4085 * libio/obprintf.c: Likewise.
4086 * libio/iofputs.c: Orient stream if not already happened.
4087 * libio/iofputs_u.c: Likewise.
4088 * libio/iofwrite.c: Likewise.
4089 * libio/iofwrite_u.c: Likewise.
4090 * libio/ioputs.c: Likewise.
4091 * libio/iosetbuffer.c: Handle not yet oriented stream.
4092 * libio/iosetvbuf.c: Likewise.
4093 * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
4094 * libio/stdfiles.c: Likewise.
4095 * libio/strops.c (_IO_str_overflow): Correctly free buffer after
4097 (_IO_str_seekoff): Use _IO_off64_t.
4098 * libio/vasprintf.c: Pre-orient stream.
4099 * libio/vsnprintf.c: Likewise.
4100 * libio/fputwc.c: New file.
4101 * libio/fputwc_u.c: New file.
4102 * libio/fwprintf.c: New file.
4103 * libio/fwscanf.c: New file.
4104 * libio/getwc.c: New file.
4105 * libio/getwc_u.c: New file.
4106 * libio/getwchar.c: New file.
4107 * libio/getwchar_u.c: New file.
4108 * libio/iofgetws.c: New file.
4109 * libio/iofgetws_u.c: New file.
4110 * libio/iofputws.c: New file.
4111 * libio/iofputws_u.c: New file.
4112 * libio/iofwide.c: New file.
4113 * libio/iogetwline.c: New file.
4114 * libio/ioungetwc.c: New file.
4115 * libio/iovswscanf.c: New file.
4116 * libio/iowpadn.c: New file.
4117 * libio/oldiofgetpos.c: New file.
4118 * libio/oldiofgetpos64.c: New file.
4119 * libio/oldiofsetpos.c: New file.
4120 * libio/oldiofsetpos64.c: New file.
4121 * libio/putwc.c: New file.
4122 * libio/putwc_u.c: New file.
4123 * libio/putwchar.c: New file.
4124 * libio/putwchar_u.c: New file.
4125 * libio/swprintf.c: New file.
4126 * libio/swscanf.c: New file.
4127 * libio/tst_swprintf.c: New file.
4128 * libio/tst_swscanf.c: New file.
4129 * libio/tst_wprintf.c: New file.
4130 * libio/tst_wscanf.c: New file.
4131 * libio/tst_wscanf.input: New file.
4132 * libio/vswprintf.c: New file.
4133 * libio/vwprintf.c: New file.
4134 * libio/vwscanf.c: New file.
4135 * libio/wfiledoalloc.c: New file.
4136 * libio/wfileops.c: New file.
4137 * libio/wgenops.c: New file.
4138 * libio/wprintf.c: New file.
4139 * libio/wscanf.c: New file.
4140 * libio/wstrops.c: New file.
4141 * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
4142 vfwprintf, and vfwscanf.
4143 * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
4145 * stdio-common/_itowa.c: New file.
4146 * stdio-common/_itowa.h: New file.
4147 * stdio-common/itoa-digits.c: Minimal optimization.
4148 * stdio-common/itowa-digits.c: New file.
4149 * stdio-common/printf-parse.h: Allow use in wide character context.
4150 * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
4151 * stdio-common/printf.h (printf_info): Add wide bit.
4152 * stdio-common/printf_fp.c: Determine from wide bit whether stream
4153 is wide oriented or not.
4154 * stdio-common/printf_size.c: Likewise.
4155 * sysdeps/generic/printf_fphex.c: Likewise.
4156 * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
4157 * stdio-common/vfprintf.c: Rewrite to allow use in wide character
4159 * stdio-common/vfscand.c: Likewise.
4160 * stdio-common/vfwprintf.c: New file.
4161 * stdio-common/vfwscanf.c: New file.
4163 * time/Makefile (routines): Add wcsftime.
4164 (tests): Add tst_wcsftime.
4165 * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
4166 * time/strftime.c: Make usable as wcsftime.
4167 * time/wcsftime.c: New file.
4168 * time/tst_wcsftime.c: New file.
4170 * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
4171 * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
4172 * wcsmbs/wcschrnul.c: New file.
4173 * wcsmbs/wmemcpy.c: New file.
4174 * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
4175 * wcsmbs/wmemmove.c: Likewise for wmemmove.
4177 * manual/stdio.texi: Document is_char and wide element if printf_info.
4179 * manual/time.texi: Document wcsftime.
4181 * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
4182 __wmemmove, __wcschrnul, and __vfwscanf.
4184 * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
4185 * locale/C-time.c: Adapt for above change.
4186 * locale/categories.def: Likewise.
4187 * locale/localeinfo.h: Likewise.
4188 * localedata/Makefile: Don't run tests for now.
4190 * manual/errno.texi: Fix typos.
4191 * manual/memory.texi: Likewise.
4192 * manual/ctype.texi: Likewise.
4193 Patches by Brian Youmans <3diff@gnu.org>.
4195 1999-06-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4197 * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
4199 1999-06-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4201 * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
4203 * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
4204 * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
4206 1999-06-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4208 * db2/db/db.c: Restore __nss_db_open alias.
4209 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
4211 * db2/os/os_rw.c (__os_write): Maintain const correctness.
4212 * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
4214 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
4216 * stdio-common/printf-parse.h (parse_one_spec): Don't set
4217 is_longlong if not necessary.
4219 1999-06-15 H.J. Lu <hjl@gnu.org>
4221 * Make-dist (sysdep_dirs): Exclude SCCS.
4222 * MakeTAGS (sysdep_dirs): Likewise.
4224 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
4226 * posix/regex.c (re_error_msgid): Remove extra commas.
4228 1999-06-14 Geoff Keating <geoffk@ozemail.com.au>
4230 * stdlib/tst-strtoll.c: New file.
4231 * stdlib/Makefile (tests): Add tst-strtoll.c
4232 * stdlib/strtol.c: It is not generally true that if
4233 (unsigned)a*(unsigned)b overflows, then the result is
4236 1999-06-14 Thorsten Kukuk <kukuk@suse.de>
4238 * nscd/connections.c (handle_request): Only root is allowed to
4239 send GETSTAT request in non secure mode.
4240 * nscd/nscd.c: Print error message if other then root try to
4243 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4245 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
4247 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4249 * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
4250 Closes PR libc/1164, reported by sascha@schumann.2ns.de.
4252 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4254 * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
4255 for character to search, to help the compiler.
4256 * sysdeps/generic/strchrnul.c: Likewise.
4257 * sysdeps/generic/memchr.c: Likewise.
4258 * sysdeps/generic/memccpy.c: Likewise.
4259 * sysdeps/generic/rawmemchr.c: Likewise. Fix comment.
4261 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4263 * sysdeps/m68k/memchr.S: New file.
4264 * sysdeps/m68k/rawmemchr.S: New file.
4265 * sysdeps/m68k/strchr.S: New file.
4266 * sysdeps/m68k/strchrnul.S: New file.
4268 1999-06-13 Geoff Keating <geoffk@ozemail.com.au>
4270 * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
4271 add `memory' clobber; optimise for constant `val'.
4272 (atomic_add): Likewise.
4273 (test_and_set): Remove `volatile'; add `memory' clobber; be more
4274 like the original `test_and_set'.
4275 (compare_and_swap): Remove `volatile'; add `memory' clobber;
4276 optimise for constant `oldval'.
4277 (always_swap): Remove `volatile'; add `memory' clobber.
4279 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4281 * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
4282 functions for gcc <= 2.7.x.
4284 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
4286 * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
4289 1999-06-13 Ulrich Drepper <drepper@cygnus.com>
4291 * db2/Makefile (distribute): Remove files which do not exist
4294 * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
4295 definitions to calm down gcc.
4297 * db2/db.h: Update from db 2.7.5.
4298 * db2/db_185.h: Likewise.
4299 * db2/db_int.h: Likewise.
4300 * db2/btree/bt_compare.c: Likewise.
4301 * db2/btree/bt_conv.c: Likewise.
4302 * db2/btree/bt_curadj.c: Likewise.
4303 * db2/btree/bt_cursor.c: Likewise.
4304 * db2/btree/bt_delete.c: Likewise.
4305 * db2/btree/bt_open.c: Likewise.
4306 * db2/btree/bt_page.c: Likewise.
4307 * db2/btree/bt_put.c: Likewise.
4308 * db2/btree/bt_rec.c: Likewise.
4309 * db2/btree/bt_recno.c: Likewise.
4310 * db2/btree/bt_rsearch.c: Likewise.
4311 * db2/btree/bt_search.c: Likewise.
4312 * db2/btree/bt_split.c: Likewise.
4313 * db2/btree/bt_stat.c: Likewise.
4314 * db2/btree/btree_auto.c: Likewise.
4315 * db2/common/db_appinit.c: Likewise.
4316 * db2/common/db_apprec.c: Likewise.
4317 * db2/common/db_err.c: Likewise.
4318 * db2/common/db_region.c: Likewise.
4319 * db2/common/db_salloc.c: Likewise.
4320 * db2/db/db.c: Likewise.
4321 * db2/db/db.src: Likewise.
4322 * db2/db/db_am.c: Likewise.
4323 * db2/db/db_auto.c: Likewise.
4324 * db2/db/db_dispatch.c: Likewise.
4325 * db2/db/db_dup.c: Likewise.
4326 * db2/db/db_iface.c: Likewise.
4327 * db2/db/db_join.c: Likewise.
4328 * db2/db/db_overflow.c: Likewise.
4329 * db2/db/db_pr.c: Likewise.
4330 * db2/db/db_rec.c: Likewise.
4331 * db2/db/db_ret.c: Likewise.
4332 * db2/db185/db185.c: Likewise.
4333 * db2/dbm/dbm.c: Likewise.
4334 * db2/hash/hash.c: Likewise.
4335 * db2/hash/hash_auto.c: Likewise.
4336 * db2/hash/hash_dup.c: Likewise.
4337 * db2/hash/hash_page.c: Likewise.
4338 * db2/hash/hash_rec.c: Likewise.
4339 * db2/hash/hash_stat.c: Likewise.
4340 * db2/include/btree.h: Likewise.
4341 * db2/include/btree_ext.h: Likewise.
4342 * db2/include/clib_ext.h: Likewise.
4343 * db2/include/common_ext.h: Likewise.
4344 * db2/include/db_am.h: Likewise.
4345 * db2/include/db_auto.h: Likewise.
4346 * db2/include/db_cxx.h: Likewise.
4347 * db2/include/db_ext.h: Likewise.
4348 * db2/include/db_join.h: Likewise.
4349 * db2/include/db_page.h: Likewise.
4350 * db2/include/hash.h: Likewise.
4351 * db2/include/hash_ext.h: Likewise.
4352 * db2/include/lock.h: Likewise.
4353 * db2/include/lock_ext.h: Likewise.
4354 * db2/include/log.h: Likewise.
4355 * db2/include/log_ext.h: Likewise.
4356 * db2/include/mp.h: Likewise.
4357 * db2/include/mp_ext.h: Likewise.
4358 * db2/include/os.h: Likewise.
4359 * db2/include/os_ext.h: Likewise.
4360 * db2/include/os_func.h: Likewise.
4361 * db2/include/txn.h: Likewise.
4362 * db2/include/txn_auto.h: Likewise.
4363 * db2/include/txn_ext.h: Likewise.
4364 * db2/include/xa.h: Likewise.
4365 * db2/include/xa_ext.h: Likewise.
4366 * db2/lock/lock.c: Likewise.
4367 * db2/lock/lock_conflict.c: Likewise.
4368 * db2/lock/lock_deadlock.c: Likewise.
4369 * db2/lock/lock_region.c: Likewise.
4370 * db2/lock/lock_util.c: Likewise.
4371 * db2/log/log.c: Likewise.
4372 * db2/log/log_archive.c: Likewise.
4373 * db2/log/log_auto.c: Likewise.
4374 * db2/log/log_findckp.c: Likewise.
4375 * db2/log/log_get.c: Likewise.
4376 * db2/log/log_put.c: Likewise.
4377 * db2/log/log_rec.c: Likewise.
4378 * db2/log/log_register.c: Likewise.
4379 * db2/mp/mp_bh.c: Likewise.
4380 * db2/mp/mp_fget.c: Likewise.
4381 * db2/mp/mp_fopen.c: Likewise.
4382 * db2/mp/mp_fput.c: Likewise.
4383 * db2/mp/mp_fset.c: Likewise.
4384 * db2/mp/mp_open.c: Likewise.
4385 * db2/mp/mp_pr.c: Likewise.
4386 * db2/mp/mp_region.c: Likewise.
4387 * db2/mp/mp_sync.c: Likewise.
4388 * db2/mutex/mutex.c: Likewise.
4389 * db2/mutex/uts4_cc.s: Likewise.
4390 * db2/os/os_abs.c: Likewise.
4391 * db2/os/os_alloc.c: Likewise.
4392 * db2/os/os_config.c: Likewise.
4393 * db2/os/os_dir.c: Likewise.
4394 * db2/os/os_fid.c: Likewise.
4395 * db2/os/os_fsync.c: Likewise.
4396 * db2/os/os_map.c: Likewise.
4397 * db2/os/os_oflags.c: Likewise.
4398 * db2/os/os_open.c: Likewise.
4399 * db2/os/os_rw.c: Likewise.
4400 * db2/os/os_seek.c: Likewise.
4401 * db2/os/os_sleep.c: Likewise.
4402 * db2/os/os_spin.c: Likewise.
4403 * db2/os/os_stat.c: Likewise.
4404 * db2/os/os_tmpdir.c: Likewise.
4405 * db2/os/os_unlink.c: Likewise.
4406 * db2/progs/db_archive/db_archive.c: Likewise.
4407 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
4408 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
4409 * db2/progs/db_dump/db_dump.c: Likewise.
4410 * db2/progs/db_load/db_load.c: Likewise.
4411 * db2/progs/db_printlog/README: Likewise.
4412 * db2/progs/db_printlog/commit.awk: Likewise.
4413 * db2/progs/db_printlog/count.awk: Likewise.
4414 * db2/progs/db_printlog/db_printlog.c: Likewise.
4415 * db2/progs/db_printlog/pgno.awk: Likewise.
4416 * db2/progs/db_printlog/range.awk: Likewise.
4417 * db2/progs/db_printlog/status.awk: Likewise.
4418 * db2/progs/db_printlog/txn.awk: Likewise.
4419 * db2/progs/db_recover/db_recover.c: Likewise.
4420 * db2/progs/db_stat/db_stat.c: Likewise.
4421 * db2/txn/txn.c: Likewise.
4422 * db2/txn/txn.src: Likewise.
4423 * db2/txn/txn_auto.c: Likewise.
4424 * db2/txn/txn_rec.c: Likewise.
4425 * db2/xa/xa.c: Likewise.
4426 * db2/xa/xa_db.c: Likewise.
4427 * db2/xa/xa_map.c: Likewise.
4429 * db2/btree/bt_close.c: Removed.
4430 * db2/db/db_thread.c: Likewise.
4431 * db2/hash/hash_debug.c: Likewise.
4432 * db2/include/db.h.src: Likewise.
4433 * db2/include/db_int.h.src: Likewise.
4434 * db2/include/os_jump.h: Likewise.
4435 * db2/mutex/alpha.dec: Likewise.
4436 * db2/mutex/alpha.gcc: Likewise.
4437 * db2/mutex/parisc.hp: Likewise.
4438 * db2/mutex/uts4.cc.s: Likewise.
4440 * db2/Makefile: Add new routines, remove old for 2.7.5.
4441 * db2/Versions: Add internal function names for the helper programs.
4442 * db2/makedb.c: Update for new cursor callback.
4443 * Versions.def: Define versions for libdb.
4445 1999-06-13 Thorsten Kukuk <kukuk@suse.de>
4447 * nscd/connections.c (nscd_run): Get user ID for all non-db services.
4448 * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
4449 * nscd/nscd_nischeck.c: New file.
4450 * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
4452 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4454 * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
4455 MSG_* flags from Linux 2.2.9.
4457 1999-06-12 Mark Kettenis <kettenis@gnu.org>
4459 * Makeconfig (static-start-installed-name): Set to
4460 $(start-installed-name) if not defined.
4461 (+link-static): Use $(static-start-installed-name) instead of
4462 $(start-installed-name).
4463 * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
4466 1999-06-12 Mark Kettenis <kettenis@gnu.org>
4468 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
4469 inserting a send right into the child instead of unconditionally
4470 copying the send right.
4472 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
4474 * locale/lc-time.c: Add free_mem function to free if necessary
4475 statically allocated memory.
4477 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
4479 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
4480 bias from the raw exponent.
4482 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
4484 * inet/arpa/tftp.h: Move attribute declaration in right position.
4486 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
4488 * nscd/nscd.c: Add -S options for separate caching of data for
4489 every user. So one user couldn't see the data another user
4490 has gotten with his credentials.
4491 * nscd/nscd.h: Add new prototypes.
4492 * nscd/cache.c: Compare owner of cache entry if in secure mode.
4493 * nscd/connections.c: Check on shutdown if caller really was root.
4494 In secure mode get uid of caller.
4495 * nscd/grpcache.c: Add support for new secure group mode.
4496 * nscd/hstcache.c: Add support for new secure hosts mode.
4497 * nscd/pwdcache.c: Add support for new secure passwd mode.
4499 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
4501 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
4502 of user-provided buffer.
4504 1999-06-11 Mark Kettenis <kettenis@gnu.org>
4506 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
4507 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
4509 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
4511 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
4514 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
4515 returning after last entry.
4516 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
4518 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
4520 * misc/sysexits.h: Remove advertising clause of copyright.
4521 * resolv/getnetnamadr.c: Likewise.
4522 * sysdeps/vax/bcopy.s: Likewise.
4523 * sysdeps/vax/bzero.s: Likewise.
4524 * sysdeps/vax/ffs.s: Likewise.
4525 * sysdeps/vax/memchr.s: Likewise.
4526 * sysdeps/vax/memcmp.s: Likewise.
4527 * sysdeps/vax/memmove.s: Likewise.
4528 * sysdeps/vax/memset.s: Likewise.
4529 * sysdeps/vax/strcat.s: Likewise.
4530 * sysdeps/vax/strchr.s: Likewise.
4531 * sysdeps/vax/strcmp.s: Likewise.
4532 * sysdeps/vax/strcpy.s: Likewise.
4533 * sysdeps/vax/strcspn.s: Likewise.
4534 * sysdeps/vax/strlen.s: Likewise.
4535 * sysdeps/vax/strncat.s: Likewise.
4536 * sysdeps/vax/strncmp.s: Likewise.
4537 * sysdeps/vax/strncpy.s: Likewise.
4538 * sysdeps/vax/strpbrk.s: Likewise.
4539 * sysdeps/vax/strrchr.s: Likewise.
4540 * sysdeps/vax/strsep.s: Likewise.
4541 * sysdeps/vax/strspn.s: Likewise.
4542 * sysdeps/vax/strstr.s: Likewise.
4544 * libio/iofopncook.c: Adjust for renaming of structure elements.
4545 * libio/libio.h: Define cookie functions with all the names.
4547 * pwd/fgetpwent_r.c: Set errno in the correct way.
4548 * shadow/fgetspent_r.c: Likewise.
4549 * pwd/fgetpwent.c: Handle long lines correctly. Little
4550 optimizations. Free static buffer when debugging memory handling.
4551 * shadow/fgetspent.c: Likewise.
4553 * grp/fgetgrent.c: Little optimization in loop.
4555 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4557 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
4560 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
4562 * stdlib/longlong.h: gas changed sethi handling when without
4563 %hi(). Fix assembly.
4564 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
4565 port specific cache id checks.
4566 * sysdeps/generic/dl-cache.h: New file.
4567 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
4569 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
4571 * gmon/gmon.c: Remove advertising clause of copyright.
4572 * gmon/mcount.c: Likewise.
4573 * gmon/sys/gmon.h: Likewise.
4574 * inet/arpa/ftp.h: Likewise.
4575 * inet/arpa/telnet.h: Likewise.
4576 * inet/arpa/tftp.h: Likewise.
4577 * inet/inet_lnaof.c: Likewise.
4578 * inet/inet_mkadr.c: Likewise.
4579 * inet/inet_net.c: Likewise.
4580 * inet/inet_netof.c: Likewise.
4581 * inet/protocols/routed.h: Likewise.
4582 * inet/protocols/rwhod.h: Likewise.
4583 * inet/protocols/talkd.h: Likewise.
4584 * inet/protocols/timed.h: Likewise.
4585 * inet/rcmd.c: Likewise.
4586 * inet/rexec.c: Likewise.
4587 * inet/ruserpass.c: Likewise.
4588 * io/fts.c: Likewise.
4589 * io/fts.h: Likewise.
4590 * login/login_tty.c: Likewise.
4591 * misc/fstab.h: Likewise.
4592 * misc/getttyent.c: Likewise.
4593 * misc/getusershell.c: Likewise.
4594 * misc/sys/queue.h: Likewise.
4595 * misc/sys/syslog.h: Likewise.
4596 * misc/syslog.c: Likewise.
4597 * misc/ttyent.h: Likewise.
4598 * misc/ttyslot.c: Likewise.
4599 * resolv/arpa/nameser.h: Likewise.
4600 * resolv/gethnamaddr.c: Likewise.
4601 * resolv/herror.c: Likewise.
4602 * resolv/inet_addr.c: Likewise.
4603 * resolv/mapv4v6addr.h: Likewise.
4604 * resolv/mapv4v6hostent.h: Likewise
4605 * resolv/nss_dns/dns-host.c: Likewise.
4606 * resolv/nss_dns/dns-network.c: Likewise.
4607 * resolv/res_comp.c: Likewise.
4608 * resolv/res_data.c: Likewise.
4609 * resolv/res_debug.c: Likewise.
4610 * resolv/res_init.c: Likewise.
4611 * resolv/res_mkquery.c: Likewise.
4612 * resolv/res_query.c: Likewise.
4613 * resolv/res_send.c: Likewise.
4614 * resolv/resolv.h: Likewise.
4615 * sysdeps/generic/div.c: Likewise.
4616 * sysdeps/generic/netinet/ip.h: Likewise.
4617 * sysdeps/generic/netinet/tcp.h: Likewise.
4618 * sysdeps/generic/paths.h: Likewise.
4619 * sysdeps/generic/prof-freq.c: Likewise.
4620 * sysdeps/generic/sys/ttydefaults.h: Likewise.
4621 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4622 * sysdeps/gnu/netinet/tcp.h: Likewise.
4623 * sysdeps/ieee754/support.c: Likewise.
4624 * sysdeps/mach/hurd/sys/param.h: Likewise.
4625 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
4626 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
4627 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
4628 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
4629 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
4630 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
4631 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
4632 * sysdeps/unix/sysv/linux/paths.h: Likewise.
4633 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
4634 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
4635 * sysdeps/vax/DEFS.h: Likewise.
4636 * termios/sys/ttychars.h: Likewise.
4637 * misc/daemon.c: Likewise. Call fork.
4639 * grp/fgetgrent.c (buffer): Make file local variable.
4640 (free_mem): New function. Call for malloc debugging.
4642 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
4644 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4646 * grp/Makefile: Add rules for tst_fgetgrent.
4648 * grp/tst_fgetgrent.c: Rewritten to read only one file.
4650 * grp/tst_fgetgrent.sh: New file.
4652 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
4654 * grp/Makefile (tests): Add tst_fgetgrent.
4655 * grp/tst_fgetgrent.c: New file.
4656 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
4658 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
4660 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
4661 be POSIX compliant. Prior definition was broken for Hurd.
4662 Reported by Mark Kettenis <kettenis@gnu.org>.
4664 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
4666 * ctype/ctype.h: Protect __tobody code by __extension__.
4668 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
4670 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
4671 reading and reset in case the buffer was too small.
4673 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
4676 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4678 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
4679 another SIOGIFNAME typo.
4681 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
4683 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
4685 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
4688 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4690 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
4691 the precision if the mantissa is zero.
4693 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4695 * manual/lang.texi (Floating Point Parameters): GCC already
4696 supports long double for a long time.
4698 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4700 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
4701 yn_test): Increase some epsilons.
4703 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
4705 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
4708 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
4710 * sysdeps/unix/sysv/linux/kernel-features.h: Define
4711 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
4712 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
4713 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
4715 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
4716 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
4717 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
4718 * sysdeps/libm-ieee754/w_j1.c: Likewise.
4719 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
4720 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
4721 * sysdeps/libm-ieee754/w_jn.c: Likewise.
4722 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
4723 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
4725 * stdio-common/vfprintf.c: Correct typos.
4727 * math/libm-test.c (jn_test): Adjust delta.
4728 (y1_test): Likewise.
4729 (yn_test): Likewise.
4731 * elf/do-lookup.h: It should never happen that if we expect a versioned
4732 symbol from a file the file has no version table. This should have
4733 been checked in dl-version.c.
4734 * elf/dl-lookup.c: Include assert.h.
4736 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
4739 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
4741 1999-06-06 Andi Kleen <ak@muc.de>
4743 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
4746 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4748 * math/libm-test.c (yn_test): Change one delta.
4749 (jn_test): Likewise.
4750 (j1_test): Likewise.
4751 (y0_test): Likewise.
4753 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
4755 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
4756 avoid multiple calls to getpagesize() which might be a syscall.
4758 1999-06-06 Philip Blundell <philb@gnu.org>
4760 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
4762 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4764 * manual/install.texi (Running make install): Correct typo in
4765 dynamic linker invocation.
4767 1999-06-05 Philip Blundell <philb@gnu.org>
4769 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
4770 problems with GOT addressing.
4772 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
4774 * malloc/malloc.c (check_action): Change into bitmap so that both
4775 diagnostic and abort can be requested by setting it to 3.
4776 (mALLOC_SET_STATe): Disable malloc checking if necessary.
4778 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
4780 * configure.in: Few changes for HPUX.
4782 * scripts/config.guess: Update from latest version.
4783 * scripts/config.sub: Likewise.
4785 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4787 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
4788 map files. Closes PR libc/1147.
4790 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4792 * math/libm-test.c (main): Add new test functions.
4793 (jn_test): New tests.
4794 (j1_test): Add some more tests.
4795 (j0_test): Add some more tests.
4796 (y0_test): Add some more tests.
4797 (y1_test): Add some more tests.
4799 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4801 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
4802 Patch by mhagger@dera.gov.uk [PR libc/1145].
4804 * math/libm-test.c (y1_test): New tests.
4805 (y0_test): Likewise.
4806 (j1_test): Likewise.
4807 (j0_test): Likewise.
4808 (main): Added new tests.
4810 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
4812 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
4813 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
4814 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
4815 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
4816 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
4817 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
4819 1999-06-02 David S. Miller <davem@redhat.com>
4821 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
4824 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
4826 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
4827 and elide compatibility code if possible.
4829 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
4831 * manual/llio.texi: Remove menu entry for removed section.
4833 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4835 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
4838 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4840 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
4843 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
4845 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
4847 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4849 * manual/stdio.texi: Fix some typos.
4851 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4853 * malloc/malloc.h: Properly handle future GCC versions.
4855 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4857 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
4858 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
4859 text of error message.
4861 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
4863 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
4865 * manual/filesys.texi: Extend (f)truncate documentation.
4866 * manual/llio.texi: Remove duplicate (f)truncate definition.
4868 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4870 * manual/stdio.texi (Formatted Output Functions): Mention
4871 semantics of snprintf in glibc 2.0.
4872 Reported by Ben Pfaff <pfaffben@msu.edu>.
4874 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
4876 * include/features.h (__GLIBC_MINOR__): Bump to 2.
4878 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
4880 * math/libm-test.c: Adjust a few more deltas for the poor ARM
4883 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4885 * configure.in: Fix typo.
4887 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4889 * manual/socket.texi (Host Names): Remove statement that h_errno
4890 needs to be declared since this isn't true anymore.
4891 Closes PR libc/1138.
4893 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
4895 * config.h.in: Add __LINUX_KERNEL_VERSION.
4896 * configure.in: Recognize --enable-kernel.
4897 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
4898 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
4900 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
4901 given perform runtime test.
4903 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
4904 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
4905 minimal supported kernel is known to have the feature.
4906 * sysdeps/unix/sysv/linux/poll.c: Likewise.
4907 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4908 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4909 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4910 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4911 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
4912 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4913 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4914 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4915 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4916 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4917 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
4918 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
4919 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
4920 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
4922 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
4924 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
4926 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
4928 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
4930 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
4931 Optimized sparc64 routines.
4933 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
4935 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
4936 they are the same as ints.
4937 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
4939 * version.h (VERSION): Bump to 2.1.90.
4940 (RELEASE): Mark as development.
4942 * stdio-common/vfprintf.c (vfprintf): Don't implement special
4943 handling for long long if it is the same as long.
4944 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
4946 * stdlib/strtol.c: Moved to ...
4947 * sysdeps/generic/strtol.c: ...here.
4948 * stdlib/strtoul.c: Moved to ...
4949 * sysdeps/generic/strtoul.c: ...here.
4950 * stdlib/strtoll.c: Moved to ...
4951 * sysdeps/generic/strtoll.c: ...here.
4952 * stdlib/strtoull.c: Moved to ...
4953 * sysdeps/generic/strtoull.c: ...here.
4954 * stdlib/strtol_l.c: Moved to ...
4955 * sysdeps/generic/strtol_l.c: ...here.
4956 * stdlib/strtoul_l.c: Moved to ...
4957 * sysdeps/generic/strtoul_l.c: ...here.
4958 * stdlib/strtoll_l.c: Moved to ...
4959 * sysdeps/generic/strtoll_l.c: ...here.
4960 * stdlib/strtoull_l.c: Moved to ...
4961 * sysdeps/generic/strtoull_l.c: ...here.
4963 * sysdeps/wordsize-64/strtol.c: New file.
4964 * sysdeps/wordsize-64/strtoul.c: New file.
4965 * sysdeps/wordsize-64/strtoll.c: New file.
4966 * sysdeps/wordsize-64/strtoull.c: New file.
4967 * sysdeps/wordsize-64/strtol_l.c: New file.
4968 * sysdeps/wordsize-64/strtoul_l.c: New file.
4969 * sysdeps/wordsize-64/strtoll_l.c: New file.
4970 * sysdeps/wordsize-64/strtoull_l.c: New file.
4972 * wcsmbs/wcstol.c: Moved to ...
4973 * sysdeps/generic/wcstol.c: ...here.
4974 * wcsmbs/wcstoul.c: Moved to ...
4975 * sysdeps/generic/wcstoul.c: ...here.
4976 * wcsmbs/wcstoll.c: Moved to ...
4977 * sysdeps/generic/wcstoll.c: ...here.
4978 * wcsmbs/wcstoull.c: Moved to ...
4979 * sysdeps/generic/wcstoull.c: ...here.
4980 * wcsmbs/wcstol_l.c: Moved to ...
4981 * sysdeps/generic/wcstol_l.c: ...here.
4982 * wcsmbs/wcstoul_l.c: Moved to ...
4983 * sysdeps/generic/wcstoul_l.c: ...here.
4984 * wcsmbs/wcstoll_l.c: Moved to ...
4985 * sysdeps/generic/wcstoll_l.c: ...here.
4986 * wcsmbs/wcstoull_l.c: Moved to ...
4987 * sysdeps/generic/wcstoull_l.c: ...here.
4989 * sysdeps/wordsize-64/wcstol.c: New file.
4990 * sysdeps/wordsize-64/wcstoul.c: New file.
4991 * sysdeps/wordsize-64/wcstoll.c: New file.
4992 * sysdeps/wordsize-64/wcstoull.c: New file.
4993 * sysdeps/wordsize-64/wcstol_l.c: New file.
4994 * sysdeps/wordsize-64/wcstoul_l.c: New file.
4995 * sysdeps/wordsize-64/wcstoll_l.c: New file.
4996 * sysdeps/wordsize-64/wcstoull_l.c: New file.
4998 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
5000 * sysdeps/sparc/bits/wordsize.h: New file.
5001 * sysdeps/sparc/fpu/bits/fenv.h: New file.
5002 * sysdeps/sparc/fpu/fpu_control.h: New file.
5003 * sysdeps/sparc/gmp-mparam.h: New file.
5005 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
5006 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
5007 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
5008 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
5009 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
5010 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
5012 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
5013 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
5014 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
5015 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
5017 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
5018 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
5019 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
5020 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
5021 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
5023 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
5025 * login/openpty.c (openpty): Make sure pty does not because
5028 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
5030 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
5032 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
5033 Do proper error return.
5035 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5037 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
5038 of __P in the rest of glibc; define __MALLOC_PMT and use it.
5039 Reported by Stephan Kulow <coolo@kde.org>.
5041 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
5043 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
5045 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
5047 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5049 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
5050 names to protect from user's macro namespace.
5051 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
5052 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
5053 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
5054 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
5055 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
5057 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
5058 sysdeps/arm/fpu/fesetenv.c: Likewise.
5059 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
5060 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
5061 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
5062 * sysdeps/mips/fesetenv.c: Likewise.
5064 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
5066 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
5068 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
5070 * configure.in: Recognize and allow gcc 2.95.
5072 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
5074 * sysdeps/generic/bits/elfclass.h: Version common to
5075 wordsize-32 and wordsize-64.
5076 * sysdeps/generic/bits/environments.h: Ditto.
5077 * sysdeps/generic/stdint.h: Ditto.
5078 * sysdeps/generic/inttypes.h: Ditto.
5080 * sysdeps/generic/bits/wordsize.h: New file.
5081 * stdlib/Makefile: Add bits/wordsize.h to headers.
5083 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
5085 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
5086 headers to be used for 32bit and 64bit ABI compilations.
5087 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
5088 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
5089 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
5090 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
5091 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
5093 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
5094 * sysdeps/wordsize-64/bits/environments.h: Remove.
5095 * sysdeps/wordsize-64/stdint.h: Remove.
5096 * sysdeps/wordsize-64/inttypes.h: Remove.
5097 * sysdeps/wordsize-64/bits/wordsize.h: New file.
5099 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
5100 * sysdeps/wordsize-32/bits/environments.h: Remove.
5101 * sysdeps/wordsize-32/stdint.h: Remove.
5102 * sysdeps/wordsize-32/inttypes.h: Remove.
5103 * sysdeps/wordsize-32/bits/wordsize.h: New file.
5105 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
5107 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
5108 __align_cpy_16): New functions.
5109 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
5111 * sysdeps/sparc/sparc32/Versions: New file.
5112 * sysdeps/sparc/sparc64/Versions: New file.
5113 * sysdeps/sparc/Versions: Remove.
5115 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
5117 * sysdeps/unix/sysv/linux/configure.in:
5118 On sparc64-*-linux*, set slibdir to /lib64 if prefix
5119 is /usr, plus set libdir to ${exec_prefix}/lib64.
5120 * sysdeps/unix/sysv/linux/configure: Regenerated.
5121 * config.make.in: Propagate libdir settings from configure
5123 * shlib-versions: sparc64-*-linux* dynamic linker is
5124 /lib64/ld-linux.so.2.
5126 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
5128 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
5131 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
5133 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
5134 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
5136 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
5137 contains garbage in bits 8-63.
5138 * sysdeps/sparc/sparc64/memset.S: Ditto.
5139 * sysdeps/sparc/sparc64/strchr.S: Ditto.
5141 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
5143 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
5145 1999-05-17 David S. Miller <davem@redhat.com>
5147 * sysdeps/sparc/sparc32/atomicity.h: New file.
5148 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
5149 * sysdeps/sparc/sparc64/atomicity.h: New file.
5150 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
5153 1999-05-18 Richard Henderson <rth@twiddle.net>
5155 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
5157 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
5159 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
5160 posix/sys/types.h: Handle the case of __GNUC__=3,
5161 __GNUC_MINOR__=(anything).
5163 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5165 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
5168 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
5170 * elf/Makefile (distribute): Remove dl-origin.h.
5171 Add dl-dst.h and gen-trusted-dirs.awk.
5173 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5175 * sysdeps/i386/i486/Versions: New file with inline functions from
5176 sysdeps/i386/i486/bits/string.h for now.
5178 * sysdeps/i386/Versions: Add inline functions from
5179 sysdeps/i386/bits/string.h.
5181 * string/Versions: Add inline functions from <bits/string2.h>.
5183 * string/Makefile (routines): Add string-inlines.
5184 * string/string-inlines.c: New file, used for implementation of
5185 extern inline functions.
5187 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
5188 non inlined versions of functions.
5189 * string/bits/string2.h: Likewise.
5190 * sysdeps/i386/bits/string.h: Likewise.
5192 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
5194 * inet/arpa/tftp.h: Add second packed attribute.
5196 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
5198 * malloc/malloc.c: Cleanup to bring in line with released
5199 stand-alone version `ptmalloc'. Update some comments.
5200 (internal_function): Move fallback definition so that the source
5201 compiles outside of libc, and use it in more places.
5202 (malloc_atfork): Fix when malloc_check is in use.
5204 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5206 * stdlib/tst-strtod.c: Fix typo.
5208 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5210 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
5211 const incorrectness.
5213 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
5215 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
5217 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
5219 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
5220 * sunrpc/key_call.c: Fix memory leak, close file handle.
5221 * nis/nis_creategroup.c: Use malloc instead of calloc,
5222 set ctime and mtime.
5223 * nis/nis_subr.c: Check for realloc result.
5224 * nis/nis_file.c: Fix memory leak.
5225 * nis/nis_table.c: Pretty print.
5226 * nis/nis_getservlist.c: Likewise.
5227 * nis/nis_ismember.c: Likewise.
5228 * nis/nis_lookup.c: Likewise.
5229 * nis/nis_ping.c: Likewise.
5230 * nis/nis_removemember.c: Likewise.
5231 * nis/nis_util.c: Likewise, check calloc result.
5233 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
5235 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
5236 * sysdeps/generic/sys/socketvar.h: ... here.
5237 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
5238 * sysdeps/generic/netinet/in_systm.h: ... here.
5239 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
5241 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
5242 * inet/Makefile (headers): Add netinet/in_systm.h here.
5243 * socket/Makefile (headers): Add sys/socketvar.h here.
5245 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
5247 * stdlib/strtol.c: Optimize inner loop of long long versions.
5249 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
5250 Unix98. Add forward declaration of struct utmp.
5252 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
5254 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
5257 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
5258 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
5259 memory allocation results.
5261 1999-05-14 Mark Kettenis <kettenis@gnu.org>
5263 * sysdeps/generic/getutmp.c: Include <string.h>
5264 (getutmp): Rewrite to only copy those members that are really
5265 present in `struct utmp'.
5266 * sysdeps/generic/getutmpx.c: Likewise.
5268 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
5270 * nss/getXXbyYY.c: Add free_mem function which disposes all
5271 statically allocated memory when debugging.
5272 * nss/getXXent.c: Likewise.
5273 * nss/nsswitch.c: Likewise.
5275 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
5277 * sysdeps/gnu/getutmpx.c: New file.
5278 * sysdeps/gnu/getutmp.c: New file.
5280 1999-05-13 H.J. Lu <hjl@gnu.org>
5282 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
5283 (getutmp): Likewise.
5285 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
5288 * sysdeps/gnu/utmpx.h (getutmp): Added.
5289 (getutmpx): Likewise.
5291 * sysdeps/generic/getutmp.c: New file.
5293 * sysdeps/generic/getutmpx.c: New file.
5295 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5297 * glibcbug.in (BUGGLIBC): Change address to
5298 libc-alpha@sourceware.cygnus.com.
5300 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5302 * resolv/arpa/nameser.h: Add C++ protectors.
5304 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5306 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
5307 Elad Tsur <eladts@post.tau.ac.il>.
5309 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
5311 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
5312 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
5313 lazily if LD_BIND_NOW is not set.
5314 * elf/dl-support.c (_dl_lazy): New variable.
5315 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
5316 * elf/rtld.c (_dl_lazy): new global variable.
5317 ( dl_main): Remove lazy, replace it by _dl_lazy.
5319 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5321 * locale/setlocale.c (new_composite_name): Check also whether the
5322 first category name differs.
5324 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5326 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
5329 1999-05-11 Philip Blundell <pb@nexus.co.uk>
5331 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
5332 structure; storage suitable for any socket address.
5333 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
5335 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
5336 sockaddr_storage): Likewise.
5338 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
5341 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
5343 * hesiod/Versions: Change _nss_hesiod_getpwuid and
5344 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
5345 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
5347 1999-05-09 Mark Kettenis <kettenis@gnu.org>
5349 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
5350 if the file is empty.
5352 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
5354 * elf/do-lookup.h: Fix typo in comment.
5356 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
5357 f_bsize to help some broken programs.
5359 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
5361 * stdio-common/vfprintf.c: Fix typo.
5363 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
5365 * elf/link.h (struct link_map): New field l_phdr_allocated.
5366 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
5367 the program header being part of any loaded segment. If it is not
5368 allocate memory and set l_phdr_allocated flag.
5369 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
5371 * nss/digits_dots.c: Correct return value interpretation of
5372 inet_ntoa. Fix PR libc/1109.
5374 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
5376 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
5378 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
5380 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
5381 * stdlib/fpioconst.c: Move #endif before end of struct.
5383 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
5385 * Versions.def (ld.so): Add GLIBC_2.1.1.
5386 * elf/Makefile (routines): Add dl-origin.
5387 (tests): Add origtest. Add dependencies for the program.
5388 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
5389 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
5390 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
5391 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
5392 DT_AUXILIARY, and DT_FILTER filenames.
5393 * elf/dl-load.c (expand_dynamic_string_token): Explode into
5394 two functions and three macros.
5395 (_dl_dst_count, _dl_dst_substitute): New functions.
5396 * elf/dl-dst.h: New file.
5397 * elf/dl-open.c (_dl_open): Take extra parameter with address of
5398 caller. Pass address in args structure.
5399 (dl_open_worker): Recognize and expand DSTs in filename.
5400 * elf/ldsodefs.h (_dl_open): Adapt prototype.
5401 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
5402 (__dlopen_check): Pass caller address to dlopen_doit in args.
5403 * elf/dlopendoit.c: Likewise.
5404 * iconv/gconv_dl.c: Adapt call of _dl_open.
5405 * nss/nsswitch.c: Likewise.
5406 * elf/origtest.c: New file.
5407 * sysdeps/generic/dl-origin.h: Moved to...
5408 * sysdeps/generic/dl-origin.c: ...here.
5409 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
5410 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
5412 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
5413 with specific bases and only few bits set in second word.
5415 * timezone/Makefile (install-others): Create target directory
5416 before creating tzfiles.
5418 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
5420 * nis/nis_file.c (readColdStartFile): Allocate memory only after
5421 the file is opened successfully.
5423 * nis/nis_table.c: Fix some memory leaks.
5425 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
5427 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
5430 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
5431 around DST. Correctly ignore ORIGIN IN SUID binaries.
5433 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
5435 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
5436 * sysdeps/generic/strtok.c: Likewise.
5438 * string/tester.c: Add test of rawmemchr.
5440 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
5441 specification. It's not necessary.
5443 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
5444 * elf/gen-trusted-dirs.awk: New file.
5445 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
5446 from SYSTEM_DIRS macro.
5447 (system_dirs_len): New variable. Contains lengths of system_dirs
5449 (fillin_rpath): Rewrite for systems_dirs being a simple string.
5450 Improve string comparisons. Change parameter trusted to be a flag.
5452 (_dt_init_paths): Improve using new format for system_dirs.
5454 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
5455 $ORIGIN for SUID binaries.
5457 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
5459 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5461 * sunrpc/Makefile: Generate dependencies for all flavors of
5463 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
5466 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5468 * elf/dlopenold.c: Move #if down after includes to get
5471 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5473 * sysdeps/generic/bzero.c: Undefine __bzero.
5475 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
5477 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
5478 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
5479 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
5480 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
5482 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
5483 parameter to struct gaih_servtuple *. Adapt appropriately.
5484 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
5485 This fixes a memory leak.
5486 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
5488 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
5489 and fpregset_t definition. They are defined in ucontext.h.
5491 1999-04-14 Scott Bambrough <scottb@netwinder.org>
5493 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
5494 and struct ether_header must be packed on the ARM. The default
5495 alignment constraints add padding to the end of the structures.
5497 1999-04-14 Scott Bambrough <scottb@netwinder.org>
5499 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
5500 default alignment constraints add padding to the end of the
5501 structure and between members.
5503 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
5505 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
5506 _dl_cache_libcmp instead of strcmp.
5508 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
5510 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
5512 1998-03-30 Joel Klecker <espy@debian.org>
5514 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
5515 (sysdep-others,install-bin): Add lddlibc4.
5517 1999-05-02 H.J. Lu <hjl@gnu.org>
5519 * timezone/zic.c (dolink): Remove the symlink destination first.
5521 * catgets/open_catalog.c (__open_catalog): Set catalog->status
5522 to "nonexisting" if failed to open the file.
5524 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
5526 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
5529 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
5530 Prevent warnings from multiplication with 0x01010101 by another cast.
5532 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5534 * string/bits/string2.h (memset): Revert to previous version if
5535 unaligned writes are not available.
5537 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
5539 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
5540 better code in presence of the asm.
5542 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5544 * stdlib/fmtmsg.c (keywords): Increase array size for faster
5547 * locale/localeinfo.h (_nl_category_names): Increase array element
5548 size for faster indexing.
5549 * locale/setlocale.c (_nl_category_names): Adjusted.
5551 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5553 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
5555 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5557 * sysdeps/m68k/stackinfo.h: New file.
5559 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
5561 * string/tester.c (test_strchrnul): New function.
5562 (test_memset): Test one more special case.
5564 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
5567 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
5570 * string/bits/string2.h: Fix bugs I introduced in last change.
5572 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
5574 Extend memset optimization.
5575 Correct i686 version of memchr.
5577 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
5579 * sysdeps/i386/bzero.c: Add #undef __bzero.
5581 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
5582 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
5583 exec server simulated a SIGTRAP before we even started up, so gdb is
5586 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
5588 * nss/digits_dots.c: Always initialize not_ok.
5590 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
5592 * string/bits/string2.h (memset): Avoid arithmetic overflow at
5593 compile time, which produces obnoxious warnings. If GCCv2 is
5594 in use, map __bzero to __builtin_memset to enable that
5597 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
5599 * string/bits/string2.h: Add more memset optimizations.
5601 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
5603 * resolv/inet_pton.c (inet_pton4): Little optimizations.
5604 (inet_pton6): Likewise.
5606 * nss/getXXbyYY_r.c: Include assert.h.
5607 * nss/getXXbyYY.c: Likewise.
5609 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5611 * termios/tcgetsid.c (tcgetsid): Rename variable to
5612 tiocgsid_does_not_work.
5614 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
5616 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
5618 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5620 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
5621 This allows e.g. gethostbyname to accept "10.1234".
5622 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
5624 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
5625 non quad IPv4 numbers.
5627 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5629 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
5631 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
5633 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
5634 * argp/argp-parse.c (_argp_hang): Likewise.
5635 * argp/argp-pv.c (argp_program_version): Likewise.
5636 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
5637 * inet/ether_hton.c (ether_hton, startp): Likewise.
5638 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
5639 * inet/getnetgrent_r.c (setup, startp): Likewise.
5640 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
5641 * intl/localealias.c (string_space, string_space_act, string_space_max,
5642 nmap, maxmap): Likewise.
5643 * libio/iopopen.c (proc_file_chain): Likewise.
5644 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
5645 * locale/lc-collate.c (__collate_table, __collate_extra,
5646 __collate_element_hash, __collate_element_strings,
5647 __collate_element_values): Likewise.
5648 * malloc/mcheck.c (mcheck_used): Likewise.
5649 * malloc/mtrace.c (added_atexit_handler): Likewise.
5650 * malloc/set-freeres.c (already_called): Likewise.
5651 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
5652 * misc/syslog.c (LogStat, LogTag): Likewise.
5653 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
5654 * nss/getXXbyYY_r.c (startp): Likewise.
5655 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
5656 * posix/regex.c (init_syntax_once) [done]: Likewise.
5658 * string/strfry.c (init): Likewise.
5659 * sunrpc/svc_run.c (svc_top): Likewise.
5660 * posix/euidaccess.c (have_ids): Likewise.
5661 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
5662 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
5663 * time/getdate.c (getdate_err): Likewise.
5664 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
5666 * time/tzset.c (old_tz, is_initialized): Likewise.
5668 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
5669 of static data with zero.
5670 * signal/allocrtsig.c (init): Likewise.
5672 * string/Makefile (routines): Add strchrnul.
5673 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
5674 * string/string.c: Add strchrnul prototype.
5675 * include/string.h: Add __strchrnul prototype.
5676 * sysdeps/generic/strchrnul.c: New file.
5677 * sysdeps/i386/strchrnul.S: New file.
5678 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
5679 * sysdeps/i386/i486/bits/string.c: Likewise.
5680 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
5681 * inet/ether_line.c (ether_line): Likewise.
5682 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
5683 * nss/nsswitch.c (nss_parse_file): Likewise.
5684 * posix/execvp.c (execvp): Likewise.
5685 * posix/fnmatch.c (internal_fnmatch): Likewise.
5686 * resolv/res_hconf.c (_res_hconv_init): Likewise.
5687 * resolv/res_init.c (res_init): Likewise.
5688 * stdlib/fmtmsg.c (init): Likewise.
5689 * stdlib/getsubopt.c (getsubopt): Likewise.
5691 * catgets/catgets.c (catopen): Only allocate one memory block.
5692 (catclose): Only one free call necessary.
5694 * catgets/open_catalog.c (__open_catalog): Simplify handling of
5697 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
5698 of real functions. Simplify _tolower and _toupper.
5700 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
5703 * iconv/gconv.h (struct gconv_info): Change data element from pointer
5705 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
5706 * iconv/gconv_close.c (__gconv_close): Don't free data.
5708 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
5711 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
5712 for error while inserting in tree.
5714 * include/time.h: Pretty print.
5716 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
5717 in table and lots of relocations.
5718 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
5719 string pointers in table and lots of relocations.
5721 * intl/finddomain.c: Remove definition of strchr macro.
5723 * io/ftw.c (nftw_arr, ftw_arr): Make const.
5725 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
5727 * locale/localeinfo.h (_nl_category_names): Change into an array with
5728 fixed width char string elements.
5729 * locale/setlocale.c (_nl_category_names): Likewise.
5730 (_nl_current): Make global.
5731 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
5733 * malloc/Makefile (distribute): Add stackinfo.h.
5734 * sysdeps/generic/stackinfo.h: New file.
5735 * sysdeps/i386/stackinfo.h: New file.
5736 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
5737 * posix/execle.c: Likewise.
5738 * posix/execlp.c: Likewise.
5740 * nis/nis_table.c (__create_ib_request): Always use realloc.
5742 * posix/execvp.c (execute): Rename to script_execute and keep only
5743 code to execute using shell.
5744 (execvp): Call execv directly and only fall back on script_execute.
5746 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
5747 and always use xdigits instead.
5749 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
5752 * stdlib/fpioconst.h (__tens): New declaration.
5753 (struct mp_power): Remove array, add arrayoff element.
5754 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
5755 __tens array and add in _fpioconst_pow10 offsets into __tens.
5756 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
5757 * stdlib/strtod.c: Likewise.
5759 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
5761 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
5763 * stdlib/atexit.c (__exit_funcs): Don't initialize.
5765 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
5767 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
5768 a single and an array with offsets.
5770 * sunrpc/des_soft.c (partab): Make it const.
5772 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
5773 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
5774 (__key_decryptsession_pk_LOCAL): Likewise.
5775 (__key_gendes_LOCAL): Likewise.
5776 (MESSENGER): Mark const.
5777 (key_call_private_main): Don't initialize with 0.
5778 (use_keyenvoy): Don't initialize with 0.
5779 (key_call): Rewrite to reverse logic of use_doors variable.
5781 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
5782 (startp): Don't initialize with zero.
5784 * sunrpc/openchild.c (_openchild): Make first argument const.
5786 * sunrpc/pmap_rmt.c (timeout): Mark const.
5787 * sunrpc/xcrypt.c (hex): Likewise.
5789 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
5790 initialization of global variables.
5791 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
5792 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5793 * termios/tcgetsid.c: Likewise.
5795 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
5798 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
5799 block. Add function to free memory if wanted.
5800 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
5802 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
5804 * wcsmbs/wmemset.c: Little code optimization.
5806 1999-04-23 Paul Eggert <eggert@twinsun.com>
5808 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
5811 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
5813 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
5814 implementation and just always fail with ENOSYS. This entry point is
5815 obsolete. Add link warning to that effect.
5817 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
5819 * hurd/get-host.c: Include <hurd/lookup.h>.
5821 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
5823 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
5826 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5828 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
5831 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
5833 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
5834 Patch by Peter Miller <millerp@canb.auug.org.au>.
5836 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
5838 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
5839 prefers loopback device.
5841 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
5843 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
5844 no_leading_period change.
5846 * posix/testfnm.c: More test cases.
5848 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
5850 * include/dirent.h: Remove __getdirentries declaration, add __getdents
5852 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
5853 * sysdeps/unix/readdir_r.c: Likewise.
5854 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5855 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
5856 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
5857 __getdirentries. Remove fourth argument.
5858 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
5859 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
5860 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
5861 Add getdirentries and getdirentries64.
5862 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
5864 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
5865 pointer in case of an invalid [[: expression.
5867 * posix/testfnm.c: Add more test cases.
5869 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
5871 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
5872 set, pass EXEC_SIGTRAP flag in exec RPC.
5874 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
5876 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
5877 extra parameter. Fix several more bugs involving wildcard and
5879 (fnmatch): New function. Call internal_fnmatch.
5881 * posix/testfnm.c: More test cases.
5883 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5885 * manual/install.texi (Configuring and compiling): Explain that
5886 files are changed in the source directory.
5888 (Configuring and compiling): Explain situation with PARALLELMFLAGS
5889 in the source directory.
5891 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5893 * locale/programs/ld-ctype.c: Spelling fixes.
5894 (ctype_finish): Fix argument of error message format.
5895 * locale/programs/ld-messages.c: Spelling fixes.
5896 * locale/programs/ld-monetary.c: Spelling fixes.
5897 * locale/programs/ld-time.c (time_finish): Make sure that name and
5898 format of era_entries are adjacent.
5899 (time_output): Reduce the size of the io vector.
5901 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5903 * manual/filesys.texi (Attribute Meanings): Move a misplaced
5906 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5908 * locale/programs/ld-collate.c (collate_output): Convert
5909 undefined_offset to an array index. Fix computation of other
5912 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
5914 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
5915 return success with empty value.
5917 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
5919 * posix/fnmatch.c: Include string.h also for glibc.
5920 (fnmatch, case '?'): Optimize if cascades a bit.
5921 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
5923 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
5925 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
5927 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
5928 * iconv/gconv_int.h: Declare UTF16 functions.
5929 * iconv/gconv_simple.c: Add UTF16 conversion functions.
5931 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5933 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
5934 be used correctly as parameter for parse_dollars/parse_tilde.
5936 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5938 * manual/conf.texi (Utility Limits): Remove duplicate description
5941 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
5943 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
5944 outbufend for dst==NULL.
5946 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
5948 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
5952 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
5955 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
5957 * sunrpc/Makefile: Remove special handling of bootparam.x,
5958 add rpcsvc/bootparam.h to headers.
5959 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
5960 * sunrpc/rpcsvc/bootparam.x: Renamed to...
5961 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
5963 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
5965 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
5966 detect and handle invalid descriptors.
5968 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
5970 * timezone/zic.c (dolink): Append complete path not only filename
5973 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5975 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
5977 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
5979 * iconvdata/gconv-modules: Rename CP874 to IBM874.
5980 * iconvdata/Makefile: Likewise.
5981 * iconvdata/cp874.h: Removed.
5982 * iconvdata/cp874.c: Renamed to...
5983 * iconvdata/ibm874.c: ...this.
5985 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
5987 * sysdeps/unix/sysv/linux/bits/types.h: Correct
5988 signed/unsigned-ness of blkcnt and fsblkcnt.
5989 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5990 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5992 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
5993 SOL_AAL, and SOL_IRDA.
5995 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5997 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
5998 include "linux_fsinfo.h".
5999 Based on a patch by H.J. Lu <hjl@gnu.org>.
6001 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
6003 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
6005 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
6007 * nscd/cache.c (prune_cache): Only disable file checking for
6008 future if the file does not exist.
6009 Update file_mtime if cache was flushed.
6011 1999-04-15 David S. Miller <davem@redhat.com>
6013 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
6014 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
6016 1999-04-15 Scott Bambrough <scottb@netwinder.org>
6018 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
6019 compilation of file.
6021 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
6023 * Versions.def: Add GLIBC_2.1.1 to libpthread.
6025 * iconvdata/Makefile (modules): Add KOI8-U.
6026 (distribute): Add koi8-u.c.
6027 (gen-8bit-gap-modules): Add koi8-u.
6028 * iconvdata/gconv-modules: Add KOI8-U entries.
6029 * iconvdata/koi8-u.c: New file.
6031 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
6033 * sunrpc/auth_des.c: 64bit fixes, security fixes.
6034 * sunrpc/auth_none.c: Pretty print.
6035 * sunrpc/auth_unix.c: Likewise.
6036 * sunrpc/authdes_prot.c: Likewise.
6037 * sunrpc/authuxprot.c: Likewise.
6038 * sunrpc/bindrsvprt.c: Likewise.
6039 * sunrpc/clnt_gen.c: Likewise.
6040 * sunrpc/rpc/xdr.h: Likewise.
6041 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
6042 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
6043 * sunrpc/rtime.c: Use new rpc_timeval.
6044 * sunrpc/svc_authux.c: Don't use *long pointers.
6045 * sunrpc/svcauth_des.c: Likewise + security fixes.
6046 * sunrpc/xdr_mem.c: Don't use *long pointers.
6047 * sunrpc/xdr_rec.c: Likewise.
6048 * sunrpc/xdr_sizeof.c: Likewise.
6049 * sunrpc/xdr_stdio.c: Likewise.
6051 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
6053 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
6054 so that it is redone for each sending.
6056 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6058 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
6060 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
6062 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
6063 known to not exist don't try to load shared objects.
6064 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
6066 * nscd/cache.c (prune_cache): The table might not be unused. In
6067 this case do nothing.
6069 * catgets/gencat.c (read_input_file): Don't drop white spaces
6070 between number/identifier and string.
6071 Patch by Dima Barsky <dima@pwd.hp.com>.
6072 If no white space at all follows number/identifier remove existing
6073 message with the number/identifier.
6075 1999-04-14 H.J. Lu <hjl@gnu.org>
6077 * sunrpc/clnt_udp.c (is_network_up): New function.
6078 (clntudp_call): Call is_network_up () to check if any network
6079 interface is up in case of timeout.
6081 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6083 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
6084 * wctype/Makefile (tests): Add test_wcfuncs.
6086 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
6088 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
6090 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
6092 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
6093 instead of CFLAGS. For gnulib and string directories use
6094 -Wa,-Av9a gcc ASFLAGS.
6095 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
6096 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
6097 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
6098 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
6099 the same way as sparc-*.
6101 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
6103 * locale/programs/locfile.c (locfile_read): Fix typo.
6104 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
6106 1999-04-14 Scott Bambrough <scottb@netwinder.org>
6108 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
6109 restarted after being interrupted by a signal. The parameters on
6110 the stack were corrupted by the signal handler.
6112 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
6113 restarted after being interrupted by a signal. The parameters on
6114 the stack were corrupted by the signal handler.
6116 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6118 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
6119 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
6121 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
6123 * posix/wordexp-test.c: In field-splitting test cases where
6124 subshells were involved, unset IFS first: some shells (ash) use
6125 IFS even when no expansion is performed.
6127 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6129 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
6130 the real end of the chunk, not some random point inbetween.
6131 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
6132 obstack when growing. Use fast version of obstack_blank when
6134 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
6135 allocating the vtable pointer.
6136 (_IO_obstack_vprintf): Adjust for above change and avoid
6137 unnecessary casts. Use fast version of obstack_blank when
6141 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
6143 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
6144 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
6146 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
6148 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
6149 is seen, as well as fixing semantics. Don't reset the word count
6150 to zero when an invalid character is seen, but leave it as it was
6151 (this makes a difference with WRDE_APPEND).
6153 * posix/wordexp-test.c: More test cases.
6155 * posix/wordexp.c (parse_param): In words like ${var#pattern},
6156 always expand pattern when it is needed. Also, handle quoting in
6159 1999-04-12 Philip Blundell <philb@gnu.org>
6161 * elf/elf.h: Update ARM definitions to match current gas2.
6163 * sysdeps/arm/bits/endian.h: Support big endian operation.
6165 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
6166 Don't bother range checking the port number.
6168 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
6170 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
6171 the syscall name in assembler output for ease of debugging.
6173 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
6175 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
6176 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
6177 (sysdep_routines): Add sigrestorer.
6179 * string/tester.c (test_strcpy): Add new tests for unaligned
6181 * sysdeps/arm/bits/string.h: Delete inline implementations of
6184 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
6186 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
6188 1999-04-10 Mark Kettenis <kettenis@gnu.org>
6190 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
6192 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
6194 * iconvdata/Makefile (modules): Add TIS-620.
6195 (distribute): Add tis-620.c.
6196 (gen-8bit-gap-modules): tis-620.
6197 * iconvdata/tis-620.c: New file.
6198 * iconvdata/gconv-modules: Add TIS-620 entries.
6200 * iconvdata/asmo_449.c: Correct comment.
6202 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6204 * manual/install.texi (Configuring and compiling): Comment out
6205 description of --disable-static since this doesn't work currently
6206 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
6208 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
6210 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
6212 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
6214 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6216 * scripts/test-installation.pl (installation_problem): Skip
6217 libnss1_* libraries from glibc-compat add-on.
6219 1999-04-07 H.J. Lu <hjl@gnu.org>
6221 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
6223 * posix/Versions (__waitpid): Likewise.
6225 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6227 * manual/install.texi (Reporting Bugs): Add section about reported
6228 bugs and correct email address of glibcbug script.
6230 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
6232 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
6233 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
6234 xdr_u_longlong_t. Based on patch from Dan Shechter
6235 <damageboy@isdn.net.il>.
6236 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
6237 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
6239 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
6241 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6243 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
6244 directly if getdents returns with error set.
6246 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6248 * locale/langinfo.h (THOUSEP): Rename second occurence of
6249 THOUSANDS_SEP to THOUSEP.
6250 Reported by Roman Belenov <roman@nstl.nnov.ru>.
6252 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
6254 * hurd/STATUS: File removed. Moved items that are still relevant into
6255 TODO list in hurd source.
6257 1999-03-26 Mark Kettenis <kettenis@gnu.org>
6259 * sysdeps/mach/hurd/bits/time.h: New file.
6260 * sysdeps/mach/hurd/getrusage.c: New file.
6261 * sysdeps/mach/hurd/clk_tck.c: New file.
6262 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
6263 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
6264 (sysdep_routines): Add clk_tck.
6265 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
6268 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
6270 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
6271 (closelog): But instead here.
6272 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
6274 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6276 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
6277 the source directory. Fixes PR libc/1059.
6279 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6281 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
6282 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6284 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
6286 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
6287 * iconvdata/testdata/ISO-8859-14: New file.
6288 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
6289 * iconvdata/testdata/ISO-8859-15: New file.
6290 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
6292 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
6294 * iconvdata/testdata/CP1258: New file.
6295 * iconvdata/testdata/CP1258..UTF8: New file.
6296 * iconvdata/TESTS: Add CP1258 entry.
6298 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
6300 * timezone/africa: Update from tzdata1999d.
6301 * timezone/europe: Likewise.
6302 * timezone/northamerica: Likewise.
6304 1999-03-31 Mark Kettenis <kettenis@gnu.org>
6306 * login/programs/pt_chown.c (main): Save effective user ID before
6307 dropping priviliges and use this to check if the program is
6310 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
6312 * iconvdata/testdata/CP1254: Update for charmap changes.
6313 * iconvdata/testdata/CP1254..UTF8: Likewise.
6314 * iconvdata/testdata/CP1255: Likewise.
6315 * iconvdata/testdata/CP1255..UTF8: Likewise.
6316 * iconvdata/testdata/CP1256: Likewise.
6317 * iconvdata/testdata/CP1256..UTF8: Likewise.
6318 * iconvdata/testdata/CP1257: Likewise.
6319 * iconvdata/testdata/CP1257..UTF8: Likewise.
6321 * iconvdata/Makefile (distribute): Remove cp1258.h.
6322 (gen-8bit-gap-modules): Add cp1258.
6323 * iconvdata/cp1258.h: Removed.
6325 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
6327 * timezone/tst-timezone.c (tests): Add more cases.
6328 (check_tzvars): Mark errors clearer.
6331 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
6333 * login/programs/pt_chown.c: Drop privileges if invoked with
6334 arguments. Don't close the master pty.
6336 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
6338 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
6341 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
6343 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
6344 relocation for SUID binaries.
6346 1999-03-29 Paul Eggert <eggert@twinsun.com>
6348 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
6349 while in child process.
6351 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
6353 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
6354 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
6355 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
6356 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
6357 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
6359 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
6360 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
6361 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
6362 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
6363 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
6364 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
6365 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
6366 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
6367 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
6368 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
6369 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
6370 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
6371 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
6372 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
6373 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
6374 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
6375 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
6376 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
6377 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
6378 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
6379 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
6380 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
6381 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
6382 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
6383 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
6384 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
6386 * sysdeps/sparc/sparc32/bcopy.c: New file.
6387 * sysdeps/sparc/sparc32/bzero.c: New file.
6388 * sysdeps/sparc/sparc32/memchr.S: New file.
6389 * sysdeps/sparc/sparc32/memcpy.S: New file.
6390 * sysdeps/sparc/sparc32/memmove.c: New file.
6391 * sysdeps/sparc/sparc32/memset.S: New file.
6392 * sysdeps/sparc/sparc32/stpcpy.S: New file.
6393 * sysdeps/sparc/sparc32/strchr.S: New file.
6394 * sysdeps/sparc/sparc32/strrchr.c: New file.
6395 * sysdeps/sparc/sparc32/strcpy.S: New file.
6396 * sysdeps/sparc/sparc32/strlen.S: New file.
6397 * sysdeps/sparc/sparc32/strcat.S: New file.
6398 * sysdeps/sparc/sparc32/strcmp.S: New file.
6400 * sysdeps/sparc/sparc64/bcopy.c: New file.
6401 * sysdeps/sparc/sparc64/bzero.c: New file.
6402 * sysdeps/sparc/sparc64/memchr.S: New file.
6403 * sysdeps/sparc/sparc64/memcmp.S: New file.
6404 * sysdeps/sparc/sparc64/memcpy.S: New file.
6405 * sysdeps/sparc/sparc64/memset.S: New file.
6406 * sysdeps/sparc/sparc64/stpcpy.S: New file.
6407 * sysdeps/sparc/sparc64/strcat.S: New file.
6408 * sysdeps/sparc/sparc64/strchr.S: New file.
6409 * sysdeps/sparc/sparc64/strcmp.S: New file.
6410 * sysdeps/sparc/sparc64/strcpy.S: New file.
6411 * sysdeps/sparc/sparc64/strcspn.S: New file.
6412 * sysdeps/sparc/sparc64/strlen.S: New file.
6413 * sysdeps/sparc/sparc64/strncpy.S: New file.
6414 * sysdeps/sparc/sparc64/strpbrk.S: New file.
6415 * sysdeps/sparc/sparc64/strrchr.c: New file.
6416 * sysdeps/sparc/sparc64/strspn.S: New file.
6417 * sysdeps/sparc/sparc64/stpncpy.S: New file.
6418 * sysdeps/sparc/sparc64/strncmp.S: New file.
6420 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
6421 Append -fPIC, don't replace.
6423 * configure.in: Recognize sparcv8plus / sparcv9.
6425 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6427 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
6428 char * to avoid C++ warning.
6429 Patch by yasushi@cs.washington.edu [PR libc/1035].
6431 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6433 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
6434 declared in stdlib.h, correct return value of mkstemp.
6435 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
6437 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
6440 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6442 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
6445 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
6446 inline functions. Closes PR libc/1049.
6448 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6450 * timezone/README: Update from tzdata1999c and tzcode1999c.
6452 * timezone/africa: Update from tzdata1999c.
6453 * timezone/antarctica: Likewise.
6454 * timezone/asia: Likewise.
6455 * timezone/australasia: Likewise.
6456 * timezone/europe: Likewise.
6457 * timezone/northamerica: Likewise.
6458 * timezone/southamerica: Likewise.
6459 * timezone/zone.tab: Likewise.
6461 * timezone/zic.c: Update from tzcode1999c.
6463 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6465 * Makerules: Add $(common-objpfx)Versions.all to common-generated
6466 outside of ifndef avoid-generated.
6468 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
6470 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
6472 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
6474 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
6475 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
6477 1999-03-26 Mark Kettenis <kettenis@gnu.org>
6479 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
6480 if we build the profiled library.
6482 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6484 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
6485 Jaeger <aj@arthur.rhein-neckar.de>
6487 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
6489 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
6490 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
6491 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
6493 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
6495 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
6496 works properly in subdirs.
6498 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
6500 * sysdeps/mach/hurd/Makefile: Undo last change.
6501 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
6502 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
6504 * mach/Machrules (+preinit, +postinit, +interp,
6505 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
6506 linked just like other shared libraries.
6507 (interface.so): Fix typo in defn, so it works.
6508 ($(objpfx)$(interface.so)): Make it depend on libc.so.
6510 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
6512 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
6513 $(link-rpcuserlibs).
6515 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6517 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
6518 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
6519 targets if not building shared libraries.
6521 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6523 * configure.in: Also look in $PATH when searching for
6524 install-info. Remove autoconf bug workaround and require autoconf
6527 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6529 * db/Makefile: Don't try to install shared library link if not
6530 building with shared libs.
6532 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6534 * rt/Makefile: Link against static library if no shared lib is
6537 * localedata/Makefile: The shells scripts implementing the test
6538 require the dynamic linker which is not available with
6539 --disable-shared. Skip the test if --disable-shared is given.
6541 * linuxthreads/Makefile: Link test against static libpthread if no
6542 shared lib is available.
6544 * iconvdata/Makefile (tests): Run iconv-test only if we're
6545 building shared libraries.
6546 * elf/Makefile (tests): Likewise for elf tests.
6548 * posix/Makefile: The test frameworks globtest and wordexp-test
6549 require the dynamic linker which is not available with
6550 --disable-shared. Skip the test if --disable-shared is given.
6552 * grp/Makefile (otherlibs): For static nss build link against
6555 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6557 * debug/Makefile (install-bin): Install and build catchsegv only
6558 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
6561 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6563 * time/tzfile.c (__tzfile_read): Handle the case where there are
6564 transitions but no DST.
6566 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
6568 * mach/Machrules (extra-libs-others): Add $(interface-library) here
6569 too, so it gets built in the others pass rather than the lib pass.
6570 This is necessary since the RPC libraries need to be linked against
6573 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
6575 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
6578 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
6579 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
6580 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
6581 versions of lib{mach,hurd}user.so without reference to libc.so,
6582 then link libc.so against that to get deps and symbol versions, then
6583 finally link real lib*user.so against libc.so.
6585 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
6586 Support whole-file locking (only) by using the file_lock RPC. This
6587 has very wrong semantics, but is better than nothing for the time
6588 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
6589 protocols that will be somewhat hairy to specify.)
6591 1999-03-17 Mark Kettenis <kettenis@gnu.org>
6593 * sysdeps/mach/hurd/ptsname.c: New file.
6595 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6597 * timezone/asia: Fix rule in Asia/Nicosia entry.
6599 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6601 * manual/getopt.texi (Using Getopt): Explain "::" in option
6602 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
6604 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
6606 * sunrpc/clnt_unix.c: Fix creation of parameters for
6607 sendmsg/recvmsg on non intel platforms.
6608 * sunrpc/svc_unix.c: Likewise.
6610 1999-03-18 Philip Blundell <philb@gnu.org>
6612 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
6615 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6617 * timezone/africa: Update from tzdata1999b.
6618 * timezone/asia: Likewise.
6619 * timezone/australasia: Likewise.
6620 * timezone/europe: Likewise.
6621 * timezone/northamerica: Likewise.
6622 * timezone/southamerica: Likewise.
6623 * timezone/zone.tab: Likewise.
6625 * timezone/README: Mention tzdata1999b.
6627 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
6629 * sysdeps/generic/segfault.c (write_strsignal): New function.
6630 (catch_segfault): Use it instead of calling strsignal.
6632 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6634 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
6635 char to avoid warning.
6637 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
6639 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
6641 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
6642 outbuf to unsigned char to avoid warning.
6644 1999-03-11 David S. Miller <davem@redhat.com>
6646 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
6648 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
6650 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
6652 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
6654 (gconv_step_data): Likewise.
6655 * iconv/gconv_int.h (__gconv): Likewise.
6656 (__BUILINT_TRANS): Likewise.
6657 * iconv/gconv.c (__gconv): Likewise.
6658 * iconv/iconv.c (iconv): Add casts for call of __gconv.
6659 * iconv/skeleton.c: Change local parameters and variable from `char' to
6660 `unsigned char'. Remove casts from calls into modules.
6661 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
6662 `char' to `unsigned char'.
6663 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
6664 * wcsmbs/mbrtowc.c: Likewise.
6665 * wcsmbs/mbsnrtowcs.c: Likewise.
6666 * wcsmbs/mbsrtowcs.c: Likewise.
6667 * wcsmbs/wcrtomb.c: Likewise.
6668 * wcsmbs/wcsnrtombs.c: Likewise.
6669 * wcsmbs/wcsrtombs.c: Likewise.
6670 * wcsmbs/wctob.c: Likewise.
6672 1999-03-15 Mark Kettenis <kettenis@gnu.org>
6674 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
6675 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
6676 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
6677 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
6678 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
6679 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
6681 1999-03-15 Mark Kettenis <kettenis@gnu.org>
6683 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
6684 _hurd_select if TIMEMOUT is -1.
6686 1999-03-15 Mark Kettenis <kettenis@gnu.org>
6688 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
6690 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
6692 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
6693 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
6695 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6697 * manual/libc.texinfo: Undo last change for now.
6699 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
6701 * intl/locale.alias: Add entries for Croatian.
6702 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
6704 1999-03-13 Mark Kettenis <kettenis@gnu.org>
6706 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
6707 if the opened master pty really is a pty. `isatty' checks for
6708 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
6709 if we are out of pty's.
6711 1999-03-13 Mark Kettenis <kettenis@gnu.org>
6713 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
6714 opened file is closed on exec.
6715 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
6718 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6720 * manual/llio.texi (File Position Primitive): Reformat @end
6721 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
6723 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
6725 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
6727 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6728 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
6730 * locale/programs/localedef.c (main): Initialize `cat' to please
6733 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
6735 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
6736 check for root-owned symlinks and reject them too.
6738 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6740 * stdio-common/printf_fphex.c: Move to ...
6741 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
6742 extended precision number.
6743 * sysdeps/m68k/printf_fphex.c: New file.
6745 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6747 * manual/stdio.texi: Fix typos.
6749 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
6751 * version.h (VERSION): Bump to 2.1.1.
6753 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
6755 * nis/ypclnt.c: Try only twice to connect to NIS server.
6757 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
6759 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
6761 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6763 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
6764 (DENORM_EXP): New define. Use it as the exponent for a denormal.
6765 * stdlib/strtold.c: Moved to ...
6766 * sysdeps/generic/strtold.c: ... here.
6767 * sysdeps/m68k/strtold.c: New file.
6769 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6771 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
6772 point if the precision is zero, even if the mantissa is non-zero.
6774 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
6776 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
6777 arguments into the request message buffer inside `send_rpc'
6778 subfunction. We must repeat the marshalling when retrying the RPC
6779 after a SIGTTOU delivery.
6781 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
6782 path when there is no ctty port.
6783 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
6784 Move sigstate check inside loop so we recheck after handling a signal.
6786 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6788 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
6789 O_EXLOCK are BSD extensions.
6790 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
6792 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
6794 * manual/signal.texi (Termination in Handler): Correct example.
6795 Install default handler before reraising the signal.
6796 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
6798 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
6800 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
6801 null, in which case send an empty string.
6803 1999-03-02 Mark Kettenis <kettenis@gnu.org>
6805 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
6806 backward compatibility EH functions to be linked when using
6807 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
6809 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6811 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
6812 /dev/pts status may change during runtime.
6814 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6816 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
6817 change. /dev/pts status can change during runtime.
6819 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
6821 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
6823 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
6824 add some more sanity checks.
6825 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
6828 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
6830 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
6831 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
6832 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
6833 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
6834 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
6836 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
6837 * nis/nis_print.c: Fix ctime argument for platforms where
6838 sizeof (time_t) != sizeof (int).
6840 1999-03-07 Mark Kettenis <kettenis@gnu.org>
6842 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
6843 CLOCKS_PER_SEC instead of CLK_TCK.
6845 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
6847 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
6848 whether /dev/pts is available.
6849 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
6852 * posix/globtest.sh: Make common_objpfx path absolute and and db2
6853 and hesiod directory to library path [PR libc/1007].
6855 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6857 * resolv/inet_addr.c (inet_aton): Don't allow componets >
6858 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
6860 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
6862 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
6863 DT_PLTGOT has already been relocated.
6864 (__elf_machine_fixup_plt): Likewise.
6867 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
6869 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
6871 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
6873 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
6874 and fold string to uppercase [PR libc/1005].
6876 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6878 * elf/dl-load.c (lose): Fix return type.
6880 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
6882 * sysdeps/mach/hurd/bits/fcntl.h
6883 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
6884 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
6885 set O_NOTRANS as well.
6886 (__hurd_file_name_lookup_retry): At successful end of lookup,
6887 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
6888 it is a translated node not owned by root.
6889 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
6890 on the file name passed to LOOKUP.
6892 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
6894 * manual/time.texi (High Resolution Timer): Correct computation in
6895 example. Reported by jjf@devel.cemsys.com.
6897 1999-03-02 Philip Blundell <pb@nexus.co.uk>
6899 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
6900 entry is already relocated.
6902 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6904 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
6905 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
6907 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6909 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
6910 uc_link which is the right name according to Unix98.
6911 Reported by Craig Metz [PR libc/1001].
6912 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
6913 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
6914 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
6915 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
6916 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
6917 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
6919 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6921 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
6924 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6926 * iconvdata/Makefile: Always include iconv-rules, but disable rule
6927 to regenerate it if avoid-generated.
6929 * Makeconfig: Always include sys-dirs, but disable rule to
6930 regenerate it when avoid-generated.
6932 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
6933 rule to generate sysd-syscalls.
6935 * elf/Makefile (generated): Remove $(objpfx) from names.
6937 1999-02-28 Mark Kettenis <kettenis@gnu.org>
6939 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
6940 actual length if the adress length is smaller than the input
6941 value. Change type of *LEN paramater to socklen_t.
6942 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
6943 * sysdeps/mach/hurd/accept.c (accept): Likewise.
6944 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
6945 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
6946 paramater to socklen_t.
6948 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
6950 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
6951 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
6954 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
6956 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
6957 __get_phys_pages): Cast &HBI to silence warning.
6959 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
6960 * hurd/hurdchdir.c: New file.
6961 * hurd/hurdfchdir.c: New file.
6962 * sysdeps/mach/hurd/chroot.c: Call
6963 _hurd_change_directory_port_from_name to do the work.
6964 * sysdeps/mach/hurd/chdir.c: Likewise.
6965 * sysdeps/mach/hurd/fchdir.c: Call
6966 _hurd_change_directory_port_from_fd to do the work.
6967 * hurd/fchroot.c: Likewise.
6968 * hurd/hurd.h: Declare them.
6970 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
6972 * elf/dl-load.c (lose): Add more comments to explain the `why'.
6973 (_dl_map_object): Remove redundant test.
6975 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
6977 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
6978 try to _hurd_port_free a lower-numbered descriptor that was not in any
6981 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6983 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
6984 declaration for ____wcstod_l_internal.
6986 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
6987 __strtod_internal prototype.
6988 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
6989 (____strtold_l_internal): Add prototype declaration.
6990 (__strtold_l): Call correct function.
6992 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
6994 * elf/elf.h: Add 32bit HPPA definitions.
6996 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6998 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
6999 non-checked heap is restored when malloc checking was requested by
7001 (struct malloc_state): Add using_malloc_checking.
7002 (MALLOC_STATE_VERSION): Increment minor.
7003 (using_malloc_checking, disallow_malloc_check): New variables.
7004 (__malloc_check_init): Use them.
7005 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
7006 that it can the chunk is properly instrumented when malloc
7007 checking is enabled. Set the new using_malloc_checking field.
7008 (malloc_hook_ini): Correct signature when _LIBC is not defined.
7010 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7012 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
7013 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
7016 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
7017 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
7018 if ld.so is the main program.
7020 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
7022 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
7023 large for work_buffer, allocate new buffer.
7024 (printf_unknown): Likewise. [PR libc/988]
7026 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
7028 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
7029 instead of stat and fstat.
7030 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7032 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7034 * elf/dl-error.c (_dl_signal_cerror): New function.
7035 (_dl_signal_error): Don't call receiver function.
7036 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
7037 instead of _dl_signal_error when reporting references to undefined
7038 symbols or versions.
7039 (_dl_lookup_versioned_symbol): Likewise.
7040 (_dl_lookup_versioned_symbol_skip): Likewise.
7041 * elf/dl-version.c (match_symbol): Likewise.
7043 * elf/ldsodefs.h: Declare _dl_signal_cerror.
7045 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
7047 * misc/getttyent.c (getttyent): Release lock on stream later to
7048 also protect global variable zapchar.
7050 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
7051 __times [PR libc/990].
7053 1999-02-21 David S. Miller <davem@redhat.com>
7055 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
7056 parentheses in Feb 2 changes.
7057 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
7059 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7061 * sysdeps/generic/glob.c (glob): Save previous errno.
7063 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
7065 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
7066 lookup functions if it is too small.
7068 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
7070 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
7071 for tracing to the scope lists.
7072 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
7073 DT_SYMTAB is always available according to ELF spec.
7075 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
7076 call test whether there is any scope left.
7077 (_dl_lookup_versioned_symbol_skip): Likewise.
7079 * elf/Makefile (distribute): Add do-lookup.h.
7080 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
7081 * elf/dl-lookup.c: Move do_lookup function in separate file and
7082 include the file twice, for handling versioning and without it.
7084 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
7085 entry is already relocated.
7086 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
7087 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
7088 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
7089 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
7091 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
7093 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
7096 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
7097 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
7098 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
7099 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
7100 rel and rela relocations can both happen and skip one test if this
7102 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
7104 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
7106 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
7108 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
7109 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
7110 (_dl_map_object): DT_STRTAB entry is already relocated.
7111 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
7113 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
7115 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
7116 DT_VERSYM entries are already relocated.
7117 (profile_fixup): Likewise.
7118 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
7120 (match_symbol): DT_STRTAB entry is already relocated.
7121 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
7122 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
7123 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
7124 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
7125 (find_needed): DT_STRTAB entry is already relocated.
7126 (dl_main): Pass extra argument to elf_get_dynamic_info.
7127 DT_STRTAB entry is already relocated.
7128 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
7129 DT_PLTGOT entries are already relocated.
7130 (elf_machine_rela): Likewise for DT_SYMTAB.
7131 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
7133 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7134 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
7135 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7136 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7137 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
7138 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
7139 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
7140 * sysdeps/mips/mips64/dl-machine.h: Likewise.
7142 * grp/initgroups.c (initgroups): If function in current module was
7143 successful don't stop but continue to process to get all the groups.
7145 * elf/dl-load.c (_dl_map_object_from_fd): Use global
7146 _dl_pf_to_proot array to convert p_flags value.
7147 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7149 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
7150 loop to clear `info'.
7152 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
7153 do the work and don't use inline assembler.
7155 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
7157 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
7158 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
7159 noreturn, and prevent it from being inlined.
7160 Define LOSE appropriately.
7161 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
7162 Optimize decoding of p_flags for certain platforms.
7164 1999-02-19 Philip Blundell <pb@nexus.co.uk>
7166 * Makeconfig (link-libc): When doing a static link, make sure that
7167 libgcc.a is included both before and after libc.a.
7169 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
7171 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
7172 sp_warn, sp_inact, sp_expire and sp_flag.
7174 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
7176 * elf/link.h (link_map): Add l_dev and l_ino.
7177 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
7178 loaded shared object with all loaded objects. Initialize l_ino
7179 and l_dev in case it's new.
7180 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
7182 * elf/Makefile: Compile and run new test.
7183 * elf/multiload.c: New file.
7185 * nss/nsswitch.h (service_user): Change name field from const char *
7187 (name_database_entry): Likewise.
7188 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
7189 for change of `service_user'.
7190 (nss_getline): Adjust memory allocation for change of
7191 `name_database_entry'.
7193 * catgets/catgets.c: Correctly handle NLSPATH from environment
7196 * io/Makefile (routines): Add lock64.
7197 * io/Versions: Add lockf64 for GLIBC_2.1.1.
7198 * sysdeps/generic/lockf64.c: New file.
7200 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
7202 * string/bits/string2.h: Only use strncmp optimization if count
7203 argument is constant.
7205 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
7207 * sysdeps/mach/hurd/revoke.c: New file.
7209 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
7211 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
7212 int to avoid warning about `ISO C restricts enumerator values to
7215 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7217 * elf/dlfcn.h: Fix typo.
7218 * sysdeps/generic/bits/dlfcn.h: Likewise.
7219 * sysdeps/mips/bits/dlfcn.h: Likewise.
7221 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
7223 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
7224 for the case N == 0.
7226 * db2/Makefile (distribute): Add LICENSE.
7228 1999-02-03 Jeff Bailey <jbailey@nisa.net>
7230 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
7233 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
7235 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
7237 * time/mktime.c: Use ISO C form for function definitions and
7238 remove unnecessary prototypes.
7240 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
7242 * time/time.h: Avoid unneccesary #ifdef.
7244 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
7246 * stdio-common/_itoa.c (_itoa): Correct parameters to
7249 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7251 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
7252 before (e.g. in glob.h).
7255 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7257 * sysdeps/mips/fpu_control.h: Fix typo.
7258 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
7261 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
7263 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
7264 the "unused" ends of the sockets. Let pipes be bidirectional.
7266 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
7268 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
7271 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7273 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
7274 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
7276 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
7277 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
7279 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
7281 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
7283 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7285 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
7286 check for priority mask.
7288 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
7290 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
7291 Reported by Craig Metz <cmetz@inner.net> .
7293 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7295 * stdio-common/Makefile (tests): tllformat added.
7297 * stdio-common/tllformat.c: New program, based on tiformat.c with
7298 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
7300 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7302 * posix/test-vfork.c: Fix exit status test.
7304 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7306 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
7307 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
7309 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7311 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
7312 of separare explicit comparisons.
7314 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7316 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
7319 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
7322 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
7324 * po/el.po: Update from translation team.
7326 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7328 * intl/locale.alias: Fix slovenian entry [PR libc/948].
7330 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7332 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
7333 * inet/ruserpass.c: Likewise.
7334 * locale/programs/stringtrans.c: Likewise.
7335 * locale/programs/localedef.c: Likewise.
7336 * nscd/grpcache.c: Likewise.
7337 * nss/nss_files/files-XXX.c: Likewise.
7338 * stdlib/canonicalize.c: Likewise.
7339 * sysdeps/posix/sigwait.c: Likewise.
7341 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7343 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
7344 even on 64 bit platforms.
7346 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7347 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
7349 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
7351 * intl/dcgettext.c: Include locale.h is available.
7353 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
7355 * po/nl.po: Update from translation team.
7357 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
7359 * Makefile: Allow calling goals for po subdir.
7361 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
7364 * po/el.po: New file.
7366 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7368 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
7369 when processing DT_SYMBOLIC objects.
7371 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7373 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
7374 program headers without PT_PHDR only require that they are
7375 contained within one of the loaded segments. Don't use assert,
7376 since that would be a bug in the object, not the dynamic linker.
7378 1999-02-08 Richard Henderson <rth@cygnus.com>
7380 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
7381 restore all call-clobbered fp regs.
7383 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
7385 * po/cs.po: New file.
7387 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
7390 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
7392 * signal/signal.h: Don't declare __libc_allocate_rtsig.
7393 * include/signal.h: Declare __libc_allocate_rtsig here.
7395 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
7396 point functions, not do_lookup since the later can be called more
7399 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
7401 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
7402 macro, so that architectures which need to add some special
7403 offset to stack pointer can share this file.
7405 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
7406 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
7407 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
7408 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
7410 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
7411 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
7412 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
7413 between sparc32 and sparc64.
7415 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
7416 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
7417 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
7418 between sparc32 and sparc64.
7420 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
7421 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
7422 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
7423 between sparc32 and sparc64.
7425 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
7426 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
7427 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
7428 between sparc32 and sparc64.
7430 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
7432 * Versions.def: New version GLIBC_2.1.1 for libc.
7433 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
7434 * stdlib/labs.c: Moved to...
7435 * sysdeps/generic/labs.c: ...here.
7436 * stdlib/llabs.c: Moved to...
7437 * sysdeps/generic/llabs.c: ...here.
7438 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
7439 header. Declare _Exit.
7440 * sysdeps/generic/_exit.c: Add alias _Exit.
7441 * sysdeps/mach/hurd/_exit.c: Likewise.
7442 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
7443 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
7444 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
7445 * sysdeps/unix/_exit.c: Likewise.
7446 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
7447 imaxdiv and imaxabs. Declare lldiv_t if necessary.
7448 * sysdeps/wordsize-64/inttypes.h: Likewise.
7449 * sysdeps/wordsize-32/llabs.c: New file.
7450 * sysdeps/wordsize-32/lldiv.c: New file.
7451 * sysdeps/wordsize-64/labs.c: New file.
7452 * sysdeps/wordsize-64/ldiv.c: New file.
7453 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
7454 * manual/startup.texi: Document _Exit.
7456 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7458 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
7460 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
7462 * Versions.def: Add versions for ld.so.
7463 * csu/Versions: Remove __libc_stack_end here.
7464 * elf/Versions: Split libc definitions in libc and ld.so definitions.
7465 * elf/Makefile (ld-map): Change to ld.so.map.
7466 * scripts/versions.awk: Recognize dot in library names.
7468 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
7469 Don't use __tolower and __toupper in inline functions.
7470 Add optimizing macros for tolower and toupper.
7471 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
7472 (_toupper): Don't use __toupper.
7473 * ctype/ctype.c (tolower): Don't use __tolower.
7474 (toupper): Don't use toupper.
7476 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
7478 * resolv/Versions (libresolv): Export __ns_name_unpack and
7480 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
7481 make it global. Change all users. Similar for ns_name_ntop.
7482 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
7483 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
7484 directly to detect too small buffer.
7485 * resolv/nss_dns/dns-network.c: Likewise.
7487 * stdio-common/Makefile (tests): Add scanf12.
7488 * stdio-common/scanf12.c: New file.
7489 * stdio-common/scanf12.input: New file.
7490 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
7491 floating-point correctly if the number is invalid.
7493 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
7495 * stdio-common/printf_fp.c: Likewise.
7496 * stdio-common/printf_fphex.c: Likewise.
7497 * stdio-common/vfprintf.c: Likewise.
7500 See ChangeLog.9 for earlier changes.