1 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
3 * configure.in: Recognize 2.95 as gcc version number.
4 Patch by Joel Klecker <jk@espy.org>.
6 1999-07-12 Andreas Schwab <schwab@suse.de>
8 * elf/rtld.c (dl_main): When putting back the interpreter object
9 handle the case where a missing object might occur in the list of
10 objects but not in the search list when in trace mode.
12 1999-07-11 Ulrich Drepper <drepper@cygnus.com>
14 * Versions.def (libnss_hesiod): Add GLIBC_2.2.
15 * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
16 _nss_hesiod_initgroups.
18 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
20 * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
21 (_hurd_set_brk, init_brk): Use that instead of &__data_start.
22 Initialize it from &__data_start if defined, or else &_end.
24 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
26 * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
27 for MAP_ANON, prot==PROT_READ|PROT_WRITE.
29 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
31 * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
33 1999-07-09 H.J. Lu <hjl@gnu.org>
35 * Versions.def (GLIBC_2.1.2): Added.
37 * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
39 * nss/getXXbyYY_r.c: Likewise.
41 * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
43 * inet/Versions (getaliasbyname_r, getaliasent_r,
44 gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
45 gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
46 getnetgrent_r, getprotobyname_r, getprotobynumber_r,
47 getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
48 getservbyname_r): Likewise.
49 * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
50 * shadow/Versions (getspent_r, getspnam_r): Likewise.
52 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
54 * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
56 (__memset_cc): Likewise.
58 * sysdeps/generic/libc-start.c: For SUID binaries check whether
59 the standard file descriptors are open.
60 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
62 * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
63 * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
64 range of mmap. If not fail.
65 Patches by Daniel Jacobowitz <dan@debian.org>.
67 * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
68 before the relocation happened.
69 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
71 * Versions.def (libnsl): Add GLIBC_2.2.
72 * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
74 1999-07-08 Cristian Gafton <gafton@redhat.com>
76 * nis/yp_xdr.c (xdr_ypall): New function.
78 1999-07-09 Andreas Schwab <schwab@suse.de>
80 * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
82 * dlfcn/Makefile (headers): Add bits/dlfcn.h.
84 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
86 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
87 * hesiod/hesiod-grp.c: Add initgroups support.
88 Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
90 1999-07-08 Andreas Schwab <schwab@suse.de>
92 * libio/iofopncook.c (fopencookie): Set _fileno to -2.
94 * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
97 * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
99 * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
101 1999-07-08 Andreas Schwab <schwab@suse.de>
103 * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
105 1999-07-08 Andreas Schwab <schwab@suse.de>
107 * libio/fileno.c: Return -1 instead of EOF and set errno if the
108 stream is not a real file stream.
110 1999-07-08 Andreas Schwab <schwab@suse.de>
112 * manual/charset.texi: Fix typos.
114 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
116 * sysdeps/gnu/Makefile (libdl-routines): Add eval.
118 1999-07-06 Zack Weinberg <zack@rabi.columbia.edu>
120 * dlfcn: New directory. Move the following files from elf:
121 dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
122 dlopenold.c, dlsym.c, dlvsym.c.
123 * dlfcn/Makefile: New file.
124 * dlfcn/Versions: New file.
125 * dlfcn/dlsym.c: All ELF-specific code split out to new
127 * dlfcn/dlvsym.c: All ELF-specific code split out to new
129 * elf/dl-sym.c: New file. _dl_sym and _dl_vsym are
132 * dlfcn/dladdr.c: Remove all references to ELF data structures
134 * dlfcn/dlclose.c: Likewise.
135 * dlfcn/dlerror.c: Likewise.
136 * dlfcn/dlopen.c: Likewise.
137 * dlfcn/dlopenold.c: Likewise.
139 * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
140 yes, empty otherwise.
141 (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
142 depending on build-shared.
143 (subdirs): Add $(dlfcn).
144 (rpath-dirs): Add dlfcn.
145 * elf/Makefile: Remove all references to libdl or its
146 components, except the ones relating to the test cases.
147 (routines): Add dl-sym.
148 * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
151 * elf/dl-close.c (_dl_close): Change argument to void *.
152 * elf/dl-open.c (_dl_open): Change return type to void *.
153 * elf/eval.c: Removed.
154 * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
155 _dlerror_run, _dl_open, _dl_close, _dl_addr, and
156 _dl_mcount_wrapper_check to include/dlfcn.h. Delete
158 * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
159 Include real header from dlfcn directory.
160 * include/ldsodefs.h: Removed.
162 * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
163 * nss/getXXbyYY_r.c: Likewise.
164 * nss/getXXent_r.c: Likewise.
165 * iconv/gconv.c: Likewise. Don't include ldsodefs.h.
166 * iconv/gconv_db.c: Likewise. Don't include ldsodefs.h.
167 * iconv/skeleton.c: Don't include ldsodefs.h.
168 * nss/nsswitch.h: Don't include ldsodefs.h. Include dlfcn.h.
170 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
172 * sysdeps/generic/setenv.c: Describe problem.
174 * malloc/malloc.c (request2size): Also set errno if failing.
176 * malloc/malloc.c (request2size): Take care of overflow in
179 * sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd
180 (NULL, != 0) correctly.
182 * elf/dl-load.c: Use a few more __builtin_expect.
184 * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
187 1999-07-07 Andreas Schwab <schwab@suse.de>
189 * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
190 (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
191 (_PATH_DEVPTMX): Use _PATH_DEV.
193 1999-07-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
195 * malloc/tst-malloc.c: New file. Tests some basic functionality.
196 * malloc/Makefile (tests): Add tst-malloc.
198 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
200 * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
203 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
205 Patch by Jay Estabrook.
207 * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
209 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
210 Patch by Cristian Gafton.
212 1999-07-02 Cristian Gafton <gafton@redhat.com>
214 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
215 instead of "return NULL" to make C++ happy.
217 1999-07-04 Mark Kettenis <kettenis@gnu.org>
219 * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
220 allowed by the file access mode of the open file.
222 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
224 * sysdeps/generic/setfpucw.c: Include math.h to get all needed
227 1999-07-03 Jakub Jelinek <jj@ultra.linux.cz>
229 * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
230 * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
231 * sysdeps/sparc/sparc64/rshift.S: Likewise.
232 * sysdeps/sparc/sparc64/mul_1.S: Optimize.
234 1999-07-04 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
236 * malloc/malloc.c (request2size): Check for overflow and return
237 NULL whenever it is encountered.
239 1999-07-04 Zack Weinberg <zack@rabi.columbia.edu>
241 * sysdeps/posix/tempname.c (__gen_tempname): Add
242 ability to create directories. Replace OPENIT and LARGEFILE
243 args with a single flags parameter.
244 * sysdeps/generic/tempname.c: Likewise.
245 * include/stdio.h: Adjust prototype of __gen_tempname to
246 match. Define symbolic constants for second argument.
248 * misc/mkdtemp.c: New file, provides new function mkdtemp().
249 * stdlib/stdlib.h: Prototype it.
250 * misc/Versions: Export it.
251 * misc/Makefile (routines): Add mktemp.
252 * manual/filesys.texi: Document it.
254 * misc/mktemp.c: Adjust call of __gen_tempname to match new
256 * misc/mkstemp.c: Likewise.
257 * stdio-common/tempnam.c: Likewise.
258 * stdio-common/tmpfile.c: Likewise.
259 * stdio-common/tmpfile64.c: Likewise.
260 * stdio-common/tmpnam.c: Likewise.
261 * stdio-common/tmpnam_r.c: Likewise.
263 1999-07-05 Jakub Jelinek <jj@ultra.linux.cz>
265 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
266 R_SPARC_OLO10 relocations.
267 * elf/elf.h (R_SPARC_OLO10): Fix comment.
269 1999-07-02 Tim Waugh <tim@cyberelk.demon.co.uk>
271 * posix/wordexp-test.c: Revert bogus 'unset IFS' change. It
272 doesn't belong in the tests, but in the wordexp implementation.
274 * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
277 1999-07-01 Cristian Gafton <gafton@redhat.com>
279 * time/strptime.c (strptime): Initialize the tm struct first to avoid
280 returning bogus results on incomplete data.
281 (strptime_internal): day_of_the_week() requres bith tm_mon and
282 tm_mday to be initializaed.
283 Computer them first if they are not given.
284 (strptime_internal): (have_mon, have_mday): New variables.
286 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
288 * inet/rcmd.c (__icheckhost): Fix typo in last patch.
290 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
292 * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
293 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
295 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
297 * posix/wordexp.c (parse_tilde): Handle failing call to
298 get.*_r functions correctly for non-existing entry.
299 * sysdeps/posix/cuserid.c (cuserid): Likewise.
300 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
302 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
304 * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
305 getxxbyYY_r functions correctly for non-existing entry.
306 * sunrpc/getrpcport.c: Likewise.
307 * sunrpc/clnt_simp.c: Likewise.
308 * inet/rexec.c: Likewise.
309 * sunrpc/clnt_gen.c: Likewise.
310 * inet/rcmd.c: Likewise.
311 * sysdeps/generic/glob.c: Likewise.
313 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
315 * pwd/Makefile (tests): Add rules for tst-getpw.
317 * pwd/tst-getpw.c: New program to test getpw.
319 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
321 * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
324 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
326 * manual/arith.texi (System V Number Conversion): Fix the
327 description which confused pointer and value to pointer.
328 Reported by Andries.Brouwer@cwi.nl.
330 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
332 * pwd/getpw.c (__getpw): Check for NULL result pointer.
334 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
336 * manual/users.texi (Lookup User): Document POSIX return
337 semantics for getpwuid_r and getgrgid_r.
339 * manual/socket.texi (Host Names): Document that the result
340 pointer is null in case of error or host not found and fix a
341 typo. Give a small example.
343 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
345 * pwd/getpw.c: Add warning since no buffer size is given and
346 therefore no overrun tests are possible.
348 1999-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
350 * pwd/pwd.h: Add getpw prototype declaration.
352 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
354 * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
355 * wcsmbs/wcschr.c: Likewise.
357 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
359 * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
361 * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
362 * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
363 Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
365 * elf/dl-dst.h: Fix typo.
366 * elf/dl-open.c: Likewise.
368 1999-06-26 Zack Weinberg <zack@rabi.columbia.edu>
370 * elf/dl-libc.c: New file, provides three functions:
371 __libc_dlopen, __libc_dlclose, __libc_dlsym.
372 * include/dlfcn.h: Prototype them. Prototype _dl_addr.
373 * elf/Makefile (routines): Add dl-libc.c.
374 * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
376 * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
378 * iconv/gconv.c: Include dlfcn.h.
379 * iconv/gconv_db.c: Likewise.
380 * malloc/mtrace.c: Likewise. Don't include ldsodefs.h.
382 * iconv/gconv_int.h (struct __gconv_loaded_object): Change
383 `handle' to a void *.
384 (__gconv_find_func): Delete prototype.
386 * iconv/gconv_dl.c: Don't include ldsodefs.h. Remove
387 dlerror_run and related functions and structs. Use
388 __libc_dlopen, __libc_dlsym, __libc_dlclose.
389 * nss/nsswitch.c: Likewise.
391 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
393 * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
396 * sunrpc/getrpcport.c: Test for gethostbyname_r function
399 * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
401 * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
404 * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
406 * inet/rcmd.c: Test for gethostbyname_r result correctly. Optimize
409 * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
411 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
413 * manual/string.texi (Copying and Concatenation): Mention that
414 strndup is a GNU extension.
416 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
418 * pwd/getpw.c (__getpw): Fix check for error return.
420 1999-06-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
422 * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
423 occurence of the aux object start with the current list entry, not
424 the new one. Adjust tail pointer in the unique list. Explain how
425 the meaning of the variables changes [PR libc/1168].
427 1999-06-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
429 * sysdeps/m68k/fpu/Dist: New file.
431 1999-06-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
433 * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
435 * sysdeps/m68k/fpu/mathimpl.h: ... here. New file.
436 * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
437 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
438 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
439 * sysdeps/m68k/fpu/e_pow.c: Likewise.
440 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
441 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
442 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
443 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
444 * sysdeps/m68k/fpu/s_csin.c: Likewise.
445 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
446 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
447 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
448 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
449 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
450 * sysdeps/m68k/fpu/s_modf.c: Likewise.
452 1999-06-25 Roland McGrath <roland@baalperazim.frob.com>
454 * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
455 hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
456 _EXTERN_INLINE, use a macro specific to each file,
457 _HURD_FD_H_EXTERN_INLINE and the like.
458 * hurd/Makefile (inline-headers): New variable.
459 (routines): Remove hurdinline. Add $(inlines).
460 (inlines): New variable.
461 ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
462 (generated): Append those here.
463 * hurd/hurdinline.c: File removed.
465 * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
467 * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
469 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
471 * nscd/connections.c (nscd_run): Use correct type for optlen variable.
473 1999-06-25 Ulrich Drepper <drepper@cygnus.com>
475 * string/bits/string2.h (strnlen): Remove extra prototype.
477 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
479 * manual/filesys.texi (Working on Directory Trees): Fix typos.
480 Reported by Andries.Brouwer@cwi.nl.
482 1999-06-24 Ulrich Drepper <drepper@cygnus.com>
484 * nscd/connections.c (handle_request): Use correct type for optlen
487 * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
488 * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
490 1999-06-24 Thorsten Kukuk <kukuk@suse.de>
492 * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
493 * nscd/pwdcache.c: Likewise.
494 * nscd/hstcache.c: Likewise.
496 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
498 * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
500 * posix/getopt.h: Include stdio.h.
502 * manual/arith.texi: Document restriction of ndigit parameter of
504 * misc/efgcvt.c: Define NDIGIT_MAX.
505 (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
506 Do not dynamically allocate the static buffers. They are small enough.
507 * misc/efgcvt_r.c: Define NDIGIT_MAX.
508 (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
509 * misc/qefgcvt.c: Define NDIGIT_MAX.
510 * misc/qefgcvt_r.c: Likewise.
511 * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
513 1999-06-23 Zack Weinberg <zack@rabi.columbia.edu>
515 * libio/stdio.h: Define stdin, stdout, stderr as macros.
516 * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
517 These are *pragmas* not macros.
518 * wcsmbs/wchar.h: Fix comment.
520 * grp/grp.h: Use __foo_t_defined convention to typedef things
522 * io/sys/stat.h: Likewise.
523 * libio/stdio.h: Likewise.
524 * posix/unistd.h: Likewise.
525 * posix/sys/types.h: Likewise.
526 * posix/sys/wait.h: Likewise.
527 * pwd/pwd.h: Likewise.
528 * signal/signal.h: Likewise.
529 * sysdeps/generic/stdint.h: Likewise.
530 * sysdeps/gnu/utmpx.h: Likewise.
531 * termios/termios.h: Likewise.
533 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
535 * stdio/fputc.c: Don't define alias if fputc is defined as a
537 * stdio/putc.c: Define weak alias here since it is not done
540 1999-06-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
542 * assert/assert.h: Don't produce `defined' as part of macro
545 1999-06-23 Roland McGrath <roland@baalperazim.frob.com>
547 * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
548 OFFSET argument of (off_t) -1.
549 * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
550 OFFSET argument of (off_t) -1.
552 * sysdeps/mach/hurd/pwrite.c: New file.
553 * sysdeps/mach/hurd/pread.c: New file.
555 * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
556 pass it in the RPC instead of always -1.
557 * hurd/fd-write.c (_hurd_fd_write): Likewise.
558 * hurd/hurd/fd.h: Update decls.
560 1999-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
562 * libio/wscanf.c: Include <wchar.h> for prototype.
564 1999-06-22 Ulrich Drepper <drepper@cygnus.com>
566 * manual/io.texi. Fix typos.
567 * manual/stdio.texi: Likewise.
568 Patches by Brian Youmans <3diff@gnu.org>.
570 1999-06-22 Geoff Keating <geoffk@ozemail.com.au>
572 * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
573 bits of two words differ.
575 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
577 * libio/Makefile (routines): Add putwchar and putwchar_u.
579 * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
580 * libio/putwchar_u.c: Likewise. Use _IO_stdout instead of
581 stdout. Fix parameter name.
583 * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
584 * libio/getchar_u.c: Likewise.
586 * libio/putchar_u.c: Use _IO_stdout instead of stdout.
588 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
590 * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
591 macro expansion---it's undefined. Properly parenthesize
592 substituted parameters.
593 (__GLIBC_PREREQ): Likewise.
595 1999-06-21 Ulrich Drepper <drepper@cygnus.com>
597 * Makeconfig (CPPFLAGS): Revert last change. It has too many
600 * stdlib/longlong.h: Provide __P definition if not already
603 * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
605 1999-06-18 Thorsten Kukuk <kukuk@suse.de>
607 * sysdeps/alpha/atomicity.h: Correct counting of subsections.
609 1999-06-17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
611 * stdlib/tst-strtoll.c: Avoid warning about huge constant.
613 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
615 * stdio-common/vfprintf.c (group_member): Make parameters and
616 return types pointers to CHAR_T instead of UCHAR_T.
617 (vfprintf): Change type of work_buffer, workend and string to
618 CHAR_T pointer/array.
619 (process_arg, process_string_arg): Adjust/remove casts. Add
620 missing use of L_ macro.
621 (printf_unknown): Add missing uses of L_ macro.
623 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
625 * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
628 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
630 * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF. Call
631 _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
632 (__wunderflow): Likewise.
633 (_IO_switch_to_wget_mode): Likewise.
634 (_IO_init_wmarker): Likewise.
636 * libio/wfileops.c (_IO_wfile_seekoff): Call
637 _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
638 (_IO_wfile_jumps): Fix pbackfail entry.
640 * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
641 function if the stream is currently unoriented.
643 1999-06-19 Zack Weinberg <zack@rabi.columbia.edu>
645 * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
646 Wrap all wide stream functions with #ifdef __USE_ISOC9X. Use
647 __gnuc_va_list in v*w(printf|scanf) prototypes.
649 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
651 * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
652 1999-03-29 to iopopen also here.
653 Reported by Richard Braakman <dark@xs4all.nl>.
655 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
657 * include/features.h: Use __GNUC_PREREQ.
658 * sysdeps/i386/fpu/bits/mathinline.h: Likewise
660 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
662 * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
663 Change EOF to WEOF and remove cast.
664 (UNGETC): Remove macro.
665 (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
666 * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
667 Change ISASCII to isascii and MBRLEN to mbrlen.
668 (parse_one_spec): Compare info.spec always against wchar_t
670 * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
671 (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
672 (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
674 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
676 * libio/Makefile (shared-only-routines): Add oldiofgetpos,
677 oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
678 (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
679 oldiofsetpos64 only if doing versioning.
681 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
683 * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
685 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
687 * libio/libio.h: Fix last patch.
689 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
691 * libio/libio.h (_IO_putwc): Correct type of first argument.
692 * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
693 putwc_unlocked, putwchar_unlocked): Likewise.
694 * libio/fputwc.c: Likewise.
695 * libio/fputwc_unlocked.c: Likewise.
696 * libio/putwc.c: Likewise.
697 * libio/putwc_unlocked.c: Likewise.
698 * libio/putwchar.c: Likewise.
699 * libio/putwchar_unlocked.c: Likewise.
701 1999-06-19 Roland McGrath <roland@baalperazim.frob.com>
703 * sysdeps/gnu/siglist.h: File moved to ...
704 * sysdeps/generic/siglist.h: ... here. This file should be usable for
705 any platform, since it just associates the SIG* macros with text names
706 and descriptions. For any signal macros do not exist on every
707 platform, we can use #ifdef tests here and still use this single
708 common file for all platforms.
709 * sysdeps/generic/siglist.c: Rewrite using <siglist.h>. This file
710 should be usable for all platforms after the binary compatibility
711 stuff in the current sysdeps/gnu version is no longer required.
712 * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
713 * sysdeps/generic/make_siglist.c: File removed.
714 * sysdeps/mach/hurd/siglist.h: Use #include_next.
715 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
717 1999-06-16 Roland McGrath <roland@baalperazim.frob.com>
719 * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
720 * sysdeps/gnu/siglist.c: ... here.
721 Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
722 Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
723 * sysdeps/gnu/siglist.h: New file, contents from linux version.
724 Add entry for SIGLOST protected by #ifdef.
725 * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
726 and define OLD_SIGLIST_SIZE_STR.
727 * sysdeps/mach/hurd/siglist.h: New file, likewise.
729 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
731 * include/features.h: Define new macros __GNUC_PREREQ and
732 __GLIBC_PREREQ which can be used to test the version of gcc
733 and glibc respectively.
735 * assert/assert.h: Use __GNUC_PREREQ.
736 * intl/libintl.h: Likewise.
737 * math/complex.h: Likewise.
738 * math/tgmath.h: Likewise.
739 * misc/sys/cdefs.h: Likewise.
740 * posix/sys/types.h: Likewise.
741 * socket/sys/socket.h: Likewise.
742 * string/bits/string2.h: Likewise.
743 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
744 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
746 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
748 * include/libintl.h: Declare _libc_intl_domainname here.
749 Define _ and N_ here.
750 * include/libc-symbols.h: Don't include <libintl.h>. Don't
751 define _ and N_. Don't declare _libc_intl_domainname.
752 * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
754 * db2/config.h: Don't include sys/stat.h or define
755 HAVE_ST_BLKSIZE here...
756 * db2/compat.h: ...do it here.
758 * linuxthreads/internals.h: Include bits/libc-tsd.h after all
760 * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
761 * iconv/iconv.c: Include stddef.h for NULL.
762 * malloc/malloc.h: Include features.h.
763 * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
765 * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
766 into the generated file.
767 * sysdeps/gnu/errlist.awk: Likewise.
768 * sysdeps/gnu/errlist.c: Rebuilt.
770 * assert/assert-perr.c: Include libintl.h.
771 * assert/assert.c: Likewise.
772 * elf/dl-open.c: Likewise.
773 * elf/dlsym.c: Likewise.
774 * elf/dlvsym.c: Likewise.
775 * iconv/iconv_prog.c: Likewise.
776 * inet/rcmd.c: Likewise.
777 * inet/ruserpass.c: Likewise.
778 * locale/programs/charset.c: Likewise.
779 * locale/programs/ld-collate.c: Likewise.
780 * locale/programs/ld-ctype.c: Likewise.
781 * locale/programs/ld-messages.c: Likewise.
782 * locale/programs/ld-monetary.c: Likewise.
783 * locale/programs/ld-numeric.c: Likewise.
784 * locale/programs/ld-time.c: Likewise.
785 * locale/programs/locfile.c: Likewise.
786 * locale/programs/repertoire.c: Likewise.
787 * login/programs/database.c: Likewise.
788 * login/programs/request.c: Likewise.
789 * malloc/mcheck.c: Likewise.
790 * misc/error.c: Likewise.
791 * nis/nis_call.c: Likewise.
792 * nis/nis_callback.c: Likewise.
793 * nis/nis_error.c: Likewise.
794 * nis/nis_local_names.c: Likewise.
795 * nis/nis_print.c: Likewise.
796 * nis/nis_print_group_entry.c: Likewise.
797 * nis/ypclnt.c: Likewise.
798 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
799 * nscd/cache.c: Likewise.
800 * nscd/connections.c: Likewise.
801 * nscd/grpcache.c: Likewise.
802 * nscd/hstcache.c: Likewise.
803 * nscd/nscd_conf.c: Likewise.
804 * nscd/nscd_stat.c: Likewise.
805 * nscd/pwdcache.c: Likewise.
806 * posix/id.c: Likewise.
807 * resolv/herror.c: Likewise.
808 * stdio-common/psignal.c: Likewise.
809 * string/strsignal.c: Likewise.
810 * sunrpc/auth_unix.c: Likewise.
811 * sunrpc/clnt_perr.c: Likewise.
812 * sunrpc/clnt_raw.c: Likewise.
813 * sunrpc/clnt_tcp.c: Likewise.
814 * sunrpc/clnt_udp.c: Likewise.
815 * sunrpc/clnt_unix.c: Likewise.
816 * sunrpc/get_myaddr.c: Likewise.
817 * sunrpc/pm_getmaps.c: Likewise.
818 * sunrpc/pmap_clnt.c: Likewise.
819 * sunrpc/pmap_rmt.c: Likewise.
820 * sunrpc/rpc_main.c: Likewise.
821 * sunrpc/rpc_scan.c: Likewise.
822 * sunrpc/svc_run.c: Likewise.
823 * sunrpc/svc_simple.c: Likewise.
824 * sunrpc/svc_tcp.c: Likewise.
825 * sunrpc/svc_udp.c: Likewise.
826 * sunrpc/svc_unix.c: Likewise.
827 * sunrpc/xdr_rec.c: Likewise.
828 * sunrpc/xdr_ref.c: Likewise.
829 * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
830 * sysdeps/posix/gai_strerror.c: Likewise.
831 * sysdeps/unix/siglist.c: Likewise.
832 * sysdeps/unix/sysv/linux/siglist.c: Likewise.
833 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
834 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
835 * timezone/zic.c: Likewise.
837 1999-06-18 H.J. Lu <hjl@gnu.org>
839 * localedata/Makefile (charmaps): Exclude SCCS.
841 (repertoiremaps): Likewise.
843 1999-06-18 Ulrich Drepper <drepper@cygnus.com>
845 * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
846 * sysdeps/generic/bsd-setjmp.c: Likewise.
848 * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
850 * iconv/gconv_open.c: Include string.h for memset prototype.
852 * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
855 * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
856 assignment to avoid warning on 64bit platforms.
858 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
860 * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
862 * nss/getXXbyYY_r.c: Return error code not -1.
863 * nss/getXXent_r.c: Likewise.
864 * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
866 * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
868 * nscd/nscd_gethst_r.c: Likewise.
869 * nscd/nscd_getpw_r.c: Likewise.
871 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
873 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
876 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
878 * nscd/nscd_nischeck.c: Fix typos.
880 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
882 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
883 always when oact is NULL.
884 Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
886 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
888 * math/libm-test.c (jn_test): Adjust delta.
890 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
892 * libio/vwprintf.c: Include <wchar.h> for prototypes.
893 * libio/wprintf.c: Likewise.
895 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
897 * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
898 to not write beyond allocated memory.
899 Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
901 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
903 * malloc/mtrace.c: Keep lock while printing output lines.
904 Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
906 1999-06-16 Ulrich Drepper <drepper@cygnus.com>
908 * configure.in: Add warnings about broken code.
910 * Versions.def: Add GLIBC_2.2 for libc.
912 * iconv/gconv.h: Make header suitable for inclusion in public header
913 by protecting all names with __.
914 * iconv/gconv.c: Adapt for symbol name changes.
915 * iconv/gconv.h: Likewise.
916 * iconv/gconv_builtin.c: Likewise.
917 * iconv/gconv_close.c: Likewise.
918 * iconv/gconv_db.c: Likewise.
919 * iconv/gconv_dl.c: Likewise.
920 * iconv/gconv_int.h: Likewise.
921 * iconv/gconv_open.c: Likewise.
922 * iconv/gconv_simple.c: Likewise.
923 * iconv/iconv.c: Likewise.
924 * iconv/iconv_close.c: Likewise.
925 * iconv/iconv_open.c: Likewise.
926 * iconv/loop.c: Likewise.
927 * iconv/skeleton.c: Likewise.
928 * iconvdata/8bit-gap.c: Likewise.
929 * iconvdata/8bit-generic.c: Likewise.
930 * iconvdata/ansi_x3.110.c: Likewise.
931 * iconvdata/big5.c: Likewise.
932 * iconvdata/cns11643.h: Likewise.
933 * iconvdata/cns11643l1.h: Likewise.
934 * iconvdata/euc-cn.c: Likewise.
935 * iconvdata/euc-jp.c: Likewise.
936 * iconvdata/euc-kr.c: Likewise.
937 * iconvdata/euc-tw.c: Likewise.
938 * iconvdata/gb2312.h: Likewise.
939 * iconvdata/iso-2022-jp.c: Likewise.
940 * iconvdata/iso-2022-kr.c: Likewise.
941 * iconvdata/iso646.c: Likewise.
942 * iconvdata/iso8859-1.c: Likewise.
943 * iconvdata/iso_6937-2.c: Likewise.
944 * iconvdata/iso_6937.c: Likewise.
945 * iconvdata/jis0201.h: Likewise.
946 * iconvdata/jis0208.h: Likewise.
947 * iconvdata/jis0212.h: Likewise.
948 * iconvdata/johab.c: Likewise.
949 * iconvdata/ksc5601.h: Likewise.
950 * iconvdata/sjis.c: Likewise.
951 * iconvdata/t.61.c: Likewise.
952 * iconvdata/uhc.c: Likewise.
953 * stdlib/mblen.c: Likewise.
954 * stdlib/mbtowc.c: Likewise.
955 * stdlib/wctomb.c: Likewise.
956 * wcsmbs/btowc.c: Likewise.
957 * wcsmbs/mbrtowc.c: Likewise.
958 * wcsmbs/mbsnrtowcs.c: Likewise.
959 * wcsmbs/mbsrtowcs.c: Likewise.
960 * wcsmbs/wchar.h: Likewise.
961 * wcsmbs/wcrtomb.c: Likewise.
962 * wcsmbs/wcsmbsload.c: Likewise.
963 * wcsmbs/wcsmbsload.h: Likewise.
964 * wcsmbs/wcsnrtombs.c: Likewise.
965 * wcsmbs/wcsrtombs.c: Likewise.
966 * wcsmbs/wctob.c: Likewise.
968 * include/limits.h (MB_LEN_MAX): Increase to 16.
970 * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct. Define
972 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
973 * include/wchar.h: Change mbstate_t to __mbstate_t.
975 * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
976 oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
977 getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
978 iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
979 putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
980 vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
982 (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
983 * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
984 _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
985 fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
986 fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
987 getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
988 putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
989 vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
991 * libio/libio.h: Define codecvt struct. Define _IO_wide_data.
992 Extend _IO_file contain pointer to codecvt, widedata and mode.
993 (_IO_getwc_unlocked): New macro.
994 (_IO_putwc_unlocked): New macro.
995 (_IO_fwide): New macro.
996 * libio/libioP.h: Add new prototypes and adjust existing declarations.
997 * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
998 buffers based on mode.
999 (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
1001 (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
1002 flag to be enough to signal unallocated buffer. For wide oriented
1003 stream don't make it linebuffered. Don't use _IO_do_flush, use
1004 _IO_new_do_write directly.
1005 (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
1006 (_IO_file_seek): Likewise.
1007 * libio/genops.c (_IO_least_marker): Make global.
1008 (__underflow): Orient stream if not already done.
1009 (__uflow): Likewise.
1010 (_IO_default_seekpos): Change to type _IO_off64_t.
1011 (_IO_default_seekoff): Likewise.
1012 (_IO_default_seek): Likewise.
1013 (_IO_no_init): New function. Similar to _IO_init but allows to orient
1015 * libio/iolibio.h: Add prototype for _IO_vswprintf. Change _IO_pos_BAD
1017 * libio/ftello.c: Use _IO_off_t. For now abort when use with wide
1019 * libio/ftello64.c: Likewise.
1020 * libio/ioftell.c: Likewise.
1021 * libio/iofopncook.c: Likewise.
1022 * libio/ioseekoff.c: Likewise.
1023 * libio/ioseekpos.c: Likewise.
1024 * libio/oldfileops.c: Likewise.
1025 * libio/iofgetpos.c: Store state of conversion if necessary.
1026 * libio/iofgetpos64.c: Likewise.
1027 * libio/iofsetpos.c: Restore conversion state if necessary.
1028 * libio/iofsetpos64.c: Likewise.
1029 * libio/iofdopen.c: Initialize so that stream can be wide oriented.
1030 * libio/iofopen.c: Likewise.
1031 * libio/iofopen64.c: Likewise.
1032 * libio/iopopen.c: Likewise.
1033 * libio/iovdprintf.c: Likewise.
1034 * libio/iovsprintf.c: Likewise.
1035 * libio/iovsscanf.c: Likewise.
1036 * libio/memstream.c: Likewise.
1037 * libio/obprintf.c: Likewise.
1038 * libio/iofputs.c: Orient stream if not already happened.
1039 * libio/iofputs_u.c: Likewise.
1040 * libio/iofwrite.c: Likewise.
1041 * libio/iofwrite_u.c: Likewise.
1042 * libio/ioputs.c: Likewise.
1043 * libio/iosetbuffer.c: Handle not yet oriented stream.
1044 * libio/iosetvbuf.c: Likewise.
1045 * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
1046 * libio/stdfiles.c: Likewise.
1047 * libio/strops.c (_IO_str_overflow): Correctly free buffer after
1049 (_IO_str_seekoff): Use _IO_off64_t.
1050 * libio/vasprintf.c: Pre-orient stream.
1051 * libio/vsnprintf.c: Likewise.
1052 * libio/fputwc.c: New file.
1053 * libio/fputwc_u.c: New file.
1054 * libio/fwprintf.c: New file.
1055 * libio/fwscanf.c: New file.
1056 * libio/getwc.c: New file.
1057 * libio/getwc_u.c: New file.
1058 * libio/getwchar.c: New file.
1059 * libio/getwchar_u.c: New file.
1060 * libio/iofgetws.c: New file.
1061 * libio/iofgetws_u.c: New file.
1062 * libio/iofputws.c: New file.
1063 * libio/iofputws_u.c: New file.
1064 * libio/iofwide.c: New file.
1065 * libio/iogetwline.c: New file.
1066 * libio/ioungetwc.c: New file.
1067 * libio/iovswscanf.c: New file.
1068 * libio/iowpadn.c: New file.
1069 * libio/oldiofgetpos.c: New file.
1070 * libio/oldiofgetpos64.c: New file.
1071 * libio/oldiofsetpos.c: New file.
1072 * libio/oldiofsetpos64.c: New file.
1073 * libio/putwc.c: New file.
1074 * libio/putwc_u.c: New file.
1075 * libio/putwchar.c: New file.
1076 * libio/putwchar_u.c: New file.
1077 * libio/swprintf.c: New file.
1078 * libio/swscanf.c: New file.
1079 * libio/tst_swprintf.c: New file.
1080 * libio/tst_swscanf.c: New file.
1081 * libio/tst_wprintf.c: New file.
1082 * libio/tst_wscanf.c: New file.
1083 * libio/tst_wscanf.input: New file.
1084 * libio/vswprintf.c: New file.
1085 * libio/vwprintf.c: New file.
1086 * libio/vwscanf.c: New file.
1087 * libio/wfiledoalloc.c: New file.
1088 * libio/wfileops.c: New file.
1089 * libio/wgenops.c: New file.
1090 * libio/wprintf.c: New file.
1091 * libio/wscanf.c: New file.
1092 * libio/wstrops.c: New file.
1093 * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
1094 vfwprintf, and vfwscanf.
1095 * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
1097 * stdio-common/_itowa.c: New file.
1098 * stdio-common/_itowa.h: New file.
1099 * stdio-common/itoa-digits.c: Minimal optimization.
1100 * stdio-common/itowa-digits.c: New file.
1101 * stdio-common/printf-parse.h: Allow use in wide character context.
1102 * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
1103 * stdio-common/printf.h (printf_info): Add wide bit.
1104 * stdio-common/printf_fp.c: Determine from wide bit whether stream
1105 is wide oriented or not.
1106 * stdio-common/printf_size.c: Likewise.
1107 * sysdeps/generic/printf_fphex.c: Likewise.
1108 * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
1109 * stdio-common/vfprintf.c: Rewrite to allow use in wide character
1111 * stdio-common/vfscand.c: Likewise.
1112 * stdio-common/vfwprintf.c: New file.
1113 * stdio-common/vfwscanf.c: New file.
1115 * time/Makefile (routines): Add wcsftime.
1116 (tests): Add tst_wcsftime.
1117 * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
1118 * time/strftime.c: Make usable as wcsftime.
1119 * time/wcsftime.c: New file.
1120 * time/tst_wcsftime.c: New file.
1122 * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
1123 * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
1124 * wcsmbs/wcschrnul.c: New file.
1125 * wcsmbs/wmemcpy.c: New file.
1126 * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
1127 * wcsmbs/wmemmove.c: Likewise for wmemmove.
1129 * manual/stdio.texi: Document is_char and wide element if printf_info.
1131 * manual/time.texi: Document wcsftime.
1133 * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
1134 __wmemmove, __wcschrnul, and __vfwscanf.
1136 * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
1137 * locale/C-time.c: Adapt for above change.
1138 * locale/categories.def: Likewise.
1139 * locale/localeinfo.h: Likewise.
1140 * localedata/Makefile: Don't run tests for now.
1142 * manual/errno.texi: Fix typos.
1143 * manual/memory.texi: Likewise.
1144 * manual/ctype.texi: Likewise.
1145 Patches by Brian Youmans <3diff@gnu.org>.
1147 1999-06-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1149 * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
1151 1999-06-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1153 * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
1155 * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
1156 * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
1158 1999-06-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1160 * db2/db/db.c: Restore __nss_db_open alias.
1161 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
1163 * db2/os/os_rw.c (__os_write): Maintain const correctness.
1164 * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
1166 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
1168 * stdio-common/printf-parse.h (parse_one_spec): Don't set
1169 is_longlong if not necessary.
1171 1999-06-15 H.J. Lu <hjl@gnu.org>
1173 * Make-dist (sysdep_dirs): Exclude SCCS.
1174 * MakeTAGS (sysdep_dirs): Likewise.
1176 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
1178 * posix/regex.c (re_error_msgid): Remove extra commas.
1180 1999-06-14 Geoff Keating <geoffk@ozemail.com.au>
1182 * stdlib/tst-strtoll.c: New file.
1183 * stdlib/Makefile (tests): Add tst-strtoll.c
1184 * stdlib/strtol.c: It is not generally true that if
1185 (unsigned)a*(unsigned)b overflows, then the result is
1188 1999-06-14 Thorsten Kukuk <kukuk@suse.de>
1190 * nscd/connections.c (handle_request): Only root is allowed to
1191 send GETSTAT request in non secure mode.
1192 * nscd/nscd.c: Print error message if other then root try to
1195 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1197 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
1199 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1201 * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
1202 Closes PR libc/1164, reported by sascha@schumann.2ns.de.
1204 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1206 * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
1207 for character to search, to help the compiler.
1208 * sysdeps/generic/strchrnul.c: Likewise.
1209 * sysdeps/generic/memchr.c: Likewise.
1210 * sysdeps/generic/memccpy.c: Likewise.
1211 * sysdeps/generic/rawmemchr.c: Likewise. Fix comment.
1213 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1215 * sysdeps/m68k/memchr.S: New file.
1216 * sysdeps/m68k/rawmemchr.S: New file.
1217 * sysdeps/m68k/strchr.S: New file.
1218 * sysdeps/m68k/strchrnul.S: New file.
1220 1999-06-13 Geoff Keating <geoffk@ozemail.com.au>
1222 * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
1223 add `memory' clobber; optimise for constant `val'.
1224 (atomic_add): Likewise.
1225 (test_and_set): Remove `volatile'; add `memory' clobber; be more
1226 like the original `test_and_set'.
1227 (compare_and_swap): Remove `volatile'; add `memory' clobber;
1228 optimise for constant `oldval'.
1229 (always_swap): Remove `volatile'; add `memory' clobber.
1231 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1233 * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
1234 functions for gcc <= 2.7.x.
1236 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
1238 * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
1241 1999-06-13 Ulrich Drepper <drepper@cygnus.com>
1243 * db2/Makefile (distribute): Remove files which do not exist
1246 * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
1247 definitions to calm down gcc.
1249 * db2/db.h: Update from db 2.7.5.
1250 * db2/db_185.h: Likewise.
1251 * db2/db_int.h: Likewise.
1252 * db2/btree/bt_compare.c: Likewise.
1253 * db2/btree/bt_conv.c: Likewise.
1254 * db2/btree/bt_curadj.c: Likewise.
1255 * db2/btree/bt_cursor.c: Likewise.
1256 * db2/btree/bt_delete.c: Likewise.
1257 * db2/btree/bt_open.c: Likewise.
1258 * db2/btree/bt_page.c: Likewise.
1259 * db2/btree/bt_put.c: Likewise.
1260 * db2/btree/bt_rec.c: Likewise.
1261 * db2/btree/bt_recno.c: Likewise.
1262 * db2/btree/bt_rsearch.c: Likewise.
1263 * db2/btree/bt_search.c: Likewise.
1264 * db2/btree/bt_split.c: Likewise.
1265 * db2/btree/bt_stat.c: Likewise.
1266 * db2/btree/btree_auto.c: Likewise.
1267 * db2/common/db_appinit.c: Likewise.
1268 * db2/common/db_apprec.c: Likewise.
1269 * db2/common/db_err.c: Likewise.
1270 * db2/common/db_region.c: Likewise.
1271 * db2/common/db_salloc.c: Likewise.
1272 * db2/db/db.c: Likewise.
1273 * db2/db/db.src: Likewise.
1274 * db2/db/db_am.c: Likewise.
1275 * db2/db/db_auto.c: Likewise.
1276 * db2/db/db_dispatch.c: Likewise.
1277 * db2/db/db_dup.c: Likewise.
1278 * db2/db/db_iface.c: Likewise.
1279 * db2/db/db_join.c: Likewise.
1280 * db2/db/db_overflow.c: Likewise.
1281 * db2/db/db_pr.c: Likewise.
1282 * db2/db/db_rec.c: Likewise.
1283 * db2/db/db_ret.c: Likewise.
1284 * db2/db185/db185.c: Likewise.
1285 * db2/dbm/dbm.c: Likewise.
1286 * db2/hash/hash.c: Likewise.
1287 * db2/hash/hash_auto.c: Likewise.
1288 * db2/hash/hash_dup.c: Likewise.
1289 * db2/hash/hash_page.c: Likewise.
1290 * db2/hash/hash_rec.c: Likewise.
1291 * db2/hash/hash_stat.c: Likewise.
1292 * db2/include/btree.h: Likewise.
1293 * db2/include/btree_ext.h: Likewise.
1294 * db2/include/clib_ext.h: Likewise.
1295 * db2/include/common_ext.h: Likewise.
1296 * db2/include/db_am.h: Likewise.
1297 * db2/include/db_auto.h: Likewise.
1298 * db2/include/db_cxx.h: Likewise.
1299 * db2/include/db_ext.h: Likewise.
1300 * db2/include/db_join.h: Likewise.
1301 * db2/include/db_page.h: Likewise.
1302 * db2/include/hash.h: Likewise.
1303 * db2/include/hash_ext.h: Likewise.
1304 * db2/include/lock.h: Likewise.
1305 * db2/include/lock_ext.h: Likewise.
1306 * db2/include/log.h: Likewise.
1307 * db2/include/log_ext.h: Likewise.
1308 * db2/include/mp.h: Likewise.
1309 * db2/include/mp_ext.h: Likewise.
1310 * db2/include/os.h: Likewise.
1311 * db2/include/os_ext.h: Likewise.
1312 * db2/include/os_func.h: Likewise.
1313 * db2/include/txn.h: Likewise.
1314 * db2/include/txn_auto.h: Likewise.
1315 * db2/include/txn_ext.h: Likewise.
1316 * db2/include/xa.h: Likewise.
1317 * db2/include/xa_ext.h: Likewise.
1318 * db2/lock/lock.c: Likewise.
1319 * db2/lock/lock_conflict.c: Likewise.
1320 * db2/lock/lock_deadlock.c: Likewise.
1321 * db2/lock/lock_region.c: Likewise.
1322 * db2/lock/lock_util.c: Likewise.
1323 * db2/log/log.c: Likewise.
1324 * db2/log/log_archive.c: Likewise.
1325 * db2/log/log_auto.c: Likewise.
1326 * db2/log/log_findckp.c: Likewise.
1327 * db2/log/log_get.c: Likewise.
1328 * db2/log/log_put.c: Likewise.
1329 * db2/log/log_rec.c: Likewise.
1330 * db2/log/log_register.c: Likewise.
1331 * db2/mp/mp_bh.c: Likewise.
1332 * db2/mp/mp_fget.c: Likewise.
1333 * db2/mp/mp_fopen.c: Likewise.
1334 * db2/mp/mp_fput.c: Likewise.
1335 * db2/mp/mp_fset.c: Likewise.
1336 * db2/mp/mp_open.c: Likewise.
1337 * db2/mp/mp_pr.c: Likewise.
1338 * db2/mp/mp_region.c: Likewise.
1339 * db2/mp/mp_sync.c: Likewise.
1340 * db2/mutex/mutex.c: Likewise.
1341 * db2/mutex/uts4_cc.s: Likewise.
1342 * db2/os/os_abs.c: Likewise.
1343 * db2/os/os_alloc.c: Likewise.
1344 * db2/os/os_config.c: Likewise.
1345 * db2/os/os_dir.c: Likewise.
1346 * db2/os/os_fid.c: Likewise.
1347 * db2/os/os_fsync.c: Likewise.
1348 * db2/os/os_map.c: Likewise.
1349 * db2/os/os_oflags.c: Likewise.
1350 * db2/os/os_open.c: Likewise.
1351 * db2/os/os_rw.c: Likewise.
1352 * db2/os/os_seek.c: Likewise.
1353 * db2/os/os_sleep.c: Likewise.
1354 * db2/os/os_spin.c: Likewise.
1355 * db2/os/os_stat.c: Likewise.
1356 * db2/os/os_tmpdir.c: Likewise.
1357 * db2/os/os_unlink.c: Likewise.
1358 * db2/progs/db_archive/db_archive.c: Likewise.
1359 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
1360 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
1361 * db2/progs/db_dump/db_dump.c: Likewise.
1362 * db2/progs/db_load/db_load.c: Likewise.
1363 * db2/progs/db_printlog/README: Likewise.
1364 * db2/progs/db_printlog/commit.awk: Likewise.
1365 * db2/progs/db_printlog/count.awk: Likewise.
1366 * db2/progs/db_printlog/db_printlog.c: Likewise.
1367 * db2/progs/db_printlog/pgno.awk: Likewise.
1368 * db2/progs/db_printlog/range.awk: Likewise.
1369 * db2/progs/db_printlog/status.awk: Likewise.
1370 * db2/progs/db_printlog/txn.awk: Likewise.
1371 * db2/progs/db_recover/db_recover.c: Likewise.
1372 * db2/progs/db_stat/db_stat.c: Likewise.
1373 * db2/txn/txn.c: Likewise.
1374 * db2/txn/txn.src: Likewise.
1375 * db2/txn/txn_auto.c: Likewise.
1376 * db2/txn/txn_rec.c: Likewise.
1377 * db2/xa/xa.c: Likewise.
1378 * db2/xa/xa_db.c: Likewise.
1379 * db2/xa/xa_map.c: Likewise.
1381 * db2/btree/bt_close.c: Removed.
1382 * db2/db/db_thread.c: Likewise.
1383 * db2/hash/hash_debug.c: Likewise.
1384 * db2/include/db.h.src: Likewise.
1385 * db2/include/db_int.h.src: Likewise.
1386 * db2/include/os_jump.h: Likewise.
1387 * db2/mutex/alpha.dec: Likewise.
1388 * db2/mutex/alpha.gcc: Likewise.
1389 * db2/mutex/parisc.hp: Likewise.
1390 * db2/mutex/uts4.cc.s: Likewise.
1392 * db2/Makefile: Add new routines, remove old for 2.7.5.
1393 * db2/Versions: Add internal function names for the helper programs.
1394 * db2/makedb.c: Update for new cursor callback.
1395 * Versions.def: Define versions for libdb.
1397 1999-06-13 Thorsten Kukuk <kukuk@suse.de>
1399 * nscd/connections.c (nscd_run): Get user ID for all non-db services.
1400 * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
1401 * nscd/nscd_nischeck.c: New file.
1402 * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
1404 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1406 * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
1407 MSG_* flags from Linux 2.2.9.
1409 1999-06-12 Mark Kettenis <kettenis@gnu.org>
1411 * Makeconfig (static-start-installed-name): Set to
1412 $(start-installed-name) if not defined.
1413 (+link-static): Use $(static-start-installed-name) instead of
1414 $(start-installed-name).
1415 * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
1418 1999-06-12 Mark Kettenis <kettenis@gnu.org>
1420 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
1421 inserting a send right into the child instead of unconditionally
1422 copying the send right.
1424 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
1426 * locale/lc-time.c: Add free_mem function to free if necessary
1427 statically allocated memory.
1429 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
1431 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
1432 bias from the raw exponent.
1434 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
1436 * inet/arpa/tftp.h: Move attribute declaration in right position.
1438 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
1440 * nscd/nscd.c: Add -S options for separate caching of data for
1441 every user. So one user couldn't see the data another user
1442 has gotten with his credentials.
1443 * nscd/nscd.h: Add new prototypes.
1444 * nscd/cache.c: Compare owner of cache entry if in secure mode.
1445 * nscd/connections.c: Check on shutdown if caller really was root.
1446 In secure mode get uid of caller.
1447 * nscd/grpcache.c: Add support for new secure group mode.
1448 * nscd/hstcache.c: Add support for new secure hosts mode.
1449 * nscd/pwdcache.c: Add support for new secure passwd mode.
1451 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
1453 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
1454 of user-provided buffer.
1456 1999-06-11 Mark Kettenis <kettenis@gnu.org>
1458 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
1459 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
1461 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
1463 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
1466 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
1467 returning after last entry.
1468 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
1470 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
1472 * misc/sysexits.h: Remove advertising clause of copyright.
1473 * resolv/getnetnamadr.c: Likewise.
1474 * sysdeps/vax/bcopy.s: Likewise.
1475 * sysdeps/vax/bzero.s: Likewise.
1476 * sysdeps/vax/ffs.s: Likewise.
1477 * sysdeps/vax/memchr.s: Likewise.
1478 * sysdeps/vax/memcmp.s: Likewise.
1479 * sysdeps/vax/memmove.s: Likewise.
1480 * sysdeps/vax/memset.s: Likewise.
1481 * sysdeps/vax/strcat.s: Likewise.
1482 * sysdeps/vax/strchr.s: Likewise.
1483 * sysdeps/vax/strcmp.s: Likewise.
1484 * sysdeps/vax/strcpy.s: Likewise.
1485 * sysdeps/vax/strcspn.s: Likewise.
1486 * sysdeps/vax/strlen.s: Likewise.
1487 * sysdeps/vax/strncat.s: Likewise.
1488 * sysdeps/vax/strncmp.s: Likewise.
1489 * sysdeps/vax/strncpy.s: Likewise.
1490 * sysdeps/vax/strpbrk.s: Likewise.
1491 * sysdeps/vax/strrchr.s: Likewise.
1492 * sysdeps/vax/strsep.s: Likewise.
1493 * sysdeps/vax/strspn.s: Likewise.
1494 * sysdeps/vax/strstr.s: Likewise.
1496 * libio/iofopncook.c: Adjust for renaming of structure elements.
1497 * libio/libio.h: Define cookie functions with all the names.
1499 * pwd/fgetpwent_r.c: Set errno in the correct way.
1500 * shadow/fgetspent_r.c: Likewise.
1501 * pwd/fgetpwent.c: Handle long lines correctly. Little
1502 optimizations. Free static buffer when debugging memory handling.
1503 * shadow/fgetspent.c: Likewise.
1505 * grp/fgetgrent.c: Little optimization in loop.
1507 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1509 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
1512 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
1514 * stdlib/longlong.h: gas changed sethi handling when without
1515 %hi(). Fix assembly.
1516 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
1517 port specific cache id checks.
1518 * sysdeps/generic/dl-cache.h: New file.
1519 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
1521 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
1523 * gmon/gmon.c: Remove advertising clause of copyright.
1524 * gmon/mcount.c: Likewise.
1525 * gmon/sys/gmon.h: Likewise.
1526 * inet/arpa/ftp.h: Likewise.
1527 * inet/arpa/telnet.h: Likewise.
1528 * inet/arpa/tftp.h: Likewise.
1529 * inet/inet_lnaof.c: Likewise.
1530 * inet/inet_mkadr.c: Likewise.
1531 * inet/inet_net.c: Likewise.
1532 * inet/inet_netof.c: Likewise.
1533 * inet/protocols/routed.h: Likewise.
1534 * inet/protocols/rwhod.h: Likewise.
1535 * inet/protocols/talkd.h: Likewise.
1536 * inet/protocols/timed.h: Likewise.
1537 * inet/rcmd.c: Likewise.
1538 * inet/rexec.c: Likewise.
1539 * inet/ruserpass.c: Likewise.
1540 * io/fts.c: Likewise.
1541 * io/fts.h: Likewise.
1542 * login/login_tty.c: Likewise.
1543 * misc/fstab.h: Likewise.
1544 * misc/getttyent.c: Likewise.
1545 * misc/getusershell.c: Likewise.
1546 * misc/sys/queue.h: Likewise.
1547 * misc/sys/syslog.h: Likewise.
1548 * misc/syslog.c: Likewise.
1549 * misc/ttyent.h: Likewise.
1550 * misc/ttyslot.c: Likewise.
1551 * resolv/arpa/nameser.h: Likewise.
1552 * resolv/gethnamaddr.c: Likewise.
1553 * resolv/herror.c: Likewise.
1554 * resolv/inet_addr.c: Likewise.
1555 * resolv/mapv4v6addr.h: Likewise.
1556 * resolv/mapv4v6hostent.h: Likewise
1557 * resolv/nss_dns/dns-host.c: Likewise.
1558 * resolv/nss_dns/dns-network.c: Likewise.
1559 * resolv/res_comp.c: Likewise.
1560 * resolv/res_data.c: Likewise.
1561 * resolv/res_debug.c: Likewise.
1562 * resolv/res_init.c: Likewise.
1563 * resolv/res_mkquery.c: Likewise.
1564 * resolv/res_query.c: Likewise.
1565 * resolv/res_send.c: Likewise.
1566 * resolv/resolv.h: Likewise.
1567 * sysdeps/generic/div.c: Likewise.
1568 * sysdeps/generic/netinet/ip.h: Likewise.
1569 * sysdeps/generic/netinet/tcp.h: Likewise.
1570 * sysdeps/generic/paths.h: Likewise.
1571 * sysdeps/generic/prof-freq.c: Likewise.
1572 * sysdeps/generic/sys/ttydefaults.h: Likewise.
1573 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1574 * sysdeps/gnu/netinet/tcp.h: Likewise.
1575 * sysdeps/ieee754/support.c: Likewise.
1576 * sysdeps/mach/hurd/sys/param.h: Likewise.
1577 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
1578 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1579 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
1580 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1581 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
1582 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
1583 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
1584 * sysdeps/unix/sysv/linux/paths.h: Likewise.
1585 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
1586 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
1587 * sysdeps/vax/DEFS.h: Likewise.
1588 * termios/sys/ttychars.h: Likewise.
1589 * misc/daemon.c: Likewise. Call fork.
1591 * grp/fgetgrent.c (buffer): Make file local variable.
1592 (free_mem): New function. Call for malloc debugging.
1594 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
1596 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1598 * grp/Makefile: Add rules for tst_fgetgrent.
1600 * grp/tst_fgetgrent.c: Rewritten to read only one file.
1602 * grp/tst_fgetgrent.sh: New file.
1604 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
1606 * grp/Makefile (tests): Add tst_fgetgrent.
1607 * grp/tst_fgetgrent.c: New file.
1608 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
1610 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
1612 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
1613 be POSIX compliant. Prior definition was broken for Hurd.
1614 Reported by Mark Kettenis <kettenis@gnu.org>.
1616 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
1618 * ctype/ctype.h: Protect __tobody code by __extension__.
1620 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
1622 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
1623 reading and reset in case the buffer was too small.
1625 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
1628 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1630 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
1631 another SIOGIFNAME typo.
1633 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
1635 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
1637 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
1640 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1642 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
1643 the precision if the mantissa is zero.
1645 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1647 * manual/lang.texi (Floating Point Parameters): GCC already
1648 supports long double for a long time.
1650 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1652 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
1653 yn_test): Increase some epsilons.
1655 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
1657 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
1660 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
1662 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1663 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
1664 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
1665 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
1667 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
1668 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
1669 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
1670 * sysdeps/libm-ieee754/w_j1.c: Likewise.
1671 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
1672 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
1673 * sysdeps/libm-ieee754/w_jn.c: Likewise.
1674 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
1675 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
1677 * stdio-common/vfprintf.c: Correct typos.
1679 * math/libm-test.c (jn_test): Adjust delta.
1680 (y1_test): Likewise.
1681 (yn_test): Likewise.
1683 * elf/do-lookup.h: It should never happen that if we expect a versioned
1684 symbol from a file the file has no version table. This should have
1685 been checked in dl-version.c.
1686 * elf/dl-lookup.c: Include assert.h.
1688 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
1691 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
1693 1999-06-06 Andi Kleen <ak@muc.de>
1695 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
1698 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1700 * math/libm-test.c (yn_test): Change one delta.
1701 (jn_test): Likewise.
1702 (j1_test): Likewise.
1703 (y0_test): Likewise.
1705 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
1707 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
1708 avoid multiple calls to getpagesize() which might be a syscall.
1710 1999-06-06 Philip Blundell <philb@gnu.org>
1712 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
1714 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1716 * manual/install.texi (Running make install): Correct typo in
1717 dynamic linker invocation.
1719 1999-06-05 Philip Blundell <philb@gnu.org>
1721 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
1722 problems with GOT addressing.
1724 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
1726 * malloc/malloc.c (check_action): Change into bitmap so that both
1727 diagnostic and abort can be requested by setting it to 3.
1728 (mALLOC_SET_STATe): Disable malloc checking if necessary.
1730 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
1732 * configure.in: Few changes for HPUX.
1734 * scripts/config.guess: Update from latest version.
1735 * scripts/config.sub: Likewise.
1737 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1739 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
1740 map files. Closes PR libc/1147.
1742 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1744 * math/libm-test.c (main): Add new test functions.
1745 (jn_test): New tests.
1746 (j1_test): Add some more tests.
1747 (j0_test): Add some more tests.
1748 (y0_test): Add some more tests.
1749 (y1_test): Add some more tests.
1751 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1753 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
1754 Patch by mhagger@dera.gov.uk [PR libc/1145].
1756 * math/libm-test.c (y1_test): New tests.
1757 (y0_test): Likewise.
1758 (j1_test): Likewise.
1759 (j0_test): Likewise.
1760 (main): Added new tests.
1762 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
1764 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
1765 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
1766 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
1767 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
1768 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
1769 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
1771 1999-06-02 David S. Miller <davem@redhat.com>
1773 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
1776 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
1778 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
1779 and elide compatibility code if possible.
1781 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
1783 * manual/llio.texi: Remove menu entry for removed section.
1785 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1787 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
1790 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1792 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
1795 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
1797 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
1799 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1801 * manual/stdio.texi: Fix some typos.
1803 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1805 * malloc/malloc.h: Properly handle future GCC versions.
1807 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1809 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
1810 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
1811 text of error message.
1813 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
1815 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
1817 * manual/filesys.texi: Extend (f)truncate documentation.
1818 * manual/llio.texi: Remove duplicate (f)truncate definition.
1820 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1822 * manual/stdio.texi (Formatted Output Functions): Mention
1823 semantics of snprintf in glibc 2.0.
1824 Reported by Ben Pfaff <pfaffben@msu.edu>.
1826 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
1828 * include/features.h (__GLIBC_MINOR__): Bump to 2.
1830 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
1832 * math/libm-test.c: Adjust a few more deltas for the poor ARM
1835 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1837 * configure.in: Fix typo.
1839 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1841 * manual/socket.texi (Host Names): Remove statement that h_errno
1842 needs to be declared since this isn't true anymore.
1843 Closes PR libc/1138.
1845 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
1847 * config.h.in: Add __LINUX_KERNEL_VERSION.
1848 * configure.in: Recognize --enable-kernel.
1849 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
1850 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
1852 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
1853 given perform runtime test.
1855 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
1856 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
1857 minimal supported kernel is known to have the feature.
1858 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1859 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1860 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1861 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1862 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1863 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
1864 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1865 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1866 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1867 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1868 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1869 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
1870 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
1871 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
1872 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
1874 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
1876 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
1878 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
1880 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
1882 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
1883 Optimized sparc64 routines.
1885 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
1887 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
1888 they are the same as ints.
1889 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
1891 * version.h (VERSION): Bump to 2.1.90.
1892 (RELEASE): Mark as development.
1894 * stdio-common/vfprintf.c (vfprintf): Don't implement special
1895 handling for long long if it is the same as long.
1896 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
1898 * stdlib/strtol.c: Moved to ...
1899 * sysdeps/generic/strtol.c: ...here.
1900 * stdlib/strtoul.c: Moved to ...
1901 * sysdeps/generic/strtoul.c: ...here.
1902 * stdlib/strtoll.c: Moved to ...
1903 * sysdeps/generic/strtoll.c: ...here.
1904 * stdlib/strtoull.c: Moved to ...
1905 * sysdeps/generic/strtoull.c: ...here.
1906 * stdlib/strtol_l.c: Moved to ...
1907 * sysdeps/generic/strtol_l.c: ...here.
1908 * stdlib/strtoul_l.c: Moved to ...
1909 * sysdeps/generic/strtoul_l.c: ...here.
1910 * stdlib/strtoll_l.c: Moved to ...
1911 * sysdeps/generic/strtoll_l.c: ...here.
1912 * stdlib/strtoull_l.c: Moved to ...
1913 * sysdeps/generic/strtoull_l.c: ...here.
1915 * sysdeps/wordsize-64/strtol.c: New file.
1916 * sysdeps/wordsize-64/strtoul.c: New file.
1917 * sysdeps/wordsize-64/strtoll.c: New file.
1918 * sysdeps/wordsize-64/strtoull.c: New file.
1919 * sysdeps/wordsize-64/strtol_l.c: New file.
1920 * sysdeps/wordsize-64/strtoul_l.c: New file.
1921 * sysdeps/wordsize-64/strtoll_l.c: New file.
1922 * sysdeps/wordsize-64/strtoull_l.c: New file.
1924 * wcsmbs/wcstol.c: Moved to ...
1925 * sysdeps/generic/wcstol.c: ...here.
1926 * wcsmbs/wcstoul.c: Moved to ...
1927 * sysdeps/generic/wcstoul.c: ...here.
1928 * wcsmbs/wcstoll.c: Moved to ...
1929 * sysdeps/generic/wcstoll.c: ...here.
1930 * wcsmbs/wcstoull.c: Moved to ...
1931 * sysdeps/generic/wcstoull.c: ...here.
1932 * wcsmbs/wcstol_l.c: Moved to ...
1933 * sysdeps/generic/wcstol_l.c: ...here.
1934 * wcsmbs/wcstoul_l.c: Moved to ...
1935 * sysdeps/generic/wcstoul_l.c: ...here.
1936 * wcsmbs/wcstoll_l.c: Moved to ...
1937 * sysdeps/generic/wcstoll_l.c: ...here.
1938 * wcsmbs/wcstoull_l.c: Moved to ...
1939 * sysdeps/generic/wcstoull_l.c: ...here.
1941 * sysdeps/wordsize-64/wcstol.c: New file.
1942 * sysdeps/wordsize-64/wcstoul.c: New file.
1943 * sysdeps/wordsize-64/wcstoll.c: New file.
1944 * sysdeps/wordsize-64/wcstoull.c: New file.
1945 * sysdeps/wordsize-64/wcstol_l.c: New file.
1946 * sysdeps/wordsize-64/wcstoul_l.c: New file.
1947 * sysdeps/wordsize-64/wcstoll_l.c: New file.
1948 * sysdeps/wordsize-64/wcstoull_l.c: New file.
1950 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
1952 * sysdeps/sparc/bits/wordsize.h: New file.
1953 * sysdeps/sparc/fpu/bits/fenv.h: New file.
1954 * sysdeps/sparc/fpu/fpu_control.h: New file.
1955 * sysdeps/sparc/gmp-mparam.h: New file.
1957 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
1958 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
1959 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
1960 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
1961 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
1962 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
1964 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
1965 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
1966 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
1967 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
1969 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
1970 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
1971 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
1972 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
1973 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
1975 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
1977 * login/openpty.c (openpty): Make sure pty does not because
1980 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
1982 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
1984 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
1985 Do proper error return.
1987 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1989 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
1990 of __P in the rest of glibc; define __MALLOC_PMT and use it.
1991 Reported by Stephan Kulow <coolo@kde.org>.
1993 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
1995 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
1997 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
1999 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2001 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
2002 names to protect from user's macro namespace.
2003 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
2004 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
2005 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
2006 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
2007 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
2009 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
2010 sysdeps/arm/fpu/fesetenv.c: Likewise.
2011 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
2012 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
2013 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
2014 * sysdeps/mips/fesetenv.c: Likewise.
2016 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
2018 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
2020 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
2022 * configure.in: Recognize and allow gcc 2.95.
2024 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
2026 * sysdeps/generic/bits/elfclass.h: Version common to
2027 wordsize-32 and wordsize-64.
2028 * sysdeps/generic/bits/environments.h: Ditto.
2029 * sysdeps/generic/stdint.h: Ditto.
2030 * sysdeps/generic/inttypes.h: Ditto.
2032 * sysdeps/generic/bits/wordsize.h: New file.
2033 * stdlib/Makefile: Add bits/wordsize.h to headers.
2035 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
2037 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
2038 headers to be used for 32bit and 64bit ABI compilations.
2039 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
2040 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
2041 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
2042 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
2043 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
2045 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
2046 * sysdeps/wordsize-64/bits/environments.h: Remove.
2047 * sysdeps/wordsize-64/stdint.h: Remove.
2048 * sysdeps/wordsize-64/inttypes.h: Remove.
2049 * sysdeps/wordsize-64/bits/wordsize.h: New file.
2051 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
2052 * sysdeps/wordsize-32/bits/environments.h: Remove.
2053 * sysdeps/wordsize-32/stdint.h: Remove.
2054 * sysdeps/wordsize-32/inttypes.h: Remove.
2055 * sysdeps/wordsize-32/bits/wordsize.h: New file.
2057 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
2059 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
2060 __align_cpy_16): New functions.
2061 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
2063 * sysdeps/sparc/sparc32/Versions: New file.
2064 * sysdeps/sparc/sparc64/Versions: New file.
2065 * sysdeps/sparc/Versions: Remove.
2067 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
2069 * sysdeps/unix/sysv/linux/configure.in:
2070 On sparc64-*-linux*, set slibdir to /lib64 if prefix
2071 is /usr, plus set libdir to ${exec_prefix}/lib64.
2072 * sysdeps/unix/sysv/linux/configure: Regenerated.
2073 * config.make.in: Propagate libdir settings from configure
2075 * shlib-versions: sparc64-*-linux* dynamic linker is
2076 /lib64/ld-linux.so.2.
2078 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
2080 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
2083 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
2085 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
2086 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
2088 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
2089 contains garbage in bits 8-63.
2090 * sysdeps/sparc/sparc64/memset.S: Ditto.
2091 * sysdeps/sparc/sparc64/strchr.S: Ditto.
2093 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
2095 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
2097 1999-05-17 David S. Miller <davem@redhat.com>
2099 * sysdeps/sparc/sparc32/atomicity.h: New file.
2100 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
2101 * sysdeps/sparc/sparc64/atomicity.h: New file.
2102 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
2105 1999-05-18 Richard Henderson <rth@twiddle.net>
2107 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
2109 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
2111 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
2112 posix/sys/types.h: Handle the case of __GNUC__=3,
2113 __GNUC_MINOR__=(anything).
2115 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2117 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
2120 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
2122 * elf/Makefile (distribute): Remove dl-origin.h.
2123 Add dl-dst.h and gen-trusted-dirs.awk.
2125 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2127 * sysdeps/i386/i486/Versions: New file with inline functions from
2128 sysdeps/i386/i486/bits/string.h for now.
2130 * sysdeps/i386/Versions: Add inline functions from
2131 sysdeps/i386/bits/string.h.
2133 * string/Versions: Add inline functions from <bits/string2.h>.
2135 * string/Makefile (routines): Add string-inlines.
2136 * string/string-inlines.c: New file, used for implementation of
2137 extern inline functions.
2139 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
2140 non inlined versions of functions.
2141 * string/bits/string2.h: Likewise.
2142 * sysdeps/i386/bits/string.h: Likewise.
2144 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
2146 * inet/arpa/tftp.h: Add second packed attribute.
2148 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
2150 * malloc/malloc.c: Cleanup to bring in line with released
2151 stand-alone version `ptmalloc'. Update some comments.
2152 (internal_function): Move fallback definition so that the source
2153 compiles outside of libc, and use it in more places.
2154 (malloc_atfork): Fix when malloc_check is in use.
2156 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2158 * stdlib/tst-strtod.c: Fix typo.
2160 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2162 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
2163 const incorrectness.
2165 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
2167 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
2169 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
2171 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
2172 * sunrpc/key_call.c: Fix memory leak, close file handle.
2173 * nis/nis_creategroup.c: Use malloc instead of calloc,
2174 set ctime and mtime.
2175 * nis/nis_subr.c: Check for realloc result.
2176 * nis/nis_file.c: Fix memory leak.
2177 * nis/nis_table.c: Pretty print.
2178 * nis/nis_getservlist.c: Likewise.
2179 * nis/nis_ismember.c: Likewise.
2180 * nis/nis_lookup.c: Likewise.
2181 * nis/nis_ping.c: Likewise.
2182 * nis/nis_removemember.c: Likewise.
2183 * nis/nis_util.c: Likewise, check calloc result.
2185 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
2187 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
2188 * sysdeps/generic/sys/socketvar.h: ... here.
2189 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
2190 * sysdeps/generic/netinet/in_systm.h: ... here.
2191 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
2193 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
2194 * inet/Makefile (headers): Add netinet/in_systm.h here.
2195 * socket/Makefile (headers): Add sys/socketvar.h here.
2197 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
2199 * stdlib/strtol.c: Optimize inner loop of long long versions.
2201 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
2202 Unix98. Add forward declaration of struct utmp.
2204 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
2206 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
2209 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
2210 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
2211 memory allocation results.
2213 1999-05-14 Mark Kettenis <kettenis@gnu.org>
2215 * sysdeps/generic/getutmp.c: Include <string.h>
2216 (getutmp): Rewrite to only copy those members that are really
2217 present in `struct utmp'.
2218 * sysdeps/generic/getutmpx.c: Likewise.
2220 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
2222 * nss/getXXbyYY.c: Add free_mem function which disposes all
2223 statically allocated memory when debugging.
2224 * nss/getXXent.c: Likewise.
2225 * nss/nsswitch.c: Likewise.
2227 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
2229 * sysdeps/gnu/getutmpx.c: New file.
2230 * sysdeps/gnu/getutmp.c: New file.
2232 1999-05-13 H.J. Lu <hjl@gnu.org>
2234 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
2235 (getutmp): Likewise.
2237 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
2240 * sysdeps/gnu/utmpx.h (getutmp): Added.
2241 (getutmpx): Likewise.
2243 * sysdeps/generic/getutmp.c: New file.
2245 * sysdeps/generic/getutmpx.c: New file.
2247 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2249 * glibcbug.in (BUGGLIBC): Change address to
2250 libc-alpha@sourceware.cygnus.com.
2252 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2254 * resolv/arpa/nameser.h: Add C++ protectors.
2256 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2258 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
2259 Elad Tsur <eladts@post.tau.ac.il>.
2261 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
2263 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
2264 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
2265 lazily if LD_BIND_NOW is not set.
2266 * elf/dl-support.c (_dl_lazy): New variable.
2267 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
2268 * elf/rtld.c (_dl_lazy): new global variable.
2269 ( dl_main): Remove lazy, replace it by _dl_lazy.
2271 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2273 * locale/setlocale.c (new_composite_name): Check also whether the
2274 first category name differs.
2276 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2278 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
2281 1999-05-11 Philip Blundell <pb@nexus.co.uk>
2283 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
2284 structure; storage suitable for any socket address.
2285 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
2287 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
2288 sockaddr_storage): Likewise.
2290 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
2293 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
2295 * hesiod/Versions: Change _nss_hesiod_getpwuid and
2296 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
2297 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
2299 1999-05-09 Mark Kettenis <kettenis@gnu.org>
2301 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
2302 if the file is empty.
2304 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
2306 * elf/do-lookup.h: Fix typo in comment.
2308 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
2309 f_bsize to help some broken programs.
2311 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
2313 * stdio-common/vfprintf.c: Fix typo.
2315 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
2317 * elf/link.h (struct link_map): New field l_phdr_allocated.
2318 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
2319 the program header being part of any loaded segment. If it is not
2320 allocate memory and set l_phdr_allocated flag.
2321 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
2323 * nss/digits_dots.c: Correct return value interpretation of
2324 inet_ntoa. Fix PR libc/1109.
2326 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
2328 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
2330 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
2332 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
2333 * stdlib/fpioconst.c: Move #endif before end of struct.
2335 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
2337 * Versions.def (ld.so): Add GLIBC_2.1.1.
2338 * elf/Makefile (routines): Add dl-origin.
2339 (tests): Add origtest. Add dependencies for the program.
2340 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
2341 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
2342 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
2343 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
2344 DT_AUXILIARY, and DT_FILTER filenames.
2345 * elf/dl-load.c (expand_dynamic_string_token): Explode into
2346 two functions and three macros.
2347 (_dl_dst_count, _dl_dst_substitute): New functions.
2348 * elf/dl-dst.h: New file.
2349 * elf/dl-open.c (_dl_open): Take extra parameter with address of
2350 caller. Pass address in args structure.
2351 (dl_open_worker): Recognize and expand DSTs in filename.
2352 * elf/ldsodefs.h (_dl_open): Adapt prototype.
2353 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
2354 (__dlopen_check): Pass caller address to dlopen_doit in args.
2355 * elf/dlopendoit.c: Likewise.
2356 * iconv/gconv_dl.c: Adapt call of _dl_open.
2357 * nss/nsswitch.c: Likewise.
2358 * elf/origtest.c: New file.
2359 * sysdeps/generic/dl-origin.h: Moved to...
2360 * sysdeps/generic/dl-origin.c: ...here.
2361 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
2362 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
2364 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
2365 with specific bases and only few bits set in second word.
2367 * timezone/Makefile (install-others): Create target directory
2368 before creating tzfiles.
2370 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
2372 * nis/nis_file.c (readColdStartFile): Allocate memory only after
2373 the file is opened successfully.
2375 * nis/nis_table.c: Fix some memory leaks.
2377 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
2379 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
2382 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
2383 around DST. Correctly ignore ORIGIN IN SUID binaries.
2385 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
2387 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
2388 * sysdeps/generic/strtok.c: Likewise.
2390 * string/tester.c: Add test of rawmemchr.
2392 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
2393 specification. It's not necessary.
2395 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
2396 * elf/gen-trusted-dirs.awk: New file.
2397 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
2398 from SYSTEM_DIRS macro.
2399 (system_dirs_len): New variable. Contains lengths of system_dirs
2401 (fillin_rpath): Rewrite for systems_dirs being a simple string.
2402 Improve string comparisons. Change parameter trusted to be a flag.
2404 (_dt_init_paths): Improve using new format for system_dirs.
2406 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
2407 $ORIGIN for SUID binaries.
2409 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
2411 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2413 * sunrpc/Makefile: Generate dependencies for all flavors of
2415 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
2418 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2420 * elf/dlopenold.c: Move #if down after includes to get
2423 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2425 * sysdeps/generic/bzero.c: Undefine __bzero.
2427 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
2429 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
2430 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
2431 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
2432 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
2434 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
2435 parameter to struct gaih_servtuple *. Adapt appropriately.
2436 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
2437 This fixes a memory leak.
2438 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
2440 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
2441 and fpregset_t definition. They are defined in ucontext.h.
2443 1999-04-14 Scott Bambrough <scottb@netwinder.org>
2445 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
2446 and struct ether_header must be packed on the ARM. The default
2447 alignment constraints add padding to the end of the structures.
2449 1999-04-14 Scott Bambrough <scottb@netwinder.org>
2451 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
2452 default alignment constraints add padding to the end of the
2453 structure and between members.
2455 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
2457 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
2458 _dl_cache_libcmp instead of strcmp.
2460 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
2462 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
2464 1998-03-30 Joel Klecker <espy@debian.org>
2466 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
2467 (sysdep-others,install-bin): Add lddlibc4.
2469 1999-05-02 H.J. Lu <hjl@gnu.org>
2471 * timezone/zic.c (dolink): Remove the symlink destination first.
2473 * catgets/open_catalog.c (__open_catalog): Set catalog->status
2474 to "nonexisting" if failed to open the file.
2476 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
2478 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
2481 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
2482 Prevent warnings from multiplication with 0x01010101 by another cast.
2484 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2486 * string/bits/string2.h (memset): Revert to previous version if
2487 unaligned writes are not available.
2489 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
2491 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
2492 better code in presence of the asm.
2494 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2496 * stdlib/fmtmsg.c (keywords): Increase array size for faster
2499 * locale/localeinfo.h (_nl_category_names): Increase array element
2500 size for faster indexing.
2501 * locale/setlocale.c (_nl_category_names): Adjusted.
2503 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2505 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
2507 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2509 * sysdeps/m68k/stackinfo.h: New file.
2511 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
2513 * string/tester.c (test_strchrnul): New function.
2514 (test_memset): Test one more special case.
2516 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
2519 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
2522 * string/bits/string2.h: Fix bugs I introduced in last change.
2524 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
2526 Extend memset optimization.
2527 Correct i686 version of memchr.
2529 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
2531 * sysdeps/i386/bzero.c: Add #undef __bzero.
2533 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
2534 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
2535 exec server simulated a SIGTRAP before we even started up, so gdb is
2538 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
2540 * nss/digits_dots.c: Always initialize not_ok.
2542 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
2544 * string/bits/string2.h (memset): Avoid arithmetic overflow at
2545 compile time, which produces obnoxious warnings. If GCCv2 is
2546 in use, map __bzero to __builtin_memset to enable that
2549 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
2551 * string/bits/string2.h: Add more memset optimizations.
2553 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
2555 * resolv/inet_pton.c (inet_pton4): Little optimizations.
2556 (inet_pton6): Likewise.
2558 * nss/getXXbyYY_r.c: Include assert.h.
2559 * nss/getXXbyYY.c: Likewise.
2561 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2563 * termios/tcgetsid.c (tcgetsid): Rename variable to
2564 tiocgsid_does_not_work.
2566 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
2568 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
2570 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2572 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
2573 This allows e.g. gethostbyname to accept "10.1234".
2574 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
2576 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
2577 non quad IPv4 numbers.
2579 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2581 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
2583 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
2585 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
2586 * argp/argp-parse.c (_argp_hang): Likewise.
2587 * argp/argp-pv.c (argp_program_version): Likewise.
2588 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
2589 * inet/ether_hton.c (ether_hton, startp): Likewise.
2590 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
2591 * inet/getnetgrent_r.c (setup, startp): Likewise.
2592 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
2593 * intl/localealias.c (string_space, string_space_act, string_space_max,
2594 nmap, maxmap): Likewise.
2595 * libio/iopopen.c (proc_file_chain): Likewise.
2596 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
2597 * locale/lc-collate.c (__collate_table, __collate_extra,
2598 __collate_element_hash, __collate_element_strings,
2599 __collate_element_values): Likewise.
2600 * malloc/mcheck.c (mcheck_used): Likewise.
2601 * malloc/mtrace.c (added_atexit_handler): Likewise.
2602 * malloc/set-freeres.c (already_called): Likewise.
2603 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
2604 * misc/syslog.c (LogStat, LogTag): Likewise.
2605 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
2606 * nss/getXXbyYY_r.c (startp): Likewise.
2607 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
2608 * posix/regex.c (init_syntax_once) [done]: Likewise.
2610 * string/strfry.c (init): Likewise.
2611 * sunrpc/svc_run.c (svc_top): Likewise.
2612 * posix/euidaccess.c (have_ids): Likewise.
2613 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
2614 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
2615 * time/getdate.c (getdate_err): Likewise.
2616 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
2618 * time/tzset.c (old_tz, is_initialized): Likewise.
2620 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
2621 of static data with zero.
2622 * signal/allocrtsig.c (init): Likewise.
2624 * string/Makefile (routines): Add strchrnul.
2625 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
2626 * string/string.c: Add strchrnul prototype.
2627 * include/string.h: Add __strchrnul prototype.
2628 * sysdeps/generic/strchrnul.c: New file.
2629 * sysdeps/i386/strchrnul.S: New file.
2630 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
2631 * sysdeps/i386/i486/bits/string.c: Likewise.
2632 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
2633 * inet/ether_line.c (ether_line): Likewise.
2634 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
2635 * nss/nsswitch.c (nss_parse_file): Likewise.
2636 * posix/execvp.c (execvp): Likewise.
2637 * posix/fnmatch.c (internal_fnmatch): Likewise.
2638 * resolv/res_hconf.c (_res_hconv_init): Likewise.
2639 * resolv/res_init.c (res_init): Likewise.
2640 * stdlib/fmtmsg.c (init): Likewise.
2641 * stdlib/getsubopt.c (getsubopt): Likewise.
2643 * catgets/catgets.c (catopen): Only allocate one memory block.
2644 (catclose): Only one free call necessary.
2646 * catgets/open_catalog.c (__open_catalog): Simplify handling of
2649 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
2650 of real functions. Simplify _tolower and _toupper.
2652 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
2655 * iconv/gconv.h (struct gconv_info): Change data element from pointer
2657 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
2658 * iconv/gconv_close.c (__gconv_close): Don't free data.
2660 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
2663 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
2664 for error while inserting in tree.
2666 * include/time.h: Pretty print.
2668 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
2669 in table and lots of relocations.
2670 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
2671 string pointers in table and lots of relocations.
2673 * intl/finddomain.c: Remove definition of strchr macro.
2675 * io/ftw.c (nftw_arr, ftw_arr): Make const.
2677 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
2679 * locale/localeinfo.h (_nl_category_names): Change into an array with
2680 fixed width char string elements.
2681 * locale/setlocale.c (_nl_category_names): Likewise.
2682 (_nl_current): Make global.
2683 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
2685 * malloc/Makefile (distribute): Add stackinfo.h.
2686 * sysdeps/generic/stackinfo.h: New file.
2687 * sysdeps/i386/stackinfo.h: New file.
2688 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
2689 * posix/execle.c: Likewise.
2690 * posix/execlp.c: Likewise.
2692 * nis/nis_table.c (__create_ib_request): Always use realloc.
2694 * posix/execvp.c (execute): Rename to script_execute and keep only
2695 code to execute using shell.
2696 (execvp): Call execv directly and only fall back on script_execute.
2698 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
2699 and always use xdigits instead.
2701 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
2704 * stdlib/fpioconst.h (__tens): New declaration.
2705 (struct mp_power): Remove array, add arrayoff element.
2706 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
2707 __tens array and add in _fpioconst_pow10 offsets into __tens.
2708 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
2709 * stdlib/strtod.c: Likewise.
2711 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
2713 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
2715 * stdlib/atexit.c (__exit_funcs): Don't initialize.
2717 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
2719 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
2720 a single and an array with offsets.
2722 * sunrpc/des_soft.c (partab): Make it const.
2724 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
2725 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
2726 (__key_decryptsession_pk_LOCAL): Likewise.
2727 (__key_gendes_LOCAL): Likewise.
2728 (MESSENGER): Mark const.
2729 (key_call_private_main): Don't initialize with 0.
2730 (use_keyenvoy): Don't initialize with 0.
2731 (key_call): Rewrite to reverse logic of use_doors variable.
2733 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
2734 (startp): Don't initialize with zero.
2736 * sunrpc/openchild.c (_openchild): Make first argument const.
2738 * sunrpc/pmap_rmt.c (timeout): Mark const.
2739 * sunrpc/xcrypt.c (hex): Likewise.
2741 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
2742 initialization of global variables.
2743 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
2744 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2745 * termios/tcgetsid.c: Likewise.
2747 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
2750 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
2751 block. Add function to free memory if wanted.
2752 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
2754 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
2756 * wcsmbs/wmemset.c: Little code optimization.
2758 1999-04-23 Paul Eggert <eggert@twinsun.com>
2760 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
2763 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
2765 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
2766 implementation and just always fail with ENOSYS. This entry point is
2767 obsolete. Add link warning to that effect.
2769 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
2771 * hurd/get-host.c: Include <hurd/lookup.h>.
2773 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
2775 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
2778 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2780 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
2783 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
2785 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
2786 Patch by Peter Miller <millerp@canb.auug.org.au>.
2788 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
2790 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
2791 prefers loopback device.
2793 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
2795 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
2796 no_leading_period change.
2798 * posix/testfnm.c: More test cases.
2800 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
2802 * include/dirent.h: Remove __getdirentries declaration, add __getdents
2804 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
2805 * sysdeps/unix/readdir_r.c: Likewise.
2806 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2807 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
2808 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
2809 __getdirentries. Remove fourth argument.
2810 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
2811 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
2812 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
2813 Add getdirentries and getdirentries64.
2814 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
2816 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
2817 pointer in case of an invalid [[: expression.
2819 * posix/testfnm.c: Add more test cases.
2821 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
2823 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
2824 set, pass EXEC_SIGTRAP flag in exec RPC.
2826 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
2828 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
2829 extra parameter. Fix several more bugs involving wildcard and
2831 (fnmatch): New function. Call internal_fnmatch.
2833 * posix/testfnm.c: More test cases.
2835 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2837 * manual/install.texi (Configuring and compiling): Explain that
2838 files are changed in the source directory.
2840 (Configuring and compiling): Explain situation with PARALLELMFLAGS
2841 in the source directory.
2843 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2845 * locale/programs/ld-ctype.c: Spelling fixes.
2846 (ctype_finish): Fix argument of error message format.
2847 * locale/programs/ld-messages.c: Spelling fixes.
2848 * locale/programs/ld-monetary.c: Spelling fixes.
2849 * locale/programs/ld-time.c (time_finish): Make sure that name and
2850 format of era_entries are adjacent.
2851 (time_output): Reduce the size of the io vector.
2853 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2855 * manual/filesys.texi (Attribute Meanings): Move a misplaced
2858 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2860 * locale/programs/ld-collate.c (collate_output): Convert
2861 undefined_offset to an array index. Fix computation of other
2864 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
2866 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
2867 return success with empty value.
2869 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
2871 * posix/fnmatch.c: Include string.h also for glibc.
2872 (fnmatch, case '?'): Optimize if cascades a bit.
2873 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
2875 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
2877 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
2879 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
2880 * iconv/gconv_int.h: Declare UTF16 functions.
2881 * iconv/gconv_simple.c: Add UTF16 conversion functions.
2883 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2885 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
2886 be used correctly as parameter for parse_dollars/parse_tilde.
2888 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2890 * manual/conf.texi (Utility Limits): Remove duplicate description
2893 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
2895 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
2896 outbufend for dst==NULL.
2898 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
2900 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
2904 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
2907 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
2909 * sunrpc/Makefile: Remove special handling of bootparam.x,
2910 add rpcsvc/bootparam.h to headers.
2911 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
2912 * sunrpc/rpcsvc/bootparam.x: Renamed to...
2913 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
2915 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
2917 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
2918 detect and handle invalid descriptors.
2920 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
2922 * timezone/zic.c (dolink): Append complete path not only filename
2925 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2927 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
2929 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
2931 * iconvdata/gconv-modules: Rename CP874 to IBM874.
2932 * iconvdata/Makefile: Likewise.
2933 * iconvdata/cp874.h: Removed.
2934 * iconvdata/cp874.c: Renamed to...
2935 * iconvdata/ibm874.c: ...this.
2937 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
2939 * sysdeps/unix/sysv/linux/bits/types.h: Correct
2940 signed/unsigned-ness of blkcnt and fsblkcnt.
2941 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2942 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2944 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
2945 SOL_AAL, and SOL_IRDA.
2947 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2949 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
2950 include "linux_fsinfo.h".
2951 Based on a patch by H.J. Lu <hjl@gnu.org>.
2953 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
2955 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
2957 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
2959 * nscd/cache.c (prune_cache): Only disable file checking for
2960 future if the file does not exist.
2961 Update file_mtime if cache was flushed.
2963 1999-04-15 David S. Miller <davem@redhat.com>
2965 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
2966 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
2968 1999-04-15 Scott Bambrough <scottb@netwinder.org>
2970 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
2971 compilation of file.
2973 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
2975 * Versions.def: Add GLIBC_2.1.1 to libpthread.
2977 * iconvdata/Makefile (modules): Add KOI8-U.
2978 (distribute): Add koi8-u.c.
2979 (gen-8bit-gap-modules): Add koi8-u.
2980 * iconvdata/gconv-modules: Add KOI8-U entries.
2981 * iconvdata/koi8-u.c: New file.
2983 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
2985 * sunrpc/auth_des.c: 64bit fixes, security fixes.
2986 * sunrpc/auth_none.c: Pretty print.
2987 * sunrpc/auth_unix.c: Likewise.
2988 * sunrpc/authdes_prot.c: Likewise.
2989 * sunrpc/authuxprot.c: Likewise.
2990 * sunrpc/bindrsvprt.c: Likewise.
2991 * sunrpc/clnt_gen.c: Likewise.
2992 * sunrpc/rpc/xdr.h: Likewise.
2993 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
2994 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
2995 * sunrpc/rtime.c: Use new rpc_timeval.
2996 * sunrpc/svc_authux.c: Don't use *long pointers.
2997 * sunrpc/svcauth_des.c: Likewise + security fixes.
2998 * sunrpc/xdr_mem.c: Don't use *long pointers.
2999 * sunrpc/xdr_rec.c: Likewise.
3000 * sunrpc/xdr_sizeof.c: Likewise.
3001 * sunrpc/xdr_stdio.c: Likewise.
3003 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
3005 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
3006 so that it is redone for each sending.
3008 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3010 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
3012 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
3014 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
3015 known to not exist don't try to load shared objects.
3016 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
3018 * nscd/cache.c (prune_cache): The table might not be unused. In
3019 this case do nothing.
3021 * catgets/gencat.c (read_input_file): Don't drop white spaces
3022 between number/identifier and string.
3023 Patch by Dima Barsky <dima@pwd.hp.com>.
3024 If no white space at all follows number/identifier remove existing
3025 message with the number/identifier.
3027 1999-04-14 H.J. Lu <hjl@gnu.org>
3029 * sunrpc/clnt_udp.c (is_network_up): New function.
3030 (clntudp_call): Call is_network_up () to check if any network
3031 interface is up in case of timeout.
3033 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3035 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
3036 * wctype/Makefile (tests): Add test_wcfuncs.
3038 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
3040 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
3042 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
3044 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
3045 instead of CFLAGS. For gnulib and string directories use
3046 -Wa,-Av9a gcc ASFLAGS.
3047 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
3048 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
3049 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
3050 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
3051 the same way as sparc-*.
3053 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
3055 * locale/programs/locfile.c (locfile_read): Fix typo.
3056 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
3058 1999-04-14 Scott Bambrough <scottb@netwinder.org>
3060 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
3061 restarted after being interrupted by a signal. The parameters on
3062 the stack were corrupted by the signal handler.
3064 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
3065 restarted after being interrupted by a signal. The parameters on
3066 the stack were corrupted by the signal handler.
3068 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3070 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
3071 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
3073 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
3075 * posix/wordexp-test.c: In field-splitting test cases where
3076 subshells were involved, unset IFS first: some shells (ash) use
3077 IFS even when no expansion is performed.
3079 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3081 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
3082 the real end of the chunk, not some random point inbetween.
3083 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
3084 obstack when growing. Use fast version of obstack_blank when
3086 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
3087 allocating the vtable pointer.
3088 (_IO_obstack_vprintf): Adjust for above change and avoid
3089 unnecessary casts. Use fast version of obstack_blank when
3093 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
3095 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
3096 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
3098 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
3100 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
3101 is seen, as well as fixing semantics. Don't reset the word count
3102 to zero when an invalid character is seen, but leave it as it was
3103 (this makes a difference with WRDE_APPEND).
3105 * posix/wordexp-test.c: More test cases.
3107 * posix/wordexp.c (parse_param): In words like ${var#pattern},
3108 always expand pattern when it is needed. Also, handle quoting in
3111 1999-04-12 Philip Blundell <philb@gnu.org>
3113 * elf/elf.h: Update ARM definitions to match current gas2.
3115 * sysdeps/arm/bits/endian.h: Support big endian operation.
3117 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
3118 Don't bother range checking the port number.
3120 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
3122 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
3123 the syscall name in assembler output for ease of debugging.
3125 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
3127 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
3128 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
3129 (sysdep_routines): Add sigrestorer.
3131 * string/tester.c (test_strcpy): Add new tests for unaligned
3133 * sysdeps/arm/bits/string.h: Delete inline implementations of
3136 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
3138 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
3140 1999-04-10 Mark Kettenis <kettenis@gnu.org>
3142 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
3144 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
3146 * iconvdata/Makefile (modules): Add TIS-620.
3147 (distribute): Add tis-620.c.
3148 (gen-8bit-gap-modules): tis-620.
3149 * iconvdata/tis-620.c: New file.
3150 * iconvdata/gconv-modules: Add TIS-620 entries.
3152 * iconvdata/asmo_449.c: Correct comment.
3154 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3156 * manual/install.texi (Configuring and compiling): Comment out
3157 description of --disable-static since this doesn't work currently
3158 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
3160 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
3162 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
3164 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
3166 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3168 * scripts/test-installation.pl (installation_problem): Skip
3169 libnss1_* libraries from glibc-compat add-on.
3171 1999-04-07 H.J. Lu <hjl@gnu.org>
3173 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
3175 * posix/Versions (__waitpid): Likewise.
3177 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3179 * manual/install.texi (Reporting Bugs): Add section about reported
3180 bugs and correct email address of glibcbug script.
3182 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
3184 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
3185 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
3186 xdr_u_longlong_t. Based on patch from Dan Shechter
3187 <damageboy@isdn.net.il>.
3188 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
3189 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
3191 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
3193 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3195 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
3196 directly if getdents returns with error set.
3198 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3200 * locale/langinfo.h (THOUSEP): Rename second occurence of
3201 THOUSANDS_SEP to THOUSEP.
3202 Reported by Roman Belenov <roman@nstl.nnov.ru>.
3204 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
3206 * hurd/STATUS: File removed. Moved items that are still relevant into
3207 TODO list in hurd source.
3209 1999-03-26 Mark Kettenis <kettenis@gnu.org>
3211 * sysdeps/mach/hurd/bits/time.h: New file.
3212 * sysdeps/mach/hurd/getrusage.c: New file.
3213 * sysdeps/mach/hurd/clk_tck.c: New file.
3214 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
3215 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
3216 (sysdep_routines): Add clk_tck.
3217 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
3220 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
3222 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
3223 (closelog): But instead here.
3224 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
3226 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3228 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
3229 the source directory. Fixes PR libc/1059.
3231 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3233 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
3234 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3236 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
3238 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
3239 * iconvdata/testdata/ISO-8859-14: New file.
3240 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
3241 * iconvdata/testdata/ISO-8859-15: New file.
3242 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
3244 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
3246 * iconvdata/testdata/CP1258: New file.
3247 * iconvdata/testdata/CP1258..UTF8: New file.
3248 * iconvdata/TESTS: Add CP1258 entry.
3250 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
3252 * timezone/africa: Update from tzdata1999d.
3253 * timezone/europe: Likewise.
3254 * timezone/northamerica: Likewise.
3256 1999-03-31 Mark Kettenis <kettenis@gnu.org>
3258 * login/programs/pt_chown.c (main): Save effective user ID before
3259 dropping priviliges and use this to check if the program is
3262 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
3264 * iconvdata/testdata/CP1254: Update for charmap changes.
3265 * iconvdata/testdata/CP1254..UTF8: Likewise.
3266 * iconvdata/testdata/CP1255: Likewise.
3267 * iconvdata/testdata/CP1255..UTF8: Likewise.
3268 * iconvdata/testdata/CP1256: Likewise.
3269 * iconvdata/testdata/CP1256..UTF8: Likewise.
3270 * iconvdata/testdata/CP1257: Likewise.
3271 * iconvdata/testdata/CP1257..UTF8: Likewise.
3273 * iconvdata/Makefile (distribute): Remove cp1258.h.
3274 (gen-8bit-gap-modules): Add cp1258.
3275 * iconvdata/cp1258.h: Removed.
3277 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
3279 * timezone/tst-timezone.c (tests): Add more cases.
3280 (check_tzvars): Mark errors clearer.
3283 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
3285 * login/programs/pt_chown.c: Drop privileges if invoked with
3286 arguments. Don't close the master pty.
3288 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
3290 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
3293 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
3295 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
3296 relocation for SUID binaries.
3298 1999-03-29 Paul Eggert <eggert@twinsun.com>
3300 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
3301 while in child process.
3303 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
3305 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
3306 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
3307 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
3308 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
3309 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
3311 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
3312 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
3313 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
3314 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
3315 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
3316 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
3317 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
3318 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
3319 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
3320 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
3321 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
3322 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
3323 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
3324 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
3325 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
3326 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
3327 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
3328 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
3329 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
3330 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
3331 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
3332 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
3333 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
3334 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
3335 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
3336 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
3338 * sysdeps/sparc/sparc32/bcopy.c: New file.
3339 * sysdeps/sparc/sparc32/bzero.c: New file.
3340 * sysdeps/sparc/sparc32/memchr.S: New file.
3341 * sysdeps/sparc/sparc32/memcpy.S: New file.
3342 * sysdeps/sparc/sparc32/memmove.c: New file.
3343 * sysdeps/sparc/sparc32/memset.S: New file.
3344 * sysdeps/sparc/sparc32/stpcpy.S: New file.
3345 * sysdeps/sparc/sparc32/strchr.S: New file.
3346 * sysdeps/sparc/sparc32/strrchr.c: New file.
3347 * sysdeps/sparc/sparc32/strcpy.S: New file.
3348 * sysdeps/sparc/sparc32/strlen.S: New file.
3349 * sysdeps/sparc/sparc32/strcat.S: New file.
3350 * sysdeps/sparc/sparc32/strcmp.S: New file.
3352 * sysdeps/sparc/sparc64/bcopy.c: New file.
3353 * sysdeps/sparc/sparc64/bzero.c: New file.
3354 * sysdeps/sparc/sparc64/memchr.S: New file.
3355 * sysdeps/sparc/sparc64/memcmp.S: New file.
3356 * sysdeps/sparc/sparc64/memcpy.S: New file.
3357 * sysdeps/sparc/sparc64/memset.S: New file.
3358 * sysdeps/sparc/sparc64/stpcpy.S: New file.
3359 * sysdeps/sparc/sparc64/strcat.S: New file.
3360 * sysdeps/sparc/sparc64/strchr.S: New file.
3361 * sysdeps/sparc/sparc64/strcmp.S: New file.
3362 * sysdeps/sparc/sparc64/strcpy.S: New file.
3363 * sysdeps/sparc/sparc64/strcspn.S: New file.
3364 * sysdeps/sparc/sparc64/strlen.S: New file.
3365 * sysdeps/sparc/sparc64/strncpy.S: New file.
3366 * sysdeps/sparc/sparc64/strpbrk.S: New file.
3367 * sysdeps/sparc/sparc64/strrchr.c: New file.
3368 * sysdeps/sparc/sparc64/strspn.S: New file.
3369 * sysdeps/sparc/sparc64/stpncpy.S: New file.
3370 * sysdeps/sparc/sparc64/strncmp.S: New file.
3372 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
3373 Append -fPIC, don't replace.
3375 * configure.in: Recognize sparcv8plus / sparcv9.
3377 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3379 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
3380 char * to avoid C++ warning.
3381 Patch by yasushi@cs.washington.edu [PR libc/1035].
3383 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3385 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
3386 declared in stdlib.h, correct return value of mkstemp.
3387 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
3389 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
3392 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3394 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
3397 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
3398 inline functions. Closes PR libc/1049.
3400 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3402 * timezone/README: Update from tzdata1999c and tzcode1999c.
3404 * timezone/africa: Update from tzdata1999c.
3405 * timezone/antarctica: Likewise.
3406 * timezone/asia: Likewise.
3407 * timezone/australasia: Likewise.
3408 * timezone/europe: Likewise.
3409 * timezone/northamerica: Likewise.
3410 * timezone/southamerica: Likewise.
3411 * timezone/zone.tab: Likewise.
3413 * timezone/zic.c: Update from tzcode1999c.
3415 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3417 * Makerules: Add $(common-objpfx)Versions.all to common-generated
3418 outside of ifndef avoid-generated.
3420 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
3422 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
3424 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
3426 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
3427 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
3429 1999-03-26 Mark Kettenis <kettenis@gnu.org>
3431 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
3432 if we build the profiled library.
3434 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3436 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
3437 Jaeger <aj@arthur.rhein-neckar.de>
3439 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
3441 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
3442 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
3443 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
3445 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
3447 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
3448 works properly in subdirs.
3450 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
3452 * sysdeps/mach/hurd/Makefile: Undo last change.
3453 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
3454 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
3456 * mach/Machrules (+preinit, +postinit, +interp,
3457 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
3458 linked just like other shared libraries.
3459 (interface.so): Fix typo in defn, so it works.
3460 ($(objpfx)$(interface.so)): Make it depend on libc.so.
3462 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
3464 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
3465 $(link-rpcuserlibs).
3467 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3469 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
3470 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
3471 targets if not building shared libraries.
3473 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3475 * configure.in: Also look in $PATH when searching for
3476 install-info. Remove autoconf bug workaround and require autoconf
3479 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3481 * db/Makefile: Don't try to install shared library link if not
3482 building with shared libs.
3484 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3486 * rt/Makefile: Link against static library if no shared lib is
3489 * localedata/Makefile: The shells scripts implementing the test
3490 require the dynamic linker which is not available with
3491 --disable-shared. Skip the test if --disable-shared is given.
3493 * linuxthreads/Makefile: Link test against static libpthread if no
3494 shared lib is available.
3496 * iconvdata/Makefile (tests): Run iconv-test only if we're
3497 building shared libraries.
3498 * elf/Makefile (tests): Likewise for elf tests.
3500 * posix/Makefile: The test frameworks globtest and wordexp-test
3501 require the dynamic linker which is not available with
3502 --disable-shared. Skip the test if --disable-shared is given.
3504 * grp/Makefile (otherlibs): For static nss build link against
3507 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3509 * debug/Makefile (install-bin): Install and build catchsegv only
3510 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
3513 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3515 * time/tzfile.c (__tzfile_read): Handle the case where there are
3516 transitions but no DST.
3518 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
3520 * mach/Machrules (extra-libs-others): Add $(interface-library) here
3521 too, so it gets built in the others pass rather than the lib pass.
3522 This is necessary since the RPC libraries need to be linked against
3525 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
3527 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
3530 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
3531 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
3532 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
3533 versions of lib{mach,hurd}user.so without reference to libc.so,
3534 then link libc.so against that to get deps and symbol versions, then
3535 finally link real lib*user.so against libc.so.
3537 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
3538 Support whole-file locking (only) by using the file_lock RPC. This
3539 has very wrong semantics, but is better than nothing for the time
3540 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
3541 protocols that will be somewhat hairy to specify.)
3543 1999-03-17 Mark Kettenis <kettenis@gnu.org>
3545 * sysdeps/mach/hurd/ptsname.c: New file.
3547 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3549 * timezone/asia: Fix rule in Asia/Nicosia entry.
3551 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3553 * manual/getopt.texi (Using Getopt): Explain "::" in option
3554 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
3556 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
3558 * sunrpc/clnt_unix.c: Fix creation of parameters for
3559 sendmsg/recvmsg on non intel platforms.
3560 * sunrpc/svc_unix.c: Likewise.
3562 1999-03-18 Philip Blundell <philb@gnu.org>
3564 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
3567 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3569 * timezone/africa: Update from tzdata1999b.
3570 * timezone/asia: Likewise.
3571 * timezone/australasia: Likewise.
3572 * timezone/europe: Likewise.
3573 * timezone/northamerica: Likewise.
3574 * timezone/southamerica: Likewise.
3575 * timezone/zone.tab: Likewise.
3577 * timezone/README: Mention tzdata1999b.
3579 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
3581 * sysdeps/generic/segfault.c (write_strsignal): New function.
3582 (catch_segfault): Use it instead of calling strsignal.
3584 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3586 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
3587 char to avoid warning.
3589 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
3591 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
3593 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
3594 outbuf to unsigned char to avoid warning.
3596 1999-03-11 David S. Miller <davem@redhat.com>
3598 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
3600 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
3602 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
3604 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
3606 (gconv_step_data): Likewise.
3607 * iconv/gconv_int.h (__gconv): Likewise.
3608 (__BUILINT_TRANS): Likewise.
3609 * iconv/gconv.c (__gconv): Likewise.
3610 * iconv/iconv.c (iconv): Add casts for call of __gconv.
3611 * iconv/skeleton.c: Change local parameters and variable from `char' to
3612 `unsigned char'. Remove casts from calls into modules.
3613 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
3614 `char' to `unsigned char'.
3615 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
3616 * wcsmbs/mbrtowc.c: Likewise.
3617 * wcsmbs/mbsnrtowcs.c: Likewise.
3618 * wcsmbs/mbsrtowcs.c: Likewise.
3619 * wcsmbs/wcrtomb.c: Likewise.
3620 * wcsmbs/wcsnrtombs.c: Likewise.
3621 * wcsmbs/wcsrtombs.c: Likewise.
3622 * wcsmbs/wctob.c: Likewise.
3624 1999-03-15 Mark Kettenis <kettenis@gnu.org>
3626 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
3627 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
3628 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
3629 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
3630 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
3631 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
3633 1999-03-15 Mark Kettenis <kettenis@gnu.org>
3635 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
3636 _hurd_select if TIMEMOUT is -1.
3638 1999-03-15 Mark Kettenis <kettenis@gnu.org>
3640 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
3642 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
3644 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
3645 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
3647 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3649 * manual/libc.texinfo: Undo last change for now.
3651 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
3653 * intl/locale.alias: Add entries for Croatian.
3654 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
3656 1999-03-13 Mark Kettenis <kettenis@gnu.org>
3658 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
3659 if the opened master pty really is a pty. `isatty' checks for
3660 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
3661 if we are out of pty's.
3663 1999-03-13 Mark Kettenis <kettenis@gnu.org>
3665 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
3666 opened file is closed on exec.
3667 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
3670 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3672 * manual/llio.texi (File Position Primitive): Reformat @end
3673 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
3675 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
3677 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
3679 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3680 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
3682 * locale/programs/localedef.c (main): Initialize `cat' to please
3685 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
3687 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
3688 check for root-owned symlinks and reject them too.
3690 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3692 * stdio-common/printf_fphex.c: Move to ...
3693 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
3694 extended precision number.
3695 * sysdeps/m68k/printf_fphex.c: New file.
3697 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3699 * manual/stdio.texi: Fix typos.
3701 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
3703 * version.h (VERSION): Bump to 2.1.1.
3705 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
3707 * nis/ypclnt.c: Try only twice to connect to NIS server.
3709 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
3711 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
3713 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3715 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
3716 (DENORM_EXP): New define. Use it as the exponent for a denormal.
3717 * stdlib/strtold.c: Moved to ...
3718 * sysdeps/generic/strtold.c: ... here.
3719 * sysdeps/m68k/strtold.c: New file.
3721 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3723 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
3724 point if the precision is zero, even if the mantissa is non-zero.
3726 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
3728 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
3729 arguments into the request message buffer inside `send_rpc'
3730 subfunction. We must repeat the marshalling when retrying the RPC
3731 after a SIGTTOU delivery.
3733 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
3734 path when there is no ctty port.
3735 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
3736 Move sigstate check inside loop so we recheck after handling a signal.
3738 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3740 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
3741 O_EXLOCK are BSD extensions.
3742 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
3744 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
3746 * manual/signal.texi (Termination in Handler): Correct example.
3747 Install default handler before reraising the signal.
3748 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
3750 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
3752 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
3753 null, in which case send an empty string.
3755 1999-03-02 Mark Kettenis <kettenis@gnu.org>
3757 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
3758 backward compatibility EH functions to be linked when using
3759 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
3761 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3763 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
3764 /dev/pts status may change during runtime.
3766 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3768 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
3769 change. /dev/pts status can change during runtime.
3771 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
3773 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
3775 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
3776 add some more sanity checks.
3777 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
3780 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
3782 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
3783 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
3784 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
3785 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
3786 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
3788 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
3789 * nis/nis_print.c: Fix ctime argument for platforms where
3790 sizeof (time_t) != sizeof (int).
3792 1999-03-07 Mark Kettenis <kettenis@gnu.org>
3794 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
3795 CLOCKS_PER_SEC instead of CLK_TCK.
3797 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
3799 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
3800 whether /dev/pts is available.
3801 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
3804 * posix/globtest.sh: Make common_objpfx path absolute and and db2
3805 and hesiod directory to library path [PR libc/1007].
3807 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3809 * resolv/inet_addr.c (inet_aton): Don't allow componets >
3810 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
3812 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
3814 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
3815 DT_PLTGOT has already been relocated.
3816 (__elf_machine_fixup_plt): Likewise.
3819 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
3821 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
3823 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
3825 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
3826 and fold string to uppercase [PR libc/1005].
3828 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3830 * elf/dl-load.c (lose): Fix return type.
3832 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
3834 * sysdeps/mach/hurd/bits/fcntl.h
3835 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
3836 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
3837 set O_NOTRANS as well.
3838 (__hurd_file_name_lookup_retry): At successful end of lookup,
3839 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
3840 it is a translated node not owned by root.
3841 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
3842 on the file name passed to LOOKUP.
3844 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
3846 * manual/time.texi (High Resolution Timer): Correct computation in
3847 example. Reported by jjf@devel.cemsys.com.
3849 1999-03-02 Philip Blundell <pb@nexus.co.uk>
3851 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
3852 entry is already relocated.
3854 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3856 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
3857 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
3859 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3861 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
3862 uc_link which is the right name according to Unix98.
3863 Reported by Craig Metz [PR libc/1001].
3864 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
3865 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
3866 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
3867 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
3868 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
3869 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
3871 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3873 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
3876 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3878 * iconvdata/Makefile: Always include iconv-rules, but disable rule
3879 to regenerate it if avoid-generated.
3881 * Makeconfig: Always include sys-dirs, but disable rule to
3882 regenerate it when avoid-generated.
3884 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
3885 rule to generate sysd-syscalls.
3887 * elf/Makefile (generated): Remove $(objpfx) from names.
3889 1999-02-28 Mark Kettenis <kettenis@gnu.org>
3891 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
3892 actual length if the adress length is smaller than the input
3893 value. Change type of *LEN paramater to socklen_t.
3894 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
3895 * sysdeps/mach/hurd/accept.c (accept): Likewise.
3896 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
3897 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
3898 paramater to socklen_t.
3900 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
3902 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
3903 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
3906 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
3908 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
3909 __get_phys_pages): Cast &HBI to silence warning.
3911 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
3912 * hurd/hurdchdir.c: New file.
3913 * hurd/hurdfchdir.c: New file.
3914 * sysdeps/mach/hurd/chroot.c: Call
3915 _hurd_change_directory_port_from_name to do the work.
3916 * sysdeps/mach/hurd/chdir.c: Likewise.
3917 * sysdeps/mach/hurd/fchdir.c: Call
3918 _hurd_change_directory_port_from_fd to do the work.
3919 * hurd/fchroot.c: Likewise.
3920 * hurd/hurd.h: Declare them.
3922 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
3924 * elf/dl-load.c (lose): Add more comments to explain the `why'.
3925 (_dl_map_object): Remove redundant test.
3927 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
3929 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
3930 try to _hurd_port_free a lower-numbered descriptor that was not in any
3933 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3935 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
3936 declaration for ____wcstod_l_internal.
3938 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
3939 __strtod_internal prototype.
3940 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
3941 (____strtold_l_internal): Add prototype declaration.
3942 (__strtold_l): Call correct function.
3944 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
3946 * elf/elf.h: Add 32bit HPPA definitions.
3948 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3950 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
3951 non-checked heap is restored when malloc checking was requested by
3953 (struct malloc_state): Add using_malloc_checking.
3954 (MALLOC_STATE_VERSION): Increment minor.
3955 (using_malloc_checking, disallow_malloc_check): New variables.
3956 (__malloc_check_init): Use them.
3957 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
3958 that it can the chunk is properly instrumented when malloc
3959 checking is enabled. Set the new using_malloc_checking field.
3960 (malloc_hook_ini): Correct signature when _LIBC is not defined.
3962 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3964 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
3965 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
3968 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
3969 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
3970 if ld.so is the main program.
3972 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
3974 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
3975 large for work_buffer, allocate new buffer.
3976 (printf_unknown): Likewise. [PR libc/988]
3978 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
3980 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
3981 instead of stat and fstat.
3982 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3984 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3986 * elf/dl-error.c (_dl_signal_cerror): New function.
3987 (_dl_signal_error): Don't call receiver function.
3988 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
3989 instead of _dl_signal_error when reporting references to undefined
3990 symbols or versions.
3991 (_dl_lookup_versioned_symbol): Likewise.
3992 (_dl_lookup_versioned_symbol_skip): Likewise.
3993 * elf/dl-version.c (match_symbol): Likewise.
3995 * elf/ldsodefs.h: Declare _dl_signal_cerror.
3997 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
3999 * misc/getttyent.c (getttyent): Release lock on stream later to
4000 also protect global variable zapchar.
4002 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
4003 __times [PR libc/990].
4005 1999-02-21 David S. Miller <davem@redhat.com>
4007 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
4008 parentheses in Feb 2 changes.
4009 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
4011 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4013 * sysdeps/generic/glob.c (glob): Save previous errno.
4015 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
4017 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
4018 lookup functions if it is too small.
4020 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
4022 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
4023 for tracing to the scope lists.
4024 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
4025 DT_SYMTAB is always available according to ELF spec.
4027 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
4028 call test whether there is any scope left.
4029 (_dl_lookup_versioned_symbol_skip): Likewise.
4031 * elf/Makefile (distribute): Add do-lookup.h.
4032 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
4033 * elf/dl-lookup.c: Move do_lookup function in separate file and
4034 include the file twice, for handling versioning and without it.
4036 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
4037 entry is already relocated.
4038 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
4039 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
4040 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
4041 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
4043 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
4045 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
4048 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
4049 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
4050 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
4051 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
4052 rel and rela relocations can both happen and skip one test if this
4054 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
4056 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
4058 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
4060 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
4061 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
4062 (_dl_map_object): DT_STRTAB entry is already relocated.
4063 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
4065 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
4067 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
4068 DT_VERSYM entries are already relocated.
4069 (profile_fixup): Likewise.
4070 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
4072 (match_symbol): DT_STRTAB entry is already relocated.
4073 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
4074 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
4075 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
4076 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
4077 (find_needed): DT_STRTAB entry is already relocated.
4078 (dl_main): Pass extra argument to elf_get_dynamic_info.
4079 DT_STRTAB entry is already relocated.
4080 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
4081 DT_PLTGOT entries are already relocated.
4082 (elf_machine_rela): Likewise for DT_SYMTAB.
4083 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
4085 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4086 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
4087 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4088 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4089 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
4090 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
4091 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
4092 * sysdeps/mips/mips64/dl-machine.h: Likewise.
4094 * grp/initgroups.c (initgroups): If function in current module was
4095 successful don't stop but continue to process to get all the groups.
4097 * elf/dl-load.c (_dl_map_object_from_fd): Use global
4098 _dl_pf_to_proot array to convert p_flags value.
4099 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4101 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
4102 loop to clear `info'.
4104 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
4105 do the work and don't use inline assembler.
4107 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
4109 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
4110 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
4111 noreturn, and prevent it from being inlined.
4112 Define LOSE appropriately.
4113 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
4114 Optimize decoding of p_flags for certain platforms.
4116 1999-02-19 Philip Blundell <pb@nexus.co.uk>
4118 * Makeconfig (link-libc): When doing a static link, make sure that
4119 libgcc.a is included both before and after libc.a.
4121 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
4123 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
4124 sp_warn, sp_inact, sp_expire and sp_flag.
4126 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
4128 * elf/link.h (link_map): Add l_dev and l_ino.
4129 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
4130 loaded shared object with all loaded objects. Initialize l_ino
4131 and l_dev in case it's new.
4132 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
4134 * elf/Makefile: Compile and run new test.
4135 * elf/multiload.c: New file.
4137 * nss/nsswitch.h (service_user): Change name field from const char *
4139 (name_database_entry): Likewise.
4140 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
4141 for change of `service_user'.
4142 (nss_getline): Adjust memory allocation for change of
4143 `name_database_entry'.
4145 * catgets/catgets.c: Correctly handle NLSPATH from environment
4148 * io/Makefile (routines): Add lock64.
4149 * io/Versions: Add lockf64 for GLIBC_2.1.1.
4150 * sysdeps/generic/lockf64.c: New file.
4152 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
4154 * string/bits/string2.h: Only use strncmp optimization if count
4155 argument is constant.
4157 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
4159 * sysdeps/mach/hurd/revoke.c: New file.
4161 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
4163 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
4164 int to avoid warning about `ISO C restricts enumerator values to
4167 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4169 * elf/dlfcn.h: Fix typo.
4170 * sysdeps/generic/bits/dlfcn.h: Likewise.
4171 * sysdeps/mips/bits/dlfcn.h: Likewise.
4173 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
4175 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
4176 for the case N == 0.
4178 * db2/Makefile (distribute): Add LICENSE.
4180 1999-02-03 Jeff Bailey <jbailey@nisa.net>
4182 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
4185 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
4187 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
4189 * time/mktime.c: Use ISO C form for function definitions and
4190 remove unnecessary prototypes.
4192 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
4194 * time/time.h: Avoid unneccesary #ifdef.
4196 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
4198 * stdio-common/_itoa.c (_itoa): Correct parameters to
4201 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4203 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
4204 before (e.g. in glob.h).
4207 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4209 * sysdeps/mips/fpu_control.h: Fix typo.
4210 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
4213 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
4215 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
4216 the "unused" ends of the sockets. Let pipes be bidirectional.
4218 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
4220 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
4223 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4225 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
4226 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
4228 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
4229 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
4231 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
4233 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
4235 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4237 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
4238 check for priority mask.
4240 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
4242 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
4243 Reported by Craig Metz <cmetz@inner.net> .
4245 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4247 * stdio-common/Makefile (tests): tllformat added.
4249 * stdio-common/tllformat.c: New program, based on tiformat.c with
4250 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4252 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4254 * posix/test-vfork.c: Fix exit status test.
4256 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4258 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
4259 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
4261 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4263 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
4264 of separare explicit comparisons.
4266 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4268 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
4271 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
4274 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
4276 * po/el.po: Update from translation team.
4278 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4280 * intl/locale.alias: Fix slovenian entry [PR libc/948].
4282 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4284 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
4285 * inet/ruserpass.c: Likewise.
4286 * locale/programs/stringtrans.c: Likewise.
4287 * locale/programs/localedef.c: Likewise.
4288 * nscd/grpcache.c: Likewise.
4289 * nss/nss_files/files-XXX.c: Likewise.
4290 * stdlib/canonicalize.c: Likewise.
4291 * sysdeps/posix/sigwait.c: Likewise.
4293 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4295 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
4296 even on 64 bit platforms.
4298 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4299 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
4301 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
4303 * intl/dcgettext.c: Include locale.h is available.
4305 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
4307 * po/nl.po: Update from translation team.
4309 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
4311 * Makefile: Allow calling goals for po subdir.
4313 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
4316 * po/el.po: New file.
4318 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4320 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
4321 when processing DT_SYMBOLIC objects.
4323 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4325 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
4326 program headers without PT_PHDR only require that they are
4327 contained within one of the loaded segments. Don't use assert,
4328 since that would be a bug in the object, not the dynamic linker.
4330 1999-02-08 Richard Henderson <rth@cygnus.com>
4332 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
4333 restore all call-clobbered fp regs.
4335 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
4337 * po/cs.po: New file.
4339 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
4342 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
4344 * signal/signal.h: Don't declare __libc_allocate_rtsig.
4345 * include/signal.h: Declare __libc_allocate_rtsig here.
4347 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
4348 point functions, not do_lookup since the later can be called more
4351 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
4353 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
4354 macro, so that architectures which need to add some special
4355 offset to stack pointer can share this file.
4357 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
4358 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
4359 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
4360 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
4362 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
4363 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
4364 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
4365 between sparc32 and sparc64.
4367 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
4368 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
4369 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
4370 between sparc32 and sparc64.
4372 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
4373 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
4374 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
4375 between sparc32 and sparc64.
4377 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
4378 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
4379 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
4380 between sparc32 and sparc64.
4382 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
4384 * Versions.def: New version GLIBC_2.1.1 for libc.
4385 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
4386 * stdlib/labs.c: Moved to...
4387 * sysdeps/generic/labs.c: ...here.
4388 * stdlib/llabs.c: Moved to...
4389 * sysdeps/generic/llabs.c: ...here.
4390 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
4391 header. Declare _Exit.
4392 * sysdeps/generic/_exit.c: Add alias _Exit.
4393 * sysdeps/mach/hurd/_exit.c: Likewise.
4394 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
4395 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
4396 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
4397 * sysdeps/unix/_exit.c: Likewise.
4398 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
4399 imaxdiv and imaxabs. Declare lldiv_t if necessary.
4400 * sysdeps/wordsize-64/inttypes.h: Likewise.
4401 * sysdeps/wordsize-32/llabs.c: New file.
4402 * sysdeps/wordsize-32/lldiv.c: New file.
4403 * sysdeps/wordsize-64/labs.c: New file.
4404 * sysdeps/wordsize-64/ldiv.c: New file.
4405 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
4406 * manual/startup.texi: Document _Exit.
4408 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4410 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
4412 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
4414 * Versions.def: Add versions for ld.so.
4415 * csu/Versions: Remove __libc_stack_end here.
4416 * elf/Versions: Split libc definitions in libc and ld.so definitions.
4417 * elf/Makefile (ld-map): Change to ld.so.map.
4418 * scripts/versions.awk: Recognize dot in library names.
4420 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
4421 Don't use __tolower and __toupper in inline functions.
4422 Add optimizing macros for tolower and toupper.
4423 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
4424 (_toupper): Don't use __toupper.
4425 * ctype/ctype.c (tolower): Don't use __tolower.
4426 (toupper): Don't use toupper.
4428 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
4430 * resolv/Versions (libresolv): Export __ns_name_unpack and
4432 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
4433 make it global. Change all users. Similar for ns_name_ntop.
4434 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
4435 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
4436 directly to detect too small buffer.
4437 * resolv/nss_dns/dns-network.c: Likewise.
4439 * stdio-common/Makefile (tests): Add scanf12.
4440 * stdio-common/scanf12.c: New file.
4441 * stdio-common/scanf12.input: New file.
4442 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
4443 floating-point correctly if the number is invalid.
4445 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
4447 * stdio-common/printf_fp.c: Likewise.
4448 * stdio-common/printf_fphex.c: Likewise.
4449 * stdio-common/vfprintf.c: Likewise.
4452 See ChangeLog.9 for earlier changes.