1 1999-07-11 Ulrich Drepper <drepper@cygnus.com>
3 * Versions.def (libnss_hesiod): Add GLIBC_2.2.
4 * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
5 _nss_hesiod_initgroups.
7 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
9 * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
10 (_hurd_set_brk, init_brk): Use that instead of &__data_start.
11 Initialize it from &__data_start if defined, or else &_end.
13 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
15 * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
16 for MAP_ANON, prot==PROT_READ|PROT_WRITE.
18 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
20 * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
22 1999-07-09 H.J. Lu <hjl@gnu.org>
24 * Versions.def (GLIBC_2.1.2): Added.
26 * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
28 * nss/getXXbyYY_r.c: Likewise.
30 * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
32 * inet/Versions (getaliasbyname_r, getaliasent_r,
33 gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
34 gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
35 getnetgrent_r, getprotobyname_r, getprotobynumber_r,
36 getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
37 getservbyname_r): Likewise.
38 * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
39 * shadow/Versions (getspent_r, getspnam_r): Likewise.
41 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
43 * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
45 (__memset_cc): Likewise.
47 * sysdeps/generic/libc-start.c: For SUID binaries check whether
48 the standard file descriptors are open.
49 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
51 * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
52 * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
53 range of mmap. If not fail.
54 Patches by Daniel Jacobowitz <dan@debian.org>.
56 * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
57 before the relocation happened.
58 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
60 * Versions.def (libnsl): Add GLIBC_2.2.
61 * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
63 1999-07-08 Cristian Gafton <gafton@redhat.com>
65 * nis/yp_xdr.c (xdr_ypall): New function.
67 1999-07-09 Andreas Schwab <schwab@suse.de>
69 * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
71 * dlfcn/Makefile (headers): Add bits/dlfcn.h.
73 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
75 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
76 * hesiod/hesiod-grp.c: Add initgroups support.
77 Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
79 1999-07-08 Andreas Schwab <schwab@suse.de>
81 * libio/iofopncook.c (fopencookie): Set _fileno to -2.
83 * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
86 * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
88 * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
90 1999-07-08 Andreas Schwab <schwab@suse.de>
92 * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
94 1999-07-08 Andreas Schwab <schwab@suse.de>
96 * libio/fileno.c: Return -1 instead of EOF and set errno if the
97 stream is not a real file stream.
99 1999-07-08 Andreas Schwab <schwab@suse.de>
101 * manual/charset.texi: Fix typos.
103 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
105 * sysdeps/gnu/Makefile (libdl-routines): Add eval.
107 1999-07-06 Zack Weinberg <zack@rabi.columbia.edu>
109 * dlfcn: New directory. Move the following files from elf:
110 dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
111 dlopenold.c, dlsym.c, dlvsym.c.
112 * dlfcn/Makefile: New file.
113 * dlfcn/Versions: New file.
114 * dlfcn/dlsym.c: All ELF-specific code split out to new
116 * dlfcn/dlvsym.c: All ELF-specific code split out to new
118 * elf/dl-sym.c: New file. _dl_sym and _dl_vsym are
121 * dlfcn/dladdr.c: Remove all references to ELF data structures
123 * dlfcn/dlclose.c: Likewise.
124 * dlfcn/dlerror.c: Likewise.
125 * dlfcn/dlopen.c: Likewise.
126 * dlfcn/dlopenold.c: Likewise.
128 * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
129 yes, empty otherwise.
130 (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
131 depending on build-shared.
132 (subdirs): Add $(dlfcn).
133 (rpath-dirs): Add dlfcn.
134 * elf/Makefile: Remove all references to libdl or its
135 components, except the ones relating to the test cases.
136 (routines): Add dl-sym.
137 * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
140 * elf/dl-close.c (_dl_close): Change argument to void *.
141 * elf/dl-open.c (_dl_open): Change return type to void *.
142 * elf/eval.c: Removed.
143 * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
144 _dlerror_run, _dl_open, _dl_close, _dl_addr, and
145 _dl_mcount_wrapper_check to include/dlfcn.h. Delete
147 * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
148 Include real header from dlfcn directory.
149 * include/ldsodefs.h: Removed.
151 * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
152 * nss/getXXbyYY_r.c: Likewise.
153 * nss/getXXent_r.c: Likewise.
154 * iconv/gconv.c: Likewise. Don't include ldsodefs.h.
155 * iconv/gconv_db.c: Likewise. Don't include ldsodefs.h.
156 * iconv/skeleton.c: Don't include ldsodefs.h.
157 * nss/nsswitch.h: Don't include ldsodefs.h. Include dlfcn.h.
159 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
161 * sysdeps/generic/setenv.c: Describe problem.
163 * malloc/malloc.c (request2size): Also set errno if failing.
165 * malloc/malloc.c (request2size): Take care of overflow in
168 * sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd
169 (NULL, != 0) correctly.
171 * elf/dl-load.c: Use a few more __builtin_expect.
173 * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
176 1999-07-07 Andreas Schwab <schwab@suse.de>
178 * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
179 (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
180 (_PATH_DEVPTMX): Use _PATH_DEV.
182 1999-07-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
184 * malloc/tst-malloc.c: New file. Tests some basic functionality.
185 * malloc/Makefile (tests): Add tst-malloc.
187 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
189 * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
192 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
194 Patch by Jay Estabrook.
196 * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
198 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
199 Patch by Cristian Gafton.
201 1999-07-02 Cristian Gafton <gafton@redhat.com>
203 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
204 instead of "return NULL" to make C++ happy.
206 1999-07-04 Mark Kettenis <kettenis@gnu.org>
208 * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
209 allowed by the file access mode of the open file.
211 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
213 * sysdeps/generic/setfpucw.c: Include math.h to get all needed
216 1999-07-03 Jakub Jelinek <jj@ultra.linux.cz>
218 * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
219 * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
220 * sysdeps/sparc/sparc64/rshift.S: Likewise.
221 * sysdeps/sparc/sparc64/mul_1.S: Optimize.
223 1999-07-04 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
225 * malloc/malloc.c (request2size): Check for overflow and return
226 NULL whenever it is encountered.
228 1999-07-04 Zack Weinberg <zack@rabi.columbia.edu>
230 * sysdeps/posix/tempname.c (__gen_tempname): Add
231 ability to create directories. Replace OPENIT and LARGEFILE
232 args with a single flags parameter.
233 * sysdeps/generic/tempname.c: Likewise.
234 * include/stdio.h: Adjust prototype of __gen_tempname to
235 match. Define symbolic constants for second argument.
237 * misc/mkdtemp.c: New file, provides new function mkdtemp().
238 * stdlib/stdlib.h: Prototype it.
239 * misc/Versions: Export it.
240 * misc/Makefile (routines): Add mktemp.
241 * manual/filesys.texi: Document it.
243 * misc/mktemp.c: Adjust call of __gen_tempname to match new
245 * misc/mkstemp.c: Likewise.
246 * stdio-common/tempnam.c: Likewise.
247 * stdio-common/tmpfile.c: Likewise.
248 * stdio-common/tmpfile64.c: Likewise.
249 * stdio-common/tmpnam.c: Likewise.
250 * stdio-common/tmpnam_r.c: Likewise.
252 1999-07-05 Jakub Jelinek <jj@ultra.linux.cz>
254 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
255 R_SPARC_OLO10 relocations.
256 * elf/elf.h (R_SPARC_OLO10): Fix comment.
258 1999-07-02 Tim Waugh <tim@cyberelk.demon.co.uk>
260 * posix/wordexp-test.c: Revert bogus 'unset IFS' change. It
261 doesn't belong in the tests, but in the wordexp implementation.
263 * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
266 1999-07-01 Cristian Gafton <gafton@redhat.com>
268 * time/strptime.c (strptime): Initialize the tm struct first to avoid
269 returning bogus results on incomplete data.
270 (strptime_internal): day_of_the_week() requres bith tm_mon and
271 tm_mday to be initializaed.
272 Computer them first if they are not given.
273 (strptime_internal): (have_mon, have_mday): New variables.
275 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
277 * inet/rcmd.c (__icheckhost): Fix typo in last patch.
279 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
281 * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
282 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
284 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
286 * posix/wordexp.c (parse_tilde): Handle failing call to
287 get.*_r functions correctly for non-existing entry.
288 * sysdeps/posix/cuserid.c (cuserid): Likewise.
289 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
291 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
293 * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
294 getxxbyYY_r functions correctly for non-existing entry.
295 * sunrpc/getrpcport.c: Likewise.
296 * sunrpc/clnt_simp.c: Likewise.
297 * inet/rexec.c: Likewise.
298 * sunrpc/clnt_gen.c: Likewise.
299 * inet/rcmd.c: Likewise.
300 * sysdeps/generic/glob.c: Likewise.
302 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
304 * pwd/Makefile (tests): Add rules for tst-getpw.
306 * pwd/tst-getpw.c: New program to test getpw.
308 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
310 * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
313 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
315 * manual/arith.texi (System V Number Conversion): Fix the
316 description which confused pointer and value to pointer.
317 Reported by Andries.Brouwer@cwi.nl.
319 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
321 * pwd/getpw.c (__getpw): Check for NULL result pointer.
323 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
325 * manual/users.texi (Lookup User): Document POSIX return
326 semantics for getpwuid_r and getgrgid_r.
328 * manual/socket.texi (Host Names): Document that the result
329 pointer is null in case of error or host not found and fix a
330 typo. Give a small example.
332 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
334 * pwd/getpw.c: Add warning since no buffer size is given and
335 therefore no overrun tests are possible.
337 1999-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
339 * pwd/pwd.h: Add getpw prototype declaration.
341 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
343 * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
344 * wcsmbs/wcschr.c: Likewise.
346 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
348 * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
350 * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
351 * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
352 Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
354 * elf/dl-dst.h: Fix typo.
355 * elf/dl-open.c: Likewise.
357 1999-06-26 Zack Weinberg <zack@rabi.columbia.edu>
359 * elf/dl-libc.c: New file, provides three functions:
360 __libc_dlopen, __libc_dlclose, __libc_dlsym.
361 * include/dlfcn.h: Prototype them. Prototype _dl_addr.
362 * elf/Makefile (routines): Add dl-libc.c.
363 * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
365 * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
367 * iconv/gconv.c: Include dlfcn.h.
368 * iconv/gconv_db.c: Likewise.
369 * malloc/mtrace.c: Likewise. Don't include ldsodefs.h.
371 * iconv/gconv_int.h (struct __gconv_loaded_object): Change
372 `handle' to a void *.
373 (__gconv_find_func): Delete prototype.
375 * iconv/gconv_dl.c: Don't include ldsodefs.h. Remove
376 dlerror_run and related functions and structs. Use
377 __libc_dlopen, __libc_dlsym, __libc_dlclose.
378 * nss/nsswitch.c: Likewise.
380 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
382 * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
385 * sunrpc/getrpcport.c: Test for gethostbyname_r function
388 * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
390 * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
393 * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
395 * inet/rcmd.c: Test for gethostbyname_r result correctly. Optimize
398 * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
400 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
402 * manual/string.texi (Copying and Concatenation): Mention that
403 strndup is a GNU extension.
405 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
407 * pwd/getpw.c (__getpw): Fix check for error return.
409 1999-06-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
411 * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
412 occurence of the aux object start with the current list entry, not
413 the new one. Adjust tail pointer in the unique list. Explain how
414 the meaning of the variables changes [PR libc/1168].
416 1999-06-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
418 * sysdeps/m68k/fpu/Dist: New file.
420 1999-06-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
422 * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
424 * sysdeps/m68k/fpu/mathimpl.h: ... here. New file.
425 * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
426 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
427 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
428 * sysdeps/m68k/fpu/e_pow.c: Likewise.
429 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
430 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
431 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
432 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
433 * sysdeps/m68k/fpu/s_csin.c: Likewise.
434 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
435 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
436 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
437 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
438 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
439 * sysdeps/m68k/fpu/s_modf.c: Likewise.
441 1999-06-25 Roland McGrath <roland@baalperazim.frob.com>
443 * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
444 hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
445 _EXTERN_INLINE, use a macro specific to each file,
446 _HURD_FD_H_EXTERN_INLINE and the like.
447 * hurd/Makefile (inline-headers): New variable.
448 (routines): Remove hurdinline. Add $(inlines).
449 (inlines): New variable.
450 ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
451 (generated): Append those here.
452 * hurd/hurdinline.c: File removed.
454 * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
456 * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
458 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
460 * nscd/connections.c (nscd_run): Use correct type for optlen variable.
462 1999-06-25 Ulrich Drepper <drepper@cygnus.com>
464 * string/bits/string2.h (strnlen): Remove extra prototype.
466 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
468 * manual/filesys.texi (Working on Directory Trees): Fix typos.
469 Reported by Andries.Brouwer@cwi.nl.
471 1999-06-24 Ulrich Drepper <drepper@cygnus.com>
473 * nscd/connections.c (handle_request): Use correct type for optlen
476 * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
477 * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
479 1999-06-24 Thorsten Kukuk <kukuk@suse.de>
481 * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
482 * nscd/pwdcache.c: Likewise.
483 * nscd/hstcache.c: Likewise.
485 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
487 * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
489 * posix/getopt.h: Include stdio.h.
491 * manual/arith.texi: Document restriction of ndigit parameter of
493 * misc/efgcvt.c: Define NDIGIT_MAX.
494 (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
495 Do not dynamically allocate the static buffers. They are small enough.
496 * misc/efgcvt_r.c: Define NDIGIT_MAX.
497 (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
498 * misc/qefgcvt.c: Define NDIGIT_MAX.
499 * misc/qefgcvt_r.c: Likewise.
500 * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
502 1999-06-23 Zack Weinberg <zack@rabi.columbia.edu>
504 * libio/stdio.h: Define stdin, stdout, stderr as macros.
505 * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
506 These are *pragmas* not macros.
507 * wcsmbs/wchar.h: Fix comment.
509 * grp/grp.h: Use __foo_t_defined convention to typedef things
511 * io/sys/stat.h: Likewise.
512 * libio/stdio.h: Likewise.
513 * posix/unistd.h: Likewise.
514 * posix/sys/types.h: Likewise.
515 * posix/sys/wait.h: Likewise.
516 * pwd/pwd.h: Likewise.
517 * signal/signal.h: Likewise.
518 * sysdeps/generic/stdint.h: Likewise.
519 * sysdeps/gnu/utmpx.h: Likewise.
520 * termios/termios.h: Likewise.
522 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
524 * stdio/fputc.c: Don't define alias if fputc is defined as a
526 * stdio/putc.c: Define weak alias here since it is not done
529 1999-06-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
531 * assert/assert.h: Don't produce `defined' as part of macro
534 1999-06-23 Roland McGrath <roland@baalperazim.frob.com>
536 * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
537 OFFSET argument of (off_t) -1.
538 * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
539 OFFSET argument of (off_t) -1.
541 * sysdeps/mach/hurd/pwrite.c: New file.
542 * sysdeps/mach/hurd/pread.c: New file.
544 * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
545 pass it in the RPC instead of always -1.
546 * hurd/fd-write.c (_hurd_fd_write): Likewise.
547 * hurd/hurd/fd.h: Update decls.
549 1999-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
551 * libio/wscanf.c: Include <wchar.h> for prototype.
553 1999-06-22 Ulrich Drepper <drepper@cygnus.com>
555 * manual/io.texi. Fix typos.
556 * manual/stdio.texi: Likewise.
557 Patches by Brian Youmans <3diff@gnu.org>.
559 1999-06-22 Geoff Keating <geoffk@ozemail.com.au>
561 * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
562 bits of two words differ.
564 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
566 * libio/Makefile (routines): Add putwchar and putwchar_u.
568 * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
569 * libio/putwchar_u.c: Likewise. Use _IO_stdout instead of
570 stdout. Fix parameter name.
572 * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
573 * libio/getchar_u.c: Likewise.
575 * libio/putchar_u.c: Use _IO_stdout instead of stdout.
577 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
579 * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
580 macro expansion---it's undefined. Properly parenthesize
581 substituted parameters.
582 (__GLIBC_PREREQ): Likewise.
584 1999-06-21 Ulrich Drepper <drepper@cygnus.com>
586 * Makeconfig (CPPFLAGS): Revert last change. It has too many
589 * stdlib/longlong.h: Provide __P definition if not already
592 * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
594 1999-06-18 Thorsten Kukuk <kukuk@suse.de>
596 * sysdeps/alpha/atomicity.h: Correct counting of subsections.
598 1999-06-17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
600 * stdlib/tst-strtoll.c: Avoid warning about huge constant.
602 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
604 * stdio-common/vfprintf.c (group_member): Make parameters and
605 return types pointers to CHAR_T instead of UCHAR_T.
606 (vfprintf): Change type of work_buffer, workend and string to
607 CHAR_T pointer/array.
608 (process_arg, process_string_arg): Adjust/remove casts. Add
609 missing use of L_ macro.
610 (printf_unknown): Add missing uses of L_ macro.
612 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
614 * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
617 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
619 * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF. Call
620 _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
621 (__wunderflow): Likewise.
622 (_IO_switch_to_wget_mode): Likewise.
623 (_IO_init_wmarker): Likewise.
625 * libio/wfileops.c (_IO_wfile_seekoff): Call
626 _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
627 (_IO_wfile_jumps): Fix pbackfail entry.
629 * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
630 function if the stream is currently unoriented.
632 1999-06-19 Zack Weinberg <zack@rabi.columbia.edu>
634 * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
635 Wrap all wide stream functions with #ifdef __USE_ISOC9X. Use
636 __gnuc_va_list in v*w(printf|scanf) prototypes.
638 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
640 * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
641 1999-03-29 to iopopen also here.
642 Reported by Richard Braakman <dark@xs4all.nl>.
644 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
646 * include/features.h: Use __GNUC_PREREQ.
647 * sysdeps/i386/fpu/bits/mathinline.h: Likewise
649 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
651 * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
652 Change EOF to WEOF and remove cast.
653 (UNGETC): Remove macro.
654 (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
655 * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
656 Change ISASCII to isascii and MBRLEN to mbrlen.
657 (parse_one_spec): Compare info.spec always against wchar_t
659 * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
660 (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
661 (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
663 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
665 * libio/Makefile (shared-only-routines): Add oldiofgetpos,
666 oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
667 (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
668 oldiofsetpos64 only if doing versioning.
670 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
672 * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
674 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
676 * libio/libio.h: Fix last patch.
678 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
680 * libio/libio.h (_IO_putwc): Correct type of first argument.
681 * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
682 putwc_unlocked, putwchar_unlocked): Likewise.
683 * libio/fputwc.c: Likewise.
684 * libio/fputwc_unlocked.c: Likewise.
685 * libio/putwc.c: Likewise.
686 * libio/putwc_unlocked.c: Likewise.
687 * libio/putwchar.c: Likewise.
688 * libio/putwchar_unlocked.c: Likewise.
690 1999-06-19 Roland McGrath <roland@baalperazim.frob.com>
692 * sysdeps/gnu/siglist.h: File moved to ...
693 * sysdeps/generic/siglist.h: ... here. This file should be usable for
694 any platform, since it just associates the SIG* macros with text names
695 and descriptions. For any signal macros do not exist on every
696 platform, we can use #ifdef tests here and still use this single
697 common file for all platforms.
698 * sysdeps/generic/siglist.c: Rewrite using <siglist.h>. This file
699 should be usable for all platforms after the binary compatibility
700 stuff in the current sysdeps/gnu version is no longer required.
701 * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
702 * sysdeps/generic/make_siglist.c: File removed.
703 * sysdeps/mach/hurd/siglist.h: Use #include_next.
704 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
706 1999-06-16 Roland McGrath <roland@baalperazim.frob.com>
708 * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
709 * sysdeps/gnu/siglist.c: ... here.
710 Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
711 Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
712 * sysdeps/gnu/siglist.h: New file, contents from linux version.
713 Add entry for SIGLOST protected by #ifdef.
714 * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
715 and define OLD_SIGLIST_SIZE_STR.
716 * sysdeps/mach/hurd/siglist.h: New file, likewise.
718 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
720 * include/features.h: Define new macros __GNUC_PREREQ and
721 __GLIBC_PREREQ which can be used to test the version of gcc
722 and glibc respectively.
724 * assert/assert.h: Use __GNUC_PREREQ.
725 * intl/libintl.h: Likewise.
726 * math/complex.h: Likewise.
727 * math/tgmath.h: Likewise.
728 * misc/sys/cdefs.h: Likewise.
729 * posix/sys/types.h: Likewise.
730 * socket/sys/socket.h: Likewise.
731 * string/bits/string2.h: Likewise.
732 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
733 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
735 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
737 * include/libintl.h: Declare _libc_intl_domainname here.
738 Define _ and N_ here.
739 * include/libc-symbols.h: Don't include <libintl.h>. Don't
740 define _ and N_. Don't declare _libc_intl_domainname.
741 * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
743 * db2/config.h: Don't include sys/stat.h or define
744 HAVE_ST_BLKSIZE here...
745 * db2/compat.h: ...do it here.
747 * linuxthreads/internals.h: Include bits/libc-tsd.h after all
749 * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
750 * iconv/iconv.c: Include stddef.h for NULL.
751 * malloc/malloc.h: Include features.h.
752 * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
754 * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
755 into the generated file.
756 * sysdeps/gnu/errlist.awk: Likewise.
757 * sysdeps/gnu/errlist.c: Rebuilt.
759 * assert/assert-perr.c: Include libintl.h.
760 * assert/assert.c: Likewise.
761 * elf/dl-open.c: Likewise.
762 * elf/dlsym.c: Likewise.
763 * elf/dlvsym.c: Likewise.
764 * iconv/iconv_prog.c: Likewise.
765 * inet/rcmd.c: Likewise.
766 * inet/ruserpass.c: Likewise.
767 * locale/programs/charset.c: Likewise.
768 * locale/programs/ld-collate.c: Likewise.
769 * locale/programs/ld-ctype.c: Likewise.
770 * locale/programs/ld-messages.c: Likewise.
771 * locale/programs/ld-monetary.c: Likewise.
772 * locale/programs/ld-numeric.c: Likewise.
773 * locale/programs/ld-time.c: Likewise.
774 * locale/programs/locfile.c: Likewise.
775 * locale/programs/repertoire.c: Likewise.
776 * login/programs/database.c: Likewise.
777 * login/programs/request.c: Likewise.
778 * malloc/mcheck.c: Likewise.
779 * misc/error.c: Likewise.
780 * nis/nis_call.c: Likewise.
781 * nis/nis_callback.c: Likewise.
782 * nis/nis_error.c: Likewise.
783 * nis/nis_local_names.c: Likewise.
784 * nis/nis_print.c: Likewise.
785 * nis/nis_print_group_entry.c: Likewise.
786 * nis/ypclnt.c: Likewise.
787 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
788 * nscd/cache.c: Likewise.
789 * nscd/connections.c: Likewise.
790 * nscd/grpcache.c: Likewise.
791 * nscd/hstcache.c: Likewise.
792 * nscd/nscd_conf.c: Likewise.
793 * nscd/nscd_stat.c: Likewise.
794 * nscd/pwdcache.c: Likewise.
795 * posix/id.c: Likewise.
796 * resolv/herror.c: Likewise.
797 * stdio-common/psignal.c: Likewise.
798 * string/strsignal.c: Likewise.
799 * sunrpc/auth_unix.c: Likewise.
800 * sunrpc/clnt_perr.c: Likewise.
801 * sunrpc/clnt_raw.c: Likewise.
802 * sunrpc/clnt_tcp.c: Likewise.
803 * sunrpc/clnt_udp.c: Likewise.
804 * sunrpc/clnt_unix.c: Likewise.
805 * sunrpc/get_myaddr.c: Likewise.
806 * sunrpc/pm_getmaps.c: Likewise.
807 * sunrpc/pmap_clnt.c: Likewise.
808 * sunrpc/pmap_rmt.c: Likewise.
809 * sunrpc/rpc_main.c: Likewise.
810 * sunrpc/rpc_scan.c: Likewise.
811 * sunrpc/svc_run.c: Likewise.
812 * sunrpc/svc_simple.c: Likewise.
813 * sunrpc/svc_tcp.c: Likewise.
814 * sunrpc/svc_udp.c: Likewise.
815 * sunrpc/svc_unix.c: Likewise.
816 * sunrpc/xdr_rec.c: Likewise.
817 * sunrpc/xdr_ref.c: Likewise.
818 * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
819 * sysdeps/posix/gai_strerror.c: Likewise.
820 * sysdeps/unix/siglist.c: Likewise.
821 * sysdeps/unix/sysv/linux/siglist.c: Likewise.
822 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
823 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
824 * timezone/zic.c: Likewise.
826 1999-06-18 H.J. Lu <hjl@gnu.org>
828 * localedata/Makefile (charmaps): Exclude SCCS.
830 (repertoiremaps): Likewise.
832 1999-06-18 Ulrich Drepper <drepper@cygnus.com>
834 * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
835 * sysdeps/generic/bsd-setjmp.c: Likewise.
837 * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
839 * iconv/gconv_open.c: Include string.h for memset prototype.
841 * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
844 * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
845 assignment to avoid warning on 64bit platforms.
847 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
849 * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
851 * nss/getXXbyYY_r.c: Return error code not -1.
852 * nss/getXXent_r.c: Likewise.
853 * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
855 * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
857 * nscd/nscd_gethst_r.c: Likewise.
858 * nscd/nscd_getpw_r.c: Likewise.
860 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
862 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
865 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
867 * nscd/nscd_nischeck.c: Fix typos.
869 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
871 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
872 always when oact is NULL.
873 Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
875 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
877 * math/libm-test.c (jn_test): Adjust delta.
879 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
881 * libio/vwprintf.c: Include <wchar.h> for prototypes.
882 * libio/wprintf.c: Likewise.
884 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
886 * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
887 to not write beyond allocated memory.
888 Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
890 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
892 * malloc/mtrace.c: Keep lock while printing output lines.
893 Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
895 1999-06-16 Ulrich Drepper <drepper@cygnus.com>
897 * configure.in: Add warnings about broken code.
899 * Versions.def: Add GLIBC_2.2 for libc.
901 * iconv/gconv.h: Make header suitable for inclusion in public header
902 by protecting all names with __.
903 * iconv/gconv.c: Adapt for symbol name changes.
904 * iconv/gconv.h: Likewise.
905 * iconv/gconv_builtin.c: Likewise.
906 * iconv/gconv_close.c: Likewise.
907 * iconv/gconv_db.c: Likewise.
908 * iconv/gconv_dl.c: Likewise.
909 * iconv/gconv_int.h: Likewise.
910 * iconv/gconv_open.c: Likewise.
911 * iconv/gconv_simple.c: Likewise.
912 * iconv/iconv.c: Likewise.
913 * iconv/iconv_close.c: Likewise.
914 * iconv/iconv_open.c: Likewise.
915 * iconv/loop.c: Likewise.
916 * iconv/skeleton.c: Likewise.
917 * iconvdata/8bit-gap.c: Likewise.
918 * iconvdata/8bit-generic.c: Likewise.
919 * iconvdata/ansi_x3.110.c: Likewise.
920 * iconvdata/big5.c: Likewise.
921 * iconvdata/cns11643.h: Likewise.
922 * iconvdata/cns11643l1.h: Likewise.
923 * iconvdata/euc-cn.c: Likewise.
924 * iconvdata/euc-jp.c: Likewise.
925 * iconvdata/euc-kr.c: Likewise.
926 * iconvdata/euc-tw.c: Likewise.
927 * iconvdata/gb2312.h: Likewise.
928 * iconvdata/iso-2022-jp.c: Likewise.
929 * iconvdata/iso-2022-kr.c: Likewise.
930 * iconvdata/iso646.c: Likewise.
931 * iconvdata/iso8859-1.c: Likewise.
932 * iconvdata/iso_6937-2.c: Likewise.
933 * iconvdata/iso_6937.c: Likewise.
934 * iconvdata/jis0201.h: Likewise.
935 * iconvdata/jis0208.h: Likewise.
936 * iconvdata/jis0212.h: Likewise.
937 * iconvdata/johab.c: Likewise.
938 * iconvdata/ksc5601.h: Likewise.
939 * iconvdata/sjis.c: Likewise.
940 * iconvdata/t.61.c: Likewise.
941 * iconvdata/uhc.c: Likewise.
942 * stdlib/mblen.c: Likewise.
943 * stdlib/mbtowc.c: Likewise.
944 * stdlib/wctomb.c: Likewise.
945 * wcsmbs/btowc.c: Likewise.
946 * wcsmbs/mbrtowc.c: Likewise.
947 * wcsmbs/mbsnrtowcs.c: Likewise.
948 * wcsmbs/mbsrtowcs.c: Likewise.
949 * wcsmbs/wchar.h: Likewise.
950 * wcsmbs/wcrtomb.c: Likewise.
951 * wcsmbs/wcsmbsload.c: Likewise.
952 * wcsmbs/wcsmbsload.h: Likewise.
953 * wcsmbs/wcsnrtombs.c: Likewise.
954 * wcsmbs/wcsrtombs.c: Likewise.
955 * wcsmbs/wctob.c: Likewise.
957 * include/limits.h (MB_LEN_MAX): Increase to 16.
959 * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct. Define
961 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
962 * include/wchar.h: Change mbstate_t to __mbstate_t.
964 * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
965 oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
966 getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
967 iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
968 putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
969 vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
971 (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
972 * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
973 _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
974 fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
975 fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
976 getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
977 putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
978 vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
980 * libio/libio.h: Define codecvt struct. Define _IO_wide_data.
981 Extend _IO_file contain pointer to codecvt, widedata and mode.
982 (_IO_getwc_unlocked): New macro.
983 (_IO_putwc_unlocked): New macro.
984 (_IO_fwide): New macro.
985 * libio/libioP.h: Add new prototypes and adjust existing declarations.
986 * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
987 buffers based on mode.
988 (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
990 (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
991 flag to be enough to signal unallocated buffer. For wide oriented
992 stream don't make it linebuffered. Don't use _IO_do_flush, use
993 _IO_new_do_write directly.
994 (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
995 (_IO_file_seek): Likewise.
996 * libio/genops.c (_IO_least_marker): Make global.
997 (__underflow): Orient stream if not already done.
999 (_IO_default_seekpos): Change to type _IO_off64_t.
1000 (_IO_default_seekoff): Likewise.
1001 (_IO_default_seek): Likewise.
1002 (_IO_no_init): New function. Similar to _IO_init but allows to orient
1004 * libio/iolibio.h: Add prototype for _IO_vswprintf. Change _IO_pos_BAD
1006 * libio/ftello.c: Use _IO_off_t. For now abort when use with wide
1008 * libio/ftello64.c: Likewise.
1009 * libio/ioftell.c: Likewise.
1010 * libio/iofopncook.c: Likewise.
1011 * libio/ioseekoff.c: Likewise.
1012 * libio/ioseekpos.c: Likewise.
1013 * libio/oldfileops.c: Likewise.
1014 * libio/iofgetpos.c: Store state of conversion if necessary.
1015 * libio/iofgetpos64.c: Likewise.
1016 * libio/iofsetpos.c: Restore conversion state if necessary.
1017 * libio/iofsetpos64.c: Likewise.
1018 * libio/iofdopen.c: Initialize so that stream can be wide oriented.
1019 * libio/iofopen.c: Likewise.
1020 * libio/iofopen64.c: Likewise.
1021 * libio/iopopen.c: Likewise.
1022 * libio/iovdprintf.c: Likewise.
1023 * libio/iovsprintf.c: Likewise.
1024 * libio/iovsscanf.c: Likewise.
1025 * libio/memstream.c: Likewise.
1026 * libio/obprintf.c: Likewise.
1027 * libio/iofputs.c: Orient stream if not already happened.
1028 * libio/iofputs_u.c: Likewise.
1029 * libio/iofwrite.c: Likewise.
1030 * libio/iofwrite_u.c: Likewise.
1031 * libio/ioputs.c: Likewise.
1032 * libio/iosetbuffer.c: Handle not yet oriented stream.
1033 * libio/iosetvbuf.c: Likewise.
1034 * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
1035 * libio/stdfiles.c: Likewise.
1036 * libio/strops.c (_IO_str_overflow): Correctly free buffer after
1038 (_IO_str_seekoff): Use _IO_off64_t.
1039 * libio/vasprintf.c: Pre-orient stream.
1040 * libio/vsnprintf.c: Likewise.
1041 * libio/fputwc.c: New file.
1042 * libio/fputwc_u.c: New file.
1043 * libio/fwprintf.c: New file.
1044 * libio/fwscanf.c: New file.
1045 * libio/getwc.c: New file.
1046 * libio/getwc_u.c: New file.
1047 * libio/getwchar.c: New file.
1048 * libio/getwchar_u.c: New file.
1049 * libio/iofgetws.c: New file.
1050 * libio/iofgetws_u.c: New file.
1051 * libio/iofputws.c: New file.
1052 * libio/iofputws_u.c: New file.
1053 * libio/iofwide.c: New file.
1054 * libio/iogetwline.c: New file.
1055 * libio/ioungetwc.c: New file.
1056 * libio/iovswscanf.c: New file.
1057 * libio/iowpadn.c: New file.
1058 * libio/oldiofgetpos.c: New file.
1059 * libio/oldiofgetpos64.c: New file.
1060 * libio/oldiofsetpos.c: New file.
1061 * libio/oldiofsetpos64.c: New file.
1062 * libio/putwc.c: New file.
1063 * libio/putwc_u.c: New file.
1064 * libio/putwchar.c: New file.
1065 * libio/putwchar_u.c: New file.
1066 * libio/swprintf.c: New file.
1067 * libio/swscanf.c: New file.
1068 * libio/tst_swprintf.c: New file.
1069 * libio/tst_swscanf.c: New file.
1070 * libio/tst_wprintf.c: New file.
1071 * libio/tst_wscanf.c: New file.
1072 * libio/tst_wscanf.input: New file.
1073 * libio/vswprintf.c: New file.
1074 * libio/vwprintf.c: New file.
1075 * libio/vwscanf.c: New file.
1076 * libio/wfiledoalloc.c: New file.
1077 * libio/wfileops.c: New file.
1078 * libio/wgenops.c: New file.
1079 * libio/wprintf.c: New file.
1080 * libio/wscanf.c: New file.
1081 * libio/wstrops.c: New file.
1082 * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
1083 vfwprintf, and vfwscanf.
1084 * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
1086 * stdio-common/_itowa.c: New file.
1087 * stdio-common/_itowa.h: New file.
1088 * stdio-common/itoa-digits.c: Minimal optimization.
1089 * stdio-common/itowa-digits.c: New file.
1090 * stdio-common/printf-parse.h: Allow use in wide character context.
1091 * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
1092 * stdio-common/printf.h (printf_info): Add wide bit.
1093 * stdio-common/printf_fp.c: Determine from wide bit whether stream
1094 is wide oriented or not.
1095 * stdio-common/printf_size.c: Likewise.
1096 * sysdeps/generic/printf_fphex.c: Likewise.
1097 * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
1098 * stdio-common/vfprintf.c: Rewrite to allow use in wide character
1100 * stdio-common/vfscand.c: Likewise.
1101 * stdio-common/vfwprintf.c: New file.
1102 * stdio-common/vfwscanf.c: New file.
1104 * time/Makefile (routines): Add wcsftime.
1105 (tests): Add tst_wcsftime.
1106 * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
1107 * time/strftime.c: Make usable as wcsftime.
1108 * time/wcsftime.c: New file.
1109 * time/tst_wcsftime.c: New file.
1111 * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
1112 * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
1113 * wcsmbs/wcschrnul.c: New file.
1114 * wcsmbs/wmemcpy.c: New file.
1115 * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
1116 * wcsmbs/wmemmove.c: Likewise for wmemmove.
1118 * manual/stdio.texi: Document is_char and wide element if printf_info.
1120 * manual/time.texi: Document wcsftime.
1122 * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
1123 __wmemmove, __wcschrnul, and __vfwscanf.
1125 * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
1126 * locale/C-time.c: Adapt for above change.
1127 * locale/categories.def: Likewise.
1128 * locale/localeinfo.h: Likewise.
1129 * localedata/Makefile: Don't run tests for now.
1131 * manual/errno.texi: Fix typos.
1132 * manual/memory.texi: Likewise.
1133 * manual/ctype.texi: Likewise.
1134 Patches by Brian Youmans <3diff@gnu.org>.
1136 1999-06-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1138 * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
1140 1999-06-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1142 * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
1144 * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
1145 * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
1147 1999-06-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1149 * db2/db/db.c: Restore __nss_db_open alias.
1150 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
1152 * db2/os/os_rw.c (__os_write): Maintain const correctness.
1153 * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
1155 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
1157 * stdio-common/printf-parse.h (parse_one_spec): Don't set
1158 is_longlong if not necessary.
1160 1999-06-15 H.J. Lu <hjl@gnu.org>
1162 * Make-dist (sysdep_dirs): Exclude SCCS.
1163 * MakeTAGS (sysdep_dirs): Likewise.
1165 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
1167 * posix/regex.c (re_error_msgid): Remove extra commas.
1169 1999-06-14 Geoff Keating <geoffk@ozemail.com.au>
1171 * stdlib/tst-strtoll.c: New file.
1172 * stdlib/Makefile (tests): Add tst-strtoll.c
1173 * stdlib/strtol.c: It is not generally true that if
1174 (unsigned)a*(unsigned)b overflows, then the result is
1177 1999-06-14 Thorsten Kukuk <kukuk@suse.de>
1179 * nscd/connections.c (handle_request): Only root is allowed to
1180 send GETSTAT request in non secure mode.
1181 * nscd/nscd.c: Print error message if other then root try to
1184 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1186 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
1188 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1190 * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
1191 Closes PR libc/1164, reported by sascha@schumann.2ns.de.
1193 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1195 * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
1196 for character to search, to help the compiler.
1197 * sysdeps/generic/strchrnul.c: Likewise.
1198 * sysdeps/generic/memchr.c: Likewise.
1199 * sysdeps/generic/memccpy.c: Likewise.
1200 * sysdeps/generic/rawmemchr.c: Likewise. Fix comment.
1202 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1204 * sysdeps/m68k/memchr.S: New file.
1205 * sysdeps/m68k/rawmemchr.S: New file.
1206 * sysdeps/m68k/strchr.S: New file.
1207 * sysdeps/m68k/strchrnul.S: New file.
1209 1999-06-13 Geoff Keating <geoffk@ozemail.com.au>
1211 * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
1212 add `memory' clobber; optimise for constant `val'.
1213 (atomic_add): Likewise.
1214 (test_and_set): Remove `volatile'; add `memory' clobber; be more
1215 like the original `test_and_set'.
1216 (compare_and_swap): Remove `volatile'; add `memory' clobber;
1217 optimise for constant `oldval'.
1218 (always_swap): Remove `volatile'; add `memory' clobber.
1220 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1222 * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
1223 functions for gcc <= 2.7.x.
1225 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
1227 * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
1230 1999-06-13 Ulrich Drepper <drepper@cygnus.com>
1232 * db2/Makefile (distribute): Remove files which do not exist
1235 * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
1236 definitions to calm down gcc.
1238 * db2/db.h: Update from db 2.7.5.
1239 * db2/db_185.h: Likewise.
1240 * db2/db_int.h: Likewise.
1241 * db2/btree/bt_compare.c: Likewise.
1242 * db2/btree/bt_conv.c: Likewise.
1243 * db2/btree/bt_curadj.c: Likewise.
1244 * db2/btree/bt_cursor.c: Likewise.
1245 * db2/btree/bt_delete.c: Likewise.
1246 * db2/btree/bt_open.c: Likewise.
1247 * db2/btree/bt_page.c: Likewise.
1248 * db2/btree/bt_put.c: Likewise.
1249 * db2/btree/bt_rec.c: Likewise.
1250 * db2/btree/bt_recno.c: Likewise.
1251 * db2/btree/bt_rsearch.c: Likewise.
1252 * db2/btree/bt_search.c: Likewise.
1253 * db2/btree/bt_split.c: Likewise.
1254 * db2/btree/bt_stat.c: Likewise.
1255 * db2/btree/btree_auto.c: Likewise.
1256 * db2/common/db_appinit.c: Likewise.
1257 * db2/common/db_apprec.c: Likewise.
1258 * db2/common/db_err.c: Likewise.
1259 * db2/common/db_region.c: Likewise.
1260 * db2/common/db_salloc.c: Likewise.
1261 * db2/db/db.c: Likewise.
1262 * db2/db/db.src: Likewise.
1263 * db2/db/db_am.c: Likewise.
1264 * db2/db/db_auto.c: Likewise.
1265 * db2/db/db_dispatch.c: Likewise.
1266 * db2/db/db_dup.c: Likewise.
1267 * db2/db/db_iface.c: Likewise.
1268 * db2/db/db_join.c: Likewise.
1269 * db2/db/db_overflow.c: Likewise.
1270 * db2/db/db_pr.c: Likewise.
1271 * db2/db/db_rec.c: Likewise.
1272 * db2/db/db_ret.c: Likewise.
1273 * db2/db185/db185.c: Likewise.
1274 * db2/dbm/dbm.c: Likewise.
1275 * db2/hash/hash.c: Likewise.
1276 * db2/hash/hash_auto.c: Likewise.
1277 * db2/hash/hash_dup.c: Likewise.
1278 * db2/hash/hash_page.c: Likewise.
1279 * db2/hash/hash_rec.c: Likewise.
1280 * db2/hash/hash_stat.c: Likewise.
1281 * db2/include/btree.h: Likewise.
1282 * db2/include/btree_ext.h: Likewise.
1283 * db2/include/clib_ext.h: Likewise.
1284 * db2/include/common_ext.h: Likewise.
1285 * db2/include/db_am.h: Likewise.
1286 * db2/include/db_auto.h: Likewise.
1287 * db2/include/db_cxx.h: Likewise.
1288 * db2/include/db_ext.h: Likewise.
1289 * db2/include/db_join.h: Likewise.
1290 * db2/include/db_page.h: Likewise.
1291 * db2/include/hash.h: Likewise.
1292 * db2/include/hash_ext.h: Likewise.
1293 * db2/include/lock.h: Likewise.
1294 * db2/include/lock_ext.h: Likewise.
1295 * db2/include/log.h: Likewise.
1296 * db2/include/log_ext.h: Likewise.
1297 * db2/include/mp.h: Likewise.
1298 * db2/include/mp_ext.h: Likewise.
1299 * db2/include/os.h: Likewise.
1300 * db2/include/os_ext.h: Likewise.
1301 * db2/include/os_func.h: Likewise.
1302 * db2/include/txn.h: Likewise.
1303 * db2/include/txn_auto.h: Likewise.
1304 * db2/include/txn_ext.h: Likewise.
1305 * db2/include/xa.h: Likewise.
1306 * db2/include/xa_ext.h: Likewise.
1307 * db2/lock/lock.c: Likewise.
1308 * db2/lock/lock_conflict.c: Likewise.
1309 * db2/lock/lock_deadlock.c: Likewise.
1310 * db2/lock/lock_region.c: Likewise.
1311 * db2/lock/lock_util.c: Likewise.
1312 * db2/log/log.c: Likewise.
1313 * db2/log/log_archive.c: Likewise.
1314 * db2/log/log_auto.c: Likewise.
1315 * db2/log/log_findckp.c: Likewise.
1316 * db2/log/log_get.c: Likewise.
1317 * db2/log/log_put.c: Likewise.
1318 * db2/log/log_rec.c: Likewise.
1319 * db2/log/log_register.c: Likewise.
1320 * db2/mp/mp_bh.c: Likewise.
1321 * db2/mp/mp_fget.c: Likewise.
1322 * db2/mp/mp_fopen.c: Likewise.
1323 * db2/mp/mp_fput.c: Likewise.
1324 * db2/mp/mp_fset.c: Likewise.
1325 * db2/mp/mp_open.c: Likewise.
1326 * db2/mp/mp_pr.c: Likewise.
1327 * db2/mp/mp_region.c: Likewise.
1328 * db2/mp/mp_sync.c: Likewise.
1329 * db2/mutex/mutex.c: Likewise.
1330 * db2/mutex/uts4_cc.s: Likewise.
1331 * db2/os/os_abs.c: Likewise.
1332 * db2/os/os_alloc.c: Likewise.
1333 * db2/os/os_config.c: Likewise.
1334 * db2/os/os_dir.c: Likewise.
1335 * db2/os/os_fid.c: Likewise.
1336 * db2/os/os_fsync.c: Likewise.
1337 * db2/os/os_map.c: Likewise.
1338 * db2/os/os_oflags.c: Likewise.
1339 * db2/os/os_open.c: Likewise.
1340 * db2/os/os_rw.c: Likewise.
1341 * db2/os/os_seek.c: Likewise.
1342 * db2/os/os_sleep.c: Likewise.
1343 * db2/os/os_spin.c: Likewise.
1344 * db2/os/os_stat.c: Likewise.
1345 * db2/os/os_tmpdir.c: Likewise.
1346 * db2/os/os_unlink.c: Likewise.
1347 * db2/progs/db_archive/db_archive.c: Likewise.
1348 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
1349 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
1350 * db2/progs/db_dump/db_dump.c: Likewise.
1351 * db2/progs/db_load/db_load.c: Likewise.
1352 * db2/progs/db_printlog/README: Likewise.
1353 * db2/progs/db_printlog/commit.awk: Likewise.
1354 * db2/progs/db_printlog/count.awk: Likewise.
1355 * db2/progs/db_printlog/db_printlog.c: Likewise.
1356 * db2/progs/db_printlog/pgno.awk: Likewise.
1357 * db2/progs/db_printlog/range.awk: Likewise.
1358 * db2/progs/db_printlog/status.awk: Likewise.
1359 * db2/progs/db_printlog/txn.awk: Likewise.
1360 * db2/progs/db_recover/db_recover.c: Likewise.
1361 * db2/progs/db_stat/db_stat.c: Likewise.
1362 * db2/txn/txn.c: Likewise.
1363 * db2/txn/txn.src: Likewise.
1364 * db2/txn/txn_auto.c: Likewise.
1365 * db2/txn/txn_rec.c: Likewise.
1366 * db2/xa/xa.c: Likewise.
1367 * db2/xa/xa_db.c: Likewise.
1368 * db2/xa/xa_map.c: Likewise.
1370 * db2/btree/bt_close.c: Removed.
1371 * db2/db/db_thread.c: Likewise.
1372 * db2/hash/hash_debug.c: Likewise.
1373 * db2/include/db.h.src: Likewise.
1374 * db2/include/db_int.h.src: Likewise.
1375 * db2/include/os_jump.h: Likewise.
1376 * db2/mutex/alpha.dec: Likewise.
1377 * db2/mutex/alpha.gcc: Likewise.
1378 * db2/mutex/parisc.hp: Likewise.
1379 * db2/mutex/uts4.cc.s: Likewise.
1381 * db2/Makefile: Add new routines, remove old for 2.7.5.
1382 * db2/Versions: Add internal function names for the helper programs.
1383 * db2/makedb.c: Update for new cursor callback.
1384 * Versions.def: Define versions for libdb.
1386 1999-06-13 Thorsten Kukuk <kukuk@suse.de>
1388 * nscd/connections.c (nscd_run): Get user ID for all non-db services.
1389 * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
1390 * nscd/nscd_nischeck.c: New file.
1391 * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
1393 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1395 * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
1396 MSG_* flags from Linux 2.2.9.
1398 1999-06-12 Mark Kettenis <kettenis@gnu.org>
1400 * Makeconfig (static-start-installed-name): Set to
1401 $(start-installed-name) if not defined.
1402 (+link-static): Use $(static-start-installed-name) instead of
1403 $(start-installed-name).
1404 * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
1407 1999-06-12 Mark Kettenis <kettenis@gnu.org>
1409 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
1410 inserting a send right into the child instead of unconditionally
1411 copying the send right.
1413 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
1415 * locale/lc-time.c: Add free_mem function to free if necessary
1416 statically allocated memory.
1418 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
1420 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
1421 bias from the raw exponent.
1423 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
1425 * inet/arpa/tftp.h: Move attribute declaration in right position.
1427 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
1429 * nscd/nscd.c: Add -S options for separate caching of data for
1430 every user. So one user couldn't see the data another user
1431 has gotten with his credentials.
1432 * nscd/nscd.h: Add new prototypes.
1433 * nscd/cache.c: Compare owner of cache entry if in secure mode.
1434 * nscd/connections.c: Check on shutdown if caller really was root.
1435 In secure mode get uid of caller.
1436 * nscd/grpcache.c: Add support for new secure group mode.
1437 * nscd/hstcache.c: Add support for new secure hosts mode.
1438 * nscd/pwdcache.c: Add support for new secure passwd mode.
1440 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
1442 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
1443 of user-provided buffer.
1445 1999-06-11 Mark Kettenis <kettenis@gnu.org>
1447 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
1448 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
1450 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
1452 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
1455 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
1456 returning after last entry.
1457 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
1459 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
1461 * misc/sysexits.h: Remove advertising clause of copyright.
1462 * resolv/getnetnamadr.c: Likewise.
1463 * sysdeps/vax/bcopy.s: Likewise.
1464 * sysdeps/vax/bzero.s: Likewise.
1465 * sysdeps/vax/ffs.s: Likewise.
1466 * sysdeps/vax/memchr.s: Likewise.
1467 * sysdeps/vax/memcmp.s: Likewise.
1468 * sysdeps/vax/memmove.s: Likewise.
1469 * sysdeps/vax/memset.s: Likewise.
1470 * sysdeps/vax/strcat.s: Likewise.
1471 * sysdeps/vax/strchr.s: Likewise.
1472 * sysdeps/vax/strcmp.s: Likewise.
1473 * sysdeps/vax/strcpy.s: Likewise.
1474 * sysdeps/vax/strcspn.s: Likewise.
1475 * sysdeps/vax/strlen.s: Likewise.
1476 * sysdeps/vax/strncat.s: Likewise.
1477 * sysdeps/vax/strncmp.s: Likewise.
1478 * sysdeps/vax/strncpy.s: Likewise.
1479 * sysdeps/vax/strpbrk.s: Likewise.
1480 * sysdeps/vax/strrchr.s: Likewise.
1481 * sysdeps/vax/strsep.s: Likewise.
1482 * sysdeps/vax/strspn.s: Likewise.
1483 * sysdeps/vax/strstr.s: Likewise.
1485 * libio/iofopncook.c: Adjust for renaming of structure elements.
1486 * libio/libio.h: Define cookie functions with all the names.
1488 * pwd/fgetpwent_r.c: Set errno in the correct way.
1489 * shadow/fgetspent_r.c: Likewise.
1490 * pwd/fgetpwent.c: Handle long lines correctly. Little
1491 optimizations. Free static buffer when debugging memory handling.
1492 * shadow/fgetspent.c: Likewise.
1494 * grp/fgetgrent.c: Little optimization in loop.
1496 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1498 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
1501 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
1503 * stdlib/longlong.h: gas changed sethi handling when without
1504 %hi(). Fix assembly.
1505 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
1506 port specific cache id checks.
1507 * sysdeps/generic/dl-cache.h: New file.
1508 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
1510 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
1512 * gmon/gmon.c: Remove advertising clause of copyright.
1513 * gmon/mcount.c: Likewise.
1514 * gmon/sys/gmon.h: Likewise.
1515 * inet/arpa/ftp.h: Likewise.
1516 * inet/arpa/telnet.h: Likewise.
1517 * inet/arpa/tftp.h: Likewise.
1518 * inet/inet_lnaof.c: Likewise.
1519 * inet/inet_mkadr.c: Likewise.
1520 * inet/inet_net.c: Likewise.
1521 * inet/inet_netof.c: Likewise.
1522 * inet/protocols/routed.h: Likewise.
1523 * inet/protocols/rwhod.h: Likewise.
1524 * inet/protocols/talkd.h: Likewise.
1525 * inet/protocols/timed.h: Likewise.
1526 * inet/rcmd.c: Likewise.
1527 * inet/rexec.c: Likewise.
1528 * inet/ruserpass.c: Likewise.
1529 * io/fts.c: Likewise.
1530 * io/fts.h: Likewise.
1531 * login/login_tty.c: Likewise.
1532 * misc/fstab.h: Likewise.
1533 * misc/getttyent.c: Likewise.
1534 * misc/getusershell.c: Likewise.
1535 * misc/sys/queue.h: Likewise.
1536 * misc/sys/syslog.h: Likewise.
1537 * misc/syslog.c: Likewise.
1538 * misc/ttyent.h: Likewise.
1539 * misc/ttyslot.c: Likewise.
1540 * resolv/arpa/nameser.h: Likewise.
1541 * resolv/gethnamaddr.c: Likewise.
1542 * resolv/herror.c: Likewise.
1543 * resolv/inet_addr.c: Likewise.
1544 * resolv/mapv4v6addr.h: Likewise.
1545 * resolv/mapv4v6hostent.h: Likewise
1546 * resolv/nss_dns/dns-host.c: Likewise.
1547 * resolv/nss_dns/dns-network.c: Likewise.
1548 * resolv/res_comp.c: Likewise.
1549 * resolv/res_data.c: Likewise.
1550 * resolv/res_debug.c: Likewise.
1551 * resolv/res_init.c: Likewise.
1552 * resolv/res_mkquery.c: Likewise.
1553 * resolv/res_query.c: Likewise.
1554 * resolv/res_send.c: Likewise.
1555 * resolv/resolv.h: Likewise.
1556 * sysdeps/generic/div.c: Likewise.
1557 * sysdeps/generic/netinet/ip.h: Likewise.
1558 * sysdeps/generic/netinet/tcp.h: Likewise.
1559 * sysdeps/generic/paths.h: Likewise.
1560 * sysdeps/generic/prof-freq.c: Likewise.
1561 * sysdeps/generic/sys/ttydefaults.h: Likewise.
1562 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1563 * sysdeps/gnu/netinet/tcp.h: Likewise.
1564 * sysdeps/ieee754/support.c: Likewise.
1565 * sysdeps/mach/hurd/sys/param.h: Likewise.
1566 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
1567 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1568 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
1569 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1570 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
1571 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
1572 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
1573 * sysdeps/unix/sysv/linux/paths.h: Likewise.
1574 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
1575 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
1576 * sysdeps/vax/DEFS.h: Likewise.
1577 * termios/sys/ttychars.h: Likewise.
1578 * misc/daemon.c: Likewise. Call fork.
1580 * grp/fgetgrent.c (buffer): Make file local variable.
1581 (free_mem): New function. Call for malloc debugging.
1583 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
1585 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1587 * grp/Makefile: Add rules for tst_fgetgrent.
1589 * grp/tst_fgetgrent.c: Rewritten to read only one file.
1591 * grp/tst_fgetgrent.sh: New file.
1593 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
1595 * grp/Makefile (tests): Add tst_fgetgrent.
1596 * grp/tst_fgetgrent.c: New file.
1597 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
1599 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
1601 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
1602 be POSIX compliant. Prior definition was broken for Hurd.
1603 Reported by Mark Kettenis <kettenis@gnu.org>.
1605 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
1607 * ctype/ctype.h: Protect __tobody code by __extension__.
1609 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
1611 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
1612 reading and reset in case the buffer was too small.
1614 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
1617 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1619 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
1620 another SIOGIFNAME typo.
1622 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
1624 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
1626 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
1629 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1631 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
1632 the precision if the mantissa is zero.
1634 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1636 * manual/lang.texi (Floating Point Parameters): GCC already
1637 supports long double for a long time.
1639 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1641 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
1642 yn_test): Increase some epsilons.
1644 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
1646 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
1649 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
1651 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1652 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
1653 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
1654 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
1656 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
1657 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
1658 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
1659 * sysdeps/libm-ieee754/w_j1.c: Likewise.
1660 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
1661 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
1662 * sysdeps/libm-ieee754/w_jn.c: Likewise.
1663 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
1664 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
1666 * stdio-common/vfprintf.c: Correct typos.
1668 * math/libm-test.c (jn_test): Adjust delta.
1669 (y1_test): Likewise.
1670 (yn_test): Likewise.
1672 * elf/do-lookup.h: It should never happen that if we expect a versioned
1673 symbol from a file the file has no version table. This should have
1674 been checked in dl-version.c.
1675 * elf/dl-lookup.c: Include assert.h.
1677 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
1680 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
1682 1999-06-06 Andi Kleen <ak@muc.de>
1684 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
1687 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1689 * math/libm-test.c (yn_test): Change one delta.
1690 (jn_test): Likewise.
1691 (j1_test): Likewise.
1692 (y0_test): Likewise.
1694 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
1696 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
1697 avoid multiple calls to getpagesize() which might be a syscall.
1699 1999-06-06 Philip Blundell <philb@gnu.org>
1701 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
1703 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1705 * manual/install.texi (Running make install): Correct typo in
1706 dynamic linker invocation.
1708 1999-06-05 Philip Blundell <philb@gnu.org>
1710 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
1711 problems with GOT addressing.
1713 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
1715 * malloc/malloc.c (check_action): Change into bitmap so that both
1716 diagnostic and abort can be requested by setting it to 3.
1717 (mALLOC_SET_STATe): Disable malloc checking if necessary.
1719 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
1721 * configure.in: Few changes for HPUX.
1723 * scripts/config.guess: Update from latest version.
1724 * scripts/config.sub: Likewise.
1726 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1728 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
1729 map files. Closes PR libc/1147.
1731 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1733 * math/libm-test.c (main): Add new test functions.
1734 (jn_test): New tests.
1735 (j1_test): Add some more tests.
1736 (j0_test): Add some more tests.
1737 (y0_test): Add some more tests.
1738 (y1_test): Add some more tests.
1740 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1742 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
1743 Patch by mhagger@dera.gov.uk [PR libc/1145].
1745 * math/libm-test.c (y1_test): New tests.
1746 (y0_test): Likewise.
1747 (j1_test): Likewise.
1748 (j0_test): Likewise.
1749 (main): Added new tests.
1751 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
1753 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
1754 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
1755 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
1756 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
1757 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
1758 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
1760 1999-06-02 David S. Miller <davem@redhat.com>
1762 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
1765 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
1767 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
1768 and elide compatibility code if possible.
1770 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
1772 * manual/llio.texi: Remove menu entry for removed section.
1774 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1776 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
1779 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1781 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
1784 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
1786 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
1788 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1790 * manual/stdio.texi: Fix some typos.
1792 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1794 * malloc/malloc.h: Properly handle future GCC versions.
1796 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1798 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
1799 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
1800 text of error message.
1802 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
1804 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
1806 * manual/filesys.texi: Extend (f)truncate documentation.
1807 * manual/llio.texi: Remove duplicate (f)truncate definition.
1809 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1811 * manual/stdio.texi (Formatted Output Functions): Mention
1812 semantics of snprintf in glibc 2.0.
1813 Reported by Ben Pfaff <pfaffben@msu.edu>.
1815 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
1817 * include/features.h (__GLIBC_MINOR__): Bump to 2.
1819 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
1821 * math/libm-test.c: Adjust a few more deltas for the poor ARM
1824 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1826 * configure.in: Fix typo.
1828 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1830 * manual/socket.texi (Host Names): Remove statement that h_errno
1831 needs to be declared since this isn't true anymore.
1832 Closes PR libc/1138.
1834 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
1836 * config.h.in: Add __LINUX_KERNEL_VERSION.
1837 * configure.in: Recognize --enable-kernel.
1838 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
1839 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
1841 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
1842 given perform runtime test.
1844 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
1845 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
1846 minimal supported kernel is known to have the feature.
1847 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1848 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1849 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1850 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1851 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1852 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
1853 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1854 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1855 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1856 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1857 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1858 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
1859 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
1860 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
1861 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
1863 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
1865 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
1867 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
1869 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
1871 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
1872 Optimized sparc64 routines.
1874 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
1876 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
1877 they are the same as ints.
1878 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
1880 * version.h (VERSION): Bump to 2.1.90.
1881 (RELEASE): Mark as development.
1883 * stdio-common/vfprintf.c (vfprintf): Don't implement special
1884 handling for long long if it is the same as long.
1885 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
1887 * stdlib/strtol.c: Moved to ...
1888 * sysdeps/generic/strtol.c: ...here.
1889 * stdlib/strtoul.c: Moved to ...
1890 * sysdeps/generic/strtoul.c: ...here.
1891 * stdlib/strtoll.c: Moved to ...
1892 * sysdeps/generic/strtoll.c: ...here.
1893 * stdlib/strtoull.c: Moved to ...
1894 * sysdeps/generic/strtoull.c: ...here.
1895 * stdlib/strtol_l.c: Moved to ...
1896 * sysdeps/generic/strtol_l.c: ...here.
1897 * stdlib/strtoul_l.c: Moved to ...
1898 * sysdeps/generic/strtoul_l.c: ...here.
1899 * stdlib/strtoll_l.c: Moved to ...
1900 * sysdeps/generic/strtoll_l.c: ...here.
1901 * stdlib/strtoull_l.c: Moved to ...
1902 * sysdeps/generic/strtoull_l.c: ...here.
1904 * sysdeps/wordsize-64/strtol.c: New file.
1905 * sysdeps/wordsize-64/strtoul.c: New file.
1906 * sysdeps/wordsize-64/strtoll.c: New file.
1907 * sysdeps/wordsize-64/strtoull.c: New file.
1908 * sysdeps/wordsize-64/strtol_l.c: New file.
1909 * sysdeps/wordsize-64/strtoul_l.c: New file.
1910 * sysdeps/wordsize-64/strtoll_l.c: New file.
1911 * sysdeps/wordsize-64/strtoull_l.c: New file.
1913 * wcsmbs/wcstol.c: Moved to ...
1914 * sysdeps/generic/wcstol.c: ...here.
1915 * wcsmbs/wcstoul.c: Moved to ...
1916 * sysdeps/generic/wcstoul.c: ...here.
1917 * wcsmbs/wcstoll.c: Moved to ...
1918 * sysdeps/generic/wcstoll.c: ...here.
1919 * wcsmbs/wcstoull.c: Moved to ...
1920 * sysdeps/generic/wcstoull.c: ...here.
1921 * wcsmbs/wcstol_l.c: Moved to ...
1922 * sysdeps/generic/wcstol_l.c: ...here.
1923 * wcsmbs/wcstoul_l.c: Moved to ...
1924 * sysdeps/generic/wcstoul_l.c: ...here.
1925 * wcsmbs/wcstoll_l.c: Moved to ...
1926 * sysdeps/generic/wcstoll_l.c: ...here.
1927 * wcsmbs/wcstoull_l.c: Moved to ...
1928 * sysdeps/generic/wcstoull_l.c: ...here.
1930 * sysdeps/wordsize-64/wcstol.c: New file.
1931 * sysdeps/wordsize-64/wcstoul.c: New file.
1932 * sysdeps/wordsize-64/wcstoll.c: New file.
1933 * sysdeps/wordsize-64/wcstoull.c: New file.
1934 * sysdeps/wordsize-64/wcstol_l.c: New file.
1935 * sysdeps/wordsize-64/wcstoul_l.c: New file.
1936 * sysdeps/wordsize-64/wcstoll_l.c: New file.
1937 * sysdeps/wordsize-64/wcstoull_l.c: New file.
1939 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
1941 * sysdeps/sparc/bits/wordsize.h: New file.
1942 * sysdeps/sparc/fpu/bits/fenv.h: New file.
1943 * sysdeps/sparc/fpu/fpu_control.h: New file.
1944 * sysdeps/sparc/gmp-mparam.h: New file.
1946 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
1947 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
1948 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
1949 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
1950 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
1951 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
1953 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
1954 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
1955 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
1956 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
1958 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
1959 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
1960 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
1961 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
1962 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
1964 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
1966 * login/openpty.c (openpty): Make sure pty does not because
1969 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
1971 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
1973 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
1974 Do proper error return.
1976 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1978 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
1979 of __P in the rest of glibc; define __MALLOC_PMT and use it.
1980 Reported by Stephan Kulow <coolo@kde.org>.
1982 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
1984 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
1986 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
1988 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1990 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
1991 names to protect from user's macro namespace.
1992 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
1993 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
1994 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
1995 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
1996 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
1998 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
1999 sysdeps/arm/fpu/fesetenv.c: Likewise.
2000 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
2001 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
2002 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
2003 * sysdeps/mips/fesetenv.c: Likewise.
2005 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
2007 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
2009 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
2011 * configure.in: Recognize and allow gcc 2.95.
2013 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
2015 * sysdeps/generic/bits/elfclass.h: Version common to
2016 wordsize-32 and wordsize-64.
2017 * sysdeps/generic/bits/environments.h: Ditto.
2018 * sysdeps/generic/stdint.h: Ditto.
2019 * sysdeps/generic/inttypes.h: Ditto.
2021 * sysdeps/generic/bits/wordsize.h: New file.
2022 * stdlib/Makefile: Add bits/wordsize.h to headers.
2024 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
2026 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
2027 headers to be used for 32bit and 64bit ABI compilations.
2028 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
2029 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
2030 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
2031 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
2032 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
2034 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
2035 * sysdeps/wordsize-64/bits/environments.h: Remove.
2036 * sysdeps/wordsize-64/stdint.h: Remove.
2037 * sysdeps/wordsize-64/inttypes.h: Remove.
2038 * sysdeps/wordsize-64/bits/wordsize.h: New file.
2040 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
2041 * sysdeps/wordsize-32/bits/environments.h: Remove.
2042 * sysdeps/wordsize-32/stdint.h: Remove.
2043 * sysdeps/wordsize-32/inttypes.h: Remove.
2044 * sysdeps/wordsize-32/bits/wordsize.h: New file.
2046 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
2048 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
2049 __align_cpy_16): New functions.
2050 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
2052 * sysdeps/sparc/sparc32/Versions: New file.
2053 * sysdeps/sparc/sparc64/Versions: New file.
2054 * sysdeps/sparc/Versions: Remove.
2056 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
2058 * sysdeps/unix/sysv/linux/configure.in:
2059 On sparc64-*-linux*, set slibdir to /lib64 if prefix
2060 is /usr, plus set libdir to ${exec_prefix}/lib64.
2061 * sysdeps/unix/sysv/linux/configure: Regenerated.
2062 * config.make.in: Propagate libdir settings from configure
2064 * shlib-versions: sparc64-*-linux* dynamic linker is
2065 /lib64/ld-linux.so.2.
2067 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
2069 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
2072 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
2074 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
2075 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
2077 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
2078 contains garbage in bits 8-63.
2079 * sysdeps/sparc/sparc64/memset.S: Ditto.
2080 * sysdeps/sparc/sparc64/strchr.S: Ditto.
2082 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
2084 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
2086 1999-05-17 David S. Miller <davem@redhat.com>
2088 * sysdeps/sparc/sparc32/atomicity.h: New file.
2089 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
2090 * sysdeps/sparc/sparc64/atomicity.h: New file.
2091 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
2094 1999-05-18 Richard Henderson <rth@twiddle.net>
2096 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
2098 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
2100 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
2101 posix/sys/types.h: Handle the case of __GNUC__=3,
2102 __GNUC_MINOR__=(anything).
2104 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2106 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
2109 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
2111 * elf/Makefile (distribute): Remove dl-origin.h.
2112 Add dl-dst.h and gen-trusted-dirs.awk.
2114 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2116 * sysdeps/i386/i486/Versions: New file with inline functions from
2117 sysdeps/i386/i486/bits/string.h for now.
2119 * sysdeps/i386/Versions: Add inline functions from
2120 sysdeps/i386/bits/string.h.
2122 * string/Versions: Add inline functions from <bits/string2.h>.
2124 * string/Makefile (routines): Add string-inlines.
2125 * string/string-inlines.c: New file, used for implementation of
2126 extern inline functions.
2128 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
2129 non inlined versions of functions.
2130 * string/bits/string2.h: Likewise.
2131 * sysdeps/i386/bits/string.h: Likewise.
2133 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
2135 * inet/arpa/tftp.h: Add second packed attribute.
2137 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
2139 * malloc/malloc.c: Cleanup to bring in line with released
2140 stand-alone version `ptmalloc'. Update some comments.
2141 (internal_function): Move fallback definition so that the source
2142 compiles outside of libc, and use it in more places.
2143 (malloc_atfork): Fix when malloc_check is in use.
2145 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2147 * stdlib/tst-strtod.c: Fix typo.
2149 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2151 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
2152 const incorrectness.
2154 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
2156 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
2158 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
2160 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
2161 * sunrpc/key_call.c: Fix memory leak, close file handle.
2162 * nis/nis_creategroup.c: Use malloc instead of calloc,
2163 set ctime and mtime.
2164 * nis/nis_subr.c: Check for realloc result.
2165 * nis/nis_file.c: Fix memory leak.
2166 * nis/nis_table.c: Pretty print.
2167 * nis/nis_getservlist.c: Likewise.
2168 * nis/nis_ismember.c: Likewise.
2169 * nis/nis_lookup.c: Likewise.
2170 * nis/nis_ping.c: Likewise.
2171 * nis/nis_removemember.c: Likewise.
2172 * nis/nis_util.c: Likewise, check calloc result.
2174 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
2176 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
2177 * sysdeps/generic/sys/socketvar.h: ... here.
2178 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
2179 * sysdeps/generic/netinet/in_systm.h: ... here.
2180 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
2182 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
2183 * inet/Makefile (headers): Add netinet/in_systm.h here.
2184 * socket/Makefile (headers): Add sys/socketvar.h here.
2186 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
2188 * stdlib/strtol.c: Optimize inner loop of long long versions.
2190 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
2191 Unix98. Add forward declaration of struct utmp.
2193 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
2195 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
2198 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
2199 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
2200 memory allocation results.
2202 1999-05-14 Mark Kettenis <kettenis@gnu.org>
2204 * sysdeps/generic/getutmp.c: Include <string.h>
2205 (getutmp): Rewrite to only copy those members that are really
2206 present in `struct utmp'.
2207 * sysdeps/generic/getutmpx.c: Likewise.
2209 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
2211 * nss/getXXbyYY.c: Add free_mem function which disposes all
2212 statically allocated memory when debugging.
2213 * nss/getXXent.c: Likewise.
2214 * nss/nsswitch.c: Likewise.
2216 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
2218 * sysdeps/gnu/getutmpx.c: New file.
2219 * sysdeps/gnu/getutmp.c: New file.
2221 1999-05-13 H.J. Lu <hjl@gnu.org>
2223 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
2224 (getutmp): Likewise.
2226 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
2229 * sysdeps/gnu/utmpx.h (getutmp): Added.
2230 (getutmpx): Likewise.
2232 * sysdeps/generic/getutmp.c: New file.
2234 * sysdeps/generic/getutmpx.c: New file.
2236 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2238 * glibcbug.in (BUGGLIBC): Change address to
2239 libc-alpha@sourceware.cygnus.com.
2241 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2243 * resolv/arpa/nameser.h: Add C++ protectors.
2245 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2247 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
2248 Elad Tsur <eladts@post.tau.ac.il>.
2250 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
2252 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
2253 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
2254 lazily if LD_BIND_NOW is not set.
2255 * elf/dl-support.c (_dl_lazy): New variable.
2256 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
2257 * elf/rtld.c (_dl_lazy): new global variable.
2258 ( dl_main): Remove lazy, replace it by _dl_lazy.
2260 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2262 * locale/setlocale.c (new_composite_name): Check also whether the
2263 first category name differs.
2265 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2267 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
2270 1999-05-11 Philip Blundell <pb@nexus.co.uk>
2272 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
2273 structure; storage suitable for any socket address.
2274 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
2276 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
2277 sockaddr_storage): Likewise.
2279 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
2282 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
2284 * hesiod/Versions: Change _nss_hesiod_getpwuid and
2285 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
2286 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
2288 1999-05-09 Mark Kettenis <kettenis@gnu.org>
2290 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
2291 if the file is empty.
2293 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
2295 * elf/do-lookup.h: Fix typo in comment.
2297 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
2298 f_bsize to help some broken programs.
2300 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
2302 * stdio-common/vfprintf.c: Fix typo.
2304 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
2306 * elf/link.h (struct link_map): New field l_phdr_allocated.
2307 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
2308 the program header being part of any loaded segment. If it is not
2309 allocate memory and set l_phdr_allocated flag.
2310 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
2312 * nss/digits_dots.c: Correct return value interpretation of
2313 inet_ntoa. Fix PR libc/1109.
2315 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
2317 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
2319 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
2321 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
2322 * stdlib/fpioconst.c: Move #endif before end of struct.
2324 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
2326 * Versions.def (ld.so): Add GLIBC_2.1.1.
2327 * elf/Makefile (routines): Add dl-origin.
2328 (tests): Add origtest. Add dependencies for the program.
2329 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
2330 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
2331 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
2332 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
2333 DT_AUXILIARY, and DT_FILTER filenames.
2334 * elf/dl-load.c (expand_dynamic_string_token): Explode into
2335 two functions and three macros.
2336 (_dl_dst_count, _dl_dst_substitute): New functions.
2337 * elf/dl-dst.h: New file.
2338 * elf/dl-open.c (_dl_open): Take extra parameter with address of
2339 caller. Pass address in args structure.
2340 (dl_open_worker): Recognize and expand DSTs in filename.
2341 * elf/ldsodefs.h (_dl_open): Adapt prototype.
2342 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
2343 (__dlopen_check): Pass caller address to dlopen_doit in args.
2344 * elf/dlopendoit.c: Likewise.
2345 * iconv/gconv_dl.c: Adapt call of _dl_open.
2346 * nss/nsswitch.c: Likewise.
2347 * elf/origtest.c: New file.
2348 * sysdeps/generic/dl-origin.h: Moved to...
2349 * sysdeps/generic/dl-origin.c: ...here.
2350 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
2351 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
2353 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
2354 with specific bases and only few bits set in second word.
2356 * timezone/Makefile (install-others): Create target directory
2357 before creating tzfiles.
2359 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
2361 * nis/nis_file.c (readColdStartFile): Allocate memory only after
2362 the file is opened successfully.
2364 * nis/nis_table.c: Fix some memory leaks.
2366 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
2368 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
2371 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
2372 around DST. Correctly ignore ORIGIN IN SUID binaries.
2374 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
2376 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
2377 * sysdeps/generic/strtok.c: Likewise.
2379 * string/tester.c: Add test of rawmemchr.
2381 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
2382 specification. It's not necessary.
2384 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
2385 * elf/gen-trusted-dirs.awk: New file.
2386 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
2387 from SYSTEM_DIRS macro.
2388 (system_dirs_len): New variable. Contains lengths of system_dirs
2390 (fillin_rpath): Rewrite for systems_dirs being a simple string.
2391 Improve string comparisons. Change parameter trusted to be a flag.
2393 (_dt_init_paths): Improve using new format for system_dirs.
2395 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
2396 $ORIGIN for SUID binaries.
2398 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
2400 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2402 * sunrpc/Makefile: Generate dependencies for all flavors of
2404 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
2407 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2409 * elf/dlopenold.c: Move #if down after includes to get
2412 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2414 * sysdeps/generic/bzero.c: Undefine __bzero.
2416 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
2418 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
2419 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
2420 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
2421 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
2423 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
2424 parameter to struct gaih_servtuple *. Adapt appropriately.
2425 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
2426 This fixes a memory leak.
2427 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
2429 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
2430 and fpregset_t definition. They are defined in ucontext.h.
2432 1999-04-14 Scott Bambrough <scottb@netwinder.org>
2434 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
2435 and struct ether_header must be packed on the ARM. The default
2436 alignment constraints add padding to the end of the structures.
2438 1999-04-14 Scott Bambrough <scottb@netwinder.org>
2440 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
2441 default alignment constraints add padding to the end of the
2442 structure and between members.
2444 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
2446 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
2447 _dl_cache_libcmp instead of strcmp.
2449 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
2451 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
2453 1998-03-30 Joel Klecker <espy@debian.org>
2455 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
2456 (sysdep-others,install-bin): Add lddlibc4.
2458 1999-05-02 H.J. Lu <hjl@gnu.org>
2460 * timezone/zic.c (dolink): Remove the symlink destination first.
2462 * catgets/open_catalog.c (__open_catalog): Set catalog->status
2463 to "nonexisting" if failed to open the file.
2465 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
2467 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
2470 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
2471 Prevent warnings from multiplication with 0x01010101 by another cast.
2473 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2475 * string/bits/string2.h (memset): Revert to previous version if
2476 unaligned writes are not available.
2478 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
2480 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
2481 better code in presence of the asm.
2483 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2485 * stdlib/fmtmsg.c (keywords): Increase array size for faster
2488 * locale/localeinfo.h (_nl_category_names): Increase array element
2489 size for faster indexing.
2490 * locale/setlocale.c (_nl_category_names): Adjusted.
2492 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2494 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
2496 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2498 * sysdeps/m68k/stackinfo.h: New file.
2500 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
2502 * string/tester.c (test_strchrnul): New function.
2503 (test_memset): Test one more special case.
2505 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
2508 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
2511 * string/bits/string2.h: Fix bugs I introduced in last change.
2513 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
2515 Extend memset optimization.
2516 Correct i686 version of memchr.
2518 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
2520 * sysdeps/i386/bzero.c: Add #undef __bzero.
2522 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
2523 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
2524 exec server simulated a SIGTRAP before we even started up, so gdb is
2527 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
2529 * nss/digits_dots.c: Always initialize not_ok.
2531 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
2533 * string/bits/string2.h (memset): Avoid arithmetic overflow at
2534 compile time, which produces obnoxious warnings. If GCCv2 is
2535 in use, map __bzero to __builtin_memset to enable that
2538 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
2540 * string/bits/string2.h: Add more memset optimizations.
2542 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
2544 * resolv/inet_pton.c (inet_pton4): Little optimizations.
2545 (inet_pton6): Likewise.
2547 * nss/getXXbyYY_r.c: Include assert.h.
2548 * nss/getXXbyYY.c: Likewise.
2550 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2552 * termios/tcgetsid.c (tcgetsid): Rename variable to
2553 tiocgsid_does_not_work.
2555 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
2557 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
2559 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2561 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
2562 This allows e.g. gethostbyname to accept "10.1234".
2563 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
2565 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
2566 non quad IPv4 numbers.
2568 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2570 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
2572 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
2574 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
2575 * argp/argp-parse.c (_argp_hang): Likewise.
2576 * argp/argp-pv.c (argp_program_version): Likewise.
2577 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
2578 * inet/ether_hton.c (ether_hton, startp): Likewise.
2579 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
2580 * inet/getnetgrent_r.c (setup, startp): Likewise.
2581 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
2582 * intl/localealias.c (string_space, string_space_act, string_space_max,
2583 nmap, maxmap): Likewise.
2584 * libio/iopopen.c (proc_file_chain): Likewise.
2585 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
2586 * locale/lc-collate.c (__collate_table, __collate_extra,
2587 __collate_element_hash, __collate_element_strings,
2588 __collate_element_values): Likewise.
2589 * malloc/mcheck.c (mcheck_used): Likewise.
2590 * malloc/mtrace.c (added_atexit_handler): Likewise.
2591 * malloc/set-freeres.c (already_called): Likewise.
2592 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
2593 * misc/syslog.c (LogStat, LogTag): Likewise.
2594 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
2595 * nss/getXXbyYY_r.c (startp): Likewise.
2596 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
2597 * posix/regex.c (init_syntax_once) [done]: Likewise.
2599 * string/strfry.c (init): Likewise.
2600 * sunrpc/svc_run.c (svc_top): Likewise.
2601 * posix/euidaccess.c (have_ids): Likewise.
2602 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
2603 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
2604 * time/getdate.c (getdate_err): Likewise.
2605 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
2607 * time/tzset.c (old_tz, is_initialized): Likewise.
2609 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
2610 of static data with zero.
2611 * signal/allocrtsig.c (init): Likewise.
2613 * string/Makefile (routines): Add strchrnul.
2614 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
2615 * string/string.c: Add strchrnul prototype.
2616 * include/string.h: Add __strchrnul prototype.
2617 * sysdeps/generic/strchrnul.c: New file.
2618 * sysdeps/i386/strchrnul.S: New file.
2619 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
2620 * sysdeps/i386/i486/bits/string.c: Likewise.
2621 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
2622 * inet/ether_line.c (ether_line): Likewise.
2623 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
2624 * nss/nsswitch.c (nss_parse_file): Likewise.
2625 * posix/execvp.c (execvp): Likewise.
2626 * posix/fnmatch.c (internal_fnmatch): Likewise.
2627 * resolv/res_hconf.c (_res_hconv_init): Likewise.
2628 * resolv/res_init.c (res_init): Likewise.
2629 * stdlib/fmtmsg.c (init): Likewise.
2630 * stdlib/getsubopt.c (getsubopt): Likewise.
2632 * catgets/catgets.c (catopen): Only allocate one memory block.
2633 (catclose): Only one free call necessary.
2635 * catgets/open_catalog.c (__open_catalog): Simplify handling of
2638 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
2639 of real functions. Simplify _tolower and _toupper.
2641 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
2644 * iconv/gconv.h (struct gconv_info): Change data element from pointer
2646 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
2647 * iconv/gconv_close.c (__gconv_close): Don't free data.
2649 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
2652 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
2653 for error while inserting in tree.
2655 * include/time.h: Pretty print.
2657 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
2658 in table and lots of relocations.
2659 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
2660 string pointers in table and lots of relocations.
2662 * intl/finddomain.c: Remove definition of strchr macro.
2664 * io/ftw.c (nftw_arr, ftw_arr): Make const.
2666 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
2668 * locale/localeinfo.h (_nl_category_names): Change into an array with
2669 fixed width char string elements.
2670 * locale/setlocale.c (_nl_category_names): Likewise.
2671 (_nl_current): Make global.
2672 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
2674 * malloc/Makefile (distribute): Add stackinfo.h.
2675 * sysdeps/generic/stackinfo.h: New file.
2676 * sysdeps/i386/stackinfo.h: New file.
2677 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
2678 * posix/execle.c: Likewise.
2679 * posix/execlp.c: Likewise.
2681 * nis/nis_table.c (__create_ib_request): Always use realloc.
2683 * posix/execvp.c (execute): Rename to script_execute and keep only
2684 code to execute using shell.
2685 (execvp): Call execv directly and only fall back on script_execute.
2687 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
2688 and always use xdigits instead.
2690 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
2693 * stdlib/fpioconst.h (__tens): New declaration.
2694 (struct mp_power): Remove array, add arrayoff element.
2695 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
2696 __tens array and add in _fpioconst_pow10 offsets into __tens.
2697 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
2698 * stdlib/strtod.c: Likewise.
2700 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
2702 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
2704 * stdlib/atexit.c (__exit_funcs): Don't initialize.
2706 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
2708 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
2709 a single and an array with offsets.
2711 * sunrpc/des_soft.c (partab): Make it const.
2713 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
2714 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
2715 (__key_decryptsession_pk_LOCAL): Likewise.
2716 (__key_gendes_LOCAL): Likewise.
2717 (MESSENGER): Mark const.
2718 (key_call_private_main): Don't initialize with 0.
2719 (use_keyenvoy): Don't initialize with 0.
2720 (key_call): Rewrite to reverse logic of use_doors variable.
2722 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
2723 (startp): Don't initialize with zero.
2725 * sunrpc/openchild.c (_openchild): Make first argument const.
2727 * sunrpc/pmap_rmt.c (timeout): Mark const.
2728 * sunrpc/xcrypt.c (hex): Likewise.
2730 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
2731 initialization of global variables.
2732 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
2733 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2734 * termios/tcgetsid.c: Likewise.
2736 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
2739 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
2740 block. Add function to free memory if wanted.
2741 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
2743 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
2745 * wcsmbs/wmemset.c: Little code optimization.
2747 1999-04-23 Paul Eggert <eggert@twinsun.com>
2749 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
2752 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
2754 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
2755 implementation and just always fail with ENOSYS. This entry point is
2756 obsolete. Add link warning to that effect.
2758 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
2760 * hurd/get-host.c: Include <hurd/lookup.h>.
2762 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
2764 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
2767 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2769 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
2772 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
2774 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
2775 Patch by Peter Miller <millerp@canb.auug.org.au>.
2777 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
2779 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
2780 prefers loopback device.
2782 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
2784 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
2785 no_leading_period change.
2787 * posix/testfnm.c: More test cases.
2789 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
2791 * include/dirent.h: Remove __getdirentries declaration, add __getdents
2793 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
2794 * sysdeps/unix/readdir_r.c: Likewise.
2795 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2796 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
2797 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
2798 __getdirentries. Remove fourth argument.
2799 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
2800 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
2801 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
2802 Add getdirentries and getdirentries64.
2803 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
2805 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
2806 pointer in case of an invalid [[: expression.
2808 * posix/testfnm.c: Add more test cases.
2810 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
2812 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
2813 set, pass EXEC_SIGTRAP flag in exec RPC.
2815 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
2817 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
2818 extra parameter. Fix several more bugs involving wildcard and
2820 (fnmatch): New function. Call internal_fnmatch.
2822 * posix/testfnm.c: More test cases.
2824 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2826 * manual/install.texi (Configuring and compiling): Explain that
2827 files are changed in the source directory.
2829 (Configuring and compiling): Explain situation with PARALLELMFLAGS
2830 in the source directory.
2832 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2834 * locale/programs/ld-ctype.c: Spelling fixes.
2835 (ctype_finish): Fix argument of error message format.
2836 * locale/programs/ld-messages.c: Spelling fixes.
2837 * locale/programs/ld-monetary.c: Spelling fixes.
2838 * locale/programs/ld-time.c (time_finish): Make sure that name and
2839 format of era_entries are adjacent.
2840 (time_output): Reduce the size of the io vector.
2842 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2844 * manual/filesys.texi (Attribute Meanings): Move a misplaced
2847 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2849 * locale/programs/ld-collate.c (collate_output): Convert
2850 undefined_offset to an array index. Fix computation of other
2853 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
2855 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
2856 return success with empty value.
2858 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
2860 * posix/fnmatch.c: Include string.h also for glibc.
2861 (fnmatch, case '?'): Optimize if cascades a bit.
2862 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
2864 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
2866 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
2868 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
2869 * iconv/gconv_int.h: Declare UTF16 functions.
2870 * iconv/gconv_simple.c: Add UTF16 conversion functions.
2872 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2874 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
2875 be used correctly as parameter for parse_dollars/parse_tilde.
2877 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2879 * manual/conf.texi (Utility Limits): Remove duplicate description
2882 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
2884 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
2885 outbufend for dst==NULL.
2887 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
2889 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
2893 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
2896 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
2898 * sunrpc/Makefile: Remove special handling of bootparam.x,
2899 add rpcsvc/bootparam.h to headers.
2900 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
2901 * sunrpc/rpcsvc/bootparam.x: Renamed to...
2902 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
2904 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
2906 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
2907 detect and handle invalid descriptors.
2909 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
2911 * timezone/zic.c (dolink): Append complete path not only filename
2914 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2916 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
2918 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
2920 * iconvdata/gconv-modules: Rename CP874 to IBM874.
2921 * iconvdata/Makefile: Likewise.
2922 * iconvdata/cp874.h: Removed.
2923 * iconvdata/cp874.c: Renamed to...
2924 * iconvdata/ibm874.c: ...this.
2926 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
2928 * sysdeps/unix/sysv/linux/bits/types.h: Correct
2929 signed/unsigned-ness of blkcnt and fsblkcnt.
2930 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2931 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2933 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
2934 SOL_AAL, and SOL_IRDA.
2936 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2938 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
2939 include "linux_fsinfo.h".
2940 Based on a patch by H.J. Lu <hjl@gnu.org>.
2942 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
2944 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
2946 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
2948 * nscd/cache.c (prune_cache): Only disable file checking for
2949 future if the file does not exist.
2950 Update file_mtime if cache was flushed.
2952 1999-04-15 David S. Miller <davem@redhat.com>
2954 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
2955 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
2957 1999-04-15 Scott Bambrough <scottb@netwinder.org>
2959 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
2960 compilation of file.
2962 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
2964 * Versions.def: Add GLIBC_2.1.1 to libpthread.
2966 * iconvdata/Makefile (modules): Add KOI8-U.
2967 (distribute): Add koi8-u.c.
2968 (gen-8bit-gap-modules): Add koi8-u.
2969 * iconvdata/gconv-modules: Add KOI8-U entries.
2970 * iconvdata/koi8-u.c: New file.
2972 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
2974 * sunrpc/auth_des.c: 64bit fixes, security fixes.
2975 * sunrpc/auth_none.c: Pretty print.
2976 * sunrpc/auth_unix.c: Likewise.
2977 * sunrpc/authdes_prot.c: Likewise.
2978 * sunrpc/authuxprot.c: Likewise.
2979 * sunrpc/bindrsvprt.c: Likewise.
2980 * sunrpc/clnt_gen.c: Likewise.
2981 * sunrpc/rpc/xdr.h: Likewise.
2982 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
2983 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
2984 * sunrpc/rtime.c: Use new rpc_timeval.
2985 * sunrpc/svc_authux.c: Don't use *long pointers.
2986 * sunrpc/svcauth_des.c: Likewise + security fixes.
2987 * sunrpc/xdr_mem.c: Don't use *long pointers.
2988 * sunrpc/xdr_rec.c: Likewise.
2989 * sunrpc/xdr_sizeof.c: Likewise.
2990 * sunrpc/xdr_stdio.c: Likewise.
2992 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
2994 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
2995 so that it is redone for each sending.
2997 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2999 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
3001 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
3003 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
3004 known to not exist don't try to load shared objects.
3005 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
3007 * nscd/cache.c (prune_cache): The table might not be unused. In
3008 this case do nothing.
3010 * catgets/gencat.c (read_input_file): Don't drop white spaces
3011 between number/identifier and string.
3012 Patch by Dima Barsky <dima@pwd.hp.com>.
3013 If no white space at all follows number/identifier remove existing
3014 message with the number/identifier.
3016 1999-04-14 H.J. Lu <hjl@gnu.org>
3018 * sunrpc/clnt_udp.c (is_network_up): New function.
3019 (clntudp_call): Call is_network_up () to check if any network
3020 interface is up in case of timeout.
3022 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3024 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
3025 * wctype/Makefile (tests): Add test_wcfuncs.
3027 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
3029 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
3031 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
3033 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
3034 instead of CFLAGS. For gnulib and string directories use
3035 -Wa,-Av9a gcc ASFLAGS.
3036 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
3037 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
3038 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
3039 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
3040 the same way as sparc-*.
3042 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
3044 * locale/programs/locfile.c (locfile_read): Fix typo.
3045 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
3047 1999-04-14 Scott Bambrough <scottb@netwinder.org>
3049 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
3050 restarted after being interrupted by a signal. The parameters on
3051 the stack were corrupted by the signal handler.
3053 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
3054 restarted after being interrupted by a signal. The parameters on
3055 the stack were corrupted by the signal handler.
3057 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3059 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
3060 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
3062 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
3064 * posix/wordexp-test.c: In field-splitting test cases where
3065 subshells were involved, unset IFS first: some shells (ash) use
3066 IFS even when no expansion is performed.
3068 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3070 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
3071 the real end of the chunk, not some random point inbetween.
3072 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
3073 obstack when growing. Use fast version of obstack_blank when
3075 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
3076 allocating the vtable pointer.
3077 (_IO_obstack_vprintf): Adjust for above change and avoid
3078 unnecessary casts. Use fast version of obstack_blank when
3082 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
3084 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
3085 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
3087 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
3089 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
3090 is seen, as well as fixing semantics. Don't reset the word count
3091 to zero when an invalid character is seen, but leave it as it was
3092 (this makes a difference with WRDE_APPEND).
3094 * posix/wordexp-test.c: More test cases.
3096 * posix/wordexp.c (parse_param): In words like ${var#pattern},
3097 always expand pattern when it is needed. Also, handle quoting in
3100 1999-04-12 Philip Blundell <philb@gnu.org>
3102 * elf/elf.h: Update ARM definitions to match current gas2.
3104 * sysdeps/arm/bits/endian.h: Support big endian operation.
3106 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
3107 Don't bother range checking the port number.
3109 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
3111 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
3112 the syscall name in assembler output for ease of debugging.
3114 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
3116 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
3117 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
3118 (sysdep_routines): Add sigrestorer.
3120 * string/tester.c (test_strcpy): Add new tests for unaligned
3122 * sysdeps/arm/bits/string.h: Delete inline implementations of
3125 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
3127 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
3129 1999-04-10 Mark Kettenis <kettenis@gnu.org>
3131 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
3133 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
3135 * iconvdata/Makefile (modules): Add TIS-620.
3136 (distribute): Add tis-620.c.
3137 (gen-8bit-gap-modules): tis-620.
3138 * iconvdata/tis-620.c: New file.
3139 * iconvdata/gconv-modules: Add TIS-620 entries.
3141 * iconvdata/asmo_449.c: Correct comment.
3143 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3145 * manual/install.texi (Configuring and compiling): Comment out
3146 description of --disable-static since this doesn't work currently
3147 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
3149 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
3151 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
3153 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
3155 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3157 * scripts/test-installation.pl (installation_problem): Skip
3158 libnss1_* libraries from glibc-compat add-on.
3160 1999-04-07 H.J. Lu <hjl@gnu.org>
3162 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
3164 * posix/Versions (__waitpid): Likewise.
3166 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3168 * manual/install.texi (Reporting Bugs): Add section about reported
3169 bugs and correct email address of glibcbug script.
3171 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
3173 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
3174 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
3175 xdr_u_longlong_t. Based on patch from Dan Shechter
3176 <damageboy@isdn.net.il>.
3177 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
3178 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
3180 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
3182 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3184 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
3185 directly if getdents returns with error set.
3187 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3189 * locale/langinfo.h (THOUSEP): Rename second occurence of
3190 THOUSANDS_SEP to THOUSEP.
3191 Reported by Roman Belenov <roman@nstl.nnov.ru>.
3193 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
3195 * hurd/STATUS: File removed. Moved items that are still relevant into
3196 TODO list in hurd source.
3198 1999-03-26 Mark Kettenis <kettenis@gnu.org>
3200 * sysdeps/mach/hurd/bits/time.h: New file.
3201 * sysdeps/mach/hurd/getrusage.c: New file.
3202 * sysdeps/mach/hurd/clk_tck.c: New file.
3203 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
3204 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
3205 (sysdep_routines): Add clk_tck.
3206 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
3209 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
3211 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
3212 (closelog): But instead here.
3213 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
3215 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3217 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
3218 the source directory. Fixes PR libc/1059.
3220 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3222 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
3223 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3225 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
3227 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
3228 * iconvdata/testdata/ISO-8859-14: New file.
3229 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
3230 * iconvdata/testdata/ISO-8859-15: New file.
3231 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
3233 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
3235 * iconvdata/testdata/CP1258: New file.
3236 * iconvdata/testdata/CP1258..UTF8: New file.
3237 * iconvdata/TESTS: Add CP1258 entry.
3239 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
3241 * timezone/africa: Update from tzdata1999d.
3242 * timezone/europe: Likewise.
3243 * timezone/northamerica: Likewise.
3245 1999-03-31 Mark Kettenis <kettenis@gnu.org>
3247 * login/programs/pt_chown.c (main): Save effective user ID before
3248 dropping priviliges and use this to check if the program is
3251 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
3253 * iconvdata/testdata/CP1254: Update for charmap changes.
3254 * iconvdata/testdata/CP1254..UTF8: Likewise.
3255 * iconvdata/testdata/CP1255: Likewise.
3256 * iconvdata/testdata/CP1255..UTF8: Likewise.
3257 * iconvdata/testdata/CP1256: Likewise.
3258 * iconvdata/testdata/CP1256..UTF8: Likewise.
3259 * iconvdata/testdata/CP1257: Likewise.
3260 * iconvdata/testdata/CP1257..UTF8: Likewise.
3262 * iconvdata/Makefile (distribute): Remove cp1258.h.
3263 (gen-8bit-gap-modules): Add cp1258.
3264 * iconvdata/cp1258.h: Removed.
3266 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
3268 * timezone/tst-timezone.c (tests): Add more cases.
3269 (check_tzvars): Mark errors clearer.
3272 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
3274 * login/programs/pt_chown.c: Drop privileges if invoked with
3275 arguments. Don't close the master pty.
3277 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
3279 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
3282 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
3284 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
3285 relocation for SUID binaries.
3287 1999-03-29 Paul Eggert <eggert@twinsun.com>
3289 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
3290 while in child process.
3292 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
3294 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
3295 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
3296 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
3297 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
3298 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
3300 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
3301 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
3302 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
3303 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
3304 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
3305 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
3306 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
3307 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
3308 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
3309 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
3310 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
3311 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
3312 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
3313 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
3314 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
3315 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
3316 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
3317 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
3318 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
3319 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
3320 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
3321 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
3322 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
3323 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
3324 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
3325 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
3327 * sysdeps/sparc/sparc32/bcopy.c: New file.
3328 * sysdeps/sparc/sparc32/bzero.c: New file.
3329 * sysdeps/sparc/sparc32/memchr.S: New file.
3330 * sysdeps/sparc/sparc32/memcpy.S: New file.
3331 * sysdeps/sparc/sparc32/memmove.c: New file.
3332 * sysdeps/sparc/sparc32/memset.S: New file.
3333 * sysdeps/sparc/sparc32/stpcpy.S: New file.
3334 * sysdeps/sparc/sparc32/strchr.S: New file.
3335 * sysdeps/sparc/sparc32/strrchr.c: New file.
3336 * sysdeps/sparc/sparc32/strcpy.S: New file.
3337 * sysdeps/sparc/sparc32/strlen.S: New file.
3338 * sysdeps/sparc/sparc32/strcat.S: New file.
3339 * sysdeps/sparc/sparc32/strcmp.S: New file.
3341 * sysdeps/sparc/sparc64/bcopy.c: New file.
3342 * sysdeps/sparc/sparc64/bzero.c: New file.
3343 * sysdeps/sparc/sparc64/memchr.S: New file.
3344 * sysdeps/sparc/sparc64/memcmp.S: New file.
3345 * sysdeps/sparc/sparc64/memcpy.S: New file.
3346 * sysdeps/sparc/sparc64/memset.S: New file.
3347 * sysdeps/sparc/sparc64/stpcpy.S: New file.
3348 * sysdeps/sparc/sparc64/strcat.S: New file.
3349 * sysdeps/sparc/sparc64/strchr.S: New file.
3350 * sysdeps/sparc/sparc64/strcmp.S: New file.
3351 * sysdeps/sparc/sparc64/strcpy.S: New file.
3352 * sysdeps/sparc/sparc64/strcspn.S: New file.
3353 * sysdeps/sparc/sparc64/strlen.S: New file.
3354 * sysdeps/sparc/sparc64/strncpy.S: New file.
3355 * sysdeps/sparc/sparc64/strpbrk.S: New file.
3356 * sysdeps/sparc/sparc64/strrchr.c: New file.
3357 * sysdeps/sparc/sparc64/strspn.S: New file.
3358 * sysdeps/sparc/sparc64/stpncpy.S: New file.
3359 * sysdeps/sparc/sparc64/strncmp.S: New file.
3361 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
3362 Append -fPIC, don't replace.
3364 * configure.in: Recognize sparcv8plus / sparcv9.
3366 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3368 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
3369 char * to avoid C++ warning.
3370 Patch by yasushi@cs.washington.edu [PR libc/1035].
3372 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3374 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
3375 declared in stdlib.h, correct return value of mkstemp.
3376 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
3378 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
3381 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3383 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
3386 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
3387 inline functions. Closes PR libc/1049.
3389 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3391 * timezone/README: Update from tzdata1999c and tzcode1999c.
3393 * timezone/africa: Update from tzdata1999c.
3394 * timezone/antarctica: Likewise.
3395 * timezone/asia: Likewise.
3396 * timezone/australasia: Likewise.
3397 * timezone/europe: Likewise.
3398 * timezone/northamerica: Likewise.
3399 * timezone/southamerica: Likewise.
3400 * timezone/zone.tab: Likewise.
3402 * timezone/zic.c: Update from tzcode1999c.
3404 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3406 * Makerules: Add $(common-objpfx)Versions.all to common-generated
3407 outside of ifndef avoid-generated.
3409 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
3411 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
3413 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
3415 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
3416 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
3418 1999-03-26 Mark Kettenis <kettenis@gnu.org>
3420 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
3421 if we build the profiled library.
3423 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3425 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
3426 Jaeger <aj@arthur.rhein-neckar.de>
3428 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
3430 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
3431 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
3432 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
3434 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
3436 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
3437 works properly in subdirs.
3439 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
3441 * sysdeps/mach/hurd/Makefile: Undo last change.
3442 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
3443 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
3445 * mach/Machrules (+preinit, +postinit, +interp,
3446 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
3447 linked just like other shared libraries.
3448 (interface.so): Fix typo in defn, so it works.
3449 ($(objpfx)$(interface.so)): Make it depend on libc.so.
3451 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
3453 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
3454 $(link-rpcuserlibs).
3456 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3458 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
3459 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
3460 targets if not building shared libraries.
3462 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3464 * configure.in: Also look in $PATH when searching for
3465 install-info. Remove autoconf bug workaround and require autoconf
3468 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3470 * db/Makefile: Don't try to install shared library link if not
3471 building with shared libs.
3473 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3475 * rt/Makefile: Link against static library if no shared lib is
3478 * localedata/Makefile: The shells scripts implementing the test
3479 require the dynamic linker which is not available with
3480 --disable-shared. Skip the test if --disable-shared is given.
3482 * linuxthreads/Makefile: Link test against static libpthread if no
3483 shared lib is available.
3485 * iconvdata/Makefile (tests): Run iconv-test only if we're
3486 building shared libraries.
3487 * elf/Makefile (tests): Likewise for elf tests.
3489 * posix/Makefile: The test frameworks globtest and wordexp-test
3490 require the dynamic linker which is not available with
3491 --disable-shared. Skip the test if --disable-shared is given.
3493 * grp/Makefile (otherlibs): For static nss build link against
3496 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3498 * debug/Makefile (install-bin): Install and build catchsegv only
3499 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
3502 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3504 * time/tzfile.c (__tzfile_read): Handle the case where there are
3505 transitions but no DST.
3507 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
3509 * mach/Machrules (extra-libs-others): Add $(interface-library) here
3510 too, so it gets built in the others pass rather than the lib pass.
3511 This is necessary since the RPC libraries need to be linked against
3514 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
3516 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
3519 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
3520 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
3521 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
3522 versions of lib{mach,hurd}user.so without reference to libc.so,
3523 then link libc.so against that to get deps and symbol versions, then
3524 finally link real lib*user.so against libc.so.
3526 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
3527 Support whole-file locking (only) by using the file_lock RPC. This
3528 has very wrong semantics, but is better than nothing for the time
3529 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
3530 protocols that will be somewhat hairy to specify.)
3532 1999-03-17 Mark Kettenis <kettenis@gnu.org>
3534 * sysdeps/mach/hurd/ptsname.c: New file.
3536 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3538 * timezone/asia: Fix rule in Asia/Nicosia entry.
3540 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3542 * manual/getopt.texi (Using Getopt): Explain "::" in option
3543 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
3545 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
3547 * sunrpc/clnt_unix.c: Fix creation of parameters for
3548 sendmsg/recvmsg on non intel platforms.
3549 * sunrpc/svc_unix.c: Likewise.
3551 1999-03-18 Philip Blundell <philb@gnu.org>
3553 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
3556 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3558 * timezone/africa: Update from tzdata1999b.
3559 * timezone/asia: Likewise.
3560 * timezone/australasia: Likewise.
3561 * timezone/europe: Likewise.
3562 * timezone/northamerica: Likewise.
3563 * timezone/southamerica: Likewise.
3564 * timezone/zone.tab: Likewise.
3566 * timezone/README: Mention tzdata1999b.
3568 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
3570 * sysdeps/generic/segfault.c (write_strsignal): New function.
3571 (catch_segfault): Use it instead of calling strsignal.
3573 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3575 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
3576 char to avoid warning.
3578 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
3580 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
3582 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
3583 outbuf to unsigned char to avoid warning.
3585 1999-03-11 David S. Miller <davem@redhat.com>
3587 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
3589 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
3591 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
3593 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
3595 (gconv_step_data): Likewise.
3596 * iconv/gconv_int.h (__gconv): Likewise.
3597 (__BUILINT_TRANS): Likewise.
3598 * iconv/gconv.c (__gconv): Likewise.
3599 * iconv/iconv.c (iconv): Add casts for call of __gconv.
3600 * iconv/skeleton.c: Change local parameters and variable from `char' to
3601 `unsigned char'. Remove casts from calls into modules.
3602 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
3603 `char' to `unsigned char'.
3604 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
3605 * wcsmbs/mbrtowc.c: Likewise.
3606 * wcsmbs/mbsnrtowcs.c: Likewise.
3607 * wcsmbs/mbsrtowcs.c: Likewise.
3608 * wcsmbs/wcrtomb.c: Likewise.
3609 * wcsmbs/wcsnrtombs.c: Likewise.
3610 * wcsmbs/wcsrtombs.c: Likewise.
3611 * wcsmbs/wctob.c: Likewise.
3613 1999-03-15 Mark Kettenis <kettenis@gnu.org>
3615 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
3616 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
3617 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
3618 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
3619 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
3620 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
3622 1999-03-15 Mark Kettenis <kettenis@gnu.org>
3624 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
3625 _hurd_select if TIMEMOUT is -1.
3627 1999-03-15 Mark Kettenis <kettenis@gnu.org>
3629 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
3631 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
3633 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
3634 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
3636 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3638 * manual/libc.texinfo: Undo last change for now.
3640 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
3642 * intl/locale.alias: Add entries for Croatian.
3643 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
3645 1999-03-13 Mark Kettenis <kettenis@gnu.org>
3647 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
3648 if the opened master pty really is a pty. `isatty' checks for
3649 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
3650 if we are out of pty's.
3652 1999-03-13 Mark Kettenis <kettenis@gnu.org>
3654 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
3655 opened file is closed on exec.
3656 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
3659 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3661 * manual/llio.texi (File Position Primitive): Reformat @end
3662 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
3664 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
3666 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
3668 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3669 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
3671 * locale/programs/localedef.c (main): Initialize `cat' to please
3674 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
3676 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
3677 check for root-owned symlinks and reject them too.
3679 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3681 * stdio-common/printf_fphex.c: Move to ...
3682 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
3683 extended precision number.
3684 * sysdeps/m68k/printf_fphex.c: New file.
3686 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3688 * manual/stdio.texi: Fix typos.
3690 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
3692 * version.h (VERSION): Bump to 2.1.1.
3694 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
3696 * nis/ypclnt.c: Try only twice to connect to NIS server.
3698 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
3700 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
3702 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3704 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
3705 (DENORM_EXP): New define. Use it as the exponent for a denormal.
3706 * stdlib/strtold.c: Moved to ...
3707 * sysdeps/generic/strtold.c: ... here.
3708 * sysdeps/m68k/strtold.c: New file.
3710 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3712 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
3713 point if the precision is zero, even if the mantissa is non-zero.
3715 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
3717 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
3718 arguments into the request message buffer inside `send_rpc'
3719 subfunction. We must repeat the marshalling when retrying the RPC
3720 after a SIGTTOU delivery.
3722 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
3723 path when there is no ctty port.
3724 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
3725 Move sigstate check inside loop so we recheck after handling a signal.
3727 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3729 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
3730 O_EXLOCK are BSD extensions.
3731 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
3733 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
3735 * manual/signal.texi (Termination in Handler): Correct example.
3736 Install default handler before reraising the signal.
3737 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
3739 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
3741 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
3742 null, in which case send an empty string.
3744 1999-03-02 Mark Kettenis <kettenis@gnu.org>
3746 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
3747 backward compatibility EH functions to be linked when using
3748 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
3750 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3752 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
3753 /dev/pts status may change during runtime.
3755 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3757 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
3758 change. /dev/pts status can change during runtime.
3760 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
3762 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
3764 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
3765 add some more sanity checks.
3766 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
3769 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
3771 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
3772 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
3773 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
3774 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
3775 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
3777 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
3778 * nis/nis_print.c: Fix ctime argument for platforms where
3779 sizeof (time_t) != sizeof (int).
3781 1999-03-07 Mark Kettenis <kettenis@gnu.org>
3783 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
3784 CLOCKS_PER_SEC instead of CLK_TCK.
3786 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
3788 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
3789 whether /dev/pts is available.
3790 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
3793 * posix/globtest.sh: Make common_objpfx path absolute and and db2
3794 and hesiod directory to library path [PR libc/1007].
3796 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3798 * resolv/inet_addr.c (inet_aton): Don't allow componets >
3799 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
3801 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
3803 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
3804 DT_PLTGOT has already been relocated.
3805 (__elf_machine_fixup_plt): Likewise.
3808 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
3810 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
3812 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
3814 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
3815 and fold string to uppercase [PR libc/1005].
3817 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3819 * elf/dl-load.c (lose): Fix return type.
3821 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
3823 * sysdeps/mach/hurd/bits/fcntl.h
3824 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
3825 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
3826 set O_NOTRANS as well.
3827 (__hurd_file_name_lookup_retry): At successful end of lookup,
3828 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
3829 it is a translated node not owned by root.
3830 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
3831 on the file name passed to LOOKUP.
3833 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
3835 * manual/time.texi (High Resolution Timer): Correct computation in
3836 example. Reported by jjf@devel.cemsys.com.
3838 1999-03-02 Philip Blundell <pb@nexus.co.uk>
3840 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
3841 entry is already relocated.
3843 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3845 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
3846 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
3848 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3850 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
3851 uc_link which is the right name according to Unix98.
3852 Reported by Craig Metz [PR libc/1001].
3853 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
3854 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
3855 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
3856 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
3857 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
3858 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
3860 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3862 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
3865 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3867 * iconvdata/Makefile: Always include iconv-rules, but disable rule
3868 to regenerate it if avoid-generated.
3870 * Makeconfig: Always include sys-dirs, but disable rule to
3871 regenerate it when avoid-generated.
3873 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
3874 rule to generate sysd-syscalls.
3876 * elf/Makefile (generated): Remove $(objpfx) from names.
3878 1999-02-28 Mark Kettenis <kettenis@gnu.org>
3880 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
3881 actual length if the adress length is smaller than the input
3882 value. Change type of *LEN paramater to socklen_t.
3883 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
3884 * sysdeps/mach/hurd/accept.c (accept): Likewise.
3885 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
3886 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
3887 paramater to socklen_t.
3889 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
3891 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
3892 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
3895 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
3897 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
3898 __get_phys_pages): Cast &HBI to silence warning.
3900 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
3901 * hurd/hurdchdir.c: New file.
3902 * hurd/hurdfchdir.c: New file.
3903 * sysdeps/mach/hurd/chroot.c: Call
3904 _hurd_change_directory_port_from_name to do the work.
3905 * sysdeps/mach/hurd/chdir.c: Likewise.
3906 * sysdeps/mach/hurd/fchdir.c: Call
3907 _hurd_change_directory_port_from_fd to do the work.
3908 * hurd/fchroot.c: Likewise.
3909 * hurd/hurd.h: Declare them.
3911 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
3913 * elf/dl-load.c (lose): Add more comments to explain the `why'.
3914 (_dl_map_object): Remove redundant test.
3916 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
3918 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
3919 try to _hurd_port_free a lower-numbered descriptor that was not in any
3922 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3924 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
3925 declaration for ____wcstod_l_internal.
3927 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
3928 __strtod_internal prototype.
3929 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
3930 (____strtold_l_internal): Add prototype declaration.
3931 (__strtold_l): Call correct function.
3933 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
3935 * elf/elf.h: Add 32bit HPPA definitions.
3937 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3939 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
3940 non-checked heap is restored when malloc checking was requested by
3942 (struct malloc_state): Add using_malloc_checking.
3943 (MALLOC_STATE_VERSION): Increment minor.
3944 (using_malloc_checking, disallow_malloc_check): New variables.
3945 (__malloc_check_init): Use them.
3946 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
3947 that it can the chunk is properly instrumented when malloc
3948 checking is enabled. Set the new using_malloc_checking field.
3949 (malloc_hook_ini): Correct signature when _LIBC is not defined.
3951 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3953 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
3954 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
3957 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
3958 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
3959 if ld.so is the main program.
3961 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
3963 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
3964 large for work_buffer, allocate new buffer.
3965 (printf_unknown): Likewise. [PR libc/988]
3967 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
3969 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
3970 instead of stat and fstat.
3971 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3973 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3975 * elf/dl-error.c (_dl_signal_cerror): New function.
3976 (_dl_signal_error): Don't call receiver function.
3977 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
3978 instead of _dl_signal_error when reporting references to undefined
3979 symbols or versions.
3980 (_dl_lookup_versioned_symbol): Likewise.
3981 (_dl_lookup_versioned_symbol_skip): Likewise.
3982 * elf/dl-version.c (match_symbol): Likewise.
3984 * elf/ldsodefs.h: Declare _dl_signal_cerror.
3986 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
3988 * misc/getttyent.c (getttyent): Release lock on stream later to
3989 also protect global variable zapchar.
3991 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
3992 __times [PR libc/990].
3994 1999-02-21 David S. Miller <davem@redhat.com>
3996 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
3997 parentheses in Feb 2 changes.
3998 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
4000 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4002 * sysdeps/generic/glob.c (glob): Save previous errno.
4004 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
4006 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
4007 lookup functions if it is too small.
4009 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
4011 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
4012 for tracing to the scope lists.
4013 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
4014 DT_SYMTAB is always available according to ELF spec.
4016 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
4017 call test whether there is any scope left.
4018 (_dl_lookup_versioned_symbol_skip): Likewise.
4020 * elf/Makefile (distribute): Add do-lookup.h.
4021 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
4022 * elf/dl-lookup.c: Move do_lookup function in separate file and
4023 include the file twice, for handling versioning and without it.
4025 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
4026 entry is already relocated.
4027 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
4028 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
4029 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
4030 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
4032 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
4034 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
4037 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
4038 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
4039 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
4040 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
4041 rel and rela relocations can both happen and skip one test if this
4043 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
4045 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
4047 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
4049 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
4050 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
4051 (_dl_map_object): DT_STRTAB entry is already relocated.
4052 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
4054 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
4056 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
4057 DT_VERSYM entries are already relocated.
4058 (profile_fixup): Likewise.
4059 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
4061 (match_symbol): DT_STRTAB entry is already relocated.
4062 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
4063 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
4064 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
4065 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
4066 (find_needed): DT_STRTAB entry is already relocated.
4067 (dl_main): Pass extra argument to elf_get_dynamic_info.
4068 DT_STRTAB entry is already relocated.
4069 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
4070 DT_PLTGOT entries are already relocated.
4071 (elf_machine_rela): Likewise for DT_SYMTAB.
4072 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
4074 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4075 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
4076 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4077 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4078 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
4079 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
4080 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
4081 * sysdeps/mips/mips64/dl-machine.h: Likewise.
4083 * grp/initgroups.c (initgroups): If function in current module was
4084 successful don't stop but continue to process to get all the groups.
4086 * elf/dl-load.c (_dl_map_object_from_fd): Use global
4087 _dl_pf_to_proot array to convert p_flags value.
4088 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4090 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
4091 loop to clear `info'.
4093 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
4094 do the work and don't use inline assembler.
4096 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
4098 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
4099 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
4100 noreturn, and prevent it from being inlined.
4101 Define LOSE appropriately.
4102 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
4103 Optimize decoding of p_flags for certain platforms.
4105 1999-02-19 Philip Blundell <pb@nexus.co.uk>
4107 * Makeconfig (link-libc): When doing a static link, make sure that
4108 libgcc.a is included both before and after libc.a.
4110 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
4112 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
4113 sp_warn, sp_inact, sp_expire and sp_flag.
4115 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
4117 * elf/link.h (link_map): Add l_dev and l_ino.
4118 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
4119 loaded shared object with all loaded objects. Initialize l_ino
4120 and l_dev in case it's new.
4121 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
4123 * elf/Makefile: Compile and run new test.
4124 * elf/multiload.c: New file.
4126 * nss/nsswitch.h (service_user): Change name field from const char *
4128 (name_database_entry): Likewise.
4129 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
4130 for change of `service_user'.
4131 (nss_getline): Adjust memory allocation for change of
4132 `name_database_entry'.
4134 * catgets/catgets.c: Correctly handle NLSPATH from environment
4137 * io/Makefile (routines): Add lock64.
4138 * io/Versions: Add lockf64 for GLIBC_2.1.1.
4139 * sysdeps/generic/lockf64.c: New file.
4141 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
4143 * string/bits/string2.h: Only use strncmp optimization if count
4144 argument is constant.
4146 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
4148 * sysdeps/mach/hurd/revoke.c: New file.
4150 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
4152 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
4153 int to avoid warning about `ISO C restricts enumerator values to
4156 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4158 * elf/dlfcn.h: Fix typo.
4159 * sysdeps/generic/bits/dlfcn.h: Likewise.
4160 * sysdeps/mips/bits/dlfcn.h: Likewise.
4162 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
4164 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
4165 for the case N == 0.
4167 * db2/Makefile (distribute): Add LICENSE.
4169 1999-02-03 Jeff Bailey <jbailey@nisa.net>
4171 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
4174 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
4176 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
4178 * time/mktime.c: Use ISO C form for function definitions and
4179 remove unnecessary prototypes.
4181 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
4183 * time/time.h: Avoid unneccesary #ifdef.
4185 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
4187 * stdio-common/_itoa.c (_itoa): Correct parameters to
4190 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4192 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
4193 before (e.g. in glob.h).
4196 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4198 * sysdeps/mips/fpu_control.h: Fix typo.
4199 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
4202 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
4204 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
4205 the "unused" ends of the sockets. Let pipes be bidirectional.
4207 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
4209 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
4212 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4214 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
4215 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
4217 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
4218 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
4220 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
4222 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
4224 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4226 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
4227 check for priority mask.
4229 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
4231 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
4232 Reported by Craig Metz <cmetz@inner.net> .
4234 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4236 * stdio-common/Makefile (tests): tllformat added.
4238 * stdio-common/tllformat.c: New program, based on tiformat.c with
4239 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4241 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4243 * posix/test-vfork.c: Fix exit status test.
4245 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4247 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
4248 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
4250 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4252 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
4253 of separare explicit comparisons.
4255 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4257 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
4260 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
4263 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
4265 * po/el.po: Update from translation team.
4267 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4269 * intl/locale.alias: Fix slovenian entry [PR libc/948].
4271 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4273 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
4274 * inet/ruserpass.c: Likewise.
4275 * locale/programs/stringtrans.c: Likewise.
4276 * locale/programs/localedef.c: Likewise.
4277 * nscd/grpcache.c: Likewise.
4278 * nss/nss_files/files-XXX.c: Likewise.
4279 * stdlib/canonicalize.c: Likewise.
4280 * sysdeps/posix/sigwait.c: Likewise.
4282 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4284 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
4285 even on 64 bit platforms.
4287 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4288 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
4290 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
4292 * intl/dcgettext.c: Include locale.h is available.
4294 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
4296 * po/nl.po: Update from translation team.
4298 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
4300 * Makefile: Allow calling goals for po subdir.
4302 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
4305 * po/el.po: New file.
4307 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4309 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
4310 when processing DT_SYMBOLIC objects.
4312 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4314 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
4315 program headers without PT_PHDR only require that they are
4316 contained within one of the loaded segments. Don't use assert,
4317 since that would be a bug in the object, not the dynamic linker.
4319 1999-02-08 Richard Henderson <rth@cygnus.com>
4321 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
4322 restore all call-clobbered fp regs.
4324 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
4326 * po/cs.po: New file.
4328 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
4331 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
4333 * signal/signal.h: Don't declare __libc_allocate_rtsig.
4334 * include/signal.h: Declare __libc_allocate_rtsig here.
4336 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
4337 point functions, not do_lookup since the later can be called more
4340 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
4342 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
4343 macro, so that architectures which need to add some special
4344 offset to stack pointer can share this file.
4346 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
4347 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
4348 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
4349 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
4351 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
4352 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
4353 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
4354 between sparc32 and sparc64.
4356 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
4357 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
4358 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
4359 between sparc32 and sparc64.
4361 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
4362 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
4363 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
4364 between sparc32 and sparc64.
4366 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
4367 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
4368 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
4369 between sparc32 and sparc64.
4371 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
4373 * Versions.def: New version GLIBC_2.1.1 for libc.
4374 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
4375 * stdlib/labs.c: Moved to...
4376 * sysdeps/generic/labs.c: ...here.
4377 * stdlib/llabs.c: Moved to...
4378 * sysdeps/generic/llabs.c: ...here.
4379 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
4380 header. Declare _Exit.
4381 * sysdeps/generic/_exit.c: Add alias _Exit.
4382 * sysdeps/mach/hurd/_exit.c: Likewise.
4383 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
4384 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
4385 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
4386 * sysdeps/unix/_exit.c: Likewise.
4387 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
4388 imaxdiv and imaxabs. Declare lldiv_t if necessary.
4389 * sysdeps/wordsize-64/inttypes.h: Likewise.
4390 * sysdeps/wordsize-32/llabs.c: New file.
4391 * sysdeps/wordsize-32/lldiv.c: New file.
4392 * sysdeps/wordsize-64/labs.c: New file.
4393 * sysdeps/wordsize-64/ldiv.c: New file.
4394 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
4395 * manual/startup.texi: Document _Exit.
4397 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4399 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
4401 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
4403 * Versions.def: Add versions for ld.so.
4404 * csu/Versions: Remove __libc_stack_end here.
4405 * elf/Versions: Split libc definitions in libc and ld.so definitions.
4406 * elf/Makefile (ld-map): Change to ld.so.map.
4407 * scripts/versions.awk: Recognize dot in library names.
4409 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
4410 Don't use __tolower and __toupper in inline functions.
4411 Add optimizing macros for tolower and toupper.
4412 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
4413 (_toupper): Don't use __toupper.
4414 * ctype/ctype.c (tolower): Don't use __tolower.
4415 (toupper): Don't use toupper.
4417 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
4419 * resolv/Versions (libresolv): Export __ns_name_unpack and
4421 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
4422 make it global. Change all users. Similar for ns_name_ntop.
4423 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
4424 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
4425 directly to detect too small buffer.
4426 * resolv/nss_dns/dns-network.c: Likewise.
4428 * stdio-common/Makefile (tests): Add scanf12.
4429 * stdio-common/scanf12.c: New file.
4430 * stdio-common/scanf12.input: New file.
4431 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
4432 floating-point correctly if the number is invalid.
4434 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
4436 * stdio-common/printf_fp.c: Likewise.
4437 * stdio-common/printf_fphex.c: Likewise.
4438 * stdio-common/vfprintf.c: Likewise.
4441 See ChangeLog.9 for earlier changes.