1 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
3 * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
4 before the relocation happened.
5 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
7 * Versions.def (libnsl): Add GLIBC_2.2.
8 * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
10 1999-07-08 Cristian Gafton <gafton@redhat.com>
12 * nis/yp_xdr.c (xdr_ypall): New function.
14 1999-07-09 Andreas Schwab <schwab@suse.de>
16 * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
18 * dlfcn/Makefile (headers): Add bits/dlfcn.h.
20 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
22 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
23 * hesiod/hesiod-grp.c: Add initgroups support.
24 Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
26 1999-07-08 Andreas Schwab <schwab@suse.de>
28 * libio/iofopncook.c (fopencookie): Set _fileno to -2.
30 * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
33 * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
35 * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
37 1999-07-08 Andreas Schwab <schwab@suse.de>
39 * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
41 1999-07-08 Andreas Schwab <schwab@suse.de>
43 * libio/fileno.c: Return -1 instead of EOF and set errno if the
44 stream is not a real file stream.
46 1999-07-08 Andreas Schwab <schwab@suse.de>
48 * manual/charset.texi: Fix typos.
50 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
52 * sysdeps/gnu/Makefile (libdl-routines): Add eval.
54 1999-07-06 Zack Weinberg <zack@rabi.columbia.edu>
56 * dlfcn: New directory. Move the following files from elf:
57 dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
58 dlopenold.c, dlsym.c, dlvsym.c.
59 * dlfcn/Makefile: New file.
60 * dlfcn/Versions: New file.
61 * dlfcn/dlsym.c: All ELF-specific code split out to new
63 * dlfcn/dlvsym.c: All ELF-specific code split out to new
65 * elf/dl-sym.c: New file. _dl_sym and _dl_vsym are
68 * dlfcn/dladdr.c: Remove all references to ELF data structures
70 * dlfcn/dlclose.c: Likewise.
71 * dlfcn/dlerror.c: Likewise.
72 * dlfcn/dlopen.c: Likewise.
73 * dlfcn/dlopenold.c: Likewise.
75 * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
77 (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
78 depending on build-shared.
79 (subdirs): Add $(dlfcn).
80 (rpath-dirs): Add dlfcn.
81 * elf/Makefile: Remove all references to libdl or its
82 components, except the ones relating to the test cases.
83 (routines): Add dl-sym.
84 * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
87 * elf/dl-close.c (_dl_close): Change argument to void *.
88 * elf/dl-open.c (_dl_open): Change return type to void *.
89 * elf/eval.c: Removed.
90 * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
91 _dlerror_run, _dl_open, _dl_close, _dl_addr, and
92 _dl_mcount_wrapper_check to include/dlfcn.h. Delete
94 * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
95 Include real header from dlfcn directory.
96 * include/ldsodefs.h: Removed.
98 * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
99 * nss/getXXbyYY_r.c: Likewise.
100 * nss/getXXent_r.c: Likewise.
101 * iconv/gconv.c: Likewise. Don't include ldsodefs.h.
102 * iconv/gconv_db.c: Likewise. Don't include ldsodefs.h.
103 * iconv/skeleton.c: Don't include ldsodefs.h.
104 * nss/nsswitch.h: Don't include ldsodefs.h. Include dlfcn.h.
106 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
108 * sysdeps/generic/setenv.c: Describe problem.
110 * malloc/malloc.c (request2size): Also set errno if failing.
112 * malloc/malloc.c (request2size): Take care of overflow in
115 * sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd
116 (NULL, != 0) correctly.
118 * elf/dl-load.c: Use a few more __builtin_expect.
120 * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
123 1999-07-07 Andreas Schwab <schwab@suse.de>
125 * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
126 (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
127 (_PATH_DEVPTMX): Use _PATH_DEV.
129 1999-07-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
131 * malloc/tst-malloc.c: New file. Tests some basic functionality.
132 * malloc/Makefile (tests): Add tst-malloc.
134 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
136 * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
139 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
141 Patch by Jay Estabrook.
143 * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
145 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
146 Patch by Cristian Gafton.
148 1999-07-02 Cristian Gafton <gafton@redhat.com>
150 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
151 instead of "return NULL" to make C++ happy.
153 1999-07-04 Mark Kettenis <kettenis@gnu.org>
155 * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
156 allowed by the file access mode of the open file.
158 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
160 * sysdeps/generic/setfpucw.c: Include math.h to get all needed
163 1999-07-03 Jakub Jelinek <jj@ultra.linux.cz>
165 * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
166 * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
167 * sysdeps/sparc/sparc64/rshift.S: Likewise.
168 * sysdeps/sparc/sparc64/mul_1.S: Optimize.
170 1999-07-04 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
172 * malloc/malloc.c (request2size): Check for overflow and return
173 NULL whenever it is encountered.
175 1999-07-04 Zack Weinberg <zack@rabi.columbia.edu>
177 * sysdeps/posix/tempname.c (__gen_tempname): Add
178 ability to create directories. Replace OPENIT and LARGEFILE
179 args with a single flags parameter.
180 * sysdeps/generic/tempname.c: Likewise.
181 * include/stdio.h: Adjust prototype of __gen_tempname to
182 match. Define symbolic constants for second argument.
184 * misc/mkdtemp.c: New file, provides new function mkdtemp().
185 * stdlib/stdlib.h: Prototype it.
186 * misc/Versions: Export it.
187 * misc/Makefile (routines): Add mktemp.
188 * manual/filesys.texi: Document it.
190 * misc/mktemp.c: Adjust call of __gen_tempname to match new
192 * misc/mkstemp.c: Likewise.
193 * stdio-common/tempnam.c: Likewise.
194 * stdio-common/tmpfile.c: Likewise.
195 * stdio-common/tmpfile64.c: Likewise.
196 * stdio-common/tmpnam.c: Likewise.
197 * stdio-common/tmpnam_r.c: Likewise.
199 1999-07-05 Jakub Jelinek <jj@ultra.linux.cz>
201 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
202 R_SPARC_OLO10 relocations.
203 * elf/elf.h (R_SPARC_OLO10): Fix comment.
205 1999-07-02 Tim Waugh <tim@cyberelk.demon.co.uk>
207 * posix/wordexp-test.c: Revert bogus 'unset IFS' change. It
208 doesn't belong in the tests, but in the wordexp implementation.
210 * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
213 1999-07-01 Cristian Gafton <gafton@redhat.com>
215 * time/strptime.c (strptime): Initialize the tm struct first to avoid
216 returning bogus results on incomplete data.
217 (strptime_internal): day_of_the_week() requres bith tm_mon and
218 tm_mday to be initializaed.
219 Computer them first if they are not given.
220 (strptime_internal): (have_mon, have_mday): New variables.
222 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
224 * inet/rcmd.c (__icheckhost): Fix typo in last patch.
226 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
228 * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
229 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
231 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
233 * posix/wordexp.c (parse_tilde): Handle failing call to
234 get.*_r functions correctly for non-existing entry.
235 * sysdeps/posix/cuserid.c (cuserid): Likewise.
236 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
238 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
240 * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
241 getxxbyYY_r functions correctly for non-existing entry.
242 * sunrpc/getrpcport.c: Likewise.
243 * sunrpc/clnt_simp.c: Likewise.
244 * inet/rexec.c: Likewise.
245 * sunrpc/clnt_gen.c: Likewise.
246 * inet/rcmd.c: Likewise.
247 * sysdeps/generic/glob.c: Likewise.
249 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
251 * pwd/Makefile (tests): Add rules for tst-getpw.
253 * pwd/tst-getpw.c: New program to test getpw.
255 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
257 * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
260 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
262 * manual/arith.texi (System V Number Conversion): Fix the
263 description which confused pointer and value to pointer.
264 Reported by Andries.Brouwer@cwi.nl.
266 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
268 * pwd/getpw.c (__getpw): Check for NULL result pointer.
270 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
272 * manual/users.texi (Lookup User): Document POSIX return
273 semantics for getpwuid_r and getgrgid_r.
275 * manual/socket.texi (Host Names): Document that the result
276 pointer is null in case of error or host not found and fix a
277 typo. Give a small example.
279 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
281 * pwd/getpw.c: Add warning since no buffer size is given and
282 therefore no overrun tests are possible.
284 1999-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
286 * pwd/pwd.h: Add getpw prototype declaration.
288 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
290 * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
291 * wcsmbs/wcschr.c: Likewise.
293 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
295 * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
297 * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
298 * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
299 Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
301 * elf/dl-dst.h: Fix typo.
302 * elf/dl-open.c: Likewise.
304 1999-06-26 Zack Weinberg <zack@rabi.columbia.edu>
306 * elf/dl-libc.c: New file, provides three functions:
307 __libc_dlopen, __libc_dlclose, __libc_dlsym.
308 * include/dlfcn.h: Prototype them. Prototype _dl_addr.
309 * elf/Makefile (routines): Add dl-libc.c.
310 * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
312 * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
314 * iconv/gconv.c: Include dlfcn.h.
315 * iconv/gconv_db.c: Likewise.
316 * malloc/mtrace.c: Likewise. Don't include ldsodefs.h.
318 * iconv/gconv_int.h (struct __gconv_loaded_object): Change
319 `handle' to a void *.
320 (__gconv_find_func): Delete prototype.
322 * iconv/gconv_dl.c: Don't include ldsodefs.h. Remove
323 dlerror_run and related functions and structs. Use
324 __libc_dlopen, __libc_dlsym, __libc_dlclose.
325 * nss/nsswitch.c: Likewise.
327 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
329 * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
332 * sunrpc/getrpcport.c: Test for gethostbyname_r function
335 * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
337 * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
340 * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
342 * inet/rcmd.c: Test for gethostbyname_r result correctly. Optimize
345 * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
347 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
349 * manual/string.texi (Copying and Concatenation): Mention that
350 strndup is a GNU extension.
352 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
354 * pwd/getpw.c (__getpw): Fix check for error return.
356 1999-06-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
358 * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
359 occurence of the aux object start with the current list entry, not
360 the new one. Adjust tail pointer in the unique list. Explain how
361 the meaning of the variables changes [PR libc/1168].
363 1999-06-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
365 * sysdeps/m68k/fpu/Dist: New file.
367 1999-06-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
369 * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
371 * sysdeps/m68k/fpu/mathimpl.h: ... here. New file.
372 * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
373 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
374 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
375 * sysdeps/m68k/fpu/e_pow.c: Likewise.
376 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
377 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
378 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
379 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
380 * sysdeps/m68k/fpu/s_csin.c: Likewise.
381 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
382 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
383 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
384 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
385 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
386 * sysdeps/m68k/fpu/s_modf.c: Likewise.
388 1999-06-25 Roland McGrath <roland@baalperazim.frob.com>
390 * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
391 hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
392 _EXTERN_INLINE, use a macro specific to each file,
393 _HURD_FD_H_EXTERN_INLINE and the like.
394 * hurd/Makefile (inline-headers): New variable.
395 (routines): Remove hurdinline. Add $(inlines).
396 (inlines): New variable.
397 ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
398 (generated): Append those here.
399 * hurd/hurdinline.c: File removed.
401 * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
403 * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
405 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
407 * nscd/connections.c (nscd_run): Use correct type for optlen variable.
409 1999-06-25 Ulrich Drepper <drepper@cygnus.com>
411 * string/bits/string2.h (strnlen): Remove extra prototype.
413 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
415 * manual/filesys.texi (Working on Directory Trees): Fix typos.
416 Reported by Andries.Brouwer@cwi.nl.
418 1999-06-24 Ulrich Drepper <drepper@cygnus.com>
420 * nscd/connections.c (handle_request): Use correct type for optlen
423 * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
424 * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
426 1999-06-24 Thorsten Kukuk <kukuk@suse.de>
428 * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
429 * nscd/pwdcache.c: Likewise.
430 * nscd/hstcache.c: Likewise.
432 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
434 * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
436 * posix/getopt.h: Include stdio.h.
438 * manual/arith.texi: Document restriction of ndigit parameter of
440 * misc/efgcvt.c: Define NDIGIT_MAX.
441 (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
442 Do not dynamically allocate the static buffers. They are small enough.
443 * misc/efgcvt_r.c: Define NDIGIT_MAX.
444 (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
445 * misc/qefgcvt.c: Define NDIGIT_MAX.
446 * misc/qefgcvt_r.c: Likewise.
447 * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
449 1999-06-23 Zack Weinberg <zack@rabi.columbia.edu>
451 * libio/stdio.h: Define stdin, stdout, stderr as macros.
452 * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
453 These are *pragmas* not macros.
454 * wcsmbs/wchar.h: Fix comment.
456 * grp/grp.h: Use __foo_t_defined convention to typedef things
458 * io/sys/stat.h: Likewise.
459 * libio/stdio.h: Likewise.
460 * posix/unistd.h: Likewise.
461 * posix/sys/types.h: Likewise.
462 * posix/sys/wait.h: Likewise.
463 * pwd/pwd.h: Likewise.
464 * signal/signal.h: Likewise.
465 * sysdeps/generic/stdint.h: Likewise.
466 * sysdeps/gnu/utmpx.h: Likewise.
467 * termios/termios.h: Likewise.
469 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
471 * stdio/fputc.c: Don't define alias if fputc is defined as a
473 * stdio/putc.c: Define weak alias here since it is not done
476 1999-06-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
478 * assert/assert.h: Don't produce `defined' as part of macro
481 1999-06-23 Roland McGrath <roland@baalperazim.frob.com>
483 * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
484 OFFSET argument of (off_t) -1.
485 * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
486 OFFSET argument of (off_t) -1.
488 * sysdeps/mach/hurd/pwrite.c: New file.
489 * sysdeps/mach/hurd/pread.c: New file.
491 * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
492 pass it in the RPC instead of always -1.
493 * hurd/fd-write.c (_hurd_fd_write): Likewise.
494 * hurd/hurd/fd.h: Update decls.
496 1999-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
498 * libio/wscanf.c: Include <wchar.h> for prototype.
500 1999-06-22 Ulrich Drepper <drepper@cygnus.com>
502 * manual/io.texi. Fix typos.
503 * manual/stdio.texi: Likewise.
504 Patches by Brian Youmans <3diff@gnu.org>.
506 1999-06-22 Geoff Keating <geoffk@ozemail.com.au>
508 * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
509 bits of two words differ.
511 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
513 * libio/Makefile (routines): Add putwchar and putwchar_u.
515 * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
516 * libio/putwchar_u.c: Likewise. Use _IO_stdout instead of
517 stdout. Fix parameter name.
519 * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
520 * libio/getchar_u.c: Likewise.
522 * libio/putchar_u.c: Use _IO_stdout instead of stdout.
524 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
526 * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
527 macro expansion---it's undefined. Properly parenthesize
528 substituted parameters.
529 (__GLIBC_PREREQ): Likewise.
531 1999-06-21 Ulrich Drepper <drepper@cygnus.com>
533 * Makeconfig (CPPFLAGS): Revert last change. It has too many
536 * stdlib/longlong.h: Provide __P definition if not already
539 * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
541 1999-06-18 Thorsten Kukuk <kukuk@suse.de>
543 * sysdeps/alpha/atomicity.h: Correct counting of subsections.
545 1999-06-17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
547 * stdlib/tst-strtoll.c: Avoid warning about huge constant.
549 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
551 * stdio-common/vfprintf.c (group_member): Make parameters and
552 return types pointers to CHAR_T instead of UCHAR_T.
553 (vfprintf): Change type of work_buffer, workend and string to
554 CHAR_T pointer/array.
555 (process_arg, process_string_arg): Adjust/remove casts. Add
556 missing use of L_ macro.
557 (printf_unknown): Add missing uses of L_ macro.
559 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
561 * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
564 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
566 * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF. Call
567 _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
568 (__wunderflow): Likewise.
569 (_IO_switch_to_wget_mode): Likewise.
570 (_IO_init_wmarker): Likewise.
572 * libio/wfileops.c (_IO_wfile_seekoff): Call
573 _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
574 (_IO_wfile_jumps): Fix pbackfail entry.
576 * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
577 function if the stream is currently unoriented.
579 1999-06-19 Zack Weinberg <zack@rabi.columbia.edu>
581 * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
582 Wrap all wide stream functions with #ifdef __USE_ISOC9X. Use
583 __gnuc_va_list in v*w(printf|scanf) prototypes.
585 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
587 * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
588 1999-03-29 to iopopen also here.
589 Reported by Richard Braakman <dark@xs4all.nl>.
591 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
593 * include/features.h: Use __GNUC_PREREQ.
594 * sysdeps/i386/fpu/bits/mathinline.h: Likewise
596 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
598 * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
599 Change EOF to WEOF and remove cast.
600 (UNGETC): Remove macro.
601 (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
602 * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
603 Change ISASCII to isascii and MBRLEN to mbrlen.
604 (parse_one_spec): Compare info.spec always against wchar_t
606 * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
607 (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
608 (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
610 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
612 * libio/Makefile (shared-only-routines): Add oldiofgetpos,
613 oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
614 (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
615 oldiofsetpos64 only if doing versioning.
617 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
619 * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
621 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
623 * libio/libio.h: Fix last patch.
625 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
627 * libio/libio.h (_IO_putwc): Correct type of first argument.
628 * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
629 putwc_unlocked, putwchar_unlocked): Likewise.
630 * libio/fputwc.c: Likewise.
631 * libio/fputwc_unlocked.c: Likewise.
632 * libio/putwc.c: Likewise.
633 * libio/putwc_unlocked.c: Likewise.
634 * libio/putwchar.c: Likewise.
635 * libio/putwchar_unlocked.c: Likewise.
637 1999-06-19 Roland McGrath <roland@baalperazim.frob.com>
639 * sysdeps/gnu/siglist.h: File moved to ...
640 * sysdeps/generic/siglist.h: ... here. This file should be usable for
641 any platform, since it just associates the SIG* macros with text names
642 and descriptions. For any signal macros do not exist on every
643 platform, we can use #ifdef tests here and still use this single
644 common file for all platforms.
645 * sysdeps/generic/siglist.c: Rewrite using <siglist.h>. This file
646 should be usable for all platforms after the binary compatibility
647 stuff in the current sysdeps/gnu version is no longer required.
648 * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
649 * sysdeps/generic/make_siglist.c: File removed.
650 * sysdeps/mach/hurd/siglist.h: Use #include_next.
651 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
653 1999-06-16 Roland McGrath <roland@baalperazim.frob.com>
655 * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
656 * sysdeps/gnu/siglist.c: ... here.
657 Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
658 Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
659 * sysdeps/gnu/siglist.h: New file, contents from linux version.
660 Add entry for SIGLOST protected by #ifdef.
661 * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
662 and define OLD_SIGLIST_SIZE_STR.
663 * sysdeps/mach/hurd/siglist.h: New file, likewise.
665 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
667 * include/features.h: Define new macros __GNUC_PREREQ and
668 __GLIBC_PREREQ which can be used to test the version of gcc
669 and glibc respectively.
671 * assert/assert.h: Use __GNUC_PREREQ.
672 * intl/libintl.h: Likewise.
673 * math/complex.h: Likewise.
674 * math/tgmath.h: Likewise.
675 * misc/sys/cdefs.h: Likewise.
676 * posix/sys/types.h: Likewise.
677 * socket/sys/socket.h: Likewise.
678 * string/bits/string2.h: Likewise.
679 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
680 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
682 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
684 * include/libintl.h: Declare _libc_intl_domainname here.
685 Define _ and N_ here.
686 * include/libc-symbols.h: Don't include <libintl.h>. Don't
687 define _ and N_. Don't declare _libc_intl_domainname.
688 * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
690 * db2/config.h: Don't include sys/stat.h or define
691 HAVE_ST_BLKSIZE here...
692 * db2/compat.h: ...do it here.
694 * linuxthreads/internals.h: Include bits/libc-tsd.h after all
696 * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
697 * iconv/iconv.c: Include stddef.h for NULL.
698 * malloc/malloc.h: Include features.h.
699 * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
701 * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
702 into the generated file.
703 * sysdeps/gnu/errlist.awk: Likewise.
704 * sysdeps/gnu/errlist.c: Rebuilt.
706 * assert/assert-perr.c: Include libintl.h.
707 * assert/assert.c: Likewise.
708 * elf/dl-open.c: Likewise.
709 * elf/dlsym.c: Likewise.
710 * elf/dlvsym.c: Likewise.
711 * iconv/iconv_prog.c: Likewise.
712 * inet/rcmd.c: Likewise.
713 * inet/ruserpass.c: Likewise.
714 * locale/programs/charset.c: Likewise.
715 * locale/programs/ld-collate.c: Likewise.
716 * locale/programs/ld-ctype.c: Likewise.
717 * locale/programs/ld-messages.c: Likewise.
718 * locale/programs/ld-monetary.c: Likewise.
719 * locale/programs/ld-numeric.c: Likewise.
720 * locale/programs/ld-time.c: Likewise.
721 * locale/programs/locfile.c: Likewise.
722 * locale/programs/repertoire.c: Likewise.
723 * login/programs/database.c: Likewise.
724 * login/programs/request.c: Likewise.
725 * malloc/mcheck.c: Likewise.
726 * misc/error.c: Likewise.
727 * nis/nis_call.c: Likewise.
728 * nis/nis_callback.c: Likewise.
729 * nis/nis_error.c: Likewise.
730 * nis/nis_local_names.c: Likewise.
731 * nis/nis_print.c: Likewise.
732 * nis/nis_print_group_entry.c: Likewise.
733 * nis/ypclnt.c: Likewise.
734 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
735 * nscd/cache.c: Likewise.
736 * nscd/connections.c: Likewise.
737 * nscd/grpcache.c: Likewise.
738 * nscd/hstcache.c: Likewise.
739 * nscd/nscd_conf.c: Likewise.
740 * nscd/nscd_stat.c: Likewise.
741 * nscd/pwdcache.c: Likewise.
742 * posix/id.c: Likewise.
743 * resolv/herror.c: Likewise.
744 * stdio-common/psignal.c: Likewise.
745 * string/strsignal.c: Likewise.
746 * sunrpc/auth_unix.c: Likewise.
747 * sunrpc/clnt_perr.c: Likewise.
748 * sunrpc/clnt_raw.c: Likewise.
749 * sunrpc/clnt_tcp.c: Likewise.
750 * sunrpc/clnt_udp.c: Likewise.
751 * sunrpc/clnt_unix.c: Likewise.
752 * sunrpc/get_myaddr.c: Likewise.
753 * sunrpc/pm_getmaps.c: Likewise.
754 * sunrpc/pmap_clnt.c: Likewise.
755 * sunrpc/pmap_rmt.c: Likewise.
756 * sunrpc/rpc_main.c: Likewise.
757 * sunrpc/rpc_scan.c: Likewise.
758 * sunrpc/svc_run.c: Likewise.
759 * sunrpc/svc_simple.c: Likewise.
760 * sunrpc/svc_tcp.c: Likewise.
761 * sunrpc/svc_udp.c: Likewise.
762 * sunrpc/svc_unix.c: Likewise.
763 * sunrpc/xdr_rec.c: Likewise.
764 * sunrpc/xdr_ref.c: Likewise.
765 * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
766 * sysdeps/posix/gai_strerror.c: Likewise.
767 * sysdeps/unix/siglist.c: Likewise.
768 * sysdeps/unix/sysv/linux/siglist.c: Likewise.
769 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
770 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
771 * timezone/zic.c: Likewise.
773 1999-06-18 H.J. Lu <hjl@gnu.org>
775 * localedata/Makefile (charmaps): Exclude SCCS.
777 (repertoiremaps): Likewise.
779 1999-06-18 Ulrich Drepper <drepper@cygnus.com>
781 * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
782 * sysdeps/generic/bsd-setjmp.c: Likewise.
784 * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
786 * iconv/gconv_open.c: Include string.h for memset prototype.
788 * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
791 * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
792 assignment to avoid warning on 64bit platforms.
794 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
796 * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
798 * nss/getXXbyYY_r.c: Return error code not -1.
799 * nss/getXXent_r.c: Likewise.
800 * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
802 * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
804 * nscd/nscd_gethst_r.c: Likewise.
805 * nscd/nscd_getpw_r.c: Likewise.
807 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
809 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
812 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
814 * nscd/nscd_nischeck.c: Fix typos.
816 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
818 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
819 always when oact is NULL.
820 Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
822 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
824 * math/libm-test.c (jn_test): Adjust delta.
826 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
828 * libio/vwprintf.c: Include <wchar.h> for prototypes.
829 * libio/wprintf.c: Likewise.
831 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
833 * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
834 to not write beyond allocated memory.
835 Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
837 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
839 * malloc/mtrace.c: Keep lock while printing output lines.
840 Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
842 1999-06-16 Ulrich Drepper <drepper@cygnus.com>
844 * configure.in: Add warnings about broken code.
846 * Versions.def: Add GLIBC_2.2 for libc.
848 * iconv/gconv.h: Make header suitable for inclusion in public header
849 by protecting all names with __.
850 * iconv/gconv.c: Adapt for symbol name changes.
851 * iconv/gconv.h: Likewise.
852 * iconv/gconv_builtin.c: Likewise.
853 * iconv/gconv_close.c: Likewise.
854 * iconv/gconv_db.c: Likewise.
855 * iconv/gconv_dl.c: Likewise.
856 * iconv/gconv_int.h: Likewise.
857 * iconv/gconv_open.c: Likewise.
858 * iconv/gconv_simple.c: Likewise.
859 * iconv/iconv.c: Likewise.
860 * iconv/iconv_close.c: Likewise.
861 * iconv/iconv_open.c: Likewise.
862 * iconv/loop.c: Likewise.
863 * iconv/skeleton.c: Likewise.
864 * iconvdata/8bit-gap.c: Likewise.
865 * iconvdata/8bit-generic.c: Likewise.
866 * iconvdata/ansi_x3.110.c: Likewise.
867 * iconvdata/big5.c: Likewise.
868 * iconvdata/cns11643.h: Likewise.
869 * iconvdata/cns11643l1.h: Likewise.
870 * iconvdata/euc-cn.c: Likewise.
871 * iconvdata/euc-jp.c: Likewise.
872 * iconvdata/euc-kr.c: Likewise.
873 * iconvdata/euc-tw.c: Likewise.
874 * iconvdata/gb2312.h: Likewise.
875 * iconvdata/iso-2022-jp.c: Likewise.
876 * iconvdata/iso-2022-kr.c: Likewise.
877 * iconvdata/iso646.c: Likewise.
878 * iconvdata/iso8859-1.c: Likewise.
879 * iconvdata/iso_6937-2.c: Likewise.
880 * iconvdata/iso_6937.c: Likewise.
881 * iconvdata/jis0201.h: Likewise.
882 * iconvdata/jis0208.h: Likewise.
883 * iconvdata/jis0212.h: Likewise.
884 * iconvdata/johab.c: Likewise.
885 * iconvdata/ksc5601.h: Likewise.
886 * iconvdata/sjis.c: Likewise.
887 * iconvdata/t.61.c: Likewise.
888 * iconvdata/uhc.c: Likewise.
889 * stdlib/mblen.c: Likewise.
890 * stdlib/mbtowc.c: Likewise.
891 * stdlib/wctomb.c: Likewise.
892 * wcsmbs/btowc.c: Likewise.
893 * wcsmbs/mbrtowc.c: Likewise.
894 * wcsmbs/mbsnrtowcs.c: Likewise.
895 * wcsmbs/mbsrtowcs.c: Likewise.
896 * wcsmbs/wchar.h: Likewise.
897 * wcsmbs/wcrtomb.c: Likewise.
898 * wcsmbs/wcsmbsload.c: Likewise.
899 * wcsmbs/wcsmbsload.h: Likewise.
900 * wcsmbs/wcsnrtombs.c: Likewise.
901 * wcsmbs/wcsrtombs.c: Likewise.
902 * wcsmbs/wctob.c: Likewise.
904 * include/limits.h (MB_LEN_MAX): Increase to 16.
906 * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct. Define
908 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
909 * include/wchar.h: Change mbstate_t to __mbstate_t.
911 * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
912 oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
913 getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
914 iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
915 putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
916 vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
918 (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
919 * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
920 _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
921 fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
922 fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
923 getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
924 putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
925 vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
927 * libio/libio.h: Define codecvt struct. Define _IO_wide_data.
928 Extend _IO_file contain pointer to codecvt, widedata and mode.
929 (_IO_getwc_unlocked): New macro.
930 (_IO_putwc_unlocked): New macro.
931 (_IO_fwide): New macro.
932 * libio/libioP.h: Add new prototypes and adjust existing declarations.
933 * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
934 buffers based on mode.
935 (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
937 (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
938 flag to be enough to signal unallocated buffer. For wide oriented
939 stream don't make it linebuffered. Don't use _IO_do_flush, use
940 _IO_new_do_write directly.
941 (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
942 (_IO_file_seek): Likewise.
943 * libio/genops.c (_IO_least_marker): Make global.
944 (__underflow): Orient stream if not already done.
946 (_IO_default_seekpos): Change to type _IO_off64_t.
947 (_IO_default_seekoff): Likewise.
948 (_IO_default_seek): Likewise.
949 (_IO_no_init): New function. Similar to _IO_init but allows to orient
951 * libio/iolibio.h: Add prototype for _IO_vswprintf. Change _IO_pos_BAD
953 * libio/ftello.c: Use _IO_off_t. For now abort when use with wide
955 * libio/ftello64.c: Likewise.
956 * libio/ioftell.c: Likewise.
957 * libio/iofopncook.c: Likewise.
958 * libio/ioseekoff.c: Likewise.
959 * libio/ioseekpos.c: Likewise.
960 * libio/oldfileops.c: Likewise.
961 * libio/iofgetpos.c: Store state of conversion if necessary.
962 * libio/iofgetpos64.c: Likewise.
963 * libio/iofsetpos.c: Restore conversion state if necessary.
964 * libio/iofsetpos64.c: Likewise.
965 * libio/iofdopen.c: Initialize so that stream can be wide oriented.
966 * libio/iofopen.c: Likewise.
967 * libio/iofopen64.c: Likewise.
968 * libio/iopopen.c: Likewise.
969 * libio/iovdprintf.c: Likewise.
970 * libio/iovsprintf.c: Likewise.
971 * libio/iovsscanf.c: Likewise.
972 * libio/memstream.c: Likewise.
973 * libio/obprintf.c: Likewise.
974 * libio/iofputs.c: Orient stream if not already happened.
975 * libio/iofputs_u.c: Likewise.
976 * libio/iofwrite.c: Likewise.
977 * libio/iofwrite_u.c: Likewise.
978 * libio/ioputs.c: Likewise.
979 * libio/iosetbuffer.c: Handle not yet oriented stream.
980 * libio/iosetvbuf.c: Likewise.
981 * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
982 * libio/stdfiles.c: Likewise.
983 * libio/strops.c (_IO_str_overflow): Correctly free buffer after
985 (_IO_str_seekoff): Use _IO_off64_t.
986 * libio/vasprintf.c: Pre-orient stream.
987 * libio/vsnprintf.c: Likewise.
988 * libio/fputwc.c: New file.
989 * libio/fputwc_u.c: New file.
990 * libio/fwprintf.c: New file.
991 * libio/fwscanf.c: New file.
992 * libio/getwc.c: New file.
993 * libio/getwc_u.c: New file.
994 * libio/getwchar.c: New file.
995 * libio/getwchar_u.c: New file.
996 * libio/iofgetws.c: New file.
997 * libio/iofgetws_u.c: New file.
998 * libio/iofputws.c: New file.
999 * libio/iofputws_u.c: New file.
1000 * libio/iofwide.c: New file.
1001 * libio/iogetwline.c: New file.
1002 * libio/ioungetwc.c: New file.
1003 * libio/iovswscanf.c: New file.
1004 * libio/iowpadn.c: New file.
1005 * libio/oldiofgetpos.c: New file.
1006 * libio/oldiofgetpos64.c: New file.
1007 * libio/oldiofsetpos.c: New file.
1008 * libio/oldiofsetpos64.c: New file.
1009 * libio/putwc.c: New file.
1010 * libio/putwc_u.c: New file.
1011 * libio/putwchar.c: New file.
1012 * libio/putwchar_u.c: New file.
1013 * libio/swprintf.c: New file.
1014 * libio/swscanf.c: New file.
1015 * libio/tst_swprintf.c: New file.
1016 * libio/tst_swscanf.c: New file.
1017 * libio/tst_wprintf.c: New file.
1018 * libio/tst_wscanf.c: New file.
1019 * libio/tst_wscanf.input: New file.
1020 * libio/vswprintf.c: New file.
1021 * libio/vwprintf.c: New file.
1022 * libio/vwscanf.c: New file.
1023 * libio/wfiledoalloc.c: New file.
1024 * libio/wfileops.c: New file.
1025 * libio/wgenops.c: New file.
1026 * libio/wprintf.c: New file.
1027 * libio/wscanf.c: New file.
1028 * libio/wstrops.c: New file.
1029 * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
1030 vfwprintf, and vfwscanf.
1031 * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
1033 * stdio-common/_itowa.c: New file.
1034 * stdio-common/_itowa.h: New file.
1035 * stdio-common/itoa-digits.c: Minimal optimization.
1036 * stdio-common/itowa-digits.c: New file.
1037 * stdio-common/printf-parse.h: Allow use in wide character context.
1038 * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
1039 * stdio-common/printf.h (printf_info): Add wide bit.
1040 * stdio-common/printf_fp.c: Determine from wide bit whether stream
1041 is wide oriented or not.
1042 * stdio-common/printf_size.c: Likewise.
1043 * sysdeps/generic/printf_fphex.c: Likewise.
1044 * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
1045 * stdio-common/vfprintf.c: Rewrite to allow use in wide character
1047 * stdio-common/vfscand.c: Likewise.
1048 * stdio-common/vfwprintf.c: New file.
1049 * stdio-common/vfwscanf.c: New file.
1051 * time/Makefile (routines): Add wcsftime.
1052 (tests): Add tst_wcsftime.
1053 * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
1054 * time/strftime.c: Make usable as wcsftime.
1055 * time/wcsftime.c: New file.
1056 * time/tst_wcsftime.c: New file.
1058 * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
1059 * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
1060 * wcsmbs/wcschrnul.c: New file.
1061 * wcsmbs/wmemcpy.c: New file.
1062 * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
1063 * wcsmbs/wmemmove.c: Likewise for wmemmove.
1065 * manual/stdio.texi: Document is_char and wide element if printf_info.
1067 * manual/time.texi: Document wcsftime.
1069 * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
1070 __wmemmove, __wcschrnul, and __vfwscanf.
1072 * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
1073 * locale/C-time.c: Adapt for above change.
1074 * locale/categories.def: Likewise.
1075 * locale/localeinfo.h: Likewise.
1076 * localedata/Makefile: Don't run tests for now.
1078 * manual/errno.texi: Fix typos.
1079 * manual/memory.texi: Likewise.
1080 * manual/ctype.texi: Likewise.
1081 Patches by Brian Youmans <3diff@gnu.org>.
1083 1999-06-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1085 * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
1087 1999-06-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1089 * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
1091 * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
1092 * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
1094 1999-06-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1096 * db2/db/db.c: Restore __nss_db_open alias.
1097 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
1099 * db2/os/os_rw.c (__os_write): Maintain const correctness.
1100 * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
1102 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
1104 * stdio-common/printf-parse.h (parse_one_spec): Don't set
1105 is_longlong if not necessary.
1107 1999-06-15 H.J. Lu <hjl@gnu.org>
1109 * Make-dist (sysdep_dirs): Exclude SCCS.
1110 * MakeTAGS (sysdep_dirs): Likewise.
1112 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
1114 * posix/regex.c (re_error_msgid): Remove extra commas.
1116 1999-06-14 Geoff Keating <geoffk@ozemail.com.au>
1118 * stdlib/tst-strtoll.c: New file.
1119 * stdlib/Makefile (tests): Add tst-strtoll.c
1120 * stdlib/strtol.c: It is not generally true that if
1121 (unsigned)a*(unsigned)b overflows, then the result is
1124 1999-06-14 Thorsten Kukuk <kukuk@suse.de>
1126 * nscd/connections.c (handle_request): Only root is allowed to
1127 send GETSTAT request in non secure mode.
1128 * nscd/nscd.c: Print error message if other then root try to
1131 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1133 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
1135 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1137 * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
1138 Closes PR libc/1164, reported by sascha@schumann.2ns.de.
1140 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1142 * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
1143 for character to search, to help the compiler.
1144 * sysdeps/generic/strchrnul.c: Likewise.
1145 * sysdeps/generic/memchr.c: Likewise.
1146 * sysdeps/generic/memccpy.c: Likewise.
1147 * sysdeps/generic/rawmemchr.c: Likewise. Fix comment.
1149 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1151 * sysdeps/m68k/memchr.S: New file.
1152 * sysdeps/m68k/rawmemchr.S: New file.
1153 * sysdeps/m68k/strchr.S: New file.
1154 * sysdeps/m68k/strchrnul.S: New file.
1156 1999-06-13 Geoff Keating <geoffk@ozemail.com.au>
1158 * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
1159 add `memory' clobber; optimise for constant `val'.
1160 (atomic_add): Likewise.
1161 (test_and_set): Remove `volatile'; add `memory' clobber; be more
1162 like the original `test_and_set'.
1163 (compare_and_swap): Remove `volatile'; add `memory' clobber;
1164 optimise for constant `oldval'.
1165 (always_swap): Remove `volatile'; add `memory' clobber.
1167 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1169 * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
1170 functions for gcc <= 2.7.x.
1172 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
1174 * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
1177 1999-06-13 Ulrich Drepper <drepper@cygnus.com>
1179 * db2/Makefile (distribute): Remove files which do not exist
1182 * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
1183 definitions to calm down gcc.
1185 * db2/db.h: Update from db 2.7.5.
1186 * db2/db_185.h: Likewise.
1187 * db2/db_int.h: Likewise.
1188 * db2/btree/bt_compare.c: Likewise.
1189 * db2/btree/bt_conv.c: Likewise.
1190 * db2/btree/bt_curadj.c: Likewise.
1191 * db2/btree/bt_cursor.c: Likewise.
1192 * db2/btree/bt_delete.c: Likewise.
1193 * db2/btree/bt_open.c: Likewise.
1194 * db2/btree/bt_page.c: Likewise.
1195 * db2/btree/bt_put.c: Likewise.
1196 * db2/btree/bt_rec.c: Likewise.
1197 * db2/btree/bt_recno.c: Likewise.
1198 * db2/btree/bt_rsearch.c: Likewise.
1199 * db2/btree/bt_search.c: Likewise.
1200 * db2/btree/bt_split.c: Likewise.
1201 * db2/btree/bt_stat.c: Likewise.
1202 * db2/btree/btree_auto.c: Likewise.
1203 * db2/common/db_appinit.c: Likewise.
1204 * db2/common/db_apprec.c: Likewise.
1205 * db2/common/db_err.c: Likewise.
1206 * db2/common/db_region.c: Likewise.
1207 * db2/common/db_salloc.c: Likewise.
1208 * db2/db/db.c: Likewise.
1209 * db2/db/db.src: Likewise.
1210 * db2/db/db_am.c: Likewise.
1211 * db2/db/db_auto.c: Likewise.
1212 * db2/db/db_dispatch.c: Likewise.
1213 * db2/db/db_dup.c: Likewise.
1214 * db2/db/db_iface.c: Likewise.
1215 * db2/db/db_join.c: Likewise.
1216 * db2/db/db_overflow.c: Likewise.
1217 * db2/db/db_pr.c: Likewise.
1218 * db2/db/db_rec.c: Likewise.
1219 * db2/db/db_ret.c: Likewise.
1220 * db2/db185/db185.c: Likewise.
1221 * db2/dbm/dbm.c: Likewise.
1222 * db2/hash/hash.c: Likewise.
1223 * db2/hash/hash_auto.c: Likewise.
1224 * db2/hash/hash_dup.c: Likewise.
1225 * db2/hash/hash_page.c: Likewise.
1226 * db2/hash/hash_rec.c: Likewise.
1227 * db2/hash/hash_stat.c: Likewise.
1228 * db2/include/btree.h: Likewise.
1229 * db2/include/btree_ext.h: Likewise.
1230 * db2/include/clib_ext.h: Likewise.
1231 * db2/include/common_ext.h: Likewise.
1232 * db2/include/db_am.h: Likewise.
1233 * db2/include/db_auto.h: Likewise.
1234 * db2/include/db_cxx.h: Likewise.
1235 * db2/include/db_ext.h: Likewise.
1236 * db2/include/db_join.h: Likewise.
1237 * db2/include/db_page.h: Likewise.
1238 * db2/include/hash.h: Likewise.
1239 * db2/include/hash_ext.h: Likewise.
1240 * db2/include/lock.h: Likewise.
1241 * db2/include/lock_ext.h: Likewise.
1242 * db2/include/log.h: Likewise.
1243 * db2/include/log_ext.h: Likewise.
1244 * db2/include/mp.h: Likewise.
1245 * db2/include/mp_ext.h: Likewise.
1246 * db2/include/os.h: Likewise.
1247 * db2/include/os_ext.h: Likewise.
1248 * db2/include/os_func.h: Likewise.
1249 * db2/include/txn.h: Likewise.
1250 * db2/include/txn_auto.h: Likewise.
1251 * db2/include/txn_ext.h: Likewise.
1252 * db2/include/xa.h: Likewise.
1253 * db2/include/xa_ext.h: Likewise.
1254 * db2/lock/lock.c: Likewise.
1255 * db2/lock/lock_conflict.c: Likewise.
1256 * db2/lock/lock_deadlock.c: Likewise.
1257 * db2/lock/lock_region.c: Likewise.
1258 * db2/lock/lock_util.c: Likewise.
1259 * db2/log/log.c: Likewise.
1260 * db2/log/log_archive.c: Likewise.
1261 * db2/log/log_auto.c: Likewise.
1262 * db2/log/log_findckp.c: Likewise.
1263 * db2/log/log_get.c: Likewise.
1264 * db2/log/log_put.c: Likewise.
1265 * db2/log/log_rec.c: Likewise.
1266 * db2/log/log_register.c: Likewise.
1267 * db2/mp/mp_bh.c: Likewise.
1268 * db2/mp/mp_fget.c: Likewise.
1269 * db2/mp/mp_fopen.c: Likewise.
1270 * db2/mp/mp_fput.c: Likewise.
1271 * db2/mp/mp_fset.c: Likewise.
1272 * db2/mp/mp_open.c: Likewise.
1273 * db2/mp/mp_pr.c: Likewise.
1274 * db2/mp/mp_region.c: Likewise.
1275 * db2/mp/mp_sync.c: Likewise.
1276 * db2/mutex/mutex.c: Likewise.
1277 * db2/mutex/uts4_cc.s: Likewise.
1278 * db2/os/os_abs.c: Likewise.
1279 * db2/os/os_alloc.c: Likewise.
1280 * db2/os/os_config.c: Likewise.
1281 * db2/os/os_dir.c: Likewise.
1282 * db2/os/os_fid.c: Likewise.
1283 * db2/os/os_fsync.c: Likewise.
1284 * db2/os/os_map.c: Likewise.
1285 * db2/os/os_oflags.c: Likewise.
1286 * db2/os/os_open.c: Likewise.
1287 * db2/os/os_rw.c: Likewise.
1288 * db2/os/os_seek.c: Likewise.
1289 * db2/os/os_sleep.c: Likewise.
1290 * db2/os/os_spin.c: Likewise.
1291 * db2/os/os_stat.c: Likewise.
1292 * db2/os/os_tmpdir.c: Likewise.
1293 * db2/os/os_unlink.c: Likewise.
1294 * db2/progs/db_archive/db_archive.c: Likewise.
1295 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
1296 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
1297 * db2/progs/db_dump/db_dump.c: Likewise.
1298 * db2/progs/db_load/db_load.c: Likewise.
1299 * db2/progs/db_printlog/README: Likewise.
1300 * db2/progs/db_printlog/commit.awk: Likewise.
1301 * db2/progs/db_printlog/count.awk: Likewise.
1302 * db2/progs/db_printlog/db_printlog.c: Likewise.
1303 * db2/progs/db_printlog/pgno.awk: Likewise.
1304 * db2/progs/db_printlog/range.awk: Likewise.
1305 * db2/progs/db_printlog/status.awk: Likewise.
1306 * db2/progs/db_printlog/txn.awk: Likewise.
1307 * db2/progs/db_recover/db_recover.c: Likewise.
1308 * db2/progs/db_stat/db_stat.c: Likewise.
1309 * db2/txn/txn.c: Likewise.
1310 * db2/txn/txn.src: Likewise.
1311 * db2/txn/txn_auto.c: Likewise.
1312 * db2/txn/txn_rec.c: Likewise.
1313 * db2/xa/xa.c: Likewise.
1314 * db2/xa/xa_db.c: Likewise.
1315 * db2/xa/xa_map.c: Likewise.
1317 * db2/btree/bt_close.c: Removed.
1318 * db2/db/db_thread.c: Likewise.
1319 * db2/hash/hash_debug.c: Likewise.
1320 * db2/include/db.h.src: Likewise.
1321 * db2/include/db_int.h.src: Likewise.
1322 * db2/include/os_jump.h: Likewise.
1323 * db2/mutex/alpha.dec: Likewise.
1324 * db2/mutex/alpha.gcc: Likewise.
1325 * db2/mutex/parisc.hp: Likewise.
1326 * db2/mutex/uts4.cc.s: Likewise.
1328 * db2/Makefile: Add new routines, remove old for 2.7.5.
1329 * db2/Versions: Add internal function names for the helper programs.
1330 * db2/makedb.c: Update for new cursor callback.
1331 * Versions.def: Define versions for libdb.
1333 1999-06-13 Thorsten Kukuk <kukuk@suse.de>
1335 * nscd/connections.c (nscd_run): Get user ID for all non-db services.
1336 * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
1337 * nscd/nscd_nischeck.c: New file.
1338 * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
1340 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1342 * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
1343 MSG_* flags from Linux 2.2.9.
1345 1999-06-12 Mark Kettenis <kettenis@gnu.org>
1347 * Makeconfig (static-start-installed-name): Set to
1348 $(start-installed-name) if not defined.
1349 (+link-static): Use $(static-start-installed-name) instead of
1350 $(start-installed-name).
1351 * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
1354 1999-06-12 Mark Kettenis <kettenis@gnu.org>
1356 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
1357 inserting a send right into the child instead of unconditionally
1358 copying the send right.
1360 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
1362 * locale/lc-time.c: Add free_mem function to free if necessary
1363 statically allocated memory.
1365 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
1367 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
1368 bias from the raw exponent.
1370 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
1372 * inet/arpa/tftp.h: Move attribute declaration in right position.
1374 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
1376 * nscd/nscd.c: Add -S options for separate caching of data for
1377 every user. So one user couldn't see the data another user
1378 has gotten with his credentials.
1379 * nscd/nscd.h: Add new prototypes.
1380 * nscd/cache.c: Compare owner of cache entry if in secure mode.
1381 * nscd/connections.c: Check on shutdown if caller really was root.
1382 In secure mode get uid of caller.
1383 * nscd/grpcache.c: Add support for new secure group mode.
1384 * nscd/hstcache.c: Add support for new secure hosts mode.
1385 * nscd/pwdcache.c: Add support for new secure passwd mode.
1387 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
1389 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
1390 of user-provided buffer.
1392 1999-06-11 Mark Kettenis <kettenis@gnu.org>
1394 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
1395 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
1397 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
1399 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
1402 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
1403 returning after last entry.
1404 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
1406 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
1408 * misc/sysexits.h: Remove advertising clause of copyright.
1409 * resolv/getnetnamadr.c: Likewise.
1410 * sysdeps/vax/bcopy.s: Likewise.
1411 * sysdeps/vax/bzero.s: Likewise.
1412 * sysdeps/vax/ffs.s: Likewise.
1413 * sysdeps/vax/memchr.s: Likewise.
1414 * sysdeps/vax/memcmp.s: Likewise.
1415 * sysdeps/vax/memmove.s: Likewise.
1416 * sysdeps/vax/memset.s: Likewise.
1417 * sysdeps/vax/strcat.s: Likewise.
1418 * sysdeps/vax/strchr.s: Likewise.
1419 * sysdeps/vax/strcmp.s: Likewise.
1420 * sysdeps/vax/strcpy.s: Likewise.
1421 * sysdeps/vax/strcspn.s: Likewise.
1422 * sysdeps/vax/strlen.s: Likewise.
1423 * sysdeps/vax/strncat.s: Likewise.
1424 * sysdeps/vax/strncmp.s: Likewise.
1425 * sysdeps/vax/strncpy.s: Likewise.
1426 * sysdeps/vax/strpbrk.s: Likewise.
1427 * sysdeps/vax/strrchr.s: Likewise.
1428 * sysdeps/vax/strsep.s: Likewise.
1429 * sysdeps/vax/strspn.s: Likewise.
1430 * sysdeps/vax/strstr.s: Likewise.
1432 * libio/iofopncook.c: Adjust for renaming of structure elements.
1433 * libio/libio.h: Define cookie functions with all the names.
1435 * pwd/fgetpwent_r.c: Set errno in the correct way.
1436 * shadow/fgetspent_r.c: Likewise.
1437 * pwd/fgetpwent.c: Handle long lines correctly. Little
1438 optimizations. Free static buffer when debugging memory handling.
1439 * shadow/fgetspent.c: Likewise.
1441 * grp/fgetgrent.c: Little optimization in loop.
1443 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1445 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
1448 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
1450 * stdlib/longlong.h: gas changed sethi handling when without
1451 %hi(). Fix assembly.
1452 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
1453 port specific cache id checks.
1454 * sysdeps/generic/dl-cache.h: New file.
1455 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
1457 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
1459 * gmon/gmon.c: Remove advertising clause of copyright.
1460 * gmon/mcount.c: Likewise.
1461 * gmon/sys/gmon.h: Likewise.
1462 * inet/arpa/ftp.h: Likewise.
1463 * inet/arpa/telnet.h: Likewise.
1464 * inet/arpa/tftp.h: Likewise.
1465 * inet/inet_lnaof.c: Likewise.
1466 * inet/inet_mkadr.c: Likewise.
1467 * inet/inet_net.c: Likewise.
1468 * inet/inet_netof.c: Likewise.
1469 * inet/protocols/routed.h: Likewise.
1470 * inet/protocols/rwhod.h: Likewise.
1471 * inet/protocols/talkd.h: Likewise.
1472 * inet/protocols/timed.h: Likewise.
1473 * inet/rcmd.c: Likewise.
1474 * inet/rexec.c: Likewise.
1475 * inet/ruserpass.c: Likewise.
1476 * io/fts.c: Likewise.
1477 * io/fts.h: Likewise.
1478 * login/login_tty.c: Likewise.
1479 * misc/fstab.h: Likewise.
1480 * misc/getttyent.c: Likewise.
1481 * misc/getusershell.c: Likewise.
1482 * misc/sys/queue.h: Likewise.
1483 * misc/sys/syslog.h: Likewise.
1484 * misc/syslog.c: Likewise.
1485 * misc/ttyent.h: Likewise.
1486 * misc/ttyslot.c: Likewise.
1487 * resolv/arpa/nameser.h: Likewise.
1488 * resolv/gethnamaddr.c: Likewise.
1489 * resolv/herror.c: Likewise.
1490 * resolv/inet_addr.c: Likewise.
1491 * resolv/mapv4v6addr.h: Likewise.
1492 * resolv/mapv4v6hostent.h: Likewise
1493 * resolv/nss_dns/dns-host.c: Likewise.
1494 * resolv/nss_dns/dns-network.c: Likewise.
1495 * resolv/res_comp.c: Likewise.
1496 * resolv/res_data.c: Likewise.
1497 * resolv/res_debug.c: Likewise.
1498 * resolv/res_init.c: Likewise.
1499 * resolv/res_mkquery.c: Likewise.
1500 * resolv/res_query.c: Likewise.
1501 * resolv/res_send.c: Likewise.
1502 * resolv/resolv.h: Likewise.
1503 * sysdeps/generic/div.c: Likewise.
1504 * sysdeps/generic/netinet/ip.h: Likewise.
1505 * sysdeps/generic/netinet/tcp.h: Likewise.
1506 * sysdeps/generic/paths.h: Likewise.
1507 * sysdeps/generic/prof-freq.c: Likewise.
1508 * sysdeps/generic/sys/ttydefaults.h: Likewise.
1509 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1510 * sysdeps/gnu/netinet/tcp.h: Likewise.
1511 * sysdeps/ieee754/support.c: Likewise.
1512 * sysdeps/mach/hurd/sys/param.h: Likewise.
1513 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
1514 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1515 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
1516 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1517 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
1518 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
1519 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
1520 * sysdeps/unix/sysv/linux/paths.h: Likewise.
1521 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
1522 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
1523 * sysdeps/vax/DEFS.h: Likewise.
1524 * termios/sys/ttychars.h: Likewise.
1525 * misc/daemon.c: Likewise. Call fork.
1527 * grp/fgetgrent.c (buffer): Make file local variable.
1528 (free_mem): New function. Call for malloc debugging.
1530 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
1532 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1534 * grp/Makefile: Add rules for tst_fgetgrent.
1536 * grp/tst_fgetgrent.c: Rewritten to read only one file.
1538 * grp/tst_fgetgrent.sh: New file.
1540 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
1542 * grp/Makefile (tests): Add tst_fgetgrent.
1543 * grp/tst_fgetgrent.c: New file.
1544 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
1546 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
1548 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
1549 be POSIX compliant. Prior definition was broken for Hurd.
1550 Reported by Mark Kettenis <kettenis@gnu.org>.
1552 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
1554 * ctype/ctype.h: Protect __tobody code by __extension__.
1556 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
1558 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
1559 reading and reset in case the buffer was too small.
1561 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
1564 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1566 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
1567 another SIOGIFNAME typo.
1569 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
1571 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
1573 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
1576 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1578 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
1579 the precision if the mantissa is zero.
1581 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1583 * manual/lang.texi (Floating Point Parameters): GCC already
1584 supports long double for a long time.
1586 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1588 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
1589 yn_test): Increase some epsilons.
1591 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
1593 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
1596 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
1598 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1599 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
1600 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
1601 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
1603 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
1604 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
1605 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
1606 * sysdeps/libm-ieee754/w_j1.c: Likewise.
1607 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
1608 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
1609 * sysdeps/libm-ieee754/w_jn.c: Likewise.
1610 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
1611 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
1613 * stdio-common/vfprintf.c: Correct typos.
1615 * math/libm-test.c (jn_test): Adjust delta.
1616 (y1_test): Likewise.
1617 (yn_test): Likewise.
1619 * elf/do-lookup.h: It should never happen that if we expect a versioned
1620 symbol from a file the file has no version table. This should have
1621 been checked in dl-version.c.
1622 * elf/dl-lookup.c: Include assert.h.
1624 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
1627 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
1629 1999-06-06 Andi Kleen <ak@muc.de>
1631 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
1634 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1636 * math/libm-test.c (yn_test): Change one delta.
1637 (jn_test): Likewise.
1638 (j1_test): Likewise.
1639 (y0_test): Likewise.
1641 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
1643 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
1644 avoid multiple calls to getpagesize() which might be a syscall.
1646 1999-06-06 Philip Blundell <philb@gnu.org>
1648 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
1650 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1652 * manual/install.texi (Running make install): Correct typo in
1653 dynamic linker invocation.
1655 1999-06-05 Philip Blundell <philb@gnu.org>
1657 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
1658 problems with GOT addressing.
1660 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
1662 * malloc/malloc.c (check_action): Change into bitmap so that both
1663 diagnostic and abort can be requested by setting it to 3.
1664 (mALLOC_SET_STATe): Disable malloc checking if necessary.
1666 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
1668 * configure.in: Few changes for HPUX.
1670 * scripts/config.guess: Update from latest version.
1671 * scripts/config.sub: Likewise.
1673 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1675 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
1676 map files. Closes PR libc/1147.
1678 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1680 * math/libm-test.c (main): Add new test functions.
1681 (jn_test): New tests.
1682 (j1_test): Add some more tests.
1683 (j0_test): Add some more tests.
1684 (y0_test): Add some more tests.
1685 (y1_test): Add some more tests.
1687 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1689 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
1690 Patch by mhagger@dera.gov.uk [PR libc/1145].
1692 * math/libm-test.c (y1_test): New tests.
1693 (y0_test): Likewise.
1694 (j1_test): Likewise.
1695 (j0_test): Likewise.
1696 (main): Added new tests.
1698 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
1700 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
1701 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
1702 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
1703 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
1704 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
1705 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
1707 1999-06-02 David S. Miller <davem@redhat.com>
1709 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
1712 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
1714 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
1715 and elide compatibility code if possible.
1717 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
1719 * manual/llio.texi: Remove menu entry for removed section.
1721 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1723 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
1726 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1728 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
1731 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
1733 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
1735 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1737 * manual/stdio.texi: Fix some typos.
1739 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1741 * malloc/malloc.h: Properly handle future GCC versions.
1743 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1745 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
1746 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
1747 text of error message.
1749 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
1751 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
1753 * manual/filesys.texi: Extend (f)truncate documentation.
1754 * manual/llio.texi: Remove duplicate (f)truncate definition.
1756 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1758 * manual/stdio.texi (Formatted Output Functions): Mention
1759 semantics of snprintf in glibc 2.0.
1760 Reported by Ben Pfaff <pfaffben@msu.edu>.
1762 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
1764 * include/features.h (__GLIBC_MINOR__): Bump to 2.
1766 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
1768 * math/libm-test.c: Adjust a few more deltas for the poor ARM
1771 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1773 * configure.in: Fix typo.
1775 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1777 * manual/socket.texi (Host Names): Remove statement that h_errno
1778 needs to be declared since this isn't true anymore.
1779 Closes PR libc/1138.
1781 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
1783 * config.h.in: Add __LINUX_KERNEL_VERSION.
1784 * configure.in: Recognize --enable-kernel.
1785 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
1786 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
1788 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
1789 given perform runtime test.
1791 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
1792 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
1793 minimal supported kernel is known to have the feature.
1794 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1795 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1796 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1797 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1798 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1799 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
1800 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1801 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1802 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1803 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1804 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1805 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
1806 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
1807 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
1808 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
1810 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
1812 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
1814 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
1816 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
1818 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
1819 Optimized sparc64 routines.
1821 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
1823 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
1824 they are the same as ints.
1825 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
1827 * version.h (VERSION): Bump to 2.1.90.
1828 (RELEASE): Mark as development.
1830 * stdio-common/vfprintf.c (vfprintf): Don't implement special
1831 handling for long long if it is the same as long.
1832 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
1834 * stdlib/strtol.c: Moved to ...
1835 * sysdeps/generic/strtol.c: ...here.
1836 * stdlib/strtoul.c: Moved to ...
1837 * sysdeps/generic/strtoul.c: ...here.
1838 * stdlib/strtoll.c: Moved to ...
1839 * sysdeps/generic/strtoll.c: ...here.
1840 * stdlib/strtoull.c: Moved to ...
1841 * sysdeps/generic/strtoull.c: ...here.
1842 * stdlib/strtol_l.c: Moved to ...
1843 * sysdeps/generic/strtol_l.c: ...here.
1844 * stdlib/strtoul_l.c: Moved to ...
1845 * sysdeps/generic/strtoul_l.c: ...here.
1846 * stdlib/strtoll_l.c: Moved to ...
1847 * sysdeps/generic/strtoll_l.c: ...here.
1848 * stdlib/strtoull_l.c: Moved to ...
1849 * sysdeps/generic/strtoull_l.c: ...here.
1851 * sysdeps/wordsize-64/strtol.c: New file.
1852 * sysdeps/wordsize-64/strtoul.c: New file.
1853 * sysdeps/wordsize-64/strtoll.c: New file.
1854 * sysdeps/wordsize-64/strtoull.c: New file.
1855 * sysdeps/wordsize-64/strtol_l.c: New file.
1856 * sysdeps/wordsize-64/strtoul_l.c: New file.
1857 * sysdeps/wordsize-64/strtoll_l.c: New file.
1858 * sysdeps/wordsize-64/strtoull_l.c: New file.
1860 * wcsmbs/wcstol.c: Moved to ...
1861 * sysdeps/generic/wcstol.c: ...here.
1862 * wcsmbs/wcstoul.c: Moved to ...
1863 * sysdeps/generic/wcstoul.c: ...here.
1864 * wcsmbs/wcstoll.c: Moved to ...
1865 * sysdeps/generic/wcstoll.c: ...here.
1866 * wcsmbs/wcstoull.c: Moved to ...
1867 * sysdeps/generic/wcstoull.c: ...here.
1868 * wcsmbs/wcstol_l.c: Moved to ...
1869 * sysdeps/generic/wcstol_l.c: ...here.
1870 * wcsmbs/wcstoul_l.c: Moved to ...
1871 * sysdeps/generic/wcstoul_l.c: ...here.
1872 * wcsmbs/wcstoll_l.c: Moved to ...
1873 * sysdeps/generic/wcstoll_l.c: ...here.
1874 * wcsmbs/wcstoull_l.c: Moved to ...
1875 * sysdeps/generic/wcstoull_l.c: ...here.
1877 * sysdeps/wordsize-64/wcstol.c: New file.
1878 * sysdeps/wordsize-64/wcstoul.c: New file.
1879 * sysdeps/wordsize-64/wcstoll.c: New file.
1880 * sysdeps/wordsize-64/wcstoull.c: New file.
1881 * sysdeps/wordsize-64/wcstol_l.c: New file.
1882 * sysdeps/wordsize-64/wcstoul_l.c: New file.
1883 * sysdeps/wordsize-64/wcstoll_l.c: New file.
1884 * sysdeps/wordsize-64/wcstoull_l.c: New file.
1886 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
1888 * sysdeps/sparc/bits/wordsize.h: New file.
1889 * sysdeps/sparc/fpu/bits/fenv.h: New file.
1890 * sysdeps/sparc/fpu/fpu_control.h: New file.
1891 * sysdeps/sparc/gmp-mparam.h: New file.
1893 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
1894 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
1895 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
1896 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
1897 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
1898 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
1900 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
1901 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
1902 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
1903 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
1905 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
1906 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
1907 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
1908 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
1909 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
1911 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
1913 * login/openpty.c (openpty): Make sure pty does not because
1916 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
1918 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
1920 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
1921 Do proper error return.
1923 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1925 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
1926 of __P in the rest of glibc; define __MALLOC_PMT and use it.
1927 Reported by Stephan Kulow <coolo@kde.org>.
1929 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
1931 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
1933 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
1935 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1937 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
1938 names to protect from user's macro namespace.
1939 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
1940 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
1941 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
1942 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
1943 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
1945 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
1946 sysdeps/arm/fpu/fesetenv.c: Likewise.
1947 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
1948 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
1949 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1950 * sysdeps/mips/fesetenv.c: Likewise.
1952 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
1954 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
1956 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
1958 * configure.in: Recognize and allow gcc 2.95.
1960 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
1962 * sysdeps/generic/bits/elfclass.h: Version common to
1963 wordsize-32 and wordsize-64.
1964 * sysdeps/generic/bits/environments.h: Ditto.
1965 * sysdeps/generic/stdint.h: Ditto.
1966 * sysdeps/generic/inttypes.h: Ditto.
1968 * sysdeps/generic/bits/wordsize.h: New file.
1969 * stdlib/Makefile: Add bits/wordsize.h to headers.
1971 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
1973 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
1974 headers to be used for 32bit and 64bit ABI compilations.
1975 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
1976 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
1977 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
1978 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
1979 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
1981 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
1982 * sysdeps/wordsize-64/bits/environments.h: Remove.
1983 * sysdeps/wordsize-64/stdint.h: Remove.
1984 * sysdeps/wordsize-64/inttypes.h: Remove.
1985 * sysdeps/wordsize-64/bits/wordsize.h: New file.
1987 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
1988 * sysdeps/wordsize-32/bits/environments.h: Remove.
1989 * sysdeps/wordsize-32/stdint.h: Remove.
1990 * sysdeps/wordsize-32/inttypes.h: Remove.
1991 * sysdeps/wordsize-32/bits/wordsize.h: New file.
1993 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
1995 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
1996 __align_cpy_16): New functions.
1997 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
1999 * sysdeps/sparc/sparc32/Versions: New file.
2000 * sysdeps/sparc/sparc64/Versions: New file.
2001 * sysdeps/sparc/Versions: Remove.
2003 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
2005 * sysdeps/unix/sysv/linux/configure.in:
2006 On sparc64-*-linux*, set slibdir to /lib64 if prefix
2007 is /usr, plus set libdir to ${exec_prefix}/lib64.
2008 * sysdeps/unix/sysv/linux/configure: Regenerated.
2009 * config.make.in: Propagate libdir settings from configure
2011 * shlib-versions: sparc64-*-linux* dynamic linker is
2012 /lib64/ld-linux.so.2.
2014 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
2016 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
2019 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
2021 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
2022 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
2024 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
2025 contains garbage in bits 8-63.
2026 * sysdeps/sparc/sparc64/memset.S: Ditto.
2027 * sysdeps/sparc/sparc64/strchr.S: Ditto.
2029 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
2031 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
2033 1999-05-17 David S. Miller <davem@redhat.com>
2035 * sysdeps/sparc/sparc32/atomicity.h: New file.
2036 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
2037 * sysdeps/sparc/sparc64/atomicity.h: New file.
2038 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
2041 1999-05-18 Richard Henderson <rth@twiddle.net>
2043 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
2045 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
2047 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
2048 posix/sys/types.h: Handle the case of __GNUC__=3,
2049 __GNUC_MINOR__=(anything).
2051 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2053 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
2056 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
2058 * elf/Makefile (distribute): Remove dl-origin.h.
2059 Add dl-dst.h and gen-trusted-dirs.awk.
2061 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2063 * sysdeps/i386/i486/Versions: New file with inline functions from
2064 sysdeps/i386/i486/bits/string.h for now.
2066 * sysdeps/i386/Versions: Add inline functions from
2067 sysdeps/i386/bits/string.h.
2069 * string/Versions: Add inline functions from <bits/string2.h>.
2071 * string/Makefile (routines): Add string-inlines.
2072 * string/string-inlines.c: New file, used for implementation of
2073 extern inline functions.
2075 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
2076 non inlined versions of functions.
2077 * string/bits/string2.h: Likewise.
2078 * sysdeps/i386/bits/string.h: Likewise.
2080 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
2082 * inet/arpa/tftp.h: Add second packed attribute.
2084 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
2086 * malloc/malloc.c: Cleanup to bring in line with released
2087 stand-alone version `ptmalloc'. Update some comments.
2088 (internal_function): Move fallback definition so that the source
2089 compiles outside of libc, and use it in more places.
2090 (malloc_atfork): Fix when malloc_check is in use.
2092 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2094 * stdlib/tst-strtod.c: Fix typo.
2096 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2098 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
2099 const incorrectness.
2101 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
2103 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
2105 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
2107 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
2108 * sunrpc/key_call.c: Fix memory leak, close file handle.
2109 * nis/nis_creategroup.c: Use malloc instead of calloc,
2110 set ctime and mtime.
2111 * nis/nis_subr.c: Check for realloc result.
2112 * nis/nis_file.c: Fix memory leak.
2113 * nis/nis_table.c: Pretty print.
2114 * nis/nis_getservlist.c: Likewise.
2115 * nis/nis_ismember.c: Likewise.
2116 * nis/nis_lookup.c: Likewise.
2117 * nis/nis_ping.c: Likewise.
2118 * nis/nis_removemember.c: Likewise.
2119 * nis/nis_util.c: Likewise, check calloc result.
2121 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
2123 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
2124 * sysdeps/generic/sys/socketvar.h: ... here.
2125 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
2126 * sysdeps/generic/netinet/in_systm.h: ... here.
2127 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
2129 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
2130 * inet/Makefile (headers): Add netinet/in_systm.h here.
2131 * socket/Makefile (headers): Add sys/socketvar.h here.
2133 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
2135 * stdlib/strtol.c: Optimize inner loop of long long versions.
2137 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
2138 Unix98. Add forward declaration of struct utmp.
2140 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
2142 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
2145 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
2146 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
2147 memory allocation results.
2149 1999-05-14 Mark Kettenis <kettenis@gnu.org>
2151 * sysdeps/generic/getutmp.c: Include <string.h>
2152 (getutmp): Rewrite to only copy those members that are really
2153 present in `struct utmp'.
2154 * sysdeps/generic/getutmpx.c: Likewise.
2156 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
2158 * nss/getXXbyYY.c: Add free_mem function which disposes all
2159 statically allocated memory when debugging.
2160 * nss/getXXent.c: Likewise.
2161 * nss/nsswitch.c: Likewise.
2163 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
2165 * sysdeps/gnu/getutmpx.c: New file.
2166 * sysdeps/gnu/getutmp.c: New file.
2168 1999-05-13 H.J. Lu <hjl@gnu.org>
2170 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
2171 (getutmp): Likewise.
2173 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
2176 * sysdeps/gnu/utmpx.h (getutmp): Added.
2177 (getutmpx): Likewise.
2179 * sysdeps/generic/getutmp.c: New file.
2181 * sysdeps/generic/getutmpx.c: New file.
2183 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2185 * glibcbug.in (BUGGLIBC): Change address to
2186 libc-alpha@sourceware.cygnus.com.
2188 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2190 * resolv/arpa/nameser.h: Add C++ protectors.
2192 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2194 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
2195 Elad Tsur <eladts@post.tau.ac.il>.
2197 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
2199 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
2200 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
2201 lazily if LD_BIND_NOW is not set.
2202 * elf/dl-support.c (_dl_lazy): New variable.
2203 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
2204 * elf/rtld.c (_dl_lazy): new global variable.
2205 ( dl_main): Remove lazy, replace it by _dl_lazy.
2207 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2209 * locale/setlocale.c (new_composite_name): Check also whether the
2210 first category name differs.
2212 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2214 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
2217 1999-05-11 Philip Blundell <pb@nexus.co.uk>
2219 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
2220 structure; storage suitable for any socket address.
2221 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
2223 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
2224 sockaddr_storage): Likewise.
2226 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
2229 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
2231 * hesiod/Versions: Change _nss_hesiod_getpwuid and
2232 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
2233 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
2235 1999-05-09 Mark Kettenis <kettenis@gnu.org>
2237 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
2238 if the file is empty.
2240 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
2242 * elf/do-lookup.h: Fix typo in comment.
2244 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
2245 f_bsize to help some broken programs.
2247 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
2249 * stdio-common/vfprintf.c: Fix typo.
2251 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
2253 * elf/link.h (struct link_map): New field l_phdr_allocated.
2254 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
2255 the program header being part of any loaded segment. If it is not
2256 allocate memory and set l_phdr_allocated flag.
2257 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
2259 * nss/digits_dots.c: Correct return value interpretation of
2260 inet_ntoa. Fix PR libc/1109.
2262 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
2264 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
2266 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
2268 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
2269 * stdlib/fpioconst.c: Move #endif before end of struct.
2271 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
2273 * Versions.def (ld.so): Add GLIBC_2.1.1.
2274 * elf/Makefile (routines): Add dl-origin.
2275 (tests): Add origtest. Add dependencies for the program.
2276 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
2277 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
2278 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
2279 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
2280 DT_AUXILIARY, and DT_FILTER filenames.
2281 * elf/dl-load.c (expand_dynamic_string_token): Explode into
2282 two functions and three macros.
2283 (_dl_dst_count, _dl_dst_substitute): New functions.
2284 * elf/dl-dst.h: New file.
2285 * elf/dl-open.c (_dl_open): Take extra parameter with address of
2286 caller. Pass address in args structure.
2287 (dl_open_worker): Recognize and expand DSTs in filename.
2288 * elf/ldsodefs.h (_dl_open): Adapt prototype.
2289 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
2290 (__dlopen_check): Pass caller address to dlopen_doit in args.
2291 * elf/dlopendoit.c: Likewise.
2292 * iconv/gconv_dl.c: Adapt call of _dl_open.
2293 * nss/nsswitch.c: Likewise.
2294 * elf/origtest.c: New file.
2295 * sysdeps/generic/dl-origin.h: Moved to...
2296 * sysdeps/generic/dl-origin.c: ...here.
2297 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
2298 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
2300 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
2301 with specific bases and only few bits set in second word.
2303 * timezone/Makefile (install-others): Create target directory
2304 before creating tzfiles.
2306 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
2308 * nis/nis_file.c (readColdStartFile): Allocate memory only after
2309 the file is opened successfully.
2311 * nis/nis_table.c: Fix some memory leaks.
2313 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
2315 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
2318 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
2319 around DST. Correctly ignore ORIGIN IN SUID binaries.
2321 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
2323 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
2324 * sysdeps/generic/strtok.c: Likewise.
2326 * string/tester.c: Add test of rawmemchr.
2328 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
2329 specification. It's not necessary.
2331 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
2332 * elf/gen-trusted-dirs.awk: New file.
2333 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
2334 from SYSTEM_DIRS macro.
2335 (system_dirs_len): New variable. Contains lengths of system_dirs
2337 (fillin_rpath): Rewrite for systems_dirs being a simple string.
2338 Improve string comparisons. Change parameter trusted to be a flag.
2340 (_dt_init_paths): Improve using new format for system_dirs.
2342 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
2343 $ORIGIN for SUID binaries.
2345 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
2347 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2349 * sunrpc/Makefile: Generate dependencies for all flavors of
2351 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
2354 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2356 * elf/dlopenold.c: Move #if down after includes to get
2359 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2361 * sysdeps/generic/bzero.c: Undefine __bzero.
2363 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
2365 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
2366 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
2367 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
2368 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
2370 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
2371 parameter to struct gaih_servtuple *. Adapt appropriately.
2372 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
2373 This fixes a memory leak.
2374 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
2376 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
2377 and fpregset_t definition. They are defined in ucontext.h.
2379 1999-04-14 Scott Bambrough <scottb@netwinder.org>
2381 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
2382 and struct ether_header must be packed on the ARM. The default
2383 alignment constraints add padding to the end of the structures.
2385 1999-04-14 Scott Bambrough <scottb@netwinder.org>
2387 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
2388 default alignment constraints add padding to the end of the
2389 structure and between members.
2391 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
2393 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
2394 _dl_cache_libcmp instead of strcmp.
2396 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
2398 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
2400 1998-03-30 Joel Klecker <espy@debian.org>
2402 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
2403 (sysdep-others,install-bin): Add lddlibc4.
2405 1999-05-02 H.J. Lu <hjl@gnu.org>
2407 * timezone/zic.c (dolink): Remove the symlink destination first.
2409 * catgets/open_catalog.c (__open_catalog): Set catalog->status
2410 to "nonexisting" if failed to open the file.
2412 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
2414 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
2417 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
2418 Prevent warnings from multiplication with 0x01010101 by another cast.
2420 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2422 * string/bits/string2.h (memset): Revert to previous version if
2423 unaligned writes are not available.
2425 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
2427 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
2428 better code in presence of the asm.
2430 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2432 * stdlib/fmtmsg.c (keywords): Increase array size for faster
2435 * locale/localeinfo.h (_nl_category_names): Increase array element
2436 size for faster indexing.
2437 * locale/setlocale.c (_nl_category_names): Adjusted.
2439 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2441 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
2443 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2445 * sysdeps/m68k/stackinfo.h: New file.
2447 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
2449 * string/tester.c (test_strchrnul): New function.
2450 (test_memset): Test one more special case.
2452 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
2455 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
2458 * string/bits/string2.h: Fix bugs I introduced in last change.
2460 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
2462 Extend memset optimization.
2463 Correct i686 version of memchr.
2465 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
2467 * sysdeps/i386/bzero.c: Add #undef __bzero.
2469 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
2470 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
2471 exec server simulated a SIGTRAP before we even started up, so gdb is
2474 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
2476 * nss/digits_dots.c: Always initialize not_ok.
2478 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
2480 * string/bits/string2.h (memset): Avoid arithmetic overflow at
2481 compile time, which produces obnoxious warnings. If GCCv2 is
2482 in use, map __bzero to __builtin_memset to enable that
2485 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
2487 * string/bits/string2.h: Add more memset optimizations.
2489 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
2491 * resolv/inet_pton.c (inet_pton4): Little optimizations.
2492 (inet_pton6): Likewise.
2494 * nss/getXXbyYY_r.c: Include assert.h.
2495 * nss/getXXbyYY.c: Likewise.
2497 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2499 * termios/tcgetsid.c (tcgetsid): Rename variable to
2500 tiocgsid_does_not_work.
2502 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
2504 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
2506 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2508 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
2509 This allows e.g. gethostbyname to accept "10.1234".
2510 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
2512 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
2513 non quad IPv4 numbers.
2515 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2517 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
2519 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
2521 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
2522 * argp/argp-parse.c (_argp_hang): Likewise.
2523 * argp/argp-pv.c (argp_program_version): Likewise.
2524 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
2525 * inet/ether_hton.c (ether_hton, startp): Likewise.
2526 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
2527 * inet/getnetgrent_r.c (setup, startp): Likewise.
2528 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
2529 * intl/localealias.c (string_space, string_space_act, string_space_max,
2530 nmap, maxmap): Likewise.
2531 * libio/iopopen.c (proc_file_chain): Likewise.
2532 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
2533 * locale/lc-collate.c (__collate_table, __collate_extra,
2534 __collate_element_hash, __collate_element_strings,
2535 __collate_element_values): Likewise.
2536 * malloc/mcheck.c (mcheck_used): Likewise.
2537 * malloc/mtrace.c (added_atexit_handler): Likewise.
2538 * malloc/set-freeres.c (already_called): Likewise.
2539 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
2540 * misc/syslog.c (LogStat, LogTag): Likewise.
2541 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
2542 * nss/getXXbyYY_r.c (startp): Likewise.
2543 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
2544 * posix/regex.c (init_syntax_once) [done]: Likewise.
2546 * string/strfry.c (init): Likewise.
2547 * sunrpc/svc_run.c (svc_top): Likewise.
2548 * posix/euidaccess.c (have_ids): Likewise.
2549 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
2550 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
2551 * time/getdate.c (getdate_err): Likewise.
2552 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
2554 * time/tzset.c (old_tz, is_initialized): Likewise.
2556 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
2557 of static data with zero.
2558 * signal/allocrtsig.c (init): Likewise.
2560 * string/Makefile (routines): Add strchrnul.
2561 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
2562 * string/string.c: Add strchrnul prototype.
2563 * include/string.h: Add __strchrnul prototype.
2564 * sysdeps/generic/strchrnul.c: New file.
2565 * sysdeps/i386/strchrnul.S: New file.
2566 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
2567 * sysdeps/i386/i486/bits/string.c: Likewise.
2568 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
2569 * inet/ether_line.c (ether_line): Likewise.
2570 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
2571 * nss/nsswitch.c (nss_parse_file): Likewise.
2572 * posix/execvp.c (execvp): Likewise.
2573 * posix/fnmatch.c (internal_fnmatch): Likewise.
2574 * resolv/res_hconf.c (_res_hconv_init): Likewise.
2575 * resolv/res_init.c (res_init): Likewise.
2576 * stdlib/fmtmsg.c (init): Likewise.
2577 * stdlib/getsubopt.c (getsubopt): Likewise.
2579 * catgets/catgets.c (catopen): Only allocate one memory block.
2580 (catclose): Only one free call necessary.
2582 * catgets/open_catalog.c (__open_catalog): Simplify handling of
2585 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
2586 of real functions. Simplify _tolower and _toupper.
2588 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
2591 * iconv/gconv.h (struct gconv_info): Change data element from pointer
2593 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
2594 * iconv/gconv_close.c (__gconv_close): Don't free data.
2596 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
2599 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
2600 for error while inserting in tree.
2602 * include/time.h: Pretty print.
2604 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
2605 in table and lots of relocations.
2606 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
2607 string pointers in table and lots of relocations.
2609 * intl/finddomain.c: Remove definition of strchr macro.
2611 * io/ftw.c (nftw_arr, ftw_arr): Make const.
2613 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
2615 * locale/localeinfo.h (_nl_category_names): Change into an array with
2616 fixed width char string elements.
2617 * locale/setlocale.c (_nl_category_names): Likewise.
2618 (_nl_current): Make global.
2619 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
2621 * malloc/Makefile (distribute): Add stackinfo.h.
2622 * sysdeps/generic/stackinfo.h: New file.
2623 * sysdeps/i386/stackinfo.h: New file.
2624 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
2625 * posix/execle.c: Likewise.
2626 * posix/execlp.c: Likewise.
2628 * nis/nis_table.c (__create_ib_request): Always use realloc.
2630 * posix/execvp.c (execute): Rename to script_execute and keep only
2631 code to execute using shell.
2632 (execvp): Call execv directly and only fall back on script_execute.
2634 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
2635 and always use xdigits instead.
2637 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
2640 * stdlib/fpioconst.h (__tens): New declaration.
2641 (struct mp_power): Remove array, add arrayoff element.
2642 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
2643 __tens array and add in _fpioconst_pow10 offsets into __tens.
2644 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
2645 * stdlib/strtod.c: Likewise.
2647 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
2649 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
2651 * stdlib/atexit.c (__exit_funcs): Don't initialize.
2653 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
2655 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
2656 a single and an array with offsets.
2658 * sunrpc/des_soft.c (partab): Make it const.
2660 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
2661 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
2662 (__key_decryptsession_pk_LOCAL): Likewise.
2663 (__key_gendes_LOCAL): Likewise.
2664 (MESSENGER): Mark const.
2665 (key_call_private_main): Don't initialize with 0.
2666 (use_keyenvoy): Don't initialize with 0.
2667 (key_call): Rewrite to reverse logic of use_doors variable.
2669 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
2670 (startp): Don't initialize with zero.
2672 * sunrpc/openchild.c (_openchild): Make first argument const.
2674 * sunrpc/pmap_rmt.c (timeout): Mark const.
2675 * sunrpc/xcrypt.c (hex): Likewise.
2677 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
2678 initialization of global variables.
2679 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
2680 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2681 * termios/tcgetsid.c: Likewise.
2683 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
2686 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
2687 block. Add function to free memory if wanted.
2688 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
2690 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
2692 * wcsmbs/wmemset.c: Little code optimization.
2694 1999-04-23 Paul Eggert <eggert@twinsun.com>
2696 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
2699 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
2701 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
2702 implementation and just always fail with ENOSYS. This entry point is
2703 obsolete. Add link warning to that effect.
2705 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
2707 * hurd/get-host.c: Include <hurd/lookup.h>.
2709 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
2711 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
2714 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2716 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
2719 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
2721 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
2722 Patch by Peter Miller <millerp@canb.auug.org.au>.
2724 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
2726 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
2727 prefers loopback device.
2729 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
2731 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
2732 no_leading_period change.
2734 * posix/testfnm.c: More test cases.
2736 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
2738 * include/dirent.h: Remove __getdirentries declaration, add __getdents
2740 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
2741 * sysdeps/unix/readdir_r.c: Likewise.
2742 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2743 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
2744 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
2745 __getdirentries. Remove fourth argument.
2746 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
2747 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
2748 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
2749 Add getdirentries and getdirentries64.
2750 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
2752 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
2753 pointer in case of an invalid [[: expression.
2755 * posix/testfnm.c: Add more test cases.
2757 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
2759 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
2760 set, pass EXEC_SIGTRAP flag in exec RPC.
2762 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
2764 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
2765 extra parameter. Fix several more bugs involving wildcard and
2767 (fnmatch): New function. Call internal_fnmatch.
2769 * posix/testfnm.c: More test cases.
2771 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2773 * manual/install.texi (Configuring and compiling): Explain that
2774 files are changed in the source directory.
2776 (Configuring and compiling): Explain situation with PARALLELMFLAGS
2777 in the source directory.
2779 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2781 * locale/programs/ld-ctype.c: Spelling fixes.
2782 (ctype_finish): Fix argument of error message format.
2783 * locale/programs/ld-messages.c: Spelling fixes.
2784 * locale/programs/ld-monetary.c: Spelling fixes.
2785 * locale/programs/ld-time.c (time_finish): Make sure that name and
2786 format of era_entries are adjacent.
2787 (time_output): Reduce the size of the io vector.
2789 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2791 * manual/filesys.texi (Attribute Meanings): Move a misplaced
2794 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2796 * locale/programs/ld-collate.c (collate_output): Convert
2797 undefined_offset to an array index. Fix computation of other
2800 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
2802 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
2803 return success with empty value.
2805 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
2807 * posix/fnmatch.c: Include string.h also for glibc.
2808 (fnmatch, case '?'): Optimize if cascades a bit.
2809 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
2811 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
2813 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
2815 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
2816 * iconv/gconv_int.h: Declare UTF16 functions.
2817 * iconv/gconv_simple.c: Add UTF16 conversion functions.
2819 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2821 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
2822 be used correctly as parameter for parse_dollars/parse_tilde.
2824 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2826 * manual/conf.texi (Utility Limits): Remove duplicate description
2829 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
2831 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
2832 outbufend for dst==NULL.
2834 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
2836 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
2840 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
2843 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
2845 * sunrpc/Makefile: Remove special handling of bootparam.x,
2846 add rpcsvc/bootparam.h to headers.
2847 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
2848 * sunrpc/rpcsvc/bootparam.x: Renamed to...
2849 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
2851 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
2853 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
2854 detect and handle invalid descriptors.
2856 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
2858 * timezone/zic.c (dolink): Append complete path not only filename
2861 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2863 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
2865 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
2867 * iconvdata/gconv-modules: Rename CP874 to IBM874.
2868 * iconvdata/Makefile: Likewise.
2869 * iconvdata/cp874.h: Removed.
2870 * iconvdata/cp874.c: Renamed to...
2871 * iconvdata/ibm874.c: ...this.
2873 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
2875 * sysdeps/unix/sysv/linux/bits/types.h: Correct
2876 signed/unsigned-ness of blkcnt and fsblkcnt.
2877 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2878 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2880 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
2881 SOL_AAL, and SOL_IRDA.
2883 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2885 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
2886 include "linux_fsinfo.h".
2887 Based on a patch by H.J. Lu <hjl@gnu.org>.
2889 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
2891 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
2893 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
2895 * nscd/cache.c (prune_cache): Only disable file checking for
2896 future if the file does not exist.
2897 Update file_mtime if cache was flushed.
2899 1999-04-15 David S. Miller <davem@redhat.com>
2901 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
2902 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
2904 1999-04-15 Scott Bambrough <scottb@netwinder.org>
2906 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
2907 compilation of file.
2909 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
2911 * Versions.def: Add GLIBC_2.1.1 to libpthread.
2913 * iconvdata/Makefile (modules): Add KOI8-U.
2914 (distribute): Add koi8-u.c.
2915 (gen-8bit-gap-modules): Add koi8-u.
2916 * iconvdata/gconv-modules: Add KOI8-U entries.
2917 * iconvdata/koi8-u.c: New file.
2919 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
2921 * sunrpc/auth_des.c: 64bit fixes, security fixes.
2922 * sunrpc/auth_none.c: Pretty print.
2923 * sunrpc/auth_unix.c: Likewise.
2924 * sunrpc/authdes_prot.c: Likewise.
2925 * sunrpc/authuxprot.c: Likewise.
2926 * sunrpc/bindrsvprt.c: Likewise.
2927 * sunrpc/clnt_gen.c: Likewise.
2928 * sunrpc/rpc/xdr.h: Likewise.
2929 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
2930 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
2931 * sunrpc/rtime.c: Use new rpc_timeval.
2932 * sunrpc/svc_authux.c: Don't use *long pointers.
2933 * sunrpc/svcauth_des.c: Likewise + security fixes.
2934 * sunrpc/xdr_mem.c: Don't use *long pointers.
2935 * sunrpc/xdr_rec.c: Likewise.
2936 * sunrpc/xdr_sizeof.c: Likewise.
2937 * sunrpc/xdr_stdio.c: Likewise.
2939 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
2941 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
2942 so that it is redone for each sending.
2944 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2946 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
2948 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
2950 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
2951 known to not exist don't try to load shared objects.
2952 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
2954 * nscd/cache.c (prune_cache): The table might not be unused. In
2955 this case do nothing.
2957 * catgets/gencat.c (read_input_file): Don't drop white spaces
2958 between number/identifier and string.
2959 Patch by Dima Barsky <dima@pwd.hp.com>.
2960 If no white space at all follows number/identifier remove existing
2961 message with the number/identifier.
2963 1999-04-14 H.J. Lu <hjl@gnu.org>
2965 * sunrpc/clnt_udp.c (is_network_up): New function.
2966 (clntudp_call): Call is_network_up () to check if any network
2967 interface is up in case of timeout.
2969 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2971 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
2972 * wctype/Makefile (tests): Add test_wcfuncs.
2974 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
2976 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
2978 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
2980 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
2981 instead of CFLAGS. For gnulib and string directories use
2982 -Wa,-Av9a gcc ASFLAGS.
2983 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
2984 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
2985 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
2986 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
2987 the same way as sparc-*.
2989 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
2991 * locale/programs/locfile.c (locfile_read): Fix typo.
2992 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
2994 1999-04-14 Scott Bambrough <scottb@netwinder.org>
2996 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
2997 restarted after being interrupted by a signal. The parameters on
2998 the stack were corrupted by the signal handler.
3000 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
3001 restarted after being interrupted by a signal. The parameters on
3002 the stack were corrupted by the signal handler.
3004 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3006 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
3007 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
3009 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
3011 * posix/wordexp-test.c: In field-splitting test cases where
3012 subshells were involved, unset IFS first: some shells (ash) use
3013 IFS even when no expansion is performed.
3015 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3017 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
3018 the real end of the chunk, not some random point inbetween.
3019 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
3020 obstack when growing. Use fast version of obstack_blank when
3022 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
3023 allocating the vtable pointer.
3024 (_IO_obstack_vprintf): Adjust for above change and avoid
3025 unnecessary casts. Use fast version of obstack_blank when
3029 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
3031 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
3032 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
3034 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
3036 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
3037 is seen, as well as fixing semantics. Don't reset the word count
3038 to zero when an invalid character is seen, but leave it as it was
3039 (this makes a difference with WRDE_APPEND).
3041 * posix/wordexp-test.c: More test cases.
3043 * posix/wordexp.c (parse_param): In words like ${var#pattern},
3044 always expand pattern when it is needed. Also, handle quoting in
3047 1999-04-12 Philip Blundell <philb@gnu.org>
3049 * elf/elf.h: Update ARM definitions to match current gas2.
3051 * sysdeps/arm/bits/endian.h: Support big endian operation.
3053 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
3054 Don't bother range checking the port number.
3056 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
3058 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
3059 the syscall name in assembler output for ease of debugging.
3061 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
3063 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
3064 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
3065 (sysdep_routines): Add sigrestorer.
3067 * string/tester.c (test_strcpy): Add new tests for unaligned
3069 * sysdeps/arm/bits/string.h: Delete inline implementations of
3072 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
3074 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
3076 1999-04-10 Mark Kettenis <kettenis@gnu.org>
3078 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
3080 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
3082 * iconvdata/Makefile (modules): Add TIS-620.
3083 (distribute): Add tis-620.c.
3084 (gen-8bit-gap-modules): tis-620.
3085 * iconvdata/tis-620.c: New file.
3086 * iconvdata/gconv-modules: Add TIS-620 entries.
3088 * iconvdata/asmo_449.c: Correct comment.
3090 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3092 * manual/install.texi (Configuring and compiling): Comment out
3093 description of --disable-static since this doesn't work currently
3094 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
3096 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
3098 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
3100 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
3102 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3104 * scripts/test-installation.pl (installation_problem): Skip
3105 libnss1_* libraries from glibc-compat add-on.
3107 1999-04-07 H.J. Lu <hjl@gnu.org>
3109 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
3111 * posix/Versions (__waitpid): Likewise.
3113 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3115 * manual/install.texi (Reporting Bugs): Add section about reported
3116 bugs and correct email address of glibcbug script.
3118 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
3120 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
3121 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
3122 xdr_u_longlong_t. Based on patch from Dan Shechter
3123 <damageboy@isdn.net.il>.
3124 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
3125 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
3127 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
3129 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3131 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
3132 directly if getdents returns with error set.
3134 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3136 * locale/langinfo.h (THOUSEP): Rename second occurence of
3137 THOUSANDS_SEP to THOUSEP.
3138 Reported by Roman Belenov <roman@nstl.nnov.ru>.
3140 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
3142 * hurd/STATUS: File removed. Moved items that are still relevant into
3143 TODO list in hurd source.
3145 1999-03-26 Mark Kettenis <kettenis@gnu.org>
3147 * sysdeps/mach/hurd/bits/time.h: New file.
3148 * sysdeps/mach/hurd/getrusage.c: New file.
3149 * sysdeps/mach/hurd/clk_tck.c: New file.
3150 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
3151 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
3152 (sysdep_routines): Add clk_tck.
3153 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
3156 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
3158 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
3159 (closelog): But instead here.
3160 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
3162 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3164 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
3165 the source directory. Fixes PR libc/1059.
3167 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3169 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
3170 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3172 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
3174 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
3175 * iconvdata/testdata/ISO-8859-14: New file.
3176 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
3177 * iconvdata/testdata/ISO-8859-15: New file.
3178 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
3180 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
3182 * iconvdata/testdata/CP1258: New file.
3183 * iconvdata/testdata/CP1258..UTF8: New file.
3184 * iconvdata/TESTS: Add CP1258 entry.
3186 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
3188 * timezone/africa: Update from tzdata1999d.
3189 * timezone/europe: Likewise.
3190 * timezone/northamerica: Likewise.
3192 1999-03-31 Mark Kettenis <kettenis@gnu.org>
3194 * login/programs/pt_chown.c (main): Save effective user ID before
3195 dropping priviliges and use this to check if the program is
3198 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
3200 * iconvdata/testdata/CP1254: Update for charmap changes.
3201 * iconvdata/testdata/CP1254..UTF8: Likewise.
3202 * iconvdata/testdata/CP1255: Likewise.
3203 * iconvdata/testdata/CP1255..UTF8: Likewise.
3204 * iconvdata/testdata/CP1256: Likewise.
3205 * iconvdata/testdata/CP1256..UTF8: Likewise.
3206 * iconvdata/testdata/CP1257: Likewise.
3207 * iconvdata/testdata/CP1257..UTF8: Likewise.
3209 * iconvdata/Makefile (distribute): Remove cp1258.h.
3210 (gen-8bit-gap-modules): Add cp1258.
3211 * iconvdata/cp1258.h: Removed.
3213 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
3215 * timezone/tst-timezone.c (tests): Add more cases.
3216 (check_tzvars): Mark errors clearer.
3219 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
3221 * login/programs/pt_chown.c: Drop privileges if invoked with
3222 arguments. Don't close the master pty.
3224 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
3226 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
3229 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
3231 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
3232 relocation for SUID binaries.
3234 1999-03-29 Paul Eggert <eggert@twinsun.com>
3236 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
3237 while in child process.
3239 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
3241 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
3242 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
3243 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
3244 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
3245 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
3247 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
3248 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
3249 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
3250 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
3251 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
3252 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
3253 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
3254 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
3255 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
3256 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
3257 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
3258 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
3259 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
3260 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
3261 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
3262 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
3263 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
3264 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
3265 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
3266 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
3267 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
3268 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
3269 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
3270 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
3271 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
3272 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
3274 * sysdeps/sparc/sparc32/bcopy.c: New file.
3275 * sysdeps/sparc/sparc32/bzero.c: New file.
3276 * sysdeps/sparc/sparc32/memchr.S: New file.
3277 * sysdeps/sparc/sparc32/memcpy.S: New file.
3278 * sysdeps/sparc/sparc32/memmove.c: New file.
3279 * sysdeps/sparc/sparc32/memset.S: New file.
3280 * sysdeps/sparc/sparc32/stpcpy.S: New file.
3281 * sysdeps/sparc/sparc32/strchr.S: New file.
3282 * sysdeps/sparc/sparc32/strrchr.c: New file.
3283 * sysdeps/sparc/sparc32/strcpy.S: New file.
3284 * sysdeps/sparc/sparc32/strlen.S: New file.
3285 * sysdeps/sparc/sparc32/strcat.S: New file.
3286 * sysdeps/sparc/sparc32/strcmp.S: New file.
3288 * sysdeps/sparc/sparc64/bcopy.c: New file.
3289 * sysdeps/sparc/sparc64/bzero.c: New file.
3290 * sysdeps/sparc/sparc64/memchr.S: New file.
3291 * sysdeps/sparc/sparc64/memcmp.S: New file.
3292 * sysdeps/sparc/sparc64/memcpy.S: New file.
3293 * sysdeps/sparc/sparc64/memset.S: New file.
3294 * sysdeps/sparc/sparc64/stpcpy.S: New file.
3295 * sysdeps/sparc/sparc64/strcat.S: New file.
3296 * sysdeps/sparc/sparc64/strchr.S: New file.
3297 * sysdeps/sparc/sparc64/strcmp.S: New file.
3298 * sysdeps/sparc/sparc64/strcpy.S: New file.
3299 * sysdeps/sparc/sparc64/strcspn.S: New file.
3300 * sysdeps/sparc/sparc64/strlen.S: New file.
3301 * sysdeps/sparc/sparc64/strncpy.S: New file.
3302 * sysdeps/sparc/sparc64/strpbrk.S: New file.
3303 * sysdeps/sparc/sparc64/strrchr.c: New file.
3304 * sysdeps/sparc/sparc64/strspn.S: New file.
3305 * sysdeps/sparc/sparc64/stpncpy.S: New file.
3306 * sysdeps/sparc/sparc64/strncmp.S: New file.
3308 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
3309 Append -fPIC, don't replace.
3311 * configure.in: Recognize sparcv8plus / sparcv9.
3313 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3315 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
3316 char * to avoid C++ warning.
3317 Patch by yasushi@cs.washington.edu [PR libc/1035].
3319 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3321 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
3322 declared in stdlib.h, correct return value of mkstemp.
3323 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
3325 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
3328 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3330 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
3333 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
3334 inline functions. Closes PR libc/1049.
3336 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3338 * timezone/README: Update from tzdata1999c and tzcode1999c.
3340 * timezone/africa: Update from tzdata1999c.
3341 * timezone/antarctica: Likewise.
3342 * timezone/asia: Likewise.
3343 * timezone/australasia: Likewise.
3344 * timezone/europe: Likewise.
3345 * timezone/northamerica: Likewise.
3346 * timezone/southamerica: Likewise.
3347 * timezone/zone.tab: Likewise.
3349 * timezone/zic.c: Update from tzcode1999c.
3351 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3353 * Makerules: Add $(common-objpfx)Versions.all to common-generated
3354 outside of ifndef avoid-generated.
3356 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
3358 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
3360 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
3362 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
3363 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
3365 1999-03-26 Mark Kettenis <kettenis@gnu.org>
3367 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
3368 if we build the profiled library.
3370 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3372 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
3373 Jaeger <aj@arthur.rhein-neckar.de>
3375 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
3377 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
3378 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
3379 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
3381 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
3383 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
3384 works properly in subdirs.
3386 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
3388 * sysdeps/mach/hurd/Makefile: Undo last change.
3389 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
3390 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
3392 * mach/Machrules (+preinit, +postinit, +interp,
3393 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
3394 linked just like other shared libraries.
3395 (interface.so): Fix typo in defn, so it works.
3396 ($(objpfx)$(interface.so)): Make it depend on libc.so.
3398 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
3400 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
3401 $(link-rpcuserlibs).
3403 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3405 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
3406 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
3407 targets if not building shared libraries.
3409 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3411 * configure.in: Also look in $PATH when searching for
3412 install-info. Remove autoconf bug workaround and require autoconf
3415 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3417 * db/Makefile: Don't try to install shared library link if not
3418 building with shared libs.
3420 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3422 * rt/Makefile: Link against static library if no shared lib is
3425 * localedata/Makefile: The shells scripts implementing the test
3426 require the dynamic linker which is not available with
3427 --disable-shared. Skip the test if --disable-shared is given.
3429 * linuxthreads/Makefile: Link test against static libpthread if no
3430 shared lib is available.
3432 * iconvdata/Makefile (tests): Run iconv-test only if we're
3433 building shared libraries.
3434 * elf/Makefile (tests): Likewise for elf tests.
3436 * posix/Makefile: The test frameworks globtest and wordexp-test
3437 require the dynamic linker which is not available with
3438 --disable-shared. Skip the test if --disable-shared is given.
3440 * grp/Makefile (otherlibs): For static nss build link against
3443 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3445 * debug/Makefile (install-bin): Install and build catchsegv only
3446 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
3449 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3451 * time/tzfile.c (__tzfile_read): Handle the case where there are
3452 transitions but no DST.
3454 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
3456 * mach/Machrules (extra-libs-others): Add $(interface-library) here
3457 too, so it gets built in the others pass rather than the lib pass.
3458 This is necessary since the RPC libraries need to be linked against
3461 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
3463 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
3466 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
3467 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
3468 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
3469 versions of lib{mach,hurd}user.so without reference to libc.so,
3470 then link libc.so against that to get deps and symbol versions, then
3471 finally link real lib*user.so against libc.so.
3473 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
3474 Support whole-file locking (only) by using the file_lock RPC. This
3475 has very wrong semantics, but is better than nothing for the time
3476 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
3477 protocols that will be somewhat hairy to specify.)
3479 1999-03-17 Mark Kettenis <kettenis@gnu.org>
3481 * sysdeps/mach/hurd/ptsname.c: New file.
3483 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3485 * timezone/asia: Fix rule in Asia/Nicosia entry.
3487 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3489 * manual/getopt.texi (Using Getopt): Explain "::" in option
3490 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
3492 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
3494 * sunrpc/clnt_unix.c: Fix creation of parameters for
3495 sendmsg/recvmsg on non intel platforms.
3496 * sunrpc/svc_unix.c: Likewise.
3498 1999-03-18 Philip Blundell <philb@gnu.org>
3500 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
3503 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3505 * timezone/africa: Update from tzdata1999b.
3506 * timezone/asia: Likewise.
3507 * timezone/australasia: Likewise.
3508 * timezone/europe: Likewise.
3509 * timezone/northamerica: Likewise.
3510 * timezone/southamerica: Likewise.
3511 * timezone/zone.tab: Likewise.
3513 * timezone/README: Mention tzdata1999b.
3515 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
3517 * sysdeps/generic/segfault.c (write_strsignal): New function.
3518 (catch_segfault): Use it instead of calling strsignal.
3520 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3522 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
3523 char to avoid warning.
3525 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
3527 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
3529 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
3530 outbuf to unsigned char to avoid warning.
3532 1999-03-11 David S. Miller <davem@redhat.com>
3534 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
3536 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
3538 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
3540 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
3542 (gconv_step_data): Likewise.
3543 * iconv/gconv_int.h (__gconv): Likewise.
3544 (__BUILINT_TRANS): Likewise.
3545 * iconv/gconv.c (__gconv): Likewise.
3546 * iconv/iconv.c (iconv): Add casts for call of __gconv.
3547 * iconv/skeleton.c: Change local parameters and variable from `char' to
3548 `unsigned char'. Remove casts from calls into modules.
3549 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
3550 `char' to `unsigned char'.
3551 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
3552 * wcsmbs/mbrtowc.c: Likewise.
3553 * wcsmbs/mbsnrtowcs.c: Likewise.
3554 * wcsmbs/mbsrtowcs.c: Likewise.
3555 * wcsmbs/wcrtomb.c: Likewise.
3556 * wcsmbs/wcsnrtombs.c: Likewise.
3557 * wcsmbs/wcsrtombs.c: Likewise.
3558 * wcsmbs/wctob.c: Likewise.
3560 1999-03-15 Mark Kettenis <kettenis@gnu.org>
3562 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
3563 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
3564 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
3565 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
3566 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
3567 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
3569 1999-03-15 Mark Kettenis <kettenis@gnu.org>
3571 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
3572 _hurd_select if TIMEMOUT is -1.
3574 1999-03-15 Mark Kettenis <kettenis@gnu.org>
3576 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
3578 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
3580 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
3581 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
3583 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3585 * manual/libc.texinfo: Undo last change for now.
3587 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
3589 * intl/locale.alias: Add entries for Croatian.
3590 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
3592 1999-03-13 Mark Kettenis <kettenis@gnu.org>
3594 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
3595 if the opened master pty really is a pty. `isatty' checks for
3596 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
3597 if we are out of pty's.
3599 1999-03-13 Mark Kettenis <kettenis@gnu.org>
3601 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
3602 opened file is closed on exec.
3603 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
3606 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3608 * manual/llio.texi (File Position Primitive): Reformat @end
3609 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
3611 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
3613 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
3615 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3616 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
3618 * locale/programs/localedef.c (main): Initialize `cat' to please
3621 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
3623 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
3624 check for root-owned symlinks and reject them too.
3626 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3628 * stdio-common/printf_fphex.c: Move to ...
3629 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
3630 extended precision number.
3631 * sysdeps/m68k/printf_fphex.c: New file.
3633 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3635 * manual/stdio.texi: Fix typos.
3637 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
3639 * version.h (VERSION): Bump to 2.1.1.
3641 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
3643 * nis/ypclnt.c: Try only twice to connect to NIS server.
3645 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
3647 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
3649 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3651 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
3652 (DENORM_EXP): New define. Use it as the exponent for a denormal.
3653 * stdlib/strtold.c: Moved to ...
3654 * sysdeps/generic/strtold.c: ... here.
3655 * sysdeps/m68k/strtold.c: New file.
3657 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3659 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
3660 point if the precision is zero, even if the mantissa is non-zero.
3662 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
3664 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
3665 arguments into the request message buffer inside `send_rpc'
3666 subfunction. We must repeat the marshalling when retrying the RPC
3667 after a SIGTTOU delivery.
3669 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
3670 path when there is no ctty port.
3671 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
3672 Move sigstate check inside loop so we recheck after handling a signal.
3674 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3676 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
3677 O_EXLOCK are BSD extensions.
3678 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
3680 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
3682 * manual/signal.texi (Termination in Handler): Correct example.
3683 Install default handler before reraising the signal.
3684 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
3686 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
3688 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
3689 null, in which case send an empty string.
3691 1999-03-02 Mark Kettenis <kettenis@gnu.org>
3693 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
3694 backward compatibility EH functions to be linked when using
3695 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
3697 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3699 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
3700 /dev/pts status may change during runtime.
3702 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3704 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
3705 change. /dev/pts status can change during runtime.
3707 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
3709 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
3711 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
3712 add some more sanity checks.
3713 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
3716 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
3718 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
3719 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
3720 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
3721 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
3722 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
3724 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
3725 * nis/nis_print.c: Fix ctime argument for platforms where
3726 sizeof (time_t) != sizeof (int).
3728 1999-03-07 Mark Kettenis <kettenis@gnu.org>
3730 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
3731 CLOCKS_PER_SEC instead of CLK_TCK.
3733 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
3735 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
3736 whether /dev/pts is available.
3737 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
3740 * posix/globtest.sh: Make common_objpfx path absolute and and db2
3741 and hesiod directory to library path [PR libc/1007].
3743 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3745 * resolv/inet_addr.c (inet_aton): Don't allow componets >
3746 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
3748 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
3750 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
3751 DT_PLTGOT has already been relocated.
3752 (__elf_machine_fixup_plt): Likewise.
3755 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
3757 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
3759 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
3761 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
3762 and fold string to uppercase [PR libc/1005].
3764 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3766 * elf/dl-load.c (lose): Fix return type.
3768 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
3770 * sysdeps/mach/hurd/bits/fcntl.h
3771 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
3772 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
3773 set O_NOTRANS as well.
3774 (__hurd_file_name_lookup_retry): At successful end of lookup,
3775 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
3776 it is a translated node not owned by root.
3777 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
3778 on the file name passed to LOOKUP.
3780 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
3782 * manual/time.texi (High Resolution Timer): Correct computation in
3783 example. Reported by jjf@devel.cemsys.com.
3785 1999-03-02 Philip Blundell <pb@nexus.co.uk>
3787 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
3788 entry is already relocated.
3790 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3792 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
3793 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
3795 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3797 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
3798 uc_link which is the right name according to Unix98.
3799 Reported by Craig Metz [PR libc/1001].
3800 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
3801 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
3802 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
3803 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
3804 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
3805 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
3807 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3809 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
3812 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3814 * iconvdata/Makefile: Always include iconv-rules, but disable rule
3815 to regenerate it if avoid-generated.
3817 * Makeconfig: Always include sys-dirs, but disable rule to
3818 regenerate it when avoid-generated.
3820 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
3821 rule to generate sysd-syscalls.
3823 * elf/Makefile (generated): Remove $(objpfx) from names.
3825 1999-02-28 Mark Kettenis <kettenis@gnu.org>
3827 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
3828 actual length if the adress length is smaller than the input
3829 value. Change type of *LEN paramater to socklen_t.
3830 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
3831 * sysdeps/mach/hurd/accept.c (accept): Likewise.
3832 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
3833 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
3834 paramater to socklen_t.
3836 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
3838 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
3839 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
3842 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
3844 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
3845 __get_phys_pages): Cast &HBI to silence warning.
3847 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
3848 * hurd/hurdchdir.c: New file.
3849 * hurd/hurdfchdir.c: New file.
3850 * sysdeps/mach/hurd/chroot.c: Call
3851 _hurd_change_directory_port_from_name to do the work.
3852 * sysdeps/mach/hurd/chdir.c: Likewise.
3853 * sysdeps/mach/hurd/fchdir.c: Call
3854 _hurd_change_directory_port_from_fd to do the work.
3855 * hurd/fchroot.c: Likewise.
3856 * hurd/hurd.h: Declare them.
3858 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
3860 * elf/dl-load.c (lose): Add more comments to explain the `why'.
3861 (_dl_map_object): Remove redundant test.
3863 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
3865 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
3866 try to _hurd_port_free a lower-numbered descriptor that was not in any
3869 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3871 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
3872 declaration for ____wcstod_l_internal.
3874 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
3875 __strtod_internal prototype.
3876 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
3877 (____strtold_l_internal): Add prototype declaration.
3878 (__strtold_l): Call correct function.
3880 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
3882 * elf/elf.h: Add 32bit HPPA definitions.
3884 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3886 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
3887 non-checked heap is restored when malloc checking was requested by
3889 (struct malloc_state): Add using_malloc_checking.
3890 (MALLOC_STATE_VERSION): Increment minor.
3891 (using_malloc_checking, disallow_malloc_check): New variables.
3892 (__malloc_check_init): Use them.
3893 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
3894 that it can the chunk is properly instrumented when malloc
3895 checking is enabled. Set the new using_malloc_checking field.
3896 (malloc_hook_ini): Correct signature when _LIBC is not defined.
3898 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3900 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
3901 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
3904 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
3905 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
3906 if ld.so is the main program.
3908 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
3910 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
3911 large for work_buffer, allocate new buffer.
3912 (printf_unknown): Likewise. [PR libc/988]
3914 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
3916 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
3917 instead of stat and fstat.
3918 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3920 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3922 * elf/dl-error.c (_dl_signal_cerror): New function.
3923 (_dl_signal_error): Don't call receiver function.
3924 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
3925 instead of _dl_signal_error when reporting references to undefined
3926 symbols or versions.
3927 (_dl_lookup_versioned_symbol): Likewise.
3928 (_dl_lookup_versioned_symbol_skip): Likewise.
3929 * elf/dl-version.c (match_symbol): Likewise.
3931 * elf/ldsodefs.h: Declare _dl_signal_cerror.
3933 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
3935 * misc/getttyent.c (getttyent): Release lock on stream later to
3936 also protect global variable zapchar.
3938 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
3939 __times [PR libc/990].
3941 1999-02-21 David S. Miller <davem@redhat.com>
3943 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
3944 parentheses in Feb 2 changes.
3945 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3947 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3949 * sysdeps/generic/glob.c (glob): Save previous errno.
3951 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
3953 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
3954 lookup functions if it is too small.
3956 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
3958 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
3959 for tracing to the scope lists.
3960 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
3961 DT_SYMTAB is always available according to ELF spec.
3963 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
3964 call test whether there is any scope left.
3965 (_dl_lookup_versioned_symbol_skip): Likewise.
3967 * elf/Makefile (distribute): Add do-lookup.h.
3968 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
3969 * elf/dl-lookup.c: Move do_lookup function in separate file and
3970 include the file twice, for handling versioning and without it.
3972 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
3973 entry is already relocated.
3974 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
3975 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
3976 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
3977 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
3979 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
3981 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
3984 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
3985 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
3986 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
3987 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
3988 rel and rela relocations can both happen and skip one test if this
3990 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
3992 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
3994 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
3996 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
3997 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
3998 (_dl_map_object): DT_STRTAB entry is already relocated.
3999 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
4001 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
4003 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
4004 DT_VERSYM entries are already relocated.
4005 (profile_fixup): Likewise.
4006 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
4008 (match_symbol): DT_STRTAB entry is already relocated.
4009 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
4010 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
4011 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
4012 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
4013 (find_needed): DT_STRTAB entry is already relocated.
4014 (dl_main): Pass extra argument to elf_get_dynamic_info.
4015 DT_STRTAB entry is already relocated.
4016 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
4017 DT_PLTGOT entries are already relocated.
4018 (elf_machine_rela): Likewise for DT_SYMTAB.
4019 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
4021 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4022 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
4023 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4024 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4025 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
4026 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
4027 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
4028 * sysdeps/mips/mips64/dl-machine.h: Likewise.
4030 * grp/initgroups.c (initgroups): If function in current module was
4031 successful don't stop but continue to process to get all the groups.
4033 * elf/dl-load.c (_dl_map_object_from_fd): Use global
4034 _dl_pf_to_proot array to convert p_flags value.
4035 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4037 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
4038 loop to clear `info'.
4040 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
4041 do the work and don't use inline assembler.
4043 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
4045 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
4046 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
4047 noreturn, and prevent it from being inlined.
4048 Define LOSE appropriately.
4049 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
4050 Optimize decoding of p_flags for certain platforms.
4052 1999-02-19 Philip Blundell <pb@nexus.co.uk>
4054 * Makeconfig (link-libc): When doing a static link, make sure that
4055 libgcc.a is included both before and after libc.a.
4057 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
4059 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
4060 sp_warn, sp_inact, sp_expire and sp_flag.
4062 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
4064 * elf/link.h (link_map): Add l_dev and l_ino.
4065 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
4066 loaded shared object with all loaded objects. Initialize l_ino
4067 and l_dev in case it's new.
4068 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
4070 * elf/Makefile: Compile and run new test.
4071 * elf/multiload.c: New file.
4073 * nss/nsswitch.h (service_user): Change name field from const char *
4075 (name_database_entry): Likewise.
4076 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
4077 for change of `service_user'.
4078 (nss_getline): Adjust memory allocation for change of
4079 `name_database_entry'.
4081 * catgets/catgets.c: Correctly handle NLSPATH from environment
4084 * io/Makefile (routines): Add lock64.
4085 * io/Versions: Add lockf64 for GLIBC_2.1.1.
4086 * sysdeps/generic/lockf64.c: New file.
4088 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
4090 * string/bits/string2.h: Only use strncmp optimization if count
4091 argument is constant.
4093 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
4095 * sysdeps/mach/hurd/revoke.c: New file.
4097 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
4099 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
4100 int to avoid warning about `ISO C restricts enumerator values to
4103 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4105 * elf/dlfcn.h: Fix typo.
4106 * sysdeps/generic/bits/dlfcn.h: Likewise.
4107 * sysdeps/mips/bits/dlfcn.h: Likewise.
4109 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
4111 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
4112 for the case N == 0.
4114 * db2/Makefile (distribute): Add LICENSE.
4116 1999-02-03 Jeff Bailey <jbailey@nisa.net>
4118 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
4121 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
4123 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
4125 * time/mktime.c: Use ISO C form for function definitions and
4126 remove unnecessary prototypes.
4128 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
4130 * time/time.h: Avoid unneccesary #ifdef.
4132 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
4134 * stdio-common/_itoa.c (_itoa): Correct parameters to
4137 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4139 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
4140 before (e.g. in glob.h).
4143 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4145 * sysdeps/mips/fpu_control.h: Fix typo.
4146 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
4149 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
4151 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
4152 the "unused" ends of the sockets. Let pipes be bidirectional.
4154 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
4156 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
4159 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4161 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
4162 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
4164 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
4165 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
4167 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
4169 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
4171 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4173 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
4174 check for priority mask.
4176 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
4178 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
4179 Reported by Craig Metz <cmetz@inner.net> .
4181 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4183 * stdio-common/Makefile (tests): tllformat added.
4185 * stdio-common/tllformat.c: New program, based on tiformat.c with
4186 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4188 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4190 * posix/test-vfork.c: Fix exit status test.
4192 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4194 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
4195 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
4197 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4199 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
4200 of separare explicit comparisons.
4202 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4204 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
4207 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
4210 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
4212 * po/el.po: Update from translation team.
4214 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4216 * intl/locale.alias: Fix slovenian entry [PR libc/948].
4218 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4220 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
4221 * inet/ruserpass.c: Likewise.
4222 * locale/programs/stringtrans.c: Likewise.
4223 * locale/programs/localedef.c: Likewise.
4224 * nscd/grpcache.c: Likewise.
4225 * nss/nss_files/files-XXX.c: Likewise.
4226 * stdlib/canonicalize.c: Likewise.
4227 * sysdeps/posix/sigwait.c: Likewise.
4229 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4231 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
4232 even on 64 bit platforms.
4234 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4235 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
4237 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
4239 * intl/dcgettext.c: Include locale.h is available.
4241 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
4243 * po/nl.po: Update from translation team.
4245 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
4247 * Makefile: Allow calling goals for po subdir.
4249 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
4252 * po/el.po: New file.
4254 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4256 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
4257 when processing DT_SYMBOLIC objects.
4259 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4261 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
4262 program headers without PT_PHDR only require that they are
4263 contained within one of the loaded segments. Don't use assert,
4264 since that would be a bug in the object, not the dynamic linker.
4266 1999-02-08 Richard Henderson <rth@cygnus.com>
4268 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
4269 restore all call-clobbered fp regs.
4271 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
4273 * po/cs.po: New file.
4275 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
4278 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
4280 * signal/signal.h: Don't declare __libc_allocate_rtsig.
4281 * include/signal.h: Declare __libc_allocate_rtsig here.
4283 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
4284 point functions, not do_lookup since the later can be called more
4287 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
4289 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
4290 macro, so that architectures which need to add some special
4291 offset to stack pointer can share this file.
4293 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
4294 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
4295 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
4296 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
4298 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
4299 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
4300 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
4301 between sparc32 and sparc64.
4303 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
4304 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
4305 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
4306 between sparc32 and sparc64.
4308 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
4309 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
4310 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
4311 between sparc32 and sparc64.
4313 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
4314 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
4315 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
4316 between sparc32 and sparc64.
4318 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
4320 * Versions.def: New version GLIBC_2.1.1 for libc.
4321 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
4322 * stdlib/labs.c: Moved to...
4323 * sysdeps/generic/labs.c: ...here.
4324 * stdlib/llabs.c: Moved to...
4325 * sysdeps/generic/llabs.c: ...here.
4326 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
4327 header. Declare _Exit.
4328 * sysdeps/generic/_exit.c: Add alias _Exit.
4329 * sysdeps/mach/hurd/_exit.c: Likewise.
4330 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
4331 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
4332 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
4333 * sysdeps/unix/_exit.c: Likewise.
4334 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
4335 imaxdiv and imaxabs. Declare lldiv_t if necessary.
4336 * sysdeps/wordsize-64/inttypes.h: Likewise.
4337 * sysdeps/wordsize-32/llabs.c: New file.
4338 * sysdeps/wordsize-32/lldiv.c: New file.
4339 * sysdeps/wordsize-64/labs.c: New file.
4340 * sysdeps/wordsize-64/ldiv.c: New file.
4341 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
4342 * manual/startup.texi: Document _Exit.
4344 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4346 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
4348 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
4350 * Versions.def: Add versions for ld.so.
4351 * csu/Versions: Remove __libc_stack_end here.
4352 * elf/Versions: Split libc definitions in libc and ld.so definitions.
4353 * elf/Makefile (ld-map): Change to ld.so.map.
4354 * scripts/versions.awk: Recognize dot in library names.
4356 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
4357 Don't use __tolower and __toupper in inline functions.
4358 Add optimizing macros for tolower and toupper.
4359 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
4360 (_toupper): Don't use __toupper.
4361 * ctype/ctype.c (tolower): Don't use __tolower.
4362 (toupper): Don't use toupper.
4364 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
4366 * resolv/Versions (libresolv): Export __ns_name_unpack and
4368 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
4369 make it global. Change all users. Similar for ns_name_ntop.
4370 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
4371 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
4372 directly to detect too small buffer.
4373 * resolv/nss_dns/dns-network.c: Likewise.
4375 * stdio-common/Makefile (tests): Add scanf12.
4376 * stdio-common/scanf12.c: New file.
4377 * stdio-common/scanf12.input: New file.
4378 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
4379 floating-point correctly if the number is invalid.
4381 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
4383 * stdio-common/printf_fp.c: Likewise.
4384 * stdio-common/printf_fphex.c: Likewise.
4385 * stdio-common/vfprintf.c: Likewise.
4388 See ChangeLog.9 for earlier changes.