1 1999-07-11 H.J. Lu <hjl@gnu.org>
3 * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
4 nscd's own strong version of the get[a-z]*_r function.
5 * nscd/hstcache.c: Likwise.
6 * nscd/pwdcache.c: Likwise.
8 1999-07-12 Ulrich Drepper <drepper@cygnus.com>
10 * configure.in: Recognize 2.95 as gcc version number.
11 Patch by Joel Klecker <jk@espy.org>.
13 1999-07-12 Andreas Schwab <schwab@suse.de>
15 * elf/rtld.c (dl_main): When putting back the interpreter object
16 handle the case where a missing object might occur in the list of
17 objects but not in the search list when in trace mode.
19 1999-07-11 Ulrich Drepper <drepper@cygnus.com>
21 * Versions.def (libnss_hesiod): Add GLIBC_2.2.
22 * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
23 _nss_hesiod_initgroups.
25 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
27 * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
28 (_hurd_set_brk, init_brk): Use that instead of &__data_start.
29 Initialize it from &__data_start if defined, or else &_end.
31 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
33 * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
34 for MAP_ANON, prot==PROT_READ|PROT_WRITE.
36 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
38 * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
40 1999-07-09 H.J. Lu <hjl@gnu.org>
42 * Versions.def (GLIBC_2.1.2): Added.
44 * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
46 * nss/getXXbyYY_r.c: Likewise.
48 * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
50 * inet/Versions (getaliasbyname_r, getaliasent_r,
51 gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
52 gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
53 getnetgrent_r, getprotobyname_r, getprotobynumber_r,
54 getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
55 getservbyname_r): Likewise.
56 * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
57 * shadow/Versions (getspent_r, getspnam_r): Likewise.
59 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
61 * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
63 (__memset_cc): Likewise.
65 * sysdeps/generic/libc-start.c: For SUID binaries check whether
66 the standard file descriptors are open.
67 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
69 * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
70 * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
71 range of mmap. If not fail.
72 Patches by Daniel Jacobowitz <dan@debian.org>.
74 * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
75 before the relocation happened.
76 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
78 * Versions.def (libnsl): Add GLIBC_2.2.
79 * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
81 1999-07-08 Cristian Gafton <gafton@redhat.com>
83 * nis/yp_xdr.c (xdr_ypall): New function.
85 1999-07-09 Andreas Schwab <schwab@suse.de>
87 * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
89 * dlfcn/Makefile (headers): Add bits/dlfcn.h.
91 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
93 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
94 * hesiod/hesiod-grp.c: Add initgroups support.
95 Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
97 1999-07-08 Andreas Schwab <schwab@suse.de>
99 * libio/iofopncook.c (fopencookie): Set _fileno to -2.
101 * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
104 * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
106 * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
108 1999-07-08 Andreas Schwab <schwab@suse.de>
110 * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
112 1999-07-08 Andreas Schwab <schwab@suse.de>
114 * libio/fileno.c: Return -1 instead of EOF and set errno if the
115 stream is not a real file stream.
117 1999-07-08 Andreas Schwab <schwab@suse.de>
119 * manual/charset.texi: Fix typos.
121 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
123 * sysdeps/gnu/Makefile (libdl-routines): Add eval.
125 1999-07-06 Zack Weinberg <zack@rabi.columbia.edu>
127 * dlfcn: New directory. Move the following files from elf:
128 dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
129 dlopenold.c, dlsym.c, dlvsym.c.
130 * dlfcn/Makefile: New file.
131 * dlfcn/Versions: New file.
132 * dlfcn/dlsym.c: All ELF-specific code split out to new
134 * dlfcn/dlvsym.c: All ELF-specific code split out to new
136 * elf/dl-sym.c: New file. _dl_sym and _dl_vsym are
139 * dlfcn/dladdr.c: Remove all references to ELF data structures
141 * dlfcn/dlclose.c: Likewise.
142 * dlfcn/dlerror.c: Likewise.
143 * dlfcn/dlopen.c: Likewise.
144 * dlfcn/dlopenold.c: Likewise.
146 * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
147 yes, empty otherwise.
148 (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
149 depending on build-shared.
150 (subdirs): Add $(dlfcn).
151 (rpath-dirs): Add dlfcn.
152 * elf/Makefile: Remove all references to libdl or its
153 components, except the ones relating to the test cases.
154 (routines): Add dl-sym.
155 * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
158 * elf/dl-close.c (_dl_close): Change argument to void *.
159 * elf/dl-open.c (_dl_open): Change return type to void *.
160 * elf/eval.c: Removed.
161 * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
162 _dlerror_run, _dl_open, _dl_close, _dl_addr, and
163 _dl_mcount_wrapper_check to include/dlfcn.h. Delete
165 * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
166 Include real header from dlfcn directory.
167 * include/ldsodefs.h: Removed.
169 * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
170 * nss/getXXbyYY_r.c: Likewise.
171 * nss/getXXent_r.c: Likewise.
172 * iconv/gconv.c: Likewise. Don't include ldsodefs.h.
173 * iconv/gconv_db.c: Likewise. Don't include ldsodefs.h.
174 * iconv/skeleton.c: Don't include ldsodefs.h.
175 * nss/nsswitch.h: Don't include ldsodefs.h. Include dlfcn.h.
177 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
179 * sysdeps/generic/setenv.c: Describe problem.
181 * malloc/malloc.c (request2size): Also set errno if failing.
183 * malloc/malloc.c (request2size): Take care of overflow in
186 * sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd
187 (NULL, != 0) correctly.
189 * elf/dl-load.c: Use a few more __builtin_expect.
191 * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
194 1999-07-07 Andreas Schwab <schwab@suse.de>
196 * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
197 (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
198 (_PATH_DEVPTMX): Use _PATH_DEV.
200 1999-07-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
202 * malloc/tst-malloc.c: New file. Tests some basic functionality.
203 * malloc/Makefile (tests): Add tst-malloc.
205 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
207 * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
210 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
212 Patch by Jay Estabrook.
214 * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
216 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
217 Patch by Cristian Gafton.
219 1999-07-02 Cristian Gafton <gafton@redhat.com>
221 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
222 instead of "return NULL" to make C++ happy.
224 1999-07-04 Mark Kettenis <kettenis@gnu.org>
226 * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
227 allowed by the file access mode of the open file.
229 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
231 * sysdeps/generic/setfpucw.c: Include math.h to get all needed
234 1999-07-03 Jakub Jelinek <jj@ultra.linux.cz>
236 * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
237 * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
238 * sysdeps/sparc/sparc64/rshift.S: Likewise.
239 * sysdeps/sparc/sparc64/mul_1.S: Optimize.
241 1999-07-04 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
243 * malloc/malloc.c (request2size): Check for overflow and return
244 NULL whenever it is encountered.
246 1999-07-04 Zack Weinberg <zack@rabi.columbia.edu>
248 * sysdeps/posix/tempname.c (__gen_tempname): Add
249 ability to create directories. Replace OPENIT and LARGEFILE
250 args with a single flags parameter.
251 * sysdeps/generic/tempname.c: Likewise.
252 * include/stdio.h: Adjust prototype of __gen_tempname to
253 match. Define symbolic constants for second argument.
255 * misc/mkdtemp.c: New file, provides new function mkdtemp().
256 * stdlib/stdlib.h: Prototype it.
257 * misc/Versions: Export it.
258 * misc/Makefile (routines): Add mktemp.
259 * manual/filesys.texi: Document it.
261 * misc/mktemp.c: Adjust call of __gen_tempname to match new
263 * misc/mkstemp.c: Likewise.
264 * stdio-common/tempnam.c: Likewise.
265 * stdio-common/tmpfile.c: Likewise.
266 * stdio-common/tmpfile64.c: Likewise.
267 * stdio-common/tmpnam.c: Likewise.
268 * stdio-common/tmpnam_r.c: Likewise.
270 1999-07-05 Jakub Jelinek <jj@ultra.linux.cz>
272 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
273 R_SPARC_OLO10 relocations.
274 * elf/elf.h (R_SPARC_OLO10): Fix comment.
276 1999-07-02 Tim Waugh <tim@cyberelk.demon.co.uk>
278 * posix/wordexp-test.c: Revert bogus 'unset IFS' change. It
279 doesn't belong in the tests, but in the wordexp implementation.
281 * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
284 1999-07-01 Cristian Gafton <gafton@redhat.com>
286 * time/strptime.c (strptime): Initialize the tm struct first to avoid
287 returning bogus results on incomplete data.
288 (strptime_internal): day_of_the_week() requres bith tm_mon and
289 tm_mday to be initializaed.
290 Computer them first if they are not given.
291 (strptime_internal): (have_mon, have_mday): New variables.
293 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
295 * inet/rcmd.c (__icheckhost): Fix typo in last patch.
297 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
299 * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
300 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
302 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
304 * posix/wordexp.c (parse_tilde): Handle failing call to
305 get.*_r functions correctly for non-existing entry.
306 * sysdeps/posix/cuserid.c (cuserid): Likewise.
307 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
309 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
311 * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
312 getxxbyYY_r functions correctly for non-existing entry.
313 * sunrpc/getrpcport.c: Likewise.
314 * sunrpc/clnt_simp.c: Likewise.
315 * inet/rexec.c: Likewise.
316 * sunrpc/clnt_gen.c: Likewise.
317 * inet/rcmd.c: Likewise.
318 * sysdeps/generic/glob.c: Likewise.
320 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
322 * pwd/Makefile (tests): Add rules for tst-getpw.
324 * pwd/tst-getpw.c: New program to test getpw.
326 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
328 * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
331 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
333 * manual/arith.texi (System V Number Conversion): Fix the
334 description which confused pointer and value to pointer.
335 Reported by Andries.Brouwer@cwi.nl.
337 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
339 * pwd/getpw.c (__getpw): Check for NULL result pointer.
341 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
343 * manual/users.texi (Lookup User): Document POSIX return
344 semantics for getpwuid_r and getgrgid_r.
346 * manual/socket.texi (Host Names): Document that the result
347 pointer is null in case of error or host not found and fix a
348 typo. Give a small example.
350 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
352 * pwd/getpw.c: Add warning since no buffer size is given and
353 therefore no overrun tests are possible.
355 1999-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
357 * pwd/pwd.h: Add getpw prototype declaration.
359 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
361 * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
362 * wcsmbs/wcschr.c: Likewise.
364 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
366 * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
368 * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
369 * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
370 Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
372 * elf/dl-dst.h: Fix typo.
373 * elf/dl-open.c: Likewise.
375 1999-06-26 Zack Weinberg <zack@rabi.columbia.edu>
377 * elf/dl-libc.c: New file, provides three functions:
378 __libc_dlopen, __libc_dlclose, __libc_dlsym.
379 * include/dlfcn.h: Prototype them. Prototype _dl_addr.
380 * elf/Makefile (routines): Add dl-libc.c.
381 * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
383 * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
385 * iconv/gconv.c: Include dlfcn.h.
386 * iconv/gconv_db.c: Likewise.
387 * malloc/mtrace.c: Likewise. Don't include ldsodefs.h.
389 * iconv/gconv_int.h (struct __gconv_loaded_object): Change
390 `handle' to a void *.
391 (__gconv_find_func): Delete prototype.
393 * iconv/gconv_dl.c: Don't include ldsodefs.h. Remove
394 dlerror_run and related functions and structs. Use
395 __libc_dlopen, __libc_dlsym, __libc_dlclose.
396 * nss/nsswitch.c: Likewise.
398 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
400 * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
403 * sunrpc/getrpcport.c: Test for gethostbyname_r function
406 * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
408 * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
411 * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
413 * inet/rcmd.c: Test for gethostbyname_r result correctly. Optimize
416 * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
418 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
420 * manual/string.texi (Copying and Concatenation): Mention that
421 strndup is a GNU extension.
423 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
425 * pwd/getpw.c (__getpw): Fix check for error return.
427 1999-06-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
429 * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
430 occurence of the aux object start with the current list entry, not
431 the new one. Adjust tail pointer in the unique list. Explain how
432 the meaning of the variables changes [PR libc/1168].
434 1999-06-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
436 * sysdeps/m68k/fpu/Dist: New file.
438 1999-06-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
440 * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
442 * sysdeps/m68k/fpu/mathimpl.h: ... here. New file.
443 * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
444 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
445 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
446 * sysdeps/m68k/fpu/e_pow.c: Likewise.
447 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
448 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
449 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
450 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
451 * sysdeps/m68k/fpu/s_csin.c: Likewise.
452 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
453 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
454 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
455 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
456 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
457 * sysdeps/m68k/fpu/s_modf.c: Likewise.
459 1999-06-25 Roland McGrath <roland@baalperazim.frob.com>
461 * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
462 hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
463 _EXTERN_INLINE, use a macro specific to each file,
464 _HURD_FD_H_EXTERN_INLINE and the like.
465 * hurd/Makefile (inline-headers): New variable.
466 (routines): Remove hurdinline. Add $(inlines).
467 (inlines): New variable.
468 ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
469 (generated): Append those here.
470 * hurd/hurdinline.c: File removed.
472 * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
474 * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
476 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
478 * nscd/connections.c (nscd_run): Use correct type for optlen variable.
480 1999-06-25 Ulrich Drepper <drepper@cygnus.com>
482 * string/bits/string2.h (strnlen): Remove extra prototype.
484 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
486 * manual/filesys.texi (Working on Directory Trees): Fix typos.
487 Reported by Andries.Brouwer@cwi.nl.
489 1999-06-24 Ulrich Drepper <drepper@cygnus.com>
491 * nscd/connections.c (handle_request): Use correct type for optlen
494 * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
495 * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
497 1999-06-24 Thorsten Kukuk <kukuk@suse.de>
499 * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
500 * nscd/pwdcache.c: Likewise.
501 * nscd/hstcache.c: Likewise.
503 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
505 * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
507 * posix/getopt.h: Include stdio.h.
509 * manual/arith.texi: Document restriction of ndigit parameter of
511 * misc/efgcvt.c: Define NDIGIT_MAX.
512 (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
513 Do not dynamically allocate the static buffers. They are small enough.
514 * misc/efgcvt_r.c: Define NDIGIT_MAX.
515 (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
516 * misc/qefgcvt.c: Define NDIGIT_MAX.
517 * misc/qefgcvt_r.c: Likewise.
518 * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
520 1999-06-23 Zack Weinberg <zack@rabi.columbia.edu>
522 * libio/stdio.h: Define stdin, stdout, stderr as macros.
523 * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
524 These are *pragmas* not macros.
525 * wcsmbs/wchar.h: Fix comment.
527 * grp/grp.h: Use __foo_t_defined convention to typedef things
529 * io/sys/stat.h: Likewise.
530 * libio/stdio.h: Likewise.
531 * posix/unistd.h: Likewise.
532 * posix/sys/types.h: Likewise.
533 * posix/sys/wait.h: Likewise.
534 * pwd/pwd.h: Likewise.
535 * signal/signal.h: Likewise.
536 * sysdeps/generic/stdint.h: Likewise.
537 * sysdeps/gnu/utmpx.h: Likewise.
538 * termios/termios.h: Likewise.
540 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
542 * stdio/fputc.c: Don't define alias if fputc is defined as a
544 * stdio/putc.c: Define weak alias here since it is not done
547 1999-06-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
549 * assert/assert.h: Don't produce `defined' as part of macro
552 1999-06-23 Roland McGrath <roland@baalperazim.frob.com>
554 * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
555 OFFSET argument of (off_t) -1.
556 * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
557 OFFSET argument of (off_t) -1.
559 * sysdeps/mach/hurd/pwrite.c: New file.
560 * sysdeps/mach/hurd/pread.c: New file.
562 * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
563 pass it in the RPC instead of always -1.
564 * hurd/fd-write.c (_hurd_fd_write): Likewise.
565 * hurd/hurd/fd.h: Update decls.
567 1999-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
569 * libio/wscanf.c: Include <wchar.h> for prototype.
571 1999-06-22 Ulrich Drepper <drepper@cygnus.com>
573 * manual/io.texi. Fix typos.
574 * manual/stdio.texi: Likewise.
575 Patches by Brian Youmans <3diff@gnu.org>.
577 1999-06-22 Geoff Keating <geoffk@ozemail.com.au>
579 * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
580 bits of two words differ.
582 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
584 * libio/Makefile (routines): Add putwchar and putwchar_u.
586 * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
587 * libio/putwchar_u.c: Likewise. Use _IO_stdout instead of
588 stdout. Fix parameter name.
590 * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
591 * libio/getchar_u.c: Likewise.
593 * libio/putchar_u.c: Use _IO_stdout instead of stdout.
595 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
597 * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
598 macro expansion---it's undefined. Properly parenthesize
599 substituted parameters.
600 (__GLIBC_PREREQ): Likewise.
602 1999-06-21 Ulrich Drepper <drepper@cygnus.com>
604 * Makeconfig (CPPFLAGS): Revert last change. It has too many
607 * stdlib/longlong.h: Provide __P definition if not already
610 * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
612 1999-06-18 Thorsten Kukuk <kukuk@suse.de>
614 * sysdeps/alpha/atomicity.h: Correct counting of subsections.
616 1999-06-17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
618 * stdlib/tst-strtoll.c: Avoid warning about huge constant.
620 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
622 * stdio-common/vfprintf.c (group_member): Make parameters and
623 return types pointers to CHAR_T instead of UCHAR_T.
624 (vfprintf): Change type of work_buffer, workend and string to
625 CHAR_T pointer/array.
626 (process_arg, process_string_arg): Adjust/remove casts. Add
627 missing use of L_ macro.
628 (printf_unknown): Add missing uses of L_ macro.
630 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
632 * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
635 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
637 * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF. Call
638 _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
639 (__wunderflow): Likewise.
640 (_IO_switch_to_wget_mode): Likewise.
641 (_IO_init_wmarker): Likewise.
643 * libio/wfileops.c (_IO_wfile_seekoff): Call
644 _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
645 (_IO_wfile_jumps): Fix pbackfail entry.
647 * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
648 function if the stream is currently unoriented.
650 1999-06-19 Zack Weinberg <zack@rabi.columbia.edu>
652 * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
653 Wrap all wide stream functions with #ifdef __USE_ISOC9X. Use
654 __gnuc_va_list in v*w(printf|scanf) prototypes.
656 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
658 * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
659 1999-03-29 to iopopen also here.
660 Reported by Richard Braakman <dark@xs4all.nl>.
662 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
664 * include/features.h: Use __GNUC_PREREQ.
665 * sysdeps/i386/fpu/bits/mathinline.h: Likewise
667 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
669 * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
670 Change EOF to WEOF and remove cast.
671 (UNGETC): Remove macro.
672 (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
673 * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
674 Change ISASCII to isascii and MBRLEN to mbrlen.
675 (parse_one_spec): Compare info.spec always against wchar_t
677 * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
678 (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
679 (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
681 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
683 * libio/Makefile (shared-only-routines): Add oldiofgetpos,
684 oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
685 (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
686 oldiofsetpos64 only if doing versioning.
688 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
690 * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
692 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
694 * libio/libio.h: Fix last patch.
696 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
698 * libio/libio.h (_IO_putwc): Correct type of first argument.
699 * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
700 putwc_unlocked, putwchar_unlocked): Likewise.
701 * libio/fputwc.c: Likewise.
702 * libio/fputwc_unlocked.c: Likewise.
703 * libio/putwc.c: Likewise.
704 * libio/putwc_unlocked.c: Likewise.
705 * libio/putwchar.c: Likewise.
706 * libio/putwchar_unlocked.c: Likewise.
708 1999-06-19 Roland McGrath <roland@baalperazim.frob.com>
710 * sysdeps/gnu/siglist.h: File moved to ...
711 * sysdeps/generic/siglist.h: ... here. This file should be usable for
712 any platform, since it just associates the SIG* macros with text names
713 and descriptions. For any signal macros do not exist on every
714 platform, we can use #ifdef tests here and still use this single
715 common file for all platforms.
716 * sysdeps/generic/siglist.c: Rewrite using <siglist.h>. This file
717 should be usable for all platforms after the binary compatibility
718 stuff in the current sysdeps/gnu version is no longer required.
719 * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
720 * sysdeps/generic/make_siglist.c: File removed.
721 * sysdeps/mach/hurd/siglist.h: Use #include_next.
722 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
724 1999-06-16 Roland McGrath <roland@baalperazim.frob.com>
726 * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
727 * sysdeps/gnu/siglist.c: ... here.
728 Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
729 Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
730 * sysdeps/gnu/siglist.h: New file, contents from linux version.
731 Add entry for SIGLOST protected by #ifdef.
732 * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
733 and define OLD_SIGLIST_SIZE_STR.
734 * sysdeps/mach/hurd/siglist.h: New file, likewise.
736 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
738 * include/features.h: Define new macros __GNUC_PREREQ and
739 __GLIBC_PREREQ which can be used to test the version of gcc
740 and glibc respectively.
742 * assert/assert.h: Use __GNUC_PREREQ.
743 * intl/libintl.h: Likewise.
744 * math/complex.h: Likewise.
745 * math/tgmath.h: Likewise.
746 * misc/sys/cdefs.h: Likewise.
747 * posix/sys/types.h: Likewise.
748 * socket/sys/socket.h: Likewise.
749 * string/bits/string2.h: Likewise.
750 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
751 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
753 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
755 * include/libintl.h: Declare _libc_intl_domainname here.
756 Define _ and N_ here.
757 * include/libc-symbols.h: Don't include <libintl.h>. Don't
758 define _ and N_. Don't declare _libc_intl_domainname.
759 * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
761 * db2/config.h: Don't include sys/stat.h or define
762 HAVE_ST_BLKSIZE here...
763 * db2/compat.h: ...do it here.
765 * linuxthreads/internals.h: Include bits/libc-tsd.h after all
767 * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
768 * iconv/iconv.c: Include stddef.h for NULL.
769 * malloc/malloc.h: Include features.h.
770 * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
772 * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
773 into the generated file.
774 * sysdeps/gnu/errlist.awk: Likewise.
775 * sysdeps/gnu/errlist.c: Rebuilt.
777 * assert/assert-perr.c: Include libintl.h.
778 * assert/assert.c: Likewise.
779 * elf/dl-open.c: Likewise.
780 * elf/dlsym.c: Likewise.
781 * elf/dlvsym.c: Likewise.
782 * iconv/iconv_prog.c: Likewise.
783 * inet/rcmd.c: Likewise.
784 * inet/ruserpass.c: Likewise.
785 * locale/programs/charset.c: Likewise.
786 * locale/programs/ld-collate.c: Likewise.
787 * locale/programs/ld-ctype.c: Likewise.
788 * locale/programs/ld-messages.c: Likewise.
789 * locale/programs/ld-monetary.c: Likewise.
790 * locale/programs/ld-numeric.c: Likewise.
791 * locale/programs/ld-time.c: Likewise.
792 * locale/programs/locfile.c: Likewise.
793 * locale/programs/repertoire.c: Likewise.
794 * login/programs/database.c: Likewise.
795 * login/programs/request.c: Likewise.
796 * malloc/mcheck.c: Likewise.
797 * misc/error.c: Likewise.
798 * nis/nis_call.c: Likewise.
799 * nis/nis_callback.c: Likewise.
800 * nis/nis_error.c: Likewise.
801 * nis/nis_local_names.c: Likewise.
802 * nis/nis_print.c: Likewise.
803 * nis/nis_print_group_entry.c: Likewise.
804 * nis/ypclnt.c: Likewise.
805 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
806 * nscd/cache.c: Likewise.
807 * nscd/connections.c: Likewise.
808 * nscd/grpcache.c: Likewise.
809 * nscd/hstcache.c: Likewise.
810 * nscd/nscd_conf.c: Likewise.
811 * nscd/nscd_stat.c: Likewise.
812 * nscd/pwdcache.c: Likewise.
813 * posix/id.c: Likewise.
814 * resolv/herror.c: Likewise.
815 * stdio-common/psignal.c: Likewise.
816 * string/strsignal.c: Likewise.
817 * sunrpc/auth_unix.c: Likewise.
818 * sunrpc/clnt_perr.c: Likewise.
819 * sunrpc/clnt_raw.c: Likewise.
820 * sunrpc/clnt_tcp.c: Likewise.
821 * sunrpc/clnt_udp.c: Likewise.
822 * sunrpc/clnt_unix.c: Likewise.
823 * sunrpc/get_myaddr.c: Likewise.
824 * sunrpc/pm_getmaps.c: Likewise.
825 * sunrpc/pmap_clnt.c: Likewise.
826 * sunrpc/pmap_rmt.c: Likewise.
827 * sunrpc/rpc_main.c: Likewise.
828 * sunrpc/rpc_scan.c: Likewise.
829 * sunrpc/svc_run.c: Likewise.
830 * sunrpc/svc_simple.c: Likewise.
831 * sunrpc/svc_tcp.c: Likewise.
832 * sunrpc/svc_udp.c: Likewise.
833 * sunrpc/svc_unix.c: Likewise.
834 * sunrpc/xdr_rec.c: Likewise.
835 * sunrpc/xdr_ref.c: Likewise.
836 * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
837 * sysdeps/posix/gai_strerror.c: Likewise.
838 * sysdeps/unix/siglist.c: Likewise.
839 * sysdeps/unix/sysv/linux/siglist.c: Likewise.
840 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
841 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
842 * timezone/zic.c: Likewise.
844 1999-06-18 H.J. Lu <hjl@gnu.org>
846 * localedata/Makefile (charmaps): Exclude SCCS.
848 (repertoiremaps): Likewise.
850 1999-06-18 Ulrich Drepper <drepper@cygnus.com>
852 * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
853 * sysdeps/generic/bsd-setjmp.c: Likewise.
855 * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
857 * iconv/gconv_open.c: Include string.h for memset prototype.
859 * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
862 * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
863 assignment to avoid warning on 64bit platforms.
865 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
867 * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
869 * nss/getXXbyYY_r.c: Return error code not -1.
870 * nss/getXXent_r.c: Likewise.
871 * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
873 * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
875 * nscd/nscd_gethst_r.c: Likewise.
876 * nscd/nscd_getpw_r.c: Likewise.
878 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
880 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
883 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
885 * nscd/nscd_nischeck.c: Fix typos.
887 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
889 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
890 always when oact is NULL.
891 Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
893 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
895 * math/libm-test.c (jn_test): Adjust delta.
897 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
899 * libio/vwprintf.c: Include <wchar.h> for prototypes.
900 * libio/wprintf.c: Likewise.
902 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
904 * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
905 to not write beyond allocated memory.
906 Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
908 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
910 * malloc/mtrace.c: Keep lock while printing output lines.
911 Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
913 1999-06-16 Ulrich Drepper <drepper@cygnus.com>
915 * configure.in: Add warnings about broken code.
917 * Versions.def: Add GLIBC_2.2 for libc.
919 * iconv/gconv.h: Make header suitable for inclusion in public header
920 by protecting all names with __.
921 * iconv/gconv.c: Adapt for symbol name changes.
922 * iconv/gconv.h: Likewise.
923 * iconv/gconv_builtin.c: Likewise.
924 * iconv/gconv_close.c: Likewise.
925 * iconv/gconv_db.c: Likewise.
926 * iconv/gconv_dl.c: Likewise.
927 * iconv/gconv_int.h: Likewise.
928 * iconv/gconv_open.c: Likewise.
929 * iconv/gconv_simple.c: Likewise.
930 * iconv/iconv.c: Likewise.
931 * iconv/iconv_close.c: Likewise.
932 * iconv/iconv_open.c: Likewise.
933 * iconv/loop.c: Likewise.
934 * iconv/skeleton.c: Likewise.
935 * iconvdata/8bit-gap.c: Likewise.
936 * iconvdata/8bit-generic.c: Likewise.
937 * iconvdata/ansi_x3.110.c: Likewise.
938 * iconvdata/big5.c: Likewise.
939 * iconvdata/cns11643.h: Likewise.
940 * iconvdata/cns11643l1.h: Likewise.
941 * iconvdata/euc-cn.c: Likewise.
942 * iconvdata/euc-jp.c: Likewise.
943 * iconvdata/euc-kr.c: Likewise.
944 * iconvdata/euc-tw.c: Likewise.
945 * iconvdata/gb2312.h: Likewise.
946 * iconvdata/iso-2022-jp.c: Likewise.
947 * iconvdata/iso-2022-kr.c: Likewise.
948 * iconvdata/iso646.c: Likewise.
949 * iconvdata/iso8859-1.c: Likewise.
950 * iconvdata/iso_6937-2.c: Likewise.
951 * iconvdata/iso_6937.c: Likewise.
952 * iconvdata/jis0201.h: Likewise.
953 * iconvdata/jis0208.h: Likewise.
954 * iconvdata/jis0212.h: Likewise.
955 * iconvdata/johab.c: Likewise.
956 * iconvdata/ksc5601.h: Likewise.
957 * iconvdata/sjis.c: Likewise.
958 * iconvdata/t.61.c: Likewise.
959 * iconvdata/uhc.c: Likewise.
960 * stdlib/mblen.c: Likewise.
961 * stdlib/mbtowc.c: Likewise.
962 * stdlib/wctomb.c: Likewise.
963 * wcsmbs/btowc.c: Likewise.
964 * wcsmbs/mbrtowc.c: Likewise.
965 * wcsmbs/mbsnrtowcs.c: Likewise.
966 * wcsmbs/mbsrtowcs.c: Likewise.
967 * wcsmbs/wchar.h: Likewise.
968 * wcsmbs/wcrtomb.c: Likewise.
969 * wcsmbs/wcsmbsload.c: Likewise.
970 * wcsmbs/wcsmbsload.h: Likewise.
971 * wcsmbs/wcsnrtombs.c: Likewise.
972 * wcsmbs/wcsrtombs.c: Likewise.
973 * wcsmbs/wctob.c: Likewise.
975 * include/limits.h (MB_LEN_MAX): Increase to 16.
977 * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct. Define
979 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
980 * include/wchar.h: Change mbstate_t to __mbstate_t.
982 * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
983 oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
984 getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
985 iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
986 putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
987 vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
989 (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
990 * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
991 _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
992 fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
993 fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
994 getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
995 putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
996 vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
998 * libio/libio.h: Define codecvt struct. Define _IO_wide_data.
999 Extend _IO_file contain pointer to codecvt, widedata and mode.
1000 (_IO_getwc_unlocked): New macro.
1001 (_IO_putwc_unlocked): New macro.
1002 (_IO_fwide): New macro.
1003 * libio/libioP.h: Add new prototypes and adjust existing declarations.
1004 * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
1005 buffers based on mode.
1006 (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
1008 (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
1009 flag to be enough to signal unallocated buffer. For wide oriented
1010 stream don't make it linebuffered. Don't use _IO_do_flush, use
1011 _IO_new_do_write directly.
1012 (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
1013 (_IO_file_seek): Likewise.
1014 * libio/genops.c (_IO_least_marker): Make global.
1015 (__underflow): Orient stream if not already done.
1016 (__uflow): Likewise.
1017 (_IO_default_seekpos): Change to type _IO_off64_t.
1018 (_IO_default_seekoff): Likewise.
1019 (_IO_default_seek): Likewise.
1020 (_IO_no_init): New function. Similar to _IO_init but allows to orient
1022 * libio/iolibio.h: Add prototype for _IO_vswprintf. Change _IO_pos_BAD
1024 * libio/ftello.c: Use _IO_off_t. For now abort when use with wide
1026 * libio/ftello64.c: Likewise.
1027 * libio/ioftell.c: Likewise.
1028 * libio/iofopncook.c: Likewise.
1029 * libio/ioseekoff.c: Likewise.
1030 * libio/ioseekpos.c: Likewise.
1031 * libio/oldfileops.c: Likewise.
1032 * libio/iofgetpos.c: Store state of conversion if necessary.
1033 * libio/iofgetpos64.c: Likewise.
1034 * libio/iofsetpos.c: Restore conversion state if necessary.
1035 * libio/iofsetpos64.c: Likewise.
1036 * libio/iofdopen.c: Initialize so that stream can be wide oriented.
1037 * libio/iofopen.c: Likewise.
1038 * libio/iofopen64.c: Likewise.
1039 * libio/iopopen.c: Likewise.
1040 * libio/iovdprintf.c: Likewise.
1041 * libio/iovsprintf.c: Likewise.
1042 * libio/iovsscanf.c: Likewise.
1043 * libio/memstream.c: Likewise.
1044 * libio/obprintf.c: Likewise.
1045 * libio/iofputs.c: Orient stream if not already happened.
1046 * libio/iofputs_u.c: Likewise.
1047 * libio/iofwrite.c: Likewise.
1048 * libio/iofwrite_u.c: Likewise.
1049 * libio/ioputs.c: Likewise.
1050 * libio/iosetbuffer.c: Handle not yet oriented stream.
1051 * libio/iosetvbuf.c: Likewise.
1052 * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
1053 * libio/stdfiles.c: Likewise.
1054 * libio/strops.c (_IO_str_overflow): Correctly free buffer after
1056 (_IO_str_seekoff): Use _IO_off64_t.
1057 * libio/vasprintf.c: Pre-orient stream.
1058 * libio/vsnprintf.c: Likewise.
1059 * libio/fputwc.c: New file.
1060 * libio/fputwc_u.c: New file.
1061 * libio/fwprintf.c: New file.
1062 * libio/fwscanf.c: New file.
1063 * libio/getwc.c: New file.
1064 * libio/getwc_u.c: New file.
1065 * libio/getwchar.c: New file.
1066 * libio/getwchar_u.c: New file.
1067 * libio/iofgetws.c: New file.
1068 * libio/iofgetws_u.c: New file.
1069 * libio/iofputws.c: New file.
1070 * libio/iofputws_u.c: New file.
1071 * libio/iofwide.c: New file.
1072 * libio/iogetwline.c: New file.
1073 * libio/ioungetwc.c: New file.
1074 * libio/iovswscanf.c: New file.
1075 * libio/iowpadn.c: New file.
1076 * libio/oldiofgetpos.c: New file.
1077 * libio/oldiofgetpos64.c: New file.
1078 * libio/oldiofsetpos.c: New file.
1079 * libio/oldiofsetpos64.c: New file.
1080 * libio/putwc.c: New file.
1081 * libio/putwc_u.c: New file.
1082 * libio/putwchar.c: New file.
1083 * libio/putwchar_u.c: New file.
1084 * libio/swprintf.c: New file.
1085 * libio/swscanf.c: New file.
1086 * libio/tst_swprintf.c: New file.
1087 * libio/tst_swscanf.c: New file.
1088 * libio/tst_wprintf.c: New file.
1089 * libio/tst_wscanf.c: New file.
1090 * libio/tst_wscanf.input: New file.
1091 * libio/vswprintf.c: New file.
1092 * libio/vwprintf.c: New file.
1093 * libio/vwscanf.c: New file.
1094 * libio/wfiledoalloc.c: New file.
1095 * libio/wfileops.c: New file.
1096 * libio/wgenops.c: New file.
1097 * libio/wprintf.c: New file.
1098 * libio/wscanf.c: New file.
1099 * libio/wstrops.c: New file.
1100 * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
1101 vfwprintf, and vfwscanf.
1102 * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
1104 * stdio-common/_itowa.c: New file.
1105 * stdio-common/_itowa.h: New file.
1106 * stdio-common/itoa-digits.c: Minimal optimization.
1107 * stdio-common/itowa-digits.c: New file.
1108 * stdio-common/printf-parse.h: Allow use in wide character context.
1109 * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
1110 * stdio-common/printf.h (printf_info): Add wide bit.
1111 * stdio-common/printf_fp.c: Determine from wide bit whether stream
1112 is wide oriented or not.
1113 * stdio-common/printf_size.c: Likewise.
1114 * sysdeps/generic/printf_fphex.c: Likewise.
1115 * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
1116 * stdio-common/vfprintf.c: Rewrite to allow use in wide character
1118 * stdio-common/vfscand.c: Likewise.
1119 * stdio-common/vfwprintf.c: New file.
1120 * stdio-common/vfwscanf.c: New file.
1122 * time/Makefile (routines): Add wcsftime.
1123 (tests): Add tst_wcsftime.
1124 * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
1125 * time/strftime.c: Make usable as wcsftime.
1126 * time/wcsftime.c: New file.
1127 * time/tst_wcsftime.c: New file.
1129 * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
1130 * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
1131 * wcsmbs/wcschrnul.c: New file.
1132 * wcsmbs/wmemcpy.c: New file.
1133 * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
1134 * wcsmbs/wmemmove.c: Likewise for wmemmove.
1136 * manual/stdio.texi: Document is_char and wide element if printf_info.
1138 * manual/time.texi: Document wcsftime.
1140 * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
1141 __wmemmove, __wcschrnul, and __vfwscanf.
1143 * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
1144 * locale/C-time.c: Adapt for above change.
1145 * locale/categories.def: Likewise.
1146 * locale/localeinfo.h: Likewise.
1147 * localedata/Makefile: Don't run tests for now.
1149 * manual/errno.texi: Fix typos.
1150 * manual/memory.texi: Likewise.
1151 * manual/ctype.texi: Likewise.
1152 Patches by Brian Youmans <3diff@gnu.org>.
1154 1999-06-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1156 * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
1158 1999-06-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1160 * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
1162 * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
1163 * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
1165 1999-06-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1167 * db2/db/db.c: Restore __nss_db_open alias.
1168 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
1170 * db2/os/os_rw.c (__os_write): Maintain const correctness.
1171 * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
1173 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
1175 * stdio-common/printf-parse.h (parse_one_spec): Don't set
1176 is_longlong if not necessary.
1178 1999-06-15 H.J. Lu <hjl@gnu.org>
1180 * Make-dist (sysdep_dirs): Exclude SCCS.
1181 * MakeTAGS (sysdep_dirs): Likewise.
1183 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
1185 * posix/regex.c (re_error_msgid): Remove extra commas.
1187 1999-06-14 Geoff Keating <geoffk@ozemail.com.au>
1189 * stdlib/tst-strtoll.c: New file.
1190 * stdlib/Makefile (tests): Add tst-strtoll.c
1191 * stdlib/strtol.c: It is not generally true that if
1192 (unsigned)a*(unsigned)b overflows, then the result is
1195 1999-06-14 Thorsten Kukuk <kukuk@suse.de>
1197 * nscd/connections.c (handle_request): Only root is allowed to
1198 send GETSTAT request in non secure mode.
1199 * nscd/nscd.c: Print error message if other then root try to
1202 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1204 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
1206 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1208 * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
1209 Closes PR libc/1164, reported by sascha@schumann.2ns.de.
1211 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1213 * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
1214 for character to search, to help the compiler.
1215 * sysdeps/generic/strchrnul.c: Likewise.
1216 * sysdeps/generic/memchr.c: Likewise.
1217 * sysdeps/generic/memccpy.c: Likewise.
1218 * sysdeps/generic/rawmemchr.c: Likewise. Fix comment.
1220 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1222 * sysdeps/m68k/memchr.S: New file.
1223 * sysdeps/m68k/rawmemchr.S: New file.
1224 * sysdeps/m68k/strchr.S: New file.
1225 * sysdeps/m68k/strchrnul.S: New file.
1227 1999-06-13 Geoff Keating <geoffk@ozemail.com.au>
1229 * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
1230 add `memory' clobber; optimise for constant `val'.
1231 (atomic_add): Likewise.
1232 (test_and_set): Remove `volatile'; add `memory' clobber; be more
1233 like the original `test_and_set'.
1234 (compare_and_swap): Remove `volatile'; add `memory' clobber;
1235 optimise for constant `oldval'.
1236 (always_swap): Remove `volatile'; add `memory' clobber.
1238 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1240 * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
1241 functions for gcc <= 2.7.x.
1243 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
1245 * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
1248 1999-06-13 Ulrich Drepper <drepper@cygnus.com>
1250 * db2/Makefile (distribute): Remove files which do not exist
1253 * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
1254 definitions to calm down gcc.
1256 * db2/db.h: Update from db 2.7.5.
1257 * db2/db_185.h: Likewise.
1258 * db2/db_int.h: Likewise.
1259 * db2/btree/bt_compare.c: Likewise.
1260 * db2/btree/bt_conv.c: Likewise.
1261 * db2/btree/bt_curadj.c: Likewise.
1262 * db2/btree/bt_cursor.c: Likewise.
1263 * db2/btree/bt_delete.c: Likewise.
1264 * db2/btree/bt_open.c: Likewise.
1265 * db2/btree/bt_page.c: Likewise.
1266 * db2/btree/bt_put.c: Likewise.
1267 * db2/btree/bt_rec.c: Likewise.
1268 * db2/btree/bt_recno.c: Likewise.
1269 * db2/btree/bt_rsearch.c: Likewise.
1270 * db2/btree/bt_search.c: Likewise.
1271 * db2/btree/bt_split.c: Likewise.
1272 * db2/btree/bt_stat.c: Likewise.
1273 * db2/btree/btree_auto.c: Likewise.
1274 * db2/common/db_appinit.c: Likewise.
1275 * db2/common/db_apprec.c: Likewise.
1276 * db2/common/db_err.c: Likewise.
1277 * db2/common/db_region.c: Likewise.
1278 * db2/common/db_salloc.c: Likewise.
1279 * db2/db/db.c: Likewise.
1280 * db2/db/db.src: Likewise.
1281 * db2/db/db_am.c: Likewise.
1282 * db2/db/db_auto.c: Likewise.
1283 * db2/db/db_dispatch.c: Likewise.
1284 * db2/db/db_dup.c: Likewise.
1285 * db2/db/db_iface.c: Likewise.
1286 * db2/db/db_join.c: Likewise.
1287 * db2/db/db_overflow.c: Likewise.
1288 * db2/db/db_pr.c: Likewise.
1289 * db2/db/db_rec.c: Likewise.
1290 * db2/db/db_ret.c: Likewise.
1291 * db2/db185/db185.c: Likewise.
1292 * db2/dbm/dbm.c: Likewise.
1293 * db2/hash/hash.c: Likewise.
1294 * db2/hash/hash_auto.c: Likewise.
1295 * db2/hash/hash_dup.c: Likewise.
1296 * db2/hash/hash_page.c: Likewise.
1297 * db2/hash/hash_rec.c: Likewise.
1298 * db2/hash/hash_stat.c: Likewise.
1299 * db2/include/btree.h: Likewise.
1300 * db2/include/btree_ext.h: Likewise.
1301 * db2/include/clib_ext.h: Likewise.
1302 * db2/include/common_ext.h: Likewise.
1303 * db2/include/db_am.h: Likewise.
1304 * db2/include/db_auto.h: Likewise.
1305 * db2/include/db_cxx.h: Likewise.
1306 * db2/include/db_ext.h: Likewise.
1307 * db2/include/db_join.h: Likewise.
1308 * db2/include/db_page.h: Likewise.
1309 * db2/include/hash.h: Likewise.
1310 * db2/include/hash_ext.h: Likewise.
1311 * db2/include/lock.h: Likewise.
1312 * db2/include/lock_ext.h: Likewise.
1313 * db2/include/log.h: Likewise.
1314 * db2/include/log_ext.h: Likewise.
1315 * db2/include/mp.h: Likewise.
1316 * db2/include/mp_ext.h: Likewise.
1317 * db2/include/os.h: Likewise.
1318 * db2/include/os_ext.h: Likewise.
1319 * db2/include/os_func.h: Likewise.
1320 * db2/include/txn.h: Likewise.
1321 * db2/include/txn_auto.h: Likewise.
1322 * db2/include/txn_ext.h: Likewise.
1323 * db2/include/xa.h: Likewise.
1324 * db2/include/xa_ext.h: Likewise.
1325 * db2/lock/lock.c: Likewise.
1326 * db2/lock/lock_conflict.c: Likewise.
1327 * db2/lock/lock_deadlock.c: Likewise.
1328 * db2/lock/lock_region.c: Likewise.
1329 * db2/lock/lock_util.c: Likewise.
1330 * db2/log/log.c: Likewise.
1331 * db2/log/log_archive.c: Likewise.
1332 * db2/log/log_auto.c: Likewise.
1333 * db2/log/log_findckp.c: Likewise.
1334 * db2/log/log_get.c: Likewise.
1335 * db2/log/log_put.c: Likewise.
1336 * db2/log/log_rec.c: Likewise.
1337 * db2/log/log_register.c: Likewise.
1338 * db2/mp/mp_bh.c: Likewise.
1339 * db2/mp/mp_fget.c: Likewise.
1340 * db2/mp/mp_fopen.c: Likewise.
1341 * db2/mp/mp_fput.c: Likewise.
1342 * db2/mp/mp_fset.c: Likewise.
1343 * db2/mp/mp_open.c: Likewise.
1344 * db2/mp/mp_pr.c: Likewise.
1345 * db2/mp/mp_region.c: Likewise.
1346 * db2/mp/mp_sync.c: Likewise.
1347 * db2/mutex/mutex.c: Likewise.
1348 * db2/mutex/uts4_cc.s: Likewise.
1349 * db2/os/os_abs.c: Likewise.
1350 * db2/os/os_alloc.c: Likewise.
1351 * db2/os/os_config.c: Likewise.
1352 * db2/os/os_dir.c: Likewise.
1353 * db2/os/os_fid.c: Likewise.
1354 * db2/os/os_fsync.c: Likewise.
1355 * db2/os/os_map.c: Likewise.
1356 * db2/os/os_oflags.c: Likewise.
1357 * db2/os/os_open.c: Likewise.
1358 * db2/os/os_rw.c: Likewise.
1359 * db2/os/os_seek.c: Likewise.
1360 * db2/os/os_sleep.c: Likewise.
1361 * db2/os/os_spin.c: Likewise.
1362 * db2/os/os_stat.c: Likewise.
1363 * db2/os/os_tmpdir.c: Likewise.
1364 * db2/os/os_unlink.c: Likewise.
1365 * db2/progs/db_archive/db_archive.c: Likewise.
1366 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
1367 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
1368 * db2/progs/db_dump/db_dump.c: Likewise.
1369 * db2/progs/db_load/db_load.c: Likewise.
1370 * db2/progs/db_printlog/README: Likewise.
1371 * db2/progs/db_printlog/commit.awk: Likewise.
1372 * db2/progs/db_printlog/count.awk: Likewise.
1373 * db2/progs/db_printlog/db_printlog.c: Likewise.
1374 * db2/progs/db_printlog/pgno.awk: Likewise.
1375 * db2/progs/db_printlog/range.awk: Likewise.
1376 * db2/progs/db_printlog/status.awk: Likewise.
1377 * db2/progs/db_printlog/txn.awk: Likewise.
1378 * db2/progs/db_recover/db_recover.c: Likewise.
1379 * db2/progs/db_stat/db_stat.c: Likewise.
1380 * db2/txn/txn.c: Likewise.
1381 * db2/txn/txn.src: Likewise.
1382 * db2/txn/txn_auto.c: Likewise.
1383 * db2/txn/txn_rec.c: Likewise.
1384 * db2/xa/xa.c: Likewise.
1385 * db2/xa/xa_db.c: Likewise.
1386 * db2/xa/xa_map.c: Likewise.
1388 * db2/btree/bt_close.c: Removed.
1389 * db2/db/db_thread.c: Likewise.
1390 * db2/hash/hash_debug.c: Likewise.
1391 * db2/include/db.h.src: Likewise.
1392 * db2/include/db_int.h.src: Likewise.
1393 * db2/include/os_jump.h: Likewise.
1394 * db2/mutex/alpha.dec: Likewise.
1395 * db2/mutex/alpha.gcc: Likewise.
1396 * db2/mutex/parisc.hp: Likewise.
1397 * db2/mutex/uts4.cc.s: Likewise.
1399 * db2/Makefile: Add new routines, remove old for 2.7.5.
1400 * db2/Versions: Add internal function names for the helper programs.
1401 * db2/makedb.c: Update for new cursor callback.
1402 * Versions.def: Define versions for libdb.
1404 1999-06-13 Thorsten Kukuk <kukuk@suse.de>
1406 * nscd/connections.c (nscd_run): Get user ID for all non-db services.
1407 * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
1408 * nscd/nscd_nischeck.c: New file.
1409 * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
1411 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1413 * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
1414 MSG_* flags from Linux 2.2.9.
1416 1999-06-12 Mark Kettenis <kettenis@gnu.org>
1418 * Makeconfig (static-start-installed-name): Set to
1419 $(start-installed-name) if not defined.
1420 (+link-static): Use $(static-start-installed-name) instead of
1421 $(start-installed-name).
1422 * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
1425 1999-06-12 Mark Kettenis <kettenis@gnu.org>
1427 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
1428 inserting a send right into the child instead of unconditionally
1429 copying the send right.
1431 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
1433 * locale/lc-time.c: Add free_mem function to free if necessary
1434 statically allocated memory.
1436 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
1438 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
1439 bias from the raw exponent.
1441 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
1443 * inet/arpa/tftp.h: Move attribute declaration in right position.
1445 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
1447 * nscd/nscd.c: Add -S options for separate caching of data for
1448 every user. So one user couldn't see the data another user
1449 has gotten with his credentials.
1450 * nscd/nscd.h: Add new prototypes.
1451 * nscd/cache.c: Compare owner of cache entry if in secure mode.
1452 * nscd/connections.c: Check on shutdown if caller really was root.
1453 In secure mode get uid of caller.
1454 * nscd/grpcache.c: Add support for new secure group mode.
1455 * nscd/hstcache.c: Add support for new secure hosts mode.
1456 * nscd/pwdcache.c: Add support for new secure passwd mode.
1458 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
1460 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
1461 of user-provided buffer.
1463 1999-06-11 Mark Kettenis <kettenis@gnu.org>
1465 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
1466 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
1468 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
1470 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
1473 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
1474 returning after last entry.
1475 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
1477 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
1479 * misc/sysexits.h: Remove advertising clause of copyright.
1480 * resolv/getnetnamadr.c: Likewise.
1481 * sysdeps/vax/bcopy.s: Likewise.
1482 * sysdeps/vax/bzero.s: Likewise.
1483 * sysdeps/vax/ffs.s: Likewise.
1484 * sysdeps/vax/memchr.s: Likewise.
1485 * sysdeps/vax/memcmp.s: Likewise.
1486 * sysdeps/vax/memmove.s: Likewise.
1487 * sysdeps/vax/memset.s: Likewise.
1488 * sysdeps/vax/strcat.s: Likewise.
1489 * sysdeps/vax/strchr.s: Likewise.
1490 * sysdeps/vax/strcmp.s: Likewise.
1491 * sysdeps/vax/strcpy.s: Likewise.
1492 * sysdeps/vax/strcspn.s: Likewise.
1493 * sysdeps/vax/strlen.s: Likewise.
1494 * sysdeps/vax/strncat.s: Likewise.
1495 * sysdeps/vax/strncmp.s: Likewise.
1496 * sysdeps/vax/strncpy.s: Likewise.
1497 * sysdeps/vax/strpbrk.s: Likewise.
1498 * sysdeps/vax/strrchr.s: Likewise.
1499 * sysdeps/vax/strsep.s: Likewise.
1500 * sysdeps/vax/strspn.s: Likewise.
1501 * sysdeps/vax/strstr.s: Likewise.
1503 * libio/iofopncook.c: Adjust for renaming of structure elements.
1504 * libio/libio.h: Define cookie functions with all the names.
1506 * pwd/fgetpwent_r.c: Set errno in the correct way.
1507 * shadow/fgetspent_r.c: Likewise.
1508 * pwd/fgetpwent.c: Handle long lines correctly. Little
1509 optimizations. Free static buffer when debugging memory handling.
1510 * shadow/fgetspent.c: Likewise.
1512 * grp/fgetgrent.c: Little optimization in loop.
1514 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1516 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
1519 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
1521 * stdlib/longlong.h: gas changed sethi handling when without
1522 %hi(). Fix assembly.
1523 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
1524 port specific cache id checks.
1525 * sysdeps/generic/dl-cache.h: New file.
1526 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
1528 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
1530 * gmon/gmon.c: Remove advertising clause of copyright.
1531 * gmon/mcount.c: Likewise.
1532 * gmon/sys/gmon.h: Likewise.
1533 * inet/arpa/ftp.h: Likewise.
1534 * inet/arpa/telnet.h: Likewise.
1535 * inet/arpa/tftp.h: Likewise.
1536 * inet/inet_lnaof.c: Likewise.
1537 * inet/inet_mkadr.c: Likewise.
1538 * inet/inet_net.c: Likewise.
1539 * inet/inet_netof.c: Likewise.
1540 * inet/protocols/routed.h: Likewise.
1541 * inet/protocols/rwhod.h: Likewise.
1542 * inet/protocols/talkd.h: Likewise.
1543 * inet/protocols/timed.h: Likewise.
1544 * inet/rcmd.c: Likewise.
1545 * inet/rexec.c: Likewise.
1546 * inet/ruserpass.c: Likewise.
1547 * io/fts.c: Likewise.
1548 * io/fts.h: Likewise.
1549 * login/login_tty.c: Likewise.
1550 * misc/fstab.h: Likewise.
1551 * misc/getttyent.c: Likewise.
1552 * misc/getusershell.c: Likewise.
1553 * misc/sys/queue.h: Likewise.
1554 * misc/sys/syslog.h: Likewise.
1555 * misc/syslog.c: Likewise.
1556 * misc/ttyent.h: Likewise.
1557 * misc/ttyslot.c: Likewise.
1558 * resolv/arpa/nameser.h: Likewise.
1559 * resolv/gethnamaddr.c: Likewise.
1560 * resolv/herror.c: Likewise.
1561 * resolv/inet_addr.c: Likewise.
1562 * resolv/mapv4v6addr.h: Likewise.
1563 * resolv/mapv4v6hostent.h: Likewise
1564 * resolv/nss_dns/dns-host.c: Likewise.
1565 * resolv/nss_dns/dns-network.c: Likewise.
1566 * resolv/res_comp.c: Likewise.
1567 * resolv/res_data.c: Likewise.
1568 * resolv/res_debug.c: Likewise.
1569 * resolv/res_init.c: Likewise.
1570 * resolv/res_mkquery.c: Likewise.
1571 * resolv/res_query.c: Likewise.
1572 * resolv/res_send.c: Likewise.
1573 * resolv/resolv.h: Likewise.
1574 * sysdeps/generic/div.c: Likewise.
1575 * sysdeps/generic/netinet/ip.h: Likewise.
1576 * sysdeps/generic/netinet/tcp.h: Likewise.
1577 * sysdeps/generic/paths.h: Likewise.
1578 * sysdeps/generic/prof-freq.c: Likewise.
1579 * sysdeps/generic/sys/ttydefaults.h: Likewise.
1580 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1581 * sysdeps/gnu/netinet/tcp.h: Likewise.
1582 * sysdeps/ieee754/support.c: Likewise.
1583 * sysdeps/mach/hurd/sys/param.h: Likewise.
1584 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
1585 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1586 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
1587 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1588 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
1589 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
1590 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
1591 * sysdeps/unix/sysv/linux/paths.h: Likewise.
1592 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
1593 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
1594 * sysdeps/vax/DEFS.h: Likewise.
1595 * termios/sys/ttychars.h: Likewise.
1596 * misc/daemon.c: Likewise. Call fork.
1598 * grp/fgetgrent.c (buffer): Make file local variable.
1599 (free_mem): New function. Call for malloc debugging.
1601 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
1603 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1605 * grp/Makefile: Add rules for tst_fgetgrent.
1607 * grp/tst_fgetgrent.c: Rewritten to read only one file.
1609 * grp/tst_fgetgrent.sh: New file.
1611 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
1613 * grp/Makefile (tests): Add tst_fgetgrent.
1614 * grp/tst_fgetgrent.c: New file.
1615 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
1617 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
1619 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
1620 be POSIX compliant. Prior definition was broken for Hurd.
1621 Reported by Mark Kettenis <kettenis@gnu.org>.
1623 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
1625 * ctype/ctype.h: Protect __tobody code by __extension__.
1627 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
1629 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
1630 reading and reset in case the buffer was too small.
1632 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
1635 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1637 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
1638 another SIOGIFNAME typo.
1640 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
1642 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
1644 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
1647 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1649 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
1650 the precision if the mantissa is zero.
1652 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1654 * manual/lang.texi (Floating Point Parameters): GCC already
1655 supports long double for a long time.
1657 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1659 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
1660 yn_test): Increase some epsilons.
1662 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
1664 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
1667 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
1669 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1670 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
1671 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
1672 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
1674 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
1675 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
1676 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
1677 * sysdeps/libm-ieee754/w_j1.c: Likewise.
1678 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
1679 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
1680 * sysdeps/libm-ieee754/w_jn.c: Likewise.
1681 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
1682 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
1684 * stdio-common/vfprintf.c: Correct typos.
1686 * math/libm-test.c (jn_test): Adjust delta.
1687 (y1_test): Likewise.
1688 (yn_test): Likewise.
1690 * elf/do-lookup.h: It should never happen that if we expect a versioned
1691 symbol from a file the file has no version table. This should have
1692 been checked in dl-version.c.
1693 * elf/dl-lookup.c: Include assert.h.
1695 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
1698 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
1700 1999-06-06 Andi Kleen <ak@muc.de>
1702 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
1705 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1707 * math/libm-test.c (yn_test): Change one delta.
1708 (jn_test): Likewise.
1709 (j1_test): Likewise.
1710 (y0_test): Likewise.
1712 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
1714 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
1715 avoid multiple calls to getpagesize() which might be a syscall.
1717 1999-06-06 Philip Blundell <philb@gnu.org>
1719 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
1721 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1723 * manual/install.texi (Running make install): Correct typo in
1724 dynamic linker invocation.
1726 1999-06-05 Philip Blundell <philb@gnu.org>
1728 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
1729 problems with GOT addressing.
1731 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
1733 * malloc/malloc.c (check_action): Change into bitmap so that both
1734 diagnostic and abort can be requested by setting it to 3.
1735 (mALLOC_SET_STATe): Disable malloc checking if necessary.
1737 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
1739 * configure.in: Few changes for HPUX.
1741 * scripts/config.guess: Update from latest version.
1742 * scripts/config.sub: Likewise.
1744 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1746 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
1747 map files. Closes PR libc/1147.
1749 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1751 * math/libm-test.c (main): Add new test functions.
1752 (jn_test): New tests.
1753 (j1_test): Add some more tests.
1754 (j0_test): Add some more tests.
1755 (y0_test): Add some more tests.
1756 (y1_test): Add some more tests.
1758 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1760 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
1761 Patch by mhagger@dera.gov.uk [PR libc/1145].
1763 * math/libm-test.c (y1_test): New tests.
1764 (y0_test): Likewise.
1765 (j1_test): Likewise.
1766 (j0_test): Likewise.
1767 (main): Added new tests.
1769 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
1771 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
1772 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
1773 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
1774 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
1775 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
1776 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
1778 1999-06-02 David S. Miller <davem@redhat.com>
1780 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
1783 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
1785 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
1786 and elide compatibility code if possible.
1788 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
1790 * manual/llio.texi: Remove menu entry for removed section.
1792 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1794 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
1797 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1799 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
1802 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
1804 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
1806 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1808 * manual/stdio.texi: Fix some typos.
1810 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1812 * malloc/malloc.h: Properly handle future GCC versions.
1814 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1816 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
1817 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
1818 text of error message.
1820 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
1822 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
1824 * manual/filesys.texi: Extend (f)truncate documentation.
1825 * manual/llio.texi: Remove duplicate (f)truncate definition.
1827 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1829 * manual/stdio.texi (Formatted Output Functions): Mention
1830 semantics of snprintf in glibc 2.0.
1831 Reported by Ben Pfaff <pfaffben@msu.edu>.
1833 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
1835 * include/features.h (__GLIBC_MINOR__): Bump to 2.
1837 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
1839 * math/libm-test.c: Adjust a few more deltas for the poor ARM
1842 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1844 * configure.in: Fix typo.
1846 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1848 * manual/socket.texi (Host Names): Remove statement that h_errno
1849 needs to be declared since this isn't true anymore.
1850 Closes PR libc/1138.
1852 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
1854 * config.h.in: Add __LINUX_KERNEL_VERSION.
1855 * configure.in: Recognize --enable-kernel.
1856 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
1857 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
1859 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
1860 given perform runtime test.
1862 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
1863 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
1864 minimal supported kernel is known to have the feature.
1865 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1866 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1867 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1868 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1869 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1870 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
1871 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1872 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1873 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1874 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1875 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1876 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
1877 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
1878 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
1879 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
1881 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
1883 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
1885 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
1887 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
1889 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
1890 Optimized sparc64 routines.
1892 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
1894 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
1895 they are the same as ints.
1896 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
1898 * version.h (VERSION): Bump to 2.1.90.
1899 (RELEASE): Mark as development.
1901 * stdio-common/vfprintf.c (vfprintf): Don't implement special
1902 handling for long long if it is the same as long.
1903 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
1905 * stdlib/strtol.c: Moved to ...
1906 * sysdeps/generic/strtol.c: ...here.
1907 * stdlib/strtoul.c: Moved to ...
1908 * sysdeps/generic/strtoul.c: ...here.
1909 * stdlib/strtoll.c: Moved to ...
1910 * sysdeps/generic/strtoll.c: ...here.
1911 * stdlib/strtoull.c: Moved to ...
1912 * sysdeps/generic/strtoull.c: ...here.
1913 * stdlib/strtol_l.c: Moved to ...
1914 * sysdeps/generic/strtol_l.c: ...here.
1915 * stdlib/strtoul_l.c: Moved to ...
1916 * sysdeps/generic/strtoul_l.c: ...here.
1917 * stdlib/strtoll_l.c: Moved to ...
1918 * sysdeps/generic/strtoll_l.c: ...here.
1919 * stdlib/strtoull_l.c: Moved to ...
1920 * sysdeps/generic/strtoull_l.c: ...here.
1922 * sysdeps/wordsize-64/strtol.c: New file.
1923 * sysdeps/wordsize-64/strtoul.c: New file.
1924 * sysdeps/wordsize-64/strtoll.c: New file.
1925 * sysdeps/wordsize-64/strtoull.c: New file.
1926 * sysdeps/wordsize-64/strtol_l.c: New file.
1927 * sysdeps/wordsize-64/strtoul_l.c: New file.
1928 * sysdeps/wordsize-64/strtoll_l.c: New file.
1929 * sysdeps/wordsize-64/strtoull_l.c: New file.
1931 * wcsmbs/wcstol.c: Moved to ...
1932 * sysdeps/generic/wcstol.c: ...here.
1933 * wcsmbs/wcstoul.c: Moved to ...
1934 * sysdeps/generic/wcstoul.c: ...here.
1935 * wcsmbs/wcstoll.c: Moved to ...
1936 * sysdeps/generic/wcstoll.c: ...here.
1937 * wcsmbs/wcstoull.c: Moved to ...
1938 * sysdeps/generic/wcstoull.c: ...here.
1939 * wcsmbs/wcstol_l.c: Moved to ...
1940 * sysdeps/generic/wcstol_l.c: ...here.
1941 * wcsmbs/wcstoul_l.c: Moved to ...
1942 * sysdeps/generic/wcstoul_l.c: ...here.
1943 * wcsmbs/wcstoll_l.c: Moved to ...
1944 * sysdeps/generic/wcstoll_l.c: ...here.
1945 * wcsmbs/wcstoull_l.c: Moved to ...
1946 * sysdeps/generic/wcstoull_l.c: ...here.
1948 * sysdeps/wordsize-64/wcstol.c: New file.
1949 * sysdeps/wordsize-64/wcstoul.c: New file.
1950 * sysdeps/wordsize-64/wcstoll.c: New file.
1951 * sysdeps/wordsize-64/wcstoull.c: New file.
1952 * sysdeps/wordsize-64/wcstol_l.c: New file.
1953 * sysdeps/wordsize-64/wcstoul_l.c: New file.
1954 * sysdeps/wordsize-64/wcstoll_l.c: New file.
1955 * sysdeps/wordsize-64/wcstoull_l.c: New file.
1957 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
1959 * sysdeps/sparc/bits/wordsize.h: New file.
1960 * sysdeps/sparc/fpu/bits/fenv.h: New file.
1961 * sysdeps/sparc/fpu/fpu_control.h: New file.
1962 * sysdeps/sparc/gmp-mparam.h: New file.
1964 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
1965 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
1966 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
1967 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
1968 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
1969 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
1971 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
1972 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
1973 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
1974 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
1976 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
1977 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
1978 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
1979 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
1980 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
1982 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
1984 * login/openpty.c (openpty): Make sure pty does not because
1987 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
1989 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
1991 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
1992 Do proper error return.
1994 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1996 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
1997 of __P in the rest of glibc; define __MALLOC_PMT and use it.
1998 Reported by Stephan Kulow <coolo@kde.org>.
2000 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
2002 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
2004 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
2006 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2008 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
2009 names to protect from user's macro namespace.
2010 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
2011 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
2012 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
2013 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
2014 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
2016 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
2017 sysdeps/arm/fpu/fesetenv.c: Likewise.
2018 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
2019 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
2020 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
2021 * sysdeps/mips/fesetenv.c: Likewise.
2023 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
2025 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
2027 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
2029 * configure.in: Recognize and allow gcc 2.95.
2031 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
2033 * sysdeps/generic/bits/elfclass.h: Version common to
2034 wordsize-32 and wordsize-64.
2035 * sysdeps/generic/bits/environments.h: Ditto.
2036 * sysdeps/generic/stdint.h: Ditto.
2037 * sysdeps/generic/inttypes.h: Ditto.
2039 * sysdeps/generic/bits/wordsize.h: New file.
2040 * stdlib/Makefile: Add bits/wordsize.h to headers.
2042 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
2044 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
2045 headers to be used for 32bit and 64bit ABI compilations.
2046 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
2047 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
2048 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
2049 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
2050 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
2052 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
2053 * sysdeps/wordsize-64/bits/environments.h: Remove.
2054 * sysdeps/wordsize-64/stdint.h: Remove.
2055 * sysdeps/wordsize-64/inttypes.h: Remove.
2056 * sysdeps/wordsize-64/bits/wordsize.h: New file.
2058 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
2059 * sysdeps/wordsize-32/bits/environments.h: Remove.
2060 * sysdeps/wordsize-32/stdint.h: Remove.
2061 * sysdeps/wordsize-32/inttypes.h: Remove.
2062 * sysdeps/wordsize-32/bits/wordsize.h: New file.
2064 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
2066 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
2067 __align_cpy_16): New functions.
2068 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
2070 * sysdeps/sparc/sparc32/Versions: New file.
2071 * sysdeps/sparc/sparc64/Versions: New file.
2072 * sysdeps/sparc/Versions: Remove.
2074 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
2076 * sysdeps/unix/sysv/linux/configure.in:
2077 On sparc64-*-linux*, set slibdir to /lib64 if prefix
2078 is /usr, plus set libdir to ${exec_prefix}/lib64.
2079 * sysdeps/unix/sysv/linux/configure: Regenerated.
2080 * config.make.in: Propagate libdir settings from configure
2082 * shlib-versions: sparc64-*-linux* dynamic linker is
2083 /lib64/ld-linux.so.2.
2085 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
2087 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
2090 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
2092 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
2093 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
2095 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
2096 contains garbage in bits 8-63.
2097 * sysdeps/sparc/sparc64/memset.S: Ditto.
2098 * sysdeps/sparc/sparc64/strchr.S: Ditto.
2100 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
2102 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
2104 1999-05-17 David S. Miller <davem@redhat.com>
2106 * sysdeps/sparc/sparc32/atomicity.h: New file.
2107 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
2108 * sysdeps/sparc/sparc64/atomicity.h: New file.
2109 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
2112 1999-05-18 Richard Henderson <rth@twiddle.net>
2114 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
2116 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
2118 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
2119 posix/sys/types.h: Handle the case of __GNUC__=3,
2120 __GNUC_MINOR__=(anything).
2122 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2124 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
2127 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
2129 * elf/Makefile (distribute): Remove dl-origin.h.
2130 Add dl-dst.h and gen-trusted-dirs.awk.
2132 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2134 * sysdeps/i386/i486/Versions: New file with inline functions from
2135 sysdeps/i386/i486/bits/string.h for now.
2137 * sysdeps/i386/Versions: Add inline functions from
2138 sysdeps/i386/bits/string.h.
2140 * string/Versions: Add inline functions from <bits/string2.h>.
2142 * string/Makefile (routines): Add string-inlines.
2143 * string/string-inlines.c: New file, used for implementation of
2144 extern inline functions.
2146 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
2147 non inlined versions of functions.
2148 * string/bits/string2.h: Likewise.
2149 * sysdeps/i386/bits/string.h: Likewise.
2151 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
2153 * inet/arpa/tftp.h: Add second packed attribute.
2155 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
2157 * malloc/malloc.c: Cleanup to bring in line with released
2158 stand-alone version `ptmalloc'. Update some comments.
2159 (internal_function): Move fallback definition so that the source
2160 compiles outside of libc, and use it in more places.
2161 (malloc_atfork): Fix when malloc_check is in use.
2163 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2165 * stdlib/tst-strtod.c: Fix typo.
2167 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2169 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
2170 const incorrectness.
2172 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
2174 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
2176 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
2178 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
2179 * sunrpc/key_call.c: Fix memory leak, close file handle.
2180 * nis/nis_creategroup.c: Use malloc instead of calloc,
2181 set ctime and mtime.
2182 * nis/nis_subr.c: Check for realloc result.
2183 * nis/nis_file.c: Fix memory leak.
2184 * nis/nis_table.c: Pretty print.
2185 * nis/nis_getservlist.c: Likewise.
2186 * nis/nis_ismember.c: Likewise.
2187 * nis/nis_lookup.c: Likewise.
2188 * nis/nis_ping.c: Likewise.
2189 * nis/nis_removemember.c: Likewise.
2190 * nis/nis_util.c: Likewise, check calloc result.
2192 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
2194 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
2195 * sysdeps/generic/sys/socketvar.h: ... here.
2196 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
2197 * sysdeps/generic/netinet/in_systm.h: ... here.
2198 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
2200 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
2201 * inet/Makefile (headers): Add netinet/in_systm.h here.
2202 * socket/Makefile (headers): Add sys/socketvar.h here.
2204 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
2206 * stdlib/strtol.c: Optimize inner loop of long long versions.
2208 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
2209 Unix98. Add forward declaration of struct utmp.
2211 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
2213 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
2216 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
2217 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
2218 memory allocation results.
2220 1999-05-14 Mark Kettenis <kettenis@gnu.org>
2222 * sysdeps/generic/getutmp.c: Include <string.h>
2223 (getutmp): Rewrite to only copy those members that are really
2224 present in `struct utmp'.
2225 * sysdeps/generic/getutmpx.c: Likewise.
2227 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
2229 * nss/getXXbyYY.c: Add free_mem function which disposes all
2230 statically allocated memory when debugging.
2231 * nss/getXXent.c: Likewise.
2232 * nss/nsswitch.c: Likewise.
2234 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
2236 * sysdeps/gnu/getutmpx.c: New file.
2237 * sysdeps/gnu/getutmp.c: New file.
2239 1999-05-13 H.J. Lu <hjl@gnu.org>
2241 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
2242 (getutmp): Likewise.
2244 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
2247 * sysdeps/gnu/utmpx.h (getutmp): Added.
2248 (getutmpx): Likewise.
2250 * sysdeps/generic/getutmp.c: New file.
2252 * sysdeps/generic/getutmpx.c: New file.
2254 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2256 * glibcbug.in (BUGGLIBC): Change address to
2257 libc-alpha@sourceware.cygnus.com.
2259 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2261 * resolv/arpa/nameser.h: Add C++ protectors.
2263 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2265 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
2266 Elad Tsur <eladts@post.tau.ac.il>.
2268 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
2270 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
2271 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
2272 lazily if LD_BIND_NOW is not set.
2273 * elf/dl-support.c (_dl_lazy): New variable.
2274 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
2275 * elf/rtld.c (_dl_lazy): new global variable.
2276 ( dl_main): Remove lazy, replace it by _dl_lazy.
2278 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2280 * locale/setlocale.c (new_composite_name): Check also whether the
2281 first category name differs.
2283 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2285 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
2288 1999-05-11 Philip Blundell <pb@nexus.co.uk>
2290 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
2291 structure; storage suitable for any socket address.
2292 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
2294 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
2295 sockaddr_storage): Likewise.
2297 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
2300 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
2302 * hesiod/Versions: Change _nss_hesiod_getpwuid and
2303 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
2304 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
2306 1999-05-09 Mark Kettenis <kettenis@gnu.org>
2308 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
2309 if the file is empty.
2311 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
2313 * elf/do-lookup.h: Fix typo in comment.
2315 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
2316 f_bsize to help some broken programs.
2318 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
2320 * stdio-common/vfprintf.c: Fix typo.
2322 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
2324 * elf/link.h (struct link_map): New field l_phdr_allocated.
2325 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
2326 the program header being part of any loaded segment. If it is not
2327 allocate memory and set l_phdr_allocated flag.
2328 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
2330 * nss/digits_dots.c: Correct return value interpretation of
2331 inet_ntoa. Fix PR libc/1109.
2333 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
2335 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
2337 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
2339 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
2340 * stdlib/fpioconst.c: Move #endif before end of struct.
2342 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
2344 * Versions.def (ld.so): Add GLIBC_2.1.1.
2345 * elf/Makefile (routines): Add dl-origin.
2346 (tests): Add origtest. Add dependencies for the program.
2347 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
2348 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
2349 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
2350 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
2351 DT_AUXILIARY, and DT_FILTER filenames.
2352 * elf/dl-load.c (expand_dynamic_string_token): Explode into
2353 two functions and three macros.
2354 (_dl_dst_count, _dl_dst_substitute): New functions.
2355 * elf/dl-dst.h: New file.
2356 * elf/dl-open.c (_dl_open): Take extra parameter with address of
2357 caller. Pass address in args structure.
2358 (dl_open_worker): Recognize and expand DSTs in filename.
2359 * elf/ldsodefs.h (_dl_open): Adapt prototype.
2360 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
2361 (__dlopen_check): Pass caller address to dlopen_doit in args.
2362 * elf/dlopendoit.c: Likewise.
2363 * iconv/gconv_dl.c: Adapt call of _dl_open.
2364 * nss/nsswitch.c: Likewise.
2365 * elf/origtest.c: New file.
2366 * sysdeps/generic/dl-origin.h: Moved to...
2367 * sysdeps/generic/dl-origin.c: ...here.
2368 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
2369 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
2371 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
2372 with specific bases and only few bits set in second word.
2374 * timezone/Makefile (install-others): Create target directory
2375 before creating tzfiles.
2377 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
2379 * nis/nis_file.c (readColdStartFile): Allocate memory only after
2380 the file is opened successfully.
2382 * nis/nis_table.c: Fix some memory leaks.
2384 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
2386 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
2389 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
2390 around DST. Correctly ignore ORIGIN IN SUID binaries.
2392 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
2394 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
2395 * sysdeps/generic/strtok.c: Likewise.
2397 * string/tester.c: Add test of rawmemchr.
2399 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
2400 specification. It's not necessary.
2402 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
2403 * elf/gen-trusted-dirs.awk: New file.
2404 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
2405 from SYSTEM_DIRS macro.
2406 (system_dirs_len): New variable. Contains lengths of system_dirs
2408 (fillin_rpath): Rewrite for systems_dirs being a simple string.
2409 Improve string comparisons. Change parameter trusted to be a flag.
2411 (_dt_init_paths): Improve using new format for system_dirs.
2413 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
2414 $ORIGIN for SUID binaries.
2416 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
2418 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2420 * sunrpc/Makefile: Generate dependencies for all flavors of
2422 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
2425 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2427 * elf/dlopenold.c: Move #if down after includes to get
2430 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2432 * sysdeps/generic/bzero.c: Undefine __bzero.
2434 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
2436 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
2437 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
2438 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
2439 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
2441 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
2442 parameter to struct gaih_servtuple *. Adapt appropriately.
2443 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
2444 This fixes a memory leak.
2445 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
2447 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
2448 and fpregset_t definition. They are defined in ucontext.h.
2450 1999-04-14 Scott Bambrough <scottb@netwinder.org>
2452 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
2453 and struct ether_header must be packed on the ARM. The default
2454 alignment constraints add padding to the end of the structures.
2456 1999-04-14 Scott Bambrough <scottb@netwinder.org>
2458 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
2459 default alignment constraints add padding to the end of the
2460 structure and between members.
2462 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
2464 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
2465 _dl_cache_libcmp instead of strcmp.
2467 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
2469 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
2471 1998-03-30 Joel Klecker <espy@debian.org>
2473 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
2474 (sysdep-others,install-bin): Add lddlibc4.
2476 1999-05-02 H.J. Lu <hjl@gnu.org>
2478 * timezone/zic.c (dolink): Remove the symlink destination first.
2480 * catgets/open_catalog.c (__open_catalog): Set catalog->status
2481 to "nonexisting" if failed to open the file.
2483 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
2485 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
2488 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
2489 Prevent warnings from multiplication with 0x01010101 by another cast.
2491 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2493 * string/bits/string2.h (memset): Revert to previous version if
2494 unaligned writes are not available.
2496 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
2498 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
2499 better code in presence of the asm.
2501 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2503 * stdlib/fmtmsg.c (keywords): Increase array size for faster
2506 * locale/localeinfo.h (_nl_category_names): Increase array element
2507 size for faster indexing.
2508 * locale/setlocale.c (_nl_category_names): Adjusted.
2510 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2512 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
2514 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2516 * sysdeps/m68k/stackinfo.h: New file.
2518 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
2520 * string/tester.c (test_strchrnul): New function.
2521 (test_memset): Test one more special case.
2523 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
2526 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
2529 * string/bits/string2.h: Fix bugs I introduced in last change.
2531 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
2533 Extend memset optimization.
2534 Correct i686 version of memchr.
2536 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
2538 * sysdeps/i386/bzero.c: Add #undef __bzero.
2540 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
2541 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
2542 exec server simulated a SIGTRAP before we even started up, so gdb is
2545 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
2547 * nss/digits_dots.c: Always initialize not_ok.
2549 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
2551 * string/bits/string2.h (memset): Avoid arithmetic overflow at
2552 compile time, which produces obnoxious warnings. If GCCv2 is
2553 in use, map __bzero to __builtin_memset to enable that
2556 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
2558 * string/bits/string2.h: Add more memset optimizations.
2560 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
2562 * resolv/inet_pton.c (inet_pton4): Little optimizations.
2563 (inet_pton6): Likewise.
2565 * nss/getXXbyYY_r.c: Include assert.h.
2566 * nss/getXXbyYY.c: Likewise.
2568 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2570 * termios/tcgetsid.c (tcgetsid): Rename variable to
2571 tiocgsid_does_not_work.
2573 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
2575 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
2577 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2579 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
2580 This allows e.g. gethostbyname to accept "10.1234".
2581 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
2583 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
2584 non quad IPv4 numbers.
2586 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2588 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
2590 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
2592 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
2593 * argp/argp-parse.c (_argp_hang): Likewise.
2594 * argp/argp-pv.c (argp_program_version): Likewise.
2595 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
2596 * inet/ether_hton.c (ether_hton, startp): Likewise.
2597 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
2598 * inet/getnetgrent_r.c (setup, startp): Likewise.
2599 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
2600 * intl/localealias.c (string_space, string_space_act, string_space_max,
2601 nmap, maxmap): Likewise.
2602 * libio/iopopen.c (proc_file_chain): Likewise.
2603 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
2604 * locale/lc-collate.c (__collate_table, __collate_extra,
2605 __collate_element_hash, __collate_element_strings,
2606 __collate_element_values): Likewise.
2607 * malloc/mcheck.c (mcheck_used): Likewise.
2608 * malloc/mtrace.c (added_atexit_handler): Likewise.
2609 * malloc/set-freeres.c (already_called): Likewise.
2610 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
2611 * misc/syslog.c (LogStat, LogTag): Likewise.
2612 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
2613 * nss/getXXbyYY_r.c (startp): Likewise.
2614 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
2615 * posix/regex.c (init_syntax_once) [done]: Likewise.
2617 * string/strfry.c (init): Likewise.
2618 * sunrpc/svc_run.c (svc_top): Likewise.
2619 * posix/euidaccess.c (have_ids): Likewise.
2620 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
2621 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
2622 * time/getdate.c (getdate_err): Likewise.
2623 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
2625 * time/tzset.c (old_tz, is_initialized): Likewise.
2627 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
2628 of static data with zero.
2629 * signal/allocrtsig.c (init): Likewise.
2631 * string/Makefile (routines): Add strchrnul.
2632 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
2633 * string/string.c: Add strchrnul prototype.
2634 * include/string.h: Add __strchrnul prototype.
2635 * sysdeps/generic/strchrnul.c: New file.
2636 * sysdeps/i386/strchrnul.S: New file.
2637 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
2638 * sysdeps/i386/i486/bits/string.c: Likewise.
2639 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
2640 * inet/ether_line.c (ether_line): Likewise.
2641 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
2642 * nss/nsswitch.c (nss_parse_file): Likewise.
2643 * posix/execvp.c (execvp): Likewise.
2644 * posix/fnmatch.c (internal_fnmatch): Likewise.
2645 * resolv/res_hconf.c (_res_hconv_init): Likewise.
2646 * resolv/res_init.c (res_init): Likewise.
2647 * stdlib/fmtmsg.c (init): Likewise.
2648 * stdlib/getsubopt.c (getsubopt): Likewise.
2650 * catgets/catgets.c (catopen): Only allocate one memory block.
2651 (catclose): Only one free call necessary.
2653 * catgets/open_catalog.c (__open_catalog): Simplify handling of
2656 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
2657 of real functions. Simplify _tolower and _toupper.
2659 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
2662 * iconv/gconv.h (struct gconv_info): Change data element from pointer
2664 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
2665 * iconv/gconv_close.c (__gconv_close): Don't free data.
2667 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
2670 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
2671 for error while inserting in tree.
2673 * include/time.h: Pretty print.
2675 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
2676 in table and lots of relocations.
2677 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
2678 string pointers in table and lots of relocations.
2680 * intl/finddomain.c: Remove definition of strchr macro.
2682 * io/ftw.c (nftw_arr, ftw_arr): Make const.
2684 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
2686 * locale/localeinfo.h (_nl_category_names): Change into an array with
2687 fixed width char string elements.
2688 * locale/setlocale.c (_nl_category_names): Likewise.
2689 (_nl_current): Make global.
2690 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
2692 * malloc/Makefile (distribute): Add stackinfo.h.
2693 * sysdeps/generic/stackinfo.h: New file.
2694 * sysdeps/i386/stackinfo.h: New file.
2695 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
2696 * posix/execle.c: Likewise.
2697 * posix/execlp.c: Likewise.
2699 * nis/nis_table.c (__create_ib_request): Always use realloc.
2701 * posix/execvp.c (execute): Rename to script_execute and keep only
2702 code to execute using shell.
2703 (execvp): Call execv directly and only fall back on script_execute.
2705 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
2706 and always use xdigits instead.
2708 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
2711 * stdlib/fpioconst.h (__tens): New declaration.
2712 (struct mp_power): Remove array, add arrayoff element.
2713 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
2714 __tens array and add in _fpioconst_pow10 offsets into __tens.
2715 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
2716 * stdlib/strtod.c: Likewise.
2718 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
2720 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
2722 * stdlib/atexit.c (__exit_funcs): Don't initialize.
2724 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
2726 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
2727 a single and an array with offsets.
2729 * sunrpc/des_soft.c (partab): Make it const.
2731 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
2732 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
2733 (__key_decryptsession_pk_LOCAL): Likewise.
2734 (__key_gendes_LOCAL): Likewise.
2735 (MESSENGER): Mark const.
2736 (key_call_private_main): Don't initialize with 0.
2737 (use_keyenvoy): Don't initialize with 0.
2738 (key_call): Rewrite to reverse logic of use_doors variable.
2740 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
2741 (startp): Don't initialize with zero.
2743 * sunrpc/openchild.c (_openchild): Make first argument const.
2745 * sunrpc/pmap_rmt.c (timeout): Mark const.
2746 * sunrpc/xcrypt.c (hex): Likewise.
2748 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
2749 initialization of global variables.
2750 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
2751 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2752 * termios/tcgetsid.c: Likewise.
2754 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
2757 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
2758 block. Add function to free memory if wanted.
2759 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
2761 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
2763 * wcsmbs/wmemset.c: Little code optimization.
2765 1999-04-23 Paul Eggert <eggert@twinsun.com>
2767 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
2770 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
2772 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
2773 implementation and just always fail with ENOSYS. This entry point is
2774 obsolete. Add link warning to that effect.
2776 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
2778 * hurd/get-host.c: Include <hurd/lookup.h>.
2780 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
2782 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
2785 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2787 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
2790 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
2792 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
2793 Patch by Peter Miller <millerp@canb.auug.org.au>.
2795 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
2797 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
2798 prefers loopback device.
2800 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
2802 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
2803 no_leading_period change.
2805 * posix/testfnm.c: More test cases.
2807 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
2809 * include/dirent.h: Remove __getdirentries declaration, add __getdents
2811 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
2812 * sysdeps/unix/readdir_r.c: Likewise.
2813 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2814 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
2815 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
2816 __getdirentries. Remove fourth argument.
2817 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
2818 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
2819 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
2820 Add getdirentries and getdirentries64.
2821 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
2823 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
2824 pointer in case of an invalid [[: expression.
2826 * posix/testfnm.c: Add more test cases.
2828 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
2830 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
2831 set, pass EXEC_SIGTRAP flag in exec RPC.
2833 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
2835 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
2836 extra parameter. Fix several more bugs involving wildcard and
2838 (fnmatch): New function. Call internal_fnmatch.
2840 * posix/testfnm.c: More test cases.
2842 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2844 * manual/install.texi (Configuring and compiling): Explain that
2845 files are changed in the source directory.
2847 (Configuring and compiling): Explain situation with PARALLELMFLAGS
2848 in the source directory.
2850 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2852 * locale/programs/ld-ctype.c: Spelling fixes.
2853 (ctype_finish): Fix argument of error message format.
2854 * locale/programs/ld-messages.c: Spelling fixes.
2855 * locale/programs/ld-monetary.c: Spelling fixes.
2856 * locale/programs/ld-time.c (time_finish): Make sure that name and
2857 format of era_entries are adjacent.
2858 (time_output): Reduce the size of the io vector.
2860 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2862 * manual/filesys.texi (Attribute Meanings): Move a misplaced
2865 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2867 * locale/programs/ld-collate.c (collate_output): Convert
2868 undefined_offset to an array index. Fix computation of other
2871 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
2873 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
2874 return success with empty value.
2876 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
2878 * posix/fnmatch.c: Include string.h also for glibc.
2879 (fnmatch, case '?'): Optimize if cascades a bit.
2880 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
2882 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
2884 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
2886 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
2887 * iconv/gconv_int.h: Declare UTF16 functions.
2888 * iconv/gconv_simple.c: Add UTF16 conversion functions.
2890 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2892 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
2893 be used correctly as parameter for parse_dollars/parse_tilde.
2895 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2897 * manual/conf.texi (Utility Limits): Remove duplicate description
2900 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
2902 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
2903 outbufend for dst==NULL.
2905 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
2907 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
2911 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
2914 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
2916 * sunrpc/Makefile: Remove special handling of bootparam.x,
2917 add rpcsvc/bootparam.h to headers.
2918 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
2919 * sunrpc/rpcsvc/bootparam.x: Renamed to...
2920 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
2922 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
2924 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
2925 detect and handle invalid descriptors.
2927 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
2929 * timezone/zic.c (dolink): Append complete path not only filename
2932 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2934 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
2936 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
2938 * iconvdata/gconv-modules: Rename CP874 to IBM874.
2939 * iconvdata/Makefile: Likewise.
2940 * iconvdata/cp874.h: Removed.
2941 * iconvdata/cp874.c: Renamed to...
2942 * iconvdata/ibm874.c: ...this.
2944 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
2946 * sysdeps/unix/sysv/linux/bits/types.h: Correct
2947 signed/unsigned-ness of blkcnt and fsblkcnt.
2948 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2949 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2951 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
2952 SOL_AAL, and SOL_IRDA.
2954 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2956 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
2957 include "linux_fsinfo.h".
2958 Based on a patch by H.J. Lu <hjl@gnu.org>.
2960 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
2962 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
2964 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
2966 * nscd/cache.c (prune_cache): Only disable file checking for
2967 future if the file does not exist.
2968 Update file_mtime if cache was flushed.
2970 1999-04-15 David S. Miller <davem@redhat.com>
2972 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
2973 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
2975 1999-04-15 Scott Bambrough <scottb@netwinder.org>
2977 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
2978 compilation of file.
2980 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
2982 * Versions.def: Add GLIBC_2.1.1 to libpthread.
2984 * iconvdata/Makefile (modules): Add KOI8-U.
2985 (distribute): Add koi8-u.c.
2986 (gen-8bit-gap-modules): Add koi8-u.
2987 * iconvdata/gconv-modules: Add KOI8-U entries.
2988 * iconvdata/koi8-u.c: New file.
2990 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
2992 * sunrpc/auth_des.c: 64bit fixes, security fixes.
2993 * sunrpc/auth_none.c: Pretty print.
2994 * sunrpc/auth_unix.c: Likewise.
2995 * sunrpc/authdes_prot.c: Likewise.
2996 * sunrpc/authuxprot.c: Likewise.
2997 * sunrpc/bindrsvprt.c: Likewise.
2998 * sunrpc/clnt_gen.c: Likewise.
2999 * sunrpc/rpc/xdr.h: Likewise.
3000 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
3001 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
3002 * sunrpc/rtime.c: Use new rpc_timeval.
3003 * sunrpc/svc_authux.c: Don't use *long pointers.
3004 * sunrpc/svcauth_des.c: Likewise + security fixes.
3005 * sunrpc/xdr_mem.c: Don't use *long pointers.
3006 * sunrpc/xdr_rec.c: Likewise.
3007 * sunrpc/xdr_sizeof.c: Likewise.
3008 * sunrpc/xdr_stdio.c: Likewise.
3010 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
3012 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
3013 so that it is redone for each sending.
3015 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3017 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
3019 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
3021 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
3022 known to not exist don't try to load shared objects.
3023 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
3025 * nscd/cache.c (prune_cache): The table might not be unused. In
3026 this case do nothing.
3028 * catgets/gencat.c (read_input_file): Don't drop white spaces
3029 between number/identifier and string.
3030 Patch by Dima Barsky <dima@pwd.hp.com>.
3031 If no white space at all follows number/identifier remove existing
3032 message with the number/identifier.
3034 1999-04-14 H.J. Lu <hjl@gnu.org>
3036 * sunrpc/clnt_udp.c (is_network_up): New function.
3037 (clntudp_call): Call is_network_up () to check if any network
3038 interface is up in case of timeout.
3040 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3042 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
3043 * wctype/Makefile (tests): Add test_wcfuncs.
3045 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
3047 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
3049 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
3051 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
3052 instead of CFLAGS. For gnulib and string directories use
3053 -Wa,-Av9a gcc ASFLAGS.
3054 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
3055 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
3056 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
3057 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
3058 the same way as sparc-*.
3060 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
3062 * locale/programs/locfile.c (locfile_read): Fix typo.
3063 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
3065 1999-04-14 Scott Bambrough <scottb@netwinder.org>
3067 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
3068 restarted after being interrupted by a signal. The parameters on
3069 the stack were corrupted by the signal handler.
3071 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
3072 restarted after being interrupted by a signal. The parameters on
3073 the stack were corrupted by the signal handler.
3075 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3077 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
3078 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
3080 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
3082 * posix/wordexp-test.c: In field-splitting test cases where
3083 subshells were involved, unset IFS first: some shells (ash) use
3084 IFS even when no expansion is performed.
3086 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3088 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
3089 the real end of the chunk, not some random point inbetween.
3090 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
3091 obstack when growing. Use fast version of obstack_blank when
3093 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
3094 allocating the vtable pointer.
3095 (_IO_obstack_vprintf): Adjust for above change and avoid
3096 unnecessary casts. Use fast version of obstack_blank when
3100 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
3102 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
3103 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
3105 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
3107 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
3108 is seen, as well as fixing semantics. Don't reset the word count
3109 to zero when an invalid character is seen, but leave it as it was
3110 (this makes a difference with WRDE_APPEND).
3112 * posix/wordexp-test.c: More test cases.
3114 * posix/wordexp.c (parse_param): In words like ${var#pattern},
3115 always expand pattern when it is needed. Also, handle quoting in
3118 1999-04-12 Philip Blundell <philb@gnu.org>
3120 * elf/elf.h: Update ARM definitions to match current gas2.
3122 * sysdeps/arm/bits/endian.h: Support big endian operation.
3124 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
3125 Don't bother range checking the port number.
3127 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
3129 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
3130 the syscall name in assembler output for ease of debugging.
3132 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
3134 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
3135 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
3136 (sysdep_routines): Add sigrestorer.
3138 * string/tester.c (test_strcpy): Add new tests for unaligned
3140 * sysdeps/arm/bits/string.h: Delete inline implementations of
3143 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
3145 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
3147 1999-04-10 Mark Kettenis <kettenis@gnu.org>
3149 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
3151 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
3153 * iconvdata/Makefile (modules): Add TIS-620.
3154 (distribute): Add tis-620.c.
3155 (gen-8bit-gap-modules): tis-620.
3156 * iconvdata/tis-620.c: New file.
3157 * iconvdata/gconv-modules: Add TIS-620 entries.
3159 * iconvdata/asmo_449.c: Correct comment.
3161 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3163 * manual/install.texi (Configuring and compiling): Comment out
3164 description of --disable-static since this doesn't work currently
3165 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
3167 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
3169 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
3171 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
3173 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3175 * scripts/test-installation.pl (installation_problem): Skip
3176 libnss1_* libraries from glibc-compat add-on.
3178 1999-04-07 H.J. Lu <hjl@gnu.org>
3180 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
3182 * posix/Versions (__waitpid): Likewise.
3184 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3186 * manual/install.texi (Reporting Bugs): Add section about reported
3187 bugs and correct email address of glibcbug script.
3189 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
3191 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
3192 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
3193 xdr_u_longlong_t. Based on patch from Dan Shechter
3194 <damageboy@isdn.net.il>.
3195 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
3196 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
3198 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
3200 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3202 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
3203 directly if getdents returns with error set.
3205 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3207 * locale/langinfo.h (THOUSEP): Rename second occurence of
3208 THOUSANDS_SEP to THOUSEP.
3209 Reported by Roman Belenov <roman@nstl.nnov.ru>.
3211 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
3213 * hurd/STATUS: File removed. Moved items that are still relevant into
3214 TODO list in hurd source.
3216 1999-03-26 Mark Kettenis <kettenis@gnu.org>
3218 * sysdeps/mach/hurd/bits/time.h: New file.
3219 * sysdeps/mach/hurd/getrusage.c: New file.
3220 * sysdeps/mach/hurd/clk_tck.c: New file.
3221 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
3222 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
3223 (sysdep_routines): Add clk_tck.
3224 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
3227 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
3229 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
3230 (closelog): But instead here.
3231 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
3233 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3235 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
3236 the source directory. Fixes PR libc/1059.
3238 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3240 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
3241 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3243 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
3245 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
3246 * iconvdata/testdata/ISO-8859-14: New file.
3247 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
3248 * iconvdata/testdata/ISO-8859-15: New file.
3249 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
3251 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
3253 * iconvdata/testdata/CP1258: New file.
3254 * iconvdata/testdata/CP1258..UTF8: New file.
3255 * iconvdata/TESTS: Add CP1258 entry.
3257 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
3259 * timezone/africa: Update from tzdata1999d.
3260 * timezone/europe: Likewise.
3261 * timezone/northamerica: Likewise.
3263 1999-03-31 Mark Kettenis <kettenis@gnu.org>
3265 * login/programs/pt_chown.c (main): Save effective user ID before
3266 dropping priviliges and use this to check if the program is
3269 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
3271 * iconvdata/testdata/CP1254: Update for charmap changes.
3272 * iconvdata/testdata/CP1254..UTF8: Likewise.
3273 * iconvdata/testdata/CP1255: Likewise.
3274 * iconvdata/testdata/CP1255..UTF8: Likewise.
3275 * iconvdata/testdata/CP1256: Likewise.
3276 * iconvdata/testdata/CP1256..UTF8: Likewise.
3277 * iconvdata/testdata/CP1257: Likewise.
3278 * iconvdata/testdata/CP1257..UTF8: Likewise.
3280 * iconvdata/Makefile (distribute): Remove cp1258.h.
3281 (gen-8bit-gap-modules): Add cp1258.
3282 * iconvdata/cp1258.h: Removed.
3284 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
3286 * timezone/tst-timezone.c (tests): Add more cases.
3287 (check_tzvars): Mark errors clearer.
3290 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
3292 * login/programs/pt_chown.c: Drop privileges if invoked with
3293 arguments. Don't close the master pty.
3295 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
3297 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
3300 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
3302 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
3303 relocation for SUID binaries.
3305 1999-03-29 Paul Eggert <eggert@twinsun.com>
3307 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
3308 while in child process.
3310 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
3312 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
3313 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
3314 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
3315 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
3316 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
3318 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
3319 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
3320 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
3321 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
3322 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
3323 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
3324 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
3325 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
3326 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
3327 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
3328 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
3329 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
3330 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
3331 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
3332 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
3333 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
3334 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
3335 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
3336 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
3337 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
3338 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
3339 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
3340 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
3341 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
3342 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
3343 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
3345 * sysdeps/sparc/sparc32/bcopy.c: New file.
3346 * sysdeps/sparc/sparc32/bzero.c: New file.
3347 * sysdeps/sparc/sparc32/memchr.S: New file.
3348 * sysdeps/sparc/sparc32/memcpy.S: New file.
3349 * sysdeps/sparc/sparc32/memmove.c: New file.
3350 * sysdeps/sparc/sparc32/memset.S: New file.
3351 * sysdeps/sparc/sparc32/stpcpy.S: New file.
3352 * sysdeps/sparc/sparc32/strchr.S: New file.
3353 * sysdeps/sparc/sparc32/strrchr.c: New file.
3354 * sysdeps/sparc/sparc32/strcpy.S: New file.
3355 * sysdeps/sparc/sparc32/strlen.S: New file.
3356 * sysdeps/sparc/sparc32/strcat.S: New file.
3357 * sysdeps/sparc/sparc32/strcmp.S: New file.
3359 * sysdeps/sparc/sparc64/bcopy.c: New file.
3360 * sysdeps/sparc/sparc64/bzero.c: New file.
3361 * sysdeps/sparc/sparc64/memchr.S: New file.
3362 * sysdeps/sparc/sparc64/memcmp.S: New file.
3363 * sysdeps/sparc/sparc64/memcpy.S: New file.
3364 * sysdeps/sparc/sparc64/memset.S: New file.
3365 * sysdeps/sparc/sparc64/stpcpy.S: New file.
3366 * sysdeps/sparc/sparc64/strcat.S: New file.
3367 * sysdeps/sparc/sparc64/strchr.S: New file.
3368 * sysdeps/sparc/sparc64/strcmp.S: New file.
3369 * sysdeps/sparc/sparc64/strcpy.S: New file.
3370 * sysdeps/sparc/sparc64/strcspn.S: New file.
3371 * sysdeps/sparc/sparc64/strlen.S: New file.
3372 * sysdeps/sparc/sparc64/strncpy.S: New file.
3373 * sysdeps/sparc/sparc64/strpbrk.S: New file.
3374 * sysdeps/sparc/sparc64/strrchr.c: New file.
3375 * sysdeps/sparc/sparc64/strspn.S: New file.
3376 * sysdeps/sparc/sparc64/stpncpy.S: New file.
3377 * sysdeps/sparc/sparc64/strncmp.S: New file.
3379 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
3380 Append -fPIC, don't replace.
3382 * configure.in: Recognize sparcv8plus / sparcv9.
3384 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3386 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
3387 char * to avoid C++ warning.
3388 Patch by yasushi@cs.washington.edu [PR libc/1035].
3390 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3392 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
3393 declared in stdlib.h, correct return value of mkstemp.
3394 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
3396 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
3399 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3401 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
3404 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
3405 inline functions. Closes PR libc/1049.
3407 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3409 * timezone/README: Update from tzdata1999c and tzcode1999c.
3411 * timezone/africa: Update from tzdata1999c.
3412 * timezone/antarctica: Likewise.
3413 * timezone/asia: Likewise.
3414 * timezone/australasia: Likewise.
3415 * timezone/europe: Likewise.
3416 * timezone/northamerica: Likewise.
3417 * timezone/southamerica: Likewise.
3418 * timezone/zone.tab: Likewise.
3420 * timezone/zic.c: Update from tzcode1999c.
3422 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3424 * Makerules: Add $(common-objpfx)Versions.all to common-generated
3425 outside of ifndef avoid-generated.
3427 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
3429 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
3431 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
3433 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
3434 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
3436 1999-03-26 Mark Kettenis <kettenis@gnu.org>
3438 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
3439 if we build the profiled library.
3441 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3443 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
3444 Jaeger <aj@arthur.rhein-neckar.de>
3446 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
3448 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
3449 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
3450 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
3452 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
3454 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
3455 works properly in subdirs.
3457 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
3459 * sysdeps/mach/hurd/Makefile: Undo last change.
3460 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
3461 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
3463 * mach/Machrules (+preinit, +postinit, +interp,
3464 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
3465 linked just like other shared libraries.
3466 (interface.so): Fix typo in defn, so it works.
3467 ($(objpfx)$(interface.so)): Make it depend on libc.so.
3469 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
3471 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
3472 $(link-rpcuserlibs).
3474 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3476 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
3477 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
3478 targets if not building shared libraries.
3480 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3482 * configure.in: Also look in $PATH when searching for
3483 install-info. Remove autoconf bug workaround and require autoconf
3486 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3488 * db/Makefile: Don't try to install shared library link if not
3489 building with shared libs.
3491 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3493 * rt/Makefile: Link against static library if no shared lib is
3496 * localedata/Makefile: The shells scripts implementing the test
3497 require the dynamic linker which is not available with
3498 --disable-shared. Skip the test if --disable-shared is given.
3500 * linuxthreads/Makefile: Link test against static libpthread if no
3501 shared lib is available.
3503 * iconvdata/Makefile (tests): Run iconv-test only if we're
3504 building shared libraries.
3505 * elf/Makefile (tests): Likewise for elf tests.
3507 * posix/Makefile: The test frameworks globtest and wordexp-test
3508 require the dynamic linker which is not available with
3509 --disable-shared. Skip the test if --disable-shared is given.
3511 * grp/Makefile (otherlibs): For static nss build link against
3514 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3516 * debug/Makefile (install-bin): Install and build catchsegv only
3517 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
3520 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3522 * time/tzfile.c (__tzfile_read): Handle the case where there are
3523 transitions but no DST.
3525 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
3527 * mach/Machrules (extra-libs-others): Add $(interface-library) here
3528 too, so it gets built in the others pass rather than the lib pass.
3529 This is necessary since the RPC libraries need to be linked against
3532 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
3534 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
3537 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
3538 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
3539 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
3540 versions of lib{mach,hurd}user.so without reference to libc.so,
3541 then link libc.so against that to get deps and symbol versions, then
3542 finally link real lib*user.so against libc.so.
3544 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
3545 Support whole-file locking (only) by using the file_lock RPC. This
3546 has very wrong semantics, but is better than nothing for the time
3547 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
3548 protocols that will be somewhat hairy to specify.)
3550 1999-03-17 Mark Kettenis <kettenis@gnu.org>
3552 * sysdeps/mach/hurd/ptsname.c: New file.
3554 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3556 * timezone/asia: Fix rule in Asia/Nicosia entry.
3558 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3560 * manual/getopt.texi (Using Getopt): Explain "::" in option
3561 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
3563 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
3565 * sunrpc/clnt_unix.c: Fix creation of parameters for
3566 sendmsg/recvmsg on non intel platforms.
3567 * sunrpc/svc_unix.c: Likewise.
3569 1999-03-18 Philip Blundell <philb@gnu.org>
3571 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
3574 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3576 * timezone/africa: Update from tzdata1999b.
3577 * timezone/asia: Likewise.
3578 * timezone/australasia: Likewise.
3579 * timezone/europe: Likewise.
3580 * timezone/northamerica: Likewise.
3581 * timezone/southamerica: Likewise.
3582 * timezone/zone.tab: Likewise.
3584 * timezone/README: Mention tzdata1999b.
3586 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
3588 * sysdeps/generic/segfault.c (write_strsignal): New function.
3589 (catch_segfault): Use it instead of calling strsignal.
3591 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3593 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
3594 char to avoid warning.
3596 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
3598 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
3600 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
3601 outbuf to unsigned char to avoid warning.
3603 1999-03-11 David S. Miller <davem@redhat.com>
3605 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
3607 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
3609 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
3611 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
3613 (gconv_step_data): Likewise.
3614 * iconv/gconv_int.h (__gconv): Likewise.
3615 (__BUILINT_TRANS): Likewise.
3616 * iconv/gconv.c (__gconv): Likewise.
3617 * iconv/iconv.c (iconv): Add casts for call of __gconv.
3618 * iconv/skeleton.c: Change local parameters and variable from `char' to
3619 `unsigned char'. Remove casts from calls into modules.
3620 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
3621 `char' to `unsigned char'.
3622 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
3623 * wcsmbs/mbrtowc.c: Likewise.
3624 * wcsmbs/mbsnrtowcs.c: Likewise.
3625 * wcsmbs/mbsrtowcs.c: Likewise.
3626 * wcsmbs/wcrtomb.c: Likewise.
3627 * wcsmbs/wcsnrtombs.c: Likewise.
3628 * wcsmbs/wcsrtombs.c: Likewise.
3629 * wcsmbs/wctob.c: Likewise.
3631 1999-03-15 Mark Kettenis <kettenis@gnu.org>
3633 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
3634 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
3635 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
3636 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
3637 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
3638 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
3640 1999-03-15 Mark Kettenis <kettenis@gnu.org>
3642 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
3643 _hurd_select if TIMEMOUT is -1.
3645 1999-03-15 Mark Kettenis <kettenis@gnu.org>
3647 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
3649 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
3651 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
3652 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
3654 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3656 * manual/libc.texinfo: Undo last change for now.
3658 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
3660 * intl/locale.alias: Add entries for Croatian.
3661 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
3663 1999-03-13 Mark Kettenis <kettenis@gnu.org>
3665 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
3666 if the opened master pty really is a pty. `isatty' checks for
3667 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
3668 if we are out of pty's.
3670 1999-03-13 Mark Kettenis <kettenis@gnu.org>
3672 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
3673 opened file is closed on exec.
3674 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
3677 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3679 * manual/llio.texi (File Position Primitive): Reformat @end
3680 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
3682 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
3684 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
3686 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3687 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
3689 * locale/programs/localedef.c (main): Initialize `cat' to please
3692 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
3694 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
3695 check for root-owned symlinks and reject them too.
3697 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3699 * stdio-common/printf_fphex.c: Move to ...
3700 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
3701 extended precision number.
3702 * sysdeps/m68k/printf_fphex.c: New file.
3704 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3706 * manual/stdio.texi: Fix typos.
3708 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
3710 * version.h (VERSION): Bump to 2.1.1.
3712 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
3714 * nis/ypclnt.c: Try only twice to connect to NIS server.
3716 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
3718 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
3720 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3722 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
3723 (DENORM_EXP): New define. Use it as the exponent for a denormal.
3724 * stdlib/strtold.c: Moved to ...
3725 * sysdeps/generic/strtold.c: ... here.
3726 * sysdeps/m68k/strtold.c: New file.
3728 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3730 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
3731 point if the precision is zero, even if the mantissa is non-zero.
3733 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
3735 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
3736 arguments into the request message buffer inside `send_rpc'
3737 subfunction. We must repeat the marshalling when retrying the RPC
3738 after a SIGTTOU delivery.
3740 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
3741 path when there is no ctty port.
3742 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
3743 Move sigstate check inside loop so we recheck after handling a signal.
3745 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3747 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
3748 O_EXLOCK are BSD extensions.
3749 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
3751 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
3753 * manual/signal.texi (Termination in Handler): Correct example.
3754 Install default handler before reraising the signal.
3755 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
3757 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
3759 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
3760 null, in which case send an empty string.
3762 1999-03-02 Mark Kettenis <kettenis@gnu.org>
3764 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
3765 backward compatibility EH functions to be linked when using
3766 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
3768 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3770 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
3771 /dev/pts status may change during runtime.
3773 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3775 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
3776 change. /dev/pts status can change during runtime.
3778 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
3780 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
3782 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
3783 add some more sanity checks.
3784 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
3787 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
3789 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
3790 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
3791 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
3792 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
3793 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
3795 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
3796 * nis/nis_print.c: Fix ctime argument for platforms where
3797 sizeof (time_t) != sizeof (int).
3799 1999-03-07 Mark Kettenis <kettenis@gnu.org>
3801 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
3802 CLOCKS_PER_SEC instead of CLK_TCK.
3804 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
3806 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
3807 whether /dev/pts is available.
3808 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
3811 * posix/globtest.sh: Make common_objpfx path absolute and and db2
3812 and hesiod directory to library path [PR libc/1007].
3814 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3816 * resolv/inet_addr.c (inet_aton): Don't allow componets >
3817 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
3819 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
3821 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
3822 DT_PLTGOT has already been relocated.
3823 (__elf_machine_fixup_plt): Likewise.
3826 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
3828 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
3830 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
3832 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
3833 and fold string to uppercase [PR libc/1005].
3835 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3837 * elf/dl-load.c (lose): Fix return type.
3839 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
3841 * sysdeps/mach/hurd/bits/fcntl.h
3842 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
3843 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
3844 set O_NOTRANS as well.
3845 (__hurd_file_name_lookup_retry): At successful end of lookup,
3846 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
3847 it is a translated node not owned by root.
3848 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
3849 on the file name passed to LOOKUP.
3851 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
3853 * manual/time.texi (High Resolution Timer): Correct computation in
3854 example. Reported by jjf@devel.cemsys.com.
3856 1999-03-02 Philip Blundell <pb@nexus.co.uk>
3858 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
3859 entry is already relocated.
3861 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3863 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
3864 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
3866 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3868 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
3869 uc_link which is the right name according to Unix98.
3870 Reported by Craig Metz [PR libc/1001].
3871 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
3872 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
3873 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
3874 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
3875 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
3876 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
3878 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3880 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
3883 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3885 * iconvdata/Makefile: Always include iconv-rules, but disable rule
3886 to regenerate it if avoid-generated.
3888 * Makeconfig: Always include sys-dirs, but disable rule to
3889 regenerate it when avoid-generated.
3891 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
3892 rule to generate sysd-syscalls.
3894 * elf/Makefile (generated): Remove $(objpfx) from names.
3896 1999-02-28 Mark Kettenis <kettenis@gnu.org>
3898 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
3899 actual length if the adress length is smaller than the input
3900 value. Change type of *LEN paramater to socklen_t.
3901 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
3902 * sysdeps/mach/hurd/accept.c (accept): Likewise.
3903 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
3904 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
3905 paramater to socklen_t.
3907 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
3909 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
3910 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
3913 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
3915 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
3916 __get_phys_pages): Cast &HBI to silence warning.
3918 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
3919 * hurd/hurdchdir.c: New file.
3920 * hurd/hurdfchdir.c: New file.
3921 * sysdeps/mach/hurd/chroot.c: Call
3922 _hurd_change_directory_port_from_name to do the work.
3923 * sysdeps/mach/hurd/chdir.c: Likewise.
3924 * sysdeps/mach/hurd/fchdir.c: Call
3925 _hurd_change_directory_port_from_fd to do the work.
3926 * hurd/fchroot.c: Likewise.
3927 * hurd/hurd.h: Declare them.
3929 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
3931 * elf/dl-load.c (lose): Add more comments to explain the `why'.
3932 (_dl_map_object): Remove redundant test.
3934 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
3936 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
3937 try to _hurd_port_free a lower-numbered descriptor that was not in any
3940 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3942 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
3943 declaration for ____wcstod_l_internal.
3945 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
3946 __strtod_internal prototype.
3947 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
3948 (____strtold_l_internal): Add prototype declaration.
3949 (__strtold_l): Call correct function.
3951 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
3953 * elf/elf.h: Add 32bit HPPA definitions.
3955 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3957 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
3958 non-checked heap is restored when malloc checking was requested by
3960 (struct malloc_state): Add using_malloc_checking.
3961 (MALLOC_STATE_VERSION): Increment minor.
3962 (using_malloc_checking, disallow_malloc_check): New variables.
3963 (__malloc_check_init): Use them.
3964 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
3965 that it can the chunk is properly instrumented when malloc
3966 checking is enabled. Set the new using_malloc_checking field.
3967 (malloc_hook_ini): Correct signature when _LIBC is not defined.
3969 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3971 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
3972 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
3975 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
3976 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
3977 if ld.so is the main program.
3979 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
3981 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
3982 large for work_buffer, allocate new buffer.
3983 (printf_unknown): Likewise. [PR libc/988]
3985 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
3987 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
3988 instead of stat and fstat.
3989 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3991 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3993 * elf/dl-error.c (_dl_signal_cerror): New function.
3994 (_dl_signal_error): Don't call receiver function.
3995 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
3996 instead of _dl_signal_error when reporting references to undefined
3997 symbols or versions.
3998 (_dl_lookup_versioned_symbol): Likewise.
3999 (_dl_lookup_versioned_symbol_skip): Likewise.
4000 * elf/dl-version.c (match_symbol): Likewise.
4002 * elf/ldsodefs.h: Declare _dl_signal_cerror.
4004 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
4006 * misc/getttyent.c (getttyent): Release lock on stream later to
4007 also protect global variable zapchar.
4009 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
4010 __times [PR libc/990].
4012 1999-02-21 David S. Miller <davem@redhat.com>
4014 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
4015 parentheses in Feb 2 changes.
4016 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
4018 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4020 * sysdeps/generic/glob.c (glob): Save previous errno.
4022 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
4024 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
4025 lookup functions if it is too small.
4027 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
4029 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
4030 for tracing to the scope lists.
4031 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
4032 DT_SYMTAB is always available according to ELF spec.
4034 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
4035 call test whether there is any scope left.
4036 (_dl_lookup_versioned_symbol_skip): Likewise.
4038 * elf/Makefile (distribute): Add do-lookup.h.
4039 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
4040 * elf/dl-lookup.c: Move do_lookup function in separate file and
4041 include the file twice, for handling versioning and without it.
4043 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
4044 entry is already relocated.
4045 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
4046 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
4047 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
4048 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
4050 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
4052 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
4055 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
4056 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
4057 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
4058 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
4059 rel and rela relocations can both happen and skip one test if this
4061 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
4063 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
4065 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
4067 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
4068 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
4069 (_dl_map_object): DT_STRTAB entry is already relocated.
4070 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
4072 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
4074 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
4075 DT_VERSYM entries are already relocated.
4076 (profile_fixup): Likewise.
4077 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
4079 (match_symbol): DT_STRTAB entry is already relocated.
4080 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
4081 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
4082 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
4083 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
4084 (find_needed): DT_STRTAB entry is already relocated.
4085 (dl_main): Pass extra argument to elf_get_dynamic_info.
4086 DT_STRTAB entry is already relocated.
4087 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
4088 DT_PLTGOT entries are already relocated.
4089 (elf_machine_rela): Likewise for DT_SYMTAB.
4090 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
4092 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4093 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
4094 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4095 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4096 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
4097 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
4098 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
4099 * sysdeps/mips/mips64/dl-machine.h: Likewise.
4101 * grp/initgroups.c (initgroups): If function in current module was
4102 successful don't stop but continue to process to get all the groups.
4104 * elf/dl-load.c (_dl_map_object_from_fd): Use global
4105 _dl_pf_to_proot array to convert p_flags value.
4106 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4108 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
4109 loop to clear `info'.
4111 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
4112 do the work and don't use inline assembler.
4114 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
4116 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
4117 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
4118 noreturn, and prevent it from being inlined.
4119 Define LOSE appropriately.
4120 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
4121 Optimize decoding of p_flags for certain platforms.
4123 1999-02-19 Philip Blundell <pb@nexus.co.uk>
4125 * Makeconfig (link-libc): When doing a static link, make sure that
4126 libgcc.a is included both before and after libc.a.
4128 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
4130 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
4131 sp_warn, sp_inact, sp_expire and sp_flag.
4133 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
4135 * elf/link.h (link_map): Add l_dev and l_ino.
4136 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
4137 loaded shared object with all loaded objects. Initialize l_ino
4138 and l_dev in case it's new.
4139 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
4141 * elf/Makefile: Compile and run new test.
4142 * elf/multiload.c: New file.
4144 * nss/nsswitch.h (service_user): Change name field from const char *
4146 (name_database_entry): Likewise.
4147 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
4148 for change of `service_user'.
4149 (nss_getline): Adjust memory allocation for change of
4150 `name_database_entry'.
4152 * catgets/catgets.c: Correctly handle NLSPATH from environment
4155 * io/Makefile (routines): Add lock64.
4156 * io/Versions: Add lockf64 for GLIBC_2.1.1.
4157 * sysdeps/generic/lockf64.c: New file.
4159 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
4161 * string/bits/string2.h: Only use strncmp optimization if count
4162 argument is constant.
4164 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
4166 * sysdeps/mach/hurd/revoke.c: New file.
4168 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
4170 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
4171 int to avoid warning about `ISO C restricts enumerator values to
4174 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4176 * elf/dlfcn.h: Fix typo.
4177 * sysdeps/generic/bits/dlfcn.h: Likewise.
4178 * sysdeps/mips/bits/dlfcn.h: Likewise.
4180 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
4182 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
4183 for the case N == 0.
4185 * db2/Makefile (distribute): Add LICENSE.
4187 1999-02-03 Jeff Bailey <jbailey@nisa.net>
4189 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
4192 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
4194 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
4196 * time/mktime.c: Use ISO C form for function definitions and
4197 remove unnecessary prototypes.
4199 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
4201 * time/time.h: Avoid unneccesary #ifdef.
4203 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
4205 * stdio-common/_itoa.c (_itoa): Correct parameters to
4208 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4210 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
4211 before (e.g. in glob.h).
4214 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4216 * sysdeps/mips/fpu_control.h: Fix typo.
4217 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
4220 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
4222 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
4223 the "unused" ends of the sockets. Let pipes be bidirectional.
4225 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
4227 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
4230 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4232 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
4233 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
4235 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
4236 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
4238 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
4240 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
4242 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4244 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
4245 check for priority mask.
4247 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
4249 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
4250 Reported by Craig Metz <cmetz@inner.net> .
4252 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4254 * stdio-common/Makefile (tests): tllformat added.
4256 * stdio-common/tllformat.c: New program, based on tiformat.c with
4257 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4259 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4261 * posix/test-vfork.c: Fix exit status test.
4263 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4265 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
4266 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
4268 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4270 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
4271 of separare explicit comparisons.
4273 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4275 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
4278 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
4281 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
4283 * po/el.po: Update from translation team.
4285 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4287 * intl/locale.alias: Fix slovenian entry [PR libc/948].
4289 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4291 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
4292 * inet/ruserpass.c: Likewise.
4293 * locale/programs/stringtrans.c: Likewise.
4294 * locale/programs/localedef.c: Likewise.
4295 * nscd/grpcache.c: Likewise.
4296 * nss/nss_files/files-XXX.c: Likewise.
4297 * stdlib/canonicalize.c: Likewise.
4298 * sysdeps/posix/sigwait.c: Likewise.
4300 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4302 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
4303 even on 64 bit platforms.
4305 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4306 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
4308 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
4310 * intl/dcgettext.c: Include locale.h is available.
4312 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
4314 * po/nl.po: Update from translation team.
4316 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
4318 * Makefile: Allow calling goals for po subdir.
4320 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
4323 * po/el.po: New file.
4325 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4327 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
4328 when processing DT_SYMBOLIC objects.
4330 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4332 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
4333 program headers without PT_PHDR only require that they are
4334 contained within one of the loaded segments. Don't use assert,
4335 since that would be a bug in the object, not the dynamic linker.
4337 1999-02-08 Richard Henderson <rth@cygnus.com>
4339 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
4340 restore all call-clobbered fp regs.
4342 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
4344 * po/cs.po: New file.
4346 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
4349 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
4351 * signal/signal.h: Don't declare __libc_allocate_rtsig.
4352 * include/signal.h: Declare __libc_allocate_rtsig here.
4354 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
4355 point functions, not do_lookup since the later can be called more
4358 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
4360 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
4361 macro, so that architectures which need to add some special
4362 offset to stack pointer can share this file.
4364 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
4365 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
4366 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
4367 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
4369 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
4370 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
4371 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
4372 between sparc32 and sparc64.
4374 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
4375 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
4376 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
4377 between sparc32 and sparc64.
4379 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
4380 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
4381 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
4382 between sparc32 and sparc64.
4384 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
4385 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
4386 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
4387 between sparc32 and sparc64.
4389 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
4391 * Versions.def: New version GLIBC_2.1.1 for libc.
4392 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
4393 * stdlib/labs.c: Moved to...
4394 * sysdeps/generic/labs.c: ...here.
4395 * stdlib/llabs.c: Moved to...
4396 * sysdeps/generic/llabs.c: ...here.
4397 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
4398 header. Declare _Exit.
4399 * sysdeps/generic/_exit.c: Add alias _Exit.
4400 * sysdeps/mach/hurd/_exit.c: Likewise.
4401 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
4402 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
4403 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
4404 * sysdeps/unix/_exit.c: Likewise.
4405 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
4406 imaxdiv and imaxabs. Declare lldiv_t if necessary.
4407 * sysdeps/wordsize-64/inttypes.h: Likewise.
4408 * sysdeps/wordsize-32/llabs.c: New file.
4409 * sysdeps/wordsize-32/lldiv.c: New file.
4410 * sysdeps/wordsize-64/labs.c: New file.
4411 * sysdeps/wordsize-64/ldiv.c: New file.
4412 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
4413 * manual/startup.texi: Document _Exit.
4415 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4417 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
4419 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
4421 * Versions.def: Add versions for ld.so.
4422 * csu/Versions: Remove __libc_stack_end here.
4423 * elf/Versions: Split libc definitions in libc and ld.so definitions.
4424 * elf/Makefile (ld-map): Change to ld.so.map.
4425 * scripts/versions.awk: Recognize dot in library names.
4427 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
4428 Don't use __tolower and __toupper in inline functions.
4429 Add optimizing macros for tolower and toupper.
4430 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
4431 (_toupper): Don't use __toupper.
4432 * ctype/ctype.c (tolower): Don't use __tolower.
4433 (toupper): Don't use toupper.
4435 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
4437 * resolv/Versions (libresolv): Export __ns_name_unpack and
4439 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
4440 make it global. Change all users. Similar for ns_name_ntop.
4441 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
4442 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
4443 directly to detect too small buffer.
4444 * resolv/nss_dns/dns-network.c: Likewise.
4446 * stdio-common/Makefile (tests): Add scanf12.
4447 * stdio-common/scanf12.c: New file.
4448 * stdio-common/scanf12.input: New file.
4449 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
4450 floating-point correctly if the number is invalid.
4452 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
4454 * stdio-common/printf_fp.c: Likewise.
4455 * stdio-common/printf_fphex.c: Likewise.
4456 * stdio-common/vfprintf.c: Likewise.
4459 See ChangeLog.9 for earlier changes.