1 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
3 * login/openpty.c (openpty): Make sure pty does not because
6 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
8 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
10 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
11 Do proper error return.
13 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
15 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
16 of __P in the rest of glibc; define __MALLOC_PMT and use it.
17 Reported by Stephan Kulow <coolo@kde.org>.
19 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
21 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
23 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
25 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
27 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
28 names to protect from user's macro namespace.
29 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
30 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
31 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
32 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
33 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
35 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
36 sysdeps/arm/fpu/fesetenv.c: Likewise.
37 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
38 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
39 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
40 * sysdeps/mips/fesetenv.c: Likewise.
42 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
44 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
46 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
48 * configure.in: Recognize and allow gcc 2.95.
50 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
52 * sysdeps/generic/bits/elfclass.h: Version common to
53 wordsize-32 and wordsize-64.
54 * sysdeps/generic/bits/environments.h: Ditto.
55 * sysdeps/generic/stdint.h: Ditto.
56 * sysdeps/generic/inttypes.h: Ditto.
58 * sysdeps/generic/bits/wordsize.h: New file.
59 * stdlib/Makefile: Add bits/wordsize.h to headers.
61 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
63 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
64 headers to be used for 32bit and 64bit ABI compilations.
65 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
66 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
67 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
68 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
69 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
71 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
72 * sysdeps/wordsize-64/bits/environments.h: Remove.
73 * sysdeps/wordsize-64/stdint.h: Remove.
74 * sysdeps/wordsize-64/inttypes.h: Remove.
75 * sysdeps/wordsize-64/bits/wordsize.h: New file.
77 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
78 * sysdeps/wordsize-32/bits/environments.h: Remove.
79 * sysdeps/wordsize-32/stdint.h: Remove.
80 * sysdeps/wordsize-32/inttypes.h: Remove.
81 * sysdeps/wordsize-32/bits/wordsize.h: New file.
83 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
85 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
86 __align_cpy_16): New functions.
87 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
89 * sysdeps/sparc/sparc32/Versions: New file.
90 * sysdeps/sparc/sparc64/Versions: New file.
91 * sysdeps/sparc/Versions: Remove.
93 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
95 * sysdeps/unix/sysv/linux/configure.in:
96 On sparc64-*-linux*, set slibdir to /lib64 if prefix
97 is /usr, plus set libdir to ${exec_prefix}/lib64.
98 * sysdeps/unix/sysv/linux/configure: Regenerated.
99 * config.make.in: Propagate libdir settings from configure
101 * shlib-versions: sparc64-*-linux* dynamic linker is
102 /lib64/ld-linux.so.2.
104 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
106 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
109 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
111 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
112 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
114 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
115 contains garbage in bits 8-63.
116 * sysdeps/sparc/sparc64/memset.S: Ditto.
117 * sysdeps/sparc/sparc64/strchr.S: Ditto.
119 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
121 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
123 1999-05-17 David S. Miller <davem@redhat.com>
125 * sysdeps/sparc/sparc32/atomicity.h: New file.
126 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
127 * sysdeps/sparc/sparc64/atomicity.h: New file.
128 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
131 1999-05-18 Richard Henderson <rth@twiddle.net>
133 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
135 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
137 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
138 posix/sys/types.h: Handle the case of __GNUC__=3,
139 __GNUC_MINOR__=(anything).
141 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
143 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
146 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
148 * elf/Makefile (distribute): Remove dl-origin.h.
149 Add dl-dst.h and gen-trusted-dirs.awk.
151 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
153 * sysdeps/i386/i486/Versions: New file with inline functions from
154 sysdeps/i386/i486/bits/string.h for now.
156 * sysdeps/i386/Versions: Add inline functions from
157 sysdeps/i386/bits/string.h.
159 * string/Versions: Add inline functions from <bits/string2.h>.
161 * string/Makefile (routines): Add string-inlines.
162 * string/string-inlines.c: New file, used for implementation of
163 extern inline functions.
165 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
166 non inlined versions of functions.
167 * string/bits/string2.h: Likewise.
168 * sysdeps/i386/bits/string.h: Likewise.
170 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
172 * inet/arpa/tftp.h: Add second packed attribute.
174 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
176 * malloc/malloc.c: Cleanup to bring in line with released
177 stand-alone version `ptmalloc'. Update some comments.
178 (internal_function): Move fallback definition so that the source
179 compiles outside of libc, and use it in more places.
180 (malloc_atfork): Fix when malloc_check is in use.
182 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
184 * stdlib/tst-strtod.c: Fix typo.
186 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
188 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
191 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
193 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
195 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
197 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
198 * sunrpc/key_call.c: Fix memory leak, close file handle.
199 * nis/nis_creategroup.c: Use malloc instead of calloc,
201 * nis/nis_subr.c: Check for realloc result.
202 * nis/nis_file.c: Fix memory leak.
203 * nis/nis_table.c: Pretty print.
204 * nis/nis_getservlist.c: Likewise.
205 * nis/nis_ismember.c: Likewise.
206 * nis/nis_lookup.c: Likewise.
207 * nis/nis_ping.c: Likewise.
208 * nis/nis_removemember.c: Likewise.
209 * nis/nis_util.c: Likewise, check calloc result.
211 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
213 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
214 * sysdeps/generic/sys/socketvar.h: ... here.
215 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
216 * sysdeps/generic/netinet/in_systm.h: ... here.
217 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
219 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
220 * inet/Makefile (headers): Add netinet/in_systm.h here.
221 * socket/Makefile (headers): Add sys/socketvar.h here.
223 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
225 * stdlib/strtol.c: Optimize inner loop of long long versions.
227 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
228 Unix98. Add forward declaration of struct utmp.
230 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
232 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
235 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
236 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
237 memory allocation results.
239 1999-05-14 Mark Kettenis <kettenis@gnu.org>
241 * sysdeps/generic/getutmp.c: Include <string.h>
242 (getutmp): Rewrite to only copy those members that are really
243 present in `struct utmp'.
244 * sysdeps/generic/getutmpx.c: Likewise.
246 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
248 * nss/getXXbyYY.c: Add free_mem function which disposes all
249 statically allocated memory when debugging.
250 * nss/getXXent.c: Likewise.
251 * nss/nsswitch.c: Likewise.
253 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
255 * sysdeps/gnu/getutmpx.c: New file.
256 * sysdeps/gnu/getutmp.c: New file.
258 1999-05-13 H.J. Lu <hjl@gnu.org>
260 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
263 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
266 * sysdeps/gnu/utmpx.h (getutmp): Added.
267 (getutmpx): Likewise.
269 * sysdeps/generic/getutmp.c: New file.
271 * sysdeps/generic/getutmpx.c: New file.
273 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
275 * glibcbug.in (BUGGLIBC): Change address to
276 libc-alpha@sourceware.cygnus.com.
278 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
280 * resolv/arpa/nameser.h: Add C++ protectors.
282 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
284 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
285 Elad Tsur <eladts@post.tau.ac.il>.
287 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
289 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
290 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
291 lazily if LD_BIND_NOW is not set.
292 * elf/dl-support.c (_dl_lazy): New variable.
293 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
294 * elf/rtld.c (_dl_lazy): new global variable.
295 ( dl_main): Remove lazy, replace it by _dl_lazy.
297 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
299 * locale/setlocale.c (new_composite_name): Check also whether the
300 first category name differs.
302 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
304 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
307 1999-05-11 Philip Blundell <pb@nexus.co.uk>
309 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
310 structure; storage suitable for any socket address.
311 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
313 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
314 sockaddr_storage): Likewise.
316 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
319 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
321 * hesiod/Versions: Change _nss_hesiod_getpwuid and
322 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
323 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
325 1999-05-09 Mark Kettenis <kettenis@gnu.org>
327 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
328 if the file is empty.
330 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
332 * elf/do-lookup.h: Fix typo in comment.
334 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
335 f_bsize to help some broken programs.
337 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
339 * stdio-common/vfprintf.c: Fix typo.
341 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
343 * elf/link.h (struct link_map): New field l_phdr_allocated.
344 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
345 the program header being part of any loaded segment. If it is not
346 allocate memory and set l_phdr_allocated flag.
347 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
349 * nss/digits_dots.c: Correct return value interpretation of
350 inet_ntoa. Fix PR libc/1109.
352 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
354 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
356 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
358 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
359 * stdlib/fpioconst.c: Move #endif before end of struct.
361 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
363 * Versions.def (ld.so): Add GLIBC_2.1.1.
364 * elf/Makefile (routines): Add dl-origin.
365 (tests): Add origtest. Add dependencies for the program.
366 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
367 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
368 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
369 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
370 DT_AUXILIARY, and DT_FILTER filenames.
371 * elf/dl-load.c (expand_dynamic_string_token): Explode into
372 two functions and three macros.
373 (_dl_dst_count, _dl_dst_substitute): New functions.
374 * elf/dl-dst.h: New file.
375 * elf/dl-open.c (_dl_open): Take extra parameter with address of
376 caller. Pass address in args structure.
377 (dl_open_worker): Recognize and expand DSTs in filename.
378 * elf/ldsodefs.h (_dl_open): Adapt prototype.
379 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
380 (__dlopen_check): Pass caller address to dlopen_doit in args.
381 * elf/dlopendoit.c: Likewise.
382 * iconv/gconv_dl.c: Adapt call of _dl_open.
383 * nss/nsswitch.c: Likewise.
384 * elf/origtest.c: New file.
385 * sysdeps/generic/dl-origin.h: Moved to...
386 * sysdeps/generic/dl-origin.c: ...here.
387 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
388 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
390 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
391 with specific bases and only few bits set in second word.
393 * timezone/Makefile (install-others): Create target directory
394 before creating tzfiles.
396 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
398 * nis/nis_file.c (readColdStartFile): Allocate memory only after
399 the file is opened successfully.
401 * nis/nis_table.c: Fix some memory leaks.
403 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
405 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
408 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
409 around DST. Correctly ignore ORIGIN IN SUID binaries.
411 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
413 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
414 * sysdeps/generic/strtok.c: Likewise.
416 * string/tester.c: Add test of rawmemchr.
418 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
419 specification. It's not necessary.
421 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
422 * elf/gen-trusted-dirs.awk: New file.
423 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
424 from SYSTEM_DIRS macro.
425 (system_dirs_len): New variable. Contains lengths of system_dirs
427 (fillin_rpath): Rewrite for systems_dirs being a simple string.
428 Improve string comparisons. Change parameter trusted to be a flag.
430 (_dt_init_paths): Improve using new format for system_dirs.
432 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
433 $ORIGIN for SUID binaries.
435 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
437 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
439 * sunrpc/Makefile: Generate dependencies for all flavors of
441 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
444 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
446 * elf/dlopenold.c: Move #if down after includes to get
449 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
451 * sysdeps/generic/bzero.c: Undefine __bzero.
453 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
455 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
456 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
457 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
458 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
460 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
461 parameter to struct gaih_servtuple *. Adapt appropriately.
462 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
463 This fixes a memory leak.
464 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
466 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
467 and fpregset_t definition. They are defined in ucontext.h.
469 1999-04-14 Scott Bambrough <scottb@netwinder.org>
471 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
472 and struct ether_header must be packed on the ARM. The default
473 alignment constraints add padding to the end of the structures.
475 1999-04-14 Scott Bambrough <scottb@netwinder.org>
477 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
478 default alignment constraints add padding to the end of the
479 structure and between members.
481 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
483 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
484 _dl_cache_libcmp instead of strcmp.
486 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
488 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
490 1998-03-30 Joel Klecker <espy@debian.org>
492 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
493 (sysdep-others,install-bin): Add lddlibc4.
495 1999-05-02 H.J. Lu <hjl@gnu.org>
497 * timezone/zic.c (dolink): Remove the symlink destination first.
499 * catgets/open_catalog.c (__open_catalog): Set catalog->status
500 to "nonexisting" if failed to open the file.
502 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
504 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
507 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
508 Prevent warnings from multiplication with 0x01010101 by another cast.
510 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
512 * string/bits/string2.h (memset): Revert to previous version if
513 unaligned writes are not available.
515 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
517 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
518 better code in presence of the asm.
520 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
522 * stdlib/fmtmsg.c (keywords): Increase array size for faster
525 * locale/localeinfo.h (_nl_category_names): Increase array element
526 size for faster indexing.
527 * locale/setlocale.c (_nl_category_names): Adjusted.
529 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
531 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
533 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
535 * sysdeps/m68k/stackinfo.h: New file.
537 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
539 * string/tester.c (test_strchrnul): New function.
540 (test_memset): Test one more special case.
542 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
545 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
548 * string/bits/string2.h: Fix bugs I introduced in last change.
550 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
552 Extend memset optimization.
553 Correct i686 version of memchr.
555 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
557 * sysdeps/i386/bzero.c: Add #undef __bzero.
559 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
560 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
561 exec server simulated a SIGTRAP before we even started up, so gdb is
564 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
566 * nss/digits_dots.c: Always initialize not_ok.
568 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
570 * string/bits/string2.h (memset): Avoid arithmetic overflow at
571 compile time, which produces obnoxious warnings. If GCCv2 is
572 in use, map __bzero to __builtin_memset to enable that
575 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
577 * string/bits/string2.h: Add more memset optimizations.
579 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
581 * resolv/inet_pton.c (inet_pton4): Little optimizations.
582 (inet_pton6): Likewise.
584 * nss/getXXbyYY_r.c: Include assert.h.
585 * nss/getXXbyYY.c: Likewise.
587 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
589 * termios/tcgetsid.c (tcgetsid): Rename variable to
590 tiocgsid_does_not_work.
592 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
594 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
596 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
598 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
599 This allows e.g. gethostbyname to accept "10.1234".
600 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
602 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
603 non quad IPv4 numbers.
605 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
607 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
609 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
611 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
612 * argp/argp-parse.c (_argp_hang): Likewise.
613 * argp/argp-pv.c (argp_program_version): Likewise.
614 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
615 * inet/ether_hton.c (ether_hton, startp): Likewise.
616 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
617 * inet/getnetgrent_r.c (setup, startp): Likewise.
618 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
619 * intl/localealias.c (string_space, string_space_act, string_space_max,
620 nmap, maxmap): Likewise.
621 * libio/iopopen.c (proc_file_chain): Likewise.
622 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
623 * locale/lc-collate.c (__collate_table, __collate_extra,
624 __collate_element_hash, __collate_element_strings,
625 __collate_element_values): Likewise.
626 * malloc/mcheck.c (mcheck_used): Likewise.
627 * malloc/mtrace.c (added_atexit_handler): Likewise.
628 * malloc/set-freeres.c (already_called): Likewise.
629 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
630 * misc/syslog.c (LogStat, LogTag): Likewise.
631 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
632 * nss/getXXbyYY_r.c (startp): Likewise.
633 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
634 * posix/regex.c (init_syntax_once) [done]: Likewise.
636 * string/strfry.c (init): Likewise.
637 * sunrpc/svc_run.c (svc_top): Likewise.
638 * posix/euidaccess.c (have_ids): Likewise.
639 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
640 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
641 * time/getdate.c (getdate_err): Likewise.
642 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
644 * time/tzset.c (old_tz, is_initialized): Likewise.
646 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
647 of static data with zero.
648 * signal/allocrtsig.c (init): Likewise.
650 * string/Makefile (routines): Add strchrnul.
651 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
652 * string/string.c: Add strchrnul prototype.
653 * include/string.h: Add __strchrnul prototype.
654 * sysdeps/generic/strchrnul.c: New file.
655 * sysdeps/i386/strchrnul.S: New file.
656 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
657 * sysdeps/i386/i486/bits/string.c: Likewise.
658 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
659 * inet/ether_line.c (ether_line): Likewise.
660 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
661 * nss/nsswitch.c (nss_parse_file): Likewise.
662 * posix/execvp.c (execvp): Likewise.
663 * posix/fnmatch.c (internal_fnmatch): Likewise.
664 * resolv/res_hconf.c (_res_hconv_init): Likewise.
665 * resolv/res_init.c (res_init): Likewise.
666 * stdlib/fmtmsg.c (init): Likewise.
667 * stdlib/getsubopt.c (getsubopt): Likewise.
669 * catgets/catgets.c (catopen): Only allocate one memory block.
670 (catclose): Only one free call necessary.
672 * catgets/open_catalog.c (__open_catalog): Simplify handling of
675 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
676 of real functions. Simplify _tolower and _toupper.
678 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
681 * iconv/gconv.h (struct gconv_info): Change data element from pointer
683 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
684 * iconv/gconv_close.c (__gconv_close): Don't free data.
686 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
689 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
690 for error while inserting in tree.
692 * include/time.h: Pretty print.
694 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
695 in table and lots of relocations.
696 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
697 string pointers in table and lots of relocations.
699 * intl/finddomain.c: Remove definition of strchr macro.
701 * io/ftw.c (nftw_arr, ftw_arr): Make const.
703 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
705 * locale/localeinfo.h (_nl_category_names): Change into an array with
706 fixed width char string elements.
707 * locale/setlocale.c (_nl_category_names): Likewise.
708 (_nl_current): Make global.
709 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
711 * malloc/Makefile (distribute): Add stackinfo.h.
712 * sysdeps/generic/stackinfo.h: New file.
713 * sysdeps/i386/stackinfo.h: New file.
714 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
715 * posix/execle.c: Likewise.
716 * posix/execlp.c: Likewise.
718 * nis/nis_table.c (__create_ib_request): Always use realloc.
720 * posix/execvp.c (execute): Rename to script_execute and keep only
721 code to execute using shell.
722 (execvp): Call execv directly and only fall back on script_execute.
724 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
725 and always use xdigits instead.
727 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
730 * stdlib/fpioconst.h (__tens): New declaration.
731 (struct mp_power): Remove array, add arrayoff element.
732 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
733 __tens array and add in _fpioconst_pow10 offsets into __tens.
734 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
735 * stdlib/strtod.c: Likewise.
737 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
739 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
741 * stdlib/atexit.c (__exit_funcs): Don't initialize.
743 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
745 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
746 a single and an array with offsets.
748 * sunrpc/des_soft.c (partab): Make it const.
750 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
751 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
752 (__key_decryptsession_pk_LOCAL): Likewise.
753 (__key_gendes_LOCAL): Likewise.
754 (MESSENGER): Mark const.
755 (key_call_private_main): Don't initialize with 0.
756 (use_keyenvoy): Don't initialize with 0.
757 (key_call): Rewrite to reverse logic of use_doors variable.
759 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
760 (startp): Don't initialize with zero.
762 * sunrpc/openchild.c (_openchild): Make first argument const.
764 * sunrpc/pmap_rmt.c (timeout): Mark const.
765 * sunrpc/xcrypt.c (hex): Likewise.
767 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
768 initialization of global variables.
769 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
770 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
771 * termios/tcgetsid.c: Likewise.
773 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
776 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
777 block. Add function to free memory if wanted.
778 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
780 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
782 * wcsmbs/wmemset.c: Little code optimization.
784 1999-04-23 Paul Eggert <eggert@twinsun.com>
786 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
789 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
791 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
792 implementation and just always fail with ENOSYS. This entry point is
793 obsolete. Add link warning to that effect.
795 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
797 * hurd/get-host.c: Include <hurd/lookup.h>.
799 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
801 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
804 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
806 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
809 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
811 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
812 Patch by Peter Miller <millerp@canb.auug.org.au>.
814 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
816 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
817 prefers loopback device.
819 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
821 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
822 no_leading_period change.
824 * posix/testfnm.c: More test cases.
826 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
828 * include/dirent.h: Remove __getdirentries declaration, add __getdents
830 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
831 * sysdeps/unix/readdir_r.c: Likewise.
832 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
833 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
834 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
835 __getdirentries. Remove fourth argument.
836 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
837 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
838 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
839 Add getdirentries and getdirentries64.
840 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
842 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
843 pointer in case of an invalid [[: expression.
845 * posix/testfnm.c: Add more test cases.
847 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
849 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
850 set, pass EXEC_SIGTRAP flag in exec RPC.
852 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
854 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
855 extra parameter. Fix several more bugs involving wildcard and
857 (fnmatch): New function. Call internal_fnmatch.
859 * posix/testfnm.c: More test cases.
861 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
863 * manual/install.texi (Configuring and compiling): Explain that
864 files are changed in the source directory.
866 (Configuring and compiling): Explain situation with PARALLELMFLAGS
867 in the source directory.
869 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
871 * locale/programs/ld-ctype.c: Spelling fixes.
872 (ctype_finish): Fix argument of error message format.
873 * locale/programs/ld-messages.c: Spelling fixes.
874 * locale/programs/ld-monetary.c: Spelling fixes.
875 * locale/programs/ld-time.c (time_finish): Make sure that name and
876 format of era_entries are adjacent.
877 (time_output): Reduce the size of the io vector.
879 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
881 * manual/filesys.texi (Attribute Meanings): Move a misplaced
884 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
886 * locale/programs/ld-collate.c (collate_output): Convert
887 undefined_offset to an array index. Fix computation of other
890 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
892 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
893 return success with empty value.
895 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
897 * posix/fnmatch.c: Include string.h also for glibc.
898 (fnmatch, case '?'): Optimize if cascades a bit.
899 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
901 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
903 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
905 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
906 * iconv/gconv_int.h: Declare UTF16 functions.
907 * iconv/gconv_simple.c: Add UTF16 conversion functions.
909 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
911 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
912 be used correctly as parameter for parse_dollars/parse_tilde.
914 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
916 * manual/conf.texi (Utility Limits): Remove duplicate description
919 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
921 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
922 outbufend for dst==NULL.
924 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
926 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
930 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
933 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
935 * sunrpc/Makefile: Remove special handling of bootparam.x,
936 add rpcsvc/bootparam.h to headers.
937 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
938 * sunrpc/rpcsvc/bootparam.x: Renamed to...
939 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
941 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
943 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
944 detect and handle invalid descriptors.
946 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
948 * timezone/zic.c (dolink): Append complete path not only filename
951 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
953 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
955 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
957 * iconvdata/gconv-modules: Rename CP874 to IBM874.
958 * iconvdata/Makefile: Likewise.
959 * iconvdata/cp874.h: Removed.
960 * iconvdata/cp874.c: Renamed to...
961 * iconvdata/ibm874.c: ...this.
963 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
965 * sysdeps/unix/sysv/linux/bits/types.h: Correct
966 signed/unsigned-ness of blkcnt and fsblkcnt.
967 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
968 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
970 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
971 SOL_AAL, and SOL_IRDA.
973 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
975 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
976 include "linux_fsinfo.h".
977 Based on a patch by H.J. Lu <hjl@gnu.org>.
979 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
981 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
983 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
985 * nscd/cache.c (prune_cache): Only disable file checking for
986 future if the file does not exist.
987 Update file_mtime if cache was flushed.
989 1999-04-15 David S. Miller <davem@redhat.com>
991 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
992 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
994 1999-04-15 Scott Bambrough <scottb@netwinder.org>
996 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
999 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1001 * Versions.def: Add GLIBC_2.1.1 to libpthread.
1003 * iconvdata/Makefile (modules): Add KOI8-U.
1004 (distribute): Add koi8-u.c.
1005 (gen-8bit-gap-modules): Add koi8-u.
1006 * iconvdata/gconv-modules: Add KOI8-U entries.
1007 * iconvdata/koi8-u.c: New file.
1009 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
1011 * sunrpc/auth_des.c: 64bit fixes, security fixes.
1012 * sunrpc/auth_none.c: Pretty print.
1013 * sunrpc/auth_unix.c: Likewise.
1014 * sunrpc/authdes_prot.c: Likewise.
1015 * sunrpc/authuxprot.c: Likewise.
1016 * sunrpc/bindrsvprt.c: Likewise.
1017 * sunrpc/clnt_gen.c: Likewise.
1018 * sunrpc/rpc/xdr.h: Likewise.
1019 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
1020 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
1021 * sunrpc/rtime.c: Use new rpc_timeval.
1022 * sunrpc/svc_authux.c: Don't use *long pointers.
1023 * sunrpc/svcauth_des.c: Likewise + security fixes.
1024 * sunrpc/xdr_mem.c: Don't use *long pointers.
1025 * sunrpc/xdr_rec.c: Likewise.
1026 * sunrpc/xdr_sizeof.c: Likewise.
1027 * sunrpc/xdr_stdio.c: Likewise.
1029 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1031 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
1032 so that it is redone for each sending.
1034 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1036 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
1038 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1040 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
1041 known to not exist don't try to load shared objects.
1042 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
1044 * nscd/cache.c (prune_cache): The table might not be unused. In
1045 this case do nothing.
1047 * catgets/gencat.c (read_input_file): Don't drop white spaces
1048 between number/identifier and string.
1049 Patch by Dima Barsky <dima@pwd.hp.com>.
1050 If no white space at all follows number/identifier remove existing
1051 message with the number/identifier.
1053 1999-04-14 H.J. Lu <hjl@gnu.org>
1055 * sunrpc/clnt_udp.c (is_network_up): New function.
1056 (clntudp_call): Call is_network_up () to check if any network
1057 interface is up in case of timeout.
1059 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1061 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
1062 * wctype/Makefile (tests): Add test_wcfuncs.
1064 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
1066 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
1068 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
1070 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
1071 instead of CFLAGS. For gnulib and string directories use
1072 -Wa,-Av9a gcc ASFLAGS.
1073 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
1074 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
1075 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
1076 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
1077 the same way as sparc-*.
1079 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
1081 * locale/programs/locfile.c (locfile_read): Fix typo.
1082 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
1084 1999-04-14 Scott Bambrough <scottb@netwinder.org>
1086 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
1087 restarted after being interrupted by a signal. The parameters on
1088 the stack were corrupted by the signal handler.
1090 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
1091 restarted after being interrupted by a signal. The parameters on
1092 the stack were corrupted by the signal handler.
1094 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1096 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
1097 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
1099 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
1101 * posix/wordexp-test.c: In field-splitting test cases where
1102 subshells were involved, unset IFS first: some shells (ash) use
1103 IFS even when no expansion is performed.
1105 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1107 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
1108 the real end of the chunk, not some random point inbetween.
1109 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
1110 obstack when growing. Use fast version of obstack_blank when
1112 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
1113 allocating the vtable pointer.
1114 (_IO_obstack_vprintf): Adjust for above change and avoid
1115 unnecessary casts. Use fast version of obstack_blank when
1119 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
1121 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
1122 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
1124 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
1126 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
1127 is seen, as well as fixing semantics. Don't reset the word count
1128 to zero when an invalid character is seen, but leave it as it was
1129 (this makes a difference with WRDE_APPEND).
1131 * posix/wordexp-test.c: More test cases.
1133 * posix/wordexp.c (parse_param): In words like ${var#pattern},
1134 always expand pattern when it is needed. Also, handle quoting in
1137 1999-04-12 Philip Blundell <philb@gnu.org>
1139 * elf/elf.h: Update ARM definitions to match current gas2.
1141 * sysdeps/arm/bits/endian.h: Support big endian operation.
1143 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
1144 Don't bother range checking the port number.
1146 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
1148 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
1149 the syscall name in assembler output for ease of debugging.
1151 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
1153 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
1154 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
1155 (sysdep_routines): Add sigrestorer.
1157 * string/tester.c (test_strcpy): Add new tests for unaligned
1159 * sysdeps/arm/bits/string.h: Delete inline implementations of
1162 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
1164 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
1166 1999-04-10 Mark Kettenis <kettenis@gnu.org>
1168 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
1170 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
1172 * iconvdata/Makefile (modules): Add TIS-620.
1173 (distribute): Add tis-620.c.
1174 (gen-8bit-gap-modules): tis-620.
1175 * iconvdata/tis-620.c: New file.
1176 * iconvdata/gconv-modules: Add TIS-620 entries.
1178 * iconvdata/asmo_449.c: Correct comment.
1180 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1182 * manual/install.texi (Configuring and compiling): Comment out
1183 description of --disable-static since this doesn't work currently
1184 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
1186 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
1188 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
1190 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
1192 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1194 * scripts/test-installation.pl (installation_problem): Skip
1195 libnss1_* libraries from glibc-compat add-on.
1197 1999-04-07 H.J. Lu <hjl@gnu.org>
1199 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
1201 * posix/Versions (__waitpid): Likewise.
1203 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1205 * manual/install.texi (Reporting Bugs): Add section about reported
1206 bugs and correct email address of glibcbug script.
1208 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
1210 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
1211 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
1212 xdr_u_longlong_t. Based on patch from Dan Shechter
1213 <damageboy@isdn.net.il>.
1214 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
1215 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
1217 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
1219 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1221 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
1222 directly if getdents returns with error set.
1224 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1226 * locale/langinfo.h (THOUSEP): Rename second occurence of
1227 THOUSANDS_SEP to THOUSEP.
1228 Reported by Roman Belenov <roman@nstl.nnov.ru>.
1230 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
1232 * hurd/STATUS: File removed. Moved items that are still relevant into
1233 TODO list in hurd source.
1235 1999-03-26 Mark Kettenis <kettenis@gnu.org>
1237 * sysdeps/mach/hurd/bits/time.h: New file.
1238 * sysdeps/mach/hurd/getrusage.c: New file.
1239 * sysdeps/mach/hurd/clk_tck.c: New file.
1240 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
1241 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
1242 (sysdep_routines): Add clk_tck.
1243 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
1246 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
1248 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
1249 (closelog): But instead here.
1250 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
1252 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1254 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
1255 the source directory. Fixes PR libc/1059.
1257 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1259 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
1260 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1262 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
1264 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
1265 * iconvdata/testdata/ISO-8859-14: New file.
1266 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
1267 * iconvdata/testdata/ISO-8859-15: New file.
1268 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
1270 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
1272 * iconvdata/testdata/CP1258: New file.
1273 * iconvdata/testdata/CP1258..UTF8: New file.
1274 * iconvdata/TESTS: Add CP1258 entry.
1276 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
1278 * timezone/africa: Update from tzdata1999d.
1279 * timezone/europe: Likewise.
1280 * timezone/northamerica: Likewise.
1282 1999-03-31 Mark Kettenis <kettenis@gnu.org>
1284 * login/programs/pt_chown.c (main): Save effective user ID before
1285 dropping priviliges and use this to check if the program is
1288 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
1290 * iconvdata/testdata/CP1254: Update for charmap changes.
1291 * iconvdata/testdata/CP1254..UTF8: Likewise.
1292 * iconvdata/testdata/CP1255: Likewise.
1293 * iconvdata/testdata/CP1255..UTF8: Likewise.
1294 * iconvdata/testdata/CP1256: Likewise.
1295 * iconvdata/testdata/CP1256..UTF8: Likewise.
1296 * iconvdata/testdata/CP1257: Likewise.
1297 * iconvdata/testdata/CP1257..UTF8: Likewise.
1299 * iconvdata/Makefile (distribute): Remove cp1258.h.
1300 (gen-8bit-gap-modules): Add cp1258.
1301 * iconvdata/cp1258.h: Removed.
1303 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
1305 * timezone/tst-timezone.c (tests): Add more cases.
1306 (check_tzvars): Mark errors clearer.
1309 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1311 * login/programs/pt_chown.c: Drop privileges if invoked with
1312 arguments. Don't close the master pty.
1314 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
1316 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
1319 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
1321 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
1322 relocation for SUID binaries.
1324 1999-03-29 Paul Eggert <eggert@twinsun.com>
1326 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
1327 while in child process.
1329 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
1331 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
1332 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
1333 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
1334 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
1335 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
1337 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
1338 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
1339 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
1340 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
1341 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
1342 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
1343 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
1344 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
1345 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
1346 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
1347 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
1348 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
1349 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
1350 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
1351 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
1352 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
1353 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
1354 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
1355 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
1356 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
1357 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
1358 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
1359 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
1360 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
1361 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
1362 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
1364 * sysdeps/sparc/sparc32/bcopy.c: New file.
1365 * sysdeps/sparc/sparc32/bzero.c: New file.
1366 * sysdeps/sparc/sparc32/memchr.S: New file.
1367 * sysdeps/sparc/sparc32/memcpy.S: New file.
1368 * sysdeps/sparc/sparc32/memmove.c: New file.
1369 * sysdeps/sparc/sparc32/memset.S: New file.
1370 * sysdeps/sparc/sparc32/stpcpy.S: New file.
1371 * sysdeps/sparc/sparc32/strchr.S: New file.
1372 * sysdeps/sparc/sparc32/strrchr.c: New file.
1373 * sysdeps/sparc/sparc32/strcpy.S: New file.
1374 * sysdeps/sparc/sparc32/strlen.S: New file.
1375 * sysdeps/sparc/sparc32/strcat.S: New file.
1376 * sysdeps/sparc/sparc32/strcmp.S: New file.
1378 * sysdeps/sparc/sparc64/bcopy.c: New file.
1379 * sysdeps/sparc/sparc64/bzero.c: New file.
1380 * sysdeps/sparc/sparc64/memchr.S: New file.
1381 * sysdeps/sparc/sparc64/memcmp.S: New file.
1382 * sysdeps/sparc/sparc64/memcpy.S: New file.
1383 * sysdeps/sparc/sparc64/memset.S: New file.
1384 * sysdeps/sparc/sparc64/stpcpy.S: New file.
1385 * sysdeps/sparc/sparc64/strcat.S: New file.
1386 * sysdeps/sparc/sparc64/strchr.S: New file.
1387 * sysdeps/sparc/sparc64/strcmp.S: New file.
1388 * sysdeps/sparc/sparc64/strcpy.S: New file.
1389 * sysdeps/sparc/sparc64/strcspn.S: New file.
1390 * sysdeps/sparc/sparc64/strlen.S: New file.
1391 * sysdeps/sparc/sparc64/strncpy.S: New file.
1392 * sysdeps/sparc/sparc64/strpbrk.S: New file.
1393 * sysdeps/sparc/sparc64/strrchr.c: New file.
1394 * sysdeps/sparc/sparc64/strspn.S: New file.
1395 * sysdeps/sparc/sparc64/stpncpy.S: New file.
1396 * sysdeps/sparc/sparc64/strncmp.S: New file.
1398 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
1399 Append -fPIC, don't replace.
1401 * configure.in: Recognize sparcv8plus / sparcv9.
1403 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1405 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
1406 char * to avoid C++ warning.
1407 Patch by yasushi@cs.washington.edu [PR libc/1035].
1409 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1411 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
1412 declared in stdlib.h, correct return value of mkstemp.
1413 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
1415 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
1418 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1420 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
1423 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
1424 inline functions. Closes PR libc/1049.
1426 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1428 * timezone/README: Update from tzdata1999c and tzcode1999c.
1430 * timezone/africa: Update from tzdata1999c.
1431 * timezone/antarctica: Likewise.
1432 * timezone/asia: Likewise.
1433 * timezone/australasia: Likewise.
1434 * timezone/europe: Likewise.
1435 * timezone/northamerica: Likewise.
1436 * timezone/southamerica: Likewise.
1437 * timezone/zone.tab: Likewise.
1439 * timezone/zic.c: Update from tzcode1999c.
1441 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1443 * Makerules: Add $(common-objpfx)Versions.all to common-generated
1444 outside of ifndef avoid-generated.
1446 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
1448 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
1450 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
1452 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
1453 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
1455 1999-03-26 Mark Kettenis <kettenis@gnu.org>
1457 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
1458 if we build the profiled library.
1460 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1462 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
1463 Jaeger <aj@arthur.rhein-neckar.de>
1465 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
1467 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
1468 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
1469 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
1471 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
1473 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
1474 works properly in subdirs.
1476 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
1478 * sysdeps/mach/hurd/Makefile: Undo last change.
1479 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
1480 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
1482 * mach/Machrules (+preinit, +postinit, +interp,
1483 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
1484 linked just like other shared libraries.
1485 (interface.so): Fix typo in defn, so it works.
1486 ($(objpfx)$(interface.so)): Make it depend on libc.so.
1488 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
1490 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
1491 $(link-rpcuserlibs).
1493 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1495 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
1496 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
1497 targets if not building shared libraries.
1499 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1501 * configure.in: Also look in $PATH when searching for
1502 install-info. Remove autoconf bug workaround and require autoconf
1505 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1507 * db/Makefile: Don't try to install shared library link if not
1508 building with shared libs.
1510 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1512 * rt/Makefile: Link against static library if no shared lib is
1515 * localedata/Makefile: The shells scripts implementing the test
1516 require the dynamic linker which is not available with
1517 --disable-shared. Skip the test if --disable-shared is given.
1519 * linuxthreads/Makefile: Link test against static libpthread if no
1520 shared lib is available.
1522 * iconvdata/Makefile (tests): Run iconv-test only if we're
1523 building shared libraries.
1524 * elf/Makefile (tests): Likewise for elf tests.
1526 * posix/Makefile: The test frameworks globtest and wordexp-test
1527 require the dynamic linker which is not available with
1528 --disable-shared. Skip the test if --disable-shared is given.
1530 * grp/Makefile (otherlibs): For static nss build link against
1533 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1535 * debug/Makefile (install-bin): Install and build catchsegv only
1536 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
1539 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1541 * time/tzfile.c (__tzfile_read): Handle the case where there are
1542 transitions but no DST.
1544 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
1546 * mach/Machrules (extra-libs-others): Add $(interface-library) here
1547 too, so it gets built in the others pass rather than the lib pass.
1548 This is necessary since the RPC libraries need to be linked against
1551 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
1553 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
1556 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
1557 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
1558 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
1559 versions of lib{mach,hurd}user.so without reference to libc.so,
1560 then link libc.so against that to get deps and symbol versions, then
1561 finally link real lib*user.so against libc.so.
1563 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
1564 Support whole-file locking (only) by using the file_lock RPC. This
1565 has very wrong semantics, but is better than nothing for the time
1566 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
1567 protocols that will be somewhat hairy to specify.)
1569 1999-03-17 Mark Kettenis <kettenis@gnu.org>
1571 * sysdeps/mach/hurd/ptsname.c: New file.
1573 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1575 * timezone/asia: Fix rule in Asia/Nicosia entry.
1577 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1579 * manual/getopt.texi (Using Getopt): Explain "::" in option
1580 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
1582 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
1584 * sunrpc/clnt_unix.c: Fix creation of parameters for
1585 sendmsg/recvmsg on non intel platforms.
1586 * sunrpc/svc_unix.c: Likewise.
1588 1999-03-18 Philip Blundell <philb@gnu.org>
1590 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
1593 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1595 * timezone/africa: Update from tzdata1999b.
1596 * timezone/asia: Likewise.
1597 * timezone/australasia: Likewise.
1598 * timezone/europe: Likewise.
1599 * timezone/northamerica: Likewise.
1600 * timezone/southamerica: Likewise.
1601 * timezone/zone.tab: Likewise.
1603 * timezone/README: Mention tzdata1999b.
1605 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
1607 * sysdeps/generic/segfault.c (write_strsignal): New function.
1608 (catch_segfault): Use it instead of calling strsignal.
1610 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1612 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
1613 char to avoid warning.
1615 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1617 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
1619 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
1620 outbuf to unsigned char to avoid warning.
1622 1999-03-11 David S. Miller <davem@redhat.com>
1624 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
1626 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
1628 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1630 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
1632 (gconv_step_data): Likewise.
1633 * iconv/gconv_int.h (__gconv): Likewise.
1634 (__BUILINT_TRANS): Likewise.
1635 * iconv/gconv.c (__gconv): Likewise.
1636 * iconv/iconv.c (iconv): Add casts for call of __gconv.
1637 * iconv/skeleton.c: Change local parameters and variable from `char' to
1638 `unsigned char'. Remove casts from calls into modules.
1639 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
1640 `char' to `unsigned char'.
1641 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
1642 * wcsmbs/mbrtowc.c: Likewise.
1643 * wcsmbs/mbsnrtowcs.c: Likewise.
1644 * wcsmbs/mbsrtowcs.c: Likewise.
1645 * wcsmbs/wcrtomb.c: Likewise.
1646 * wcsmbs/wcsnrtombs.c: Likewise.
1647 * wcsmbs/wcsrtombs.c: Likewise.
1648 * wcsmbs/wctob.c: Likewise.
1650 1999-03-15 Mark Kettenis <kettenis@gnu.org>
1652 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
1653 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
1654 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
1655 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
1656 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
1657 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
1659 1999-03-15 Mark Kettenis <kettenis@gnu.org>
1661 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
1662 _hurd_select if TIMEMOUT is -1.
1664 1999-03-15 Mark Kettenis <kettenis@gnu.org>
1666 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
1668 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1670 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
1671 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
1673 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1675 * manual/libc.texinfo: Undo last change for now.
1677 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1679 * intl/locale.alias: Add entries for Croatian.
1680 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
1682 1999-03-13 Mark Kettenis <kettenis@gnu.org>
1684 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
1685 if the opened master pty really is a pty. `isatty' checks for
1686 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
1687 if we are out of pty's.
1689 1999-03-13 Mark Kettenis <kettenis@gnu.org>
1691 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
1692 opened file is closed on exec.
1693 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
1696 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1698 * manual/llio.texi (File Position Primitive): Reformat @end
1699 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
1701 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
1703 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
1705 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1706 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
1708 * locale/programs/localedef.c (main): Initialize `cat' to please
1711 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
1713 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
1714 check for root-owned symlinks and reject them too.
1716 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1718 * stdio-common/printf_fphex.c: Move to ...
1719 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
1720 extended precision number.
1721 * sysdeps/m68k/printf_fphex.c: New file.
1723 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1725 * manual/stdio.texi: Fix typos.
1727 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
1729 * version.h (VERSION): Bump to 2.1.1.
1731 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
1733 * nis/ypclnt.c: Try only twice to connect to NIS server.
1735 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
1737 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
1739 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1741 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
1742 (DENORM_EXP): New define. Use it as the exponent for a denormal.
1743 * stdlib/strtold.c: Moved to ...
1744 * sysdeps/generic/strtold.c: ... here.
1745 * sysdeps/m68k/strtold.c: New file.
1747 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1749 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
1750 point if the precision is zero, even if the mantissa is non-zero.
1752 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
1754 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
1755 arguments into the request message buffer inside `send_rpc'
1756 subfunction. We must repeat the marshalling when retrying the RPC
1757 after a SIGTTOU delivery.
1759 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
1760 path when there is no ctty port.
1761 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1762 Move sigstate check inside loop so we recheck after handling a signal.
1764 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1766 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
1767 O_EXLOCK are BSD extensions.
1768 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
1770 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
1772 * manual/signal.texi (Termination in Handler): Correct example.
1773 Install default handler before reraising the signal.
1774 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
1776 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
1778 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
1779 null, in which case send an empty string.
1781 1999-03-02 Mark Kettenis <kettenis@gnu.org>
1783 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
1784 backward compatibility EH functions to be linked when using
1785 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1787 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1789 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
1790 /dev/pts status may change during runtime.
1792 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1794 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
1795 change. /dev/pts status can change during runtime.
1797 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
1799 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
1801 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
1802 add some more sanity checks.
1803 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
1806 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
1808 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
1809 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
1810 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
1811 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
1812 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
1814 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
1815 * nis/nis_print.c: Fix ctime argument for platforms where
1816 sizeof (time_t) != sizeof (int).
1818 1999-03-07 Mark Kettenis <kettenis@gnu.org>
1820 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
1821 CLOCKS_PER_SEC instead of CLK_TCK.
1823 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
1825 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
1826 whether /dev/pts is available.
1827 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
1830 * posix/globtest.sh: Make common_objpfx path absolute and and db2
1831 and hesiod directory to library path [PR libc/1007].
1833 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1835 * resolv/inet_addr.c (inet_aton): Don't allow componets >
1836 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
1838 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
1840 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
1841 DT_PLTGOT has already been relocated.
1842 (__elf_machine_fixup_plt): Likewise.
1845 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
1847 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
1849 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
1851 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
1852 and fold string to uppercase [PR libc/1005].
1854 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1856 * elf/dl-load.c (lose): Fix return type.
1858 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
1860 * sysdeps/mach/hurd/bits/fcntl.h
1861 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
1862 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
1863 set O_NOTRANS as well.
1864 (__hurd_file_name_lookup_retry): At successful end of lookup,
1865 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
1866 it is a translated node not owned by root.
1867 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
1868 on the file name passed to LOOKUP.
1870 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
1872 * manual/time.texi (High Resolution Timer): Correct computation in
1873 example. Reported by jjf@devel.cemsys.com.
1875 1999-03-02 Philip Blundell <pb@nexus.co.uk>
1877 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
1878 entry is already relocated.
1880 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1882 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
1883 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
1885 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1887 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
1888 uc_link which is the right name according to Unix98.
1889 Reported by Craig Metz [PR libc/1001].
1890 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
1891 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
1892 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
1893 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
1894 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
1895 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
1897 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1899 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
1902 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1904 * iconvdata/Makefile: Always include iconv-rules, but disable rule
1905 to regenerate it if avoid-generated.
1907 * Makeconfig: Always include sys-dirs, but disable rule to
1908 regenerate it when avoid-generated.
1910 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
1911 rule to generate sysd-syscalls.
1913 * elf/Makefile (generated): Remove $(objpfx) from names.
1915 1999-02-28 Mark Kettenis <kettenis@gnu.org>
1917 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
1918 actual length if the adress length is smaller than the input
1919 value. Change type of *LEN paramater to socklen_t.
1920 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
1921 * sysdeps/mach/hurd/accept.c (accept): Likewise.
1922 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1923 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
1924 paramater to socklen_t.
1926 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
1928 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
1929 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
1932 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
1934 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
1935 __get_phys_pages): Cast &HBI to silence warning.
1937 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
1938 * hurd/hurdchdir.c: New file.
1939 * hurd/hurdfchdir.c: New file.
1940 * sysdeps/mach/hurd/chroot.c: Call
1941 _hurd_change_directory_port_from_name to do the work.
1942 * sysdeps/mach/hurd/chdir.c: Likewise.
1943 * sysdeps/mach/hurd/fchdir.c: Call
1944 _hurd_change_directory_port_from_fd to do the work.
1945 * hurd/fchroot.c: Likewise.
1946 * hurd/hurd.h: Declare them.
1948 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
1950 * elf/dl-load.c (lose): Add more comments to explain the `why'.
1951 (_dl_map_object): Remove redundant test.
1953 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
1955 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
1956 try to _hurd_port_free a lower-numbered descriptor that was not in any
1959 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1961 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
1962 declaration for ____wcstod_l_internal.
1964 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
1965 __strtod_internal prototype.
1966 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
1967 (____strtold_l_internal): Add prototype declaration.
1968 (__strtold_l): Call correct function.
1970 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
1972 * elf/elf.h: Add 32bit HPPA definitions.
1974 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1976 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
1977 non-checked heap is restored when malloc checking was requested by
1979 (struct malloc_state): Add using_malloc_checking.
1980 (MALLOC_STATE_VERSION): Increment minor.
1981 (using_malloc_checking, disallow_malloc_check): New variables.
1982 (__malloc_check_init): Use them.
1983 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
1984 that it can the chunk is properly instrumented when malloc
1985 checking is enabled. Set the new using_malloc_checking field.
1986 (malloc_hook_ini): Correct signature when _LIBC is not defined.
1988 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1990 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
1991 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
1994 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
1995 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
1996 if ld.so is the main program.
1998 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
2000 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
2001 large for work_buffer, allocate new buffer.
2002 (printf_unknown): Likewise. [PR libc/988]
2004 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
2006 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
2007 instead of stat and fstat.
2008 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2010 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2012 * elf/dl-error.c (_dl_signal_cerror): New function.
2013 (_dl_signal_error): Don't call receiver function.
2014 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
2015 instead of _dl_signal_error when reporting references to undefined
2016 symbols or versions.
2017 (_dl_lookup_versioned_symbol): Likewise.
2018 (_dl_lookup_versioned_symbol_skip): Likewise.
2019 * elf/dl-version.c (match_symbol): Likewise.
2021 * elf/ldsodefs.h: Declare _dl_signal_cerror.
2023 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
2025 * misc/getttyent.c (getttyent): Release lock on stream later to
2026 also protect global variable zapchar.
2028 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
2029 __times [PR libc/990].
2031 1999-02-21 David S. Miller <davem@redhat.com>
2033 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
2034 parentheses in Feb 2 changes.
2035 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2037 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2039 * sysdeps/generic/glob.c (glob): Save previous errno.
2041 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
2043 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
2044 lookup functions if it is too small.
2046 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
2048 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
2049 for tracing to the scope lists.
2050 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
2051 DT_SYMTAB is always available according to ELF spec.
2053 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
2054 call test whether there is any scope left.
2055 (_dl_lookup_versioned_symbol_skip): Likewise.
2057 * elf/Makefile (distribute): Add do-lookup.h.
2058 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
2059 * elf/dl-lookup.c: Move do_lookup function in separate file and
2060 include the file twice, for handling versioning and without it.
2062 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
2063 entry is already relocated.
2064 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
2065 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
2066 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
2067 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
2069 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
2071 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
2074 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
2075 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
2076 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
2077 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
2078 rel and rela relocations can both happen and skip one test if this
2080 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
2082 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
2084 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
2086 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
2087 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
2088 (_dl_map_object): DT_STRTAB entry is already relocated.
2089 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
2091 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
2093 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
2094 DT_VERSYM entries are already relocated.
2095 (profile_fixup): Likewise.
2096 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
2098 (match_symbol): DT_STRTAB entry is already relocated.
2099 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
2100 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
2101 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
2102 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
2103 (find_needed): DT_STRTAB entry is already relocated.
2104 (dl_main): Pass extra argument to elf_get_dynamic_info.
2105 DT_STRTAB entry is already relocated.
2106 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
2107 DT_PLTGOT entries are already relocated.
2108 (elf_machine_rela): Likewise for DT_SYMTAB.
2109 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
2111 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2112 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
2113 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2114 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2115 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
2116 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
2117 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
2118 * sysdeps/mips/mips64/dl-machine.h: Likewise.
2120 * grp/initgroups.c (initgroups): If function in current module was
2121 successful don't stop but continue to process to get all the groups.
2123 * elf/dl-load.c (_dl_map_object_from_fd): Use global
2124 _dl_pf_to_proot array to convert p_flags value.
2125 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2127 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
2128 loop to clear `info'.
2130 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
2131 do the work and don't use inline assembler.
2133 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
2135 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
2136 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
2137 noreturn, and prevent it from being inlined.
2138 Define LOSE appropriately.
2139 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
2140 Optimize decoding of p_flags for certain platforms.
2142 1999-02-19 Philip Blundell <pb@nexus.co.uk>
2144 * Makeconfig (link-libc): When doing a static link, make sure that
2145 libgcc.a is included both before and after libc.a.
2147 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
2149 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
2150 sp_warn, sp_inact, sp_expire and sp_flag.
2152 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
2154 * elf/link.h (link_map): Add l_dev and l_ino.
2155 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
2156 loaded shared object with all loaded objects. Initialize l_ino
2157 and l_dev in case it's new.
2158 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
2160 * elf/Makefile: Compile and run new test.
2161 * elf/multiload.c: New file.
2163 * nss/nsswitch.h (service_user): Change name field from const char *
2165 (name_database_entry): Likewise.
2166 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
2167 for change of `service_user'.
2168 (nss_getline): Adjust memory allocation for change of
2169 `name_database_entry'.
2171 * catgets/catgets.c: Correctly handle NLSPATH from environment
2174 * io/Makefile (routines): Add lock64.
2175 * io/Versions: Add lockf64 for GLIBC_2.1.1.
2176 * sysdeps/generic/lockf64.c: New file.
2178 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2180 * string/bits/string2.h: Only use strncmp optimization if count
2181 argument is constant.
2183 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
2185 * sysdeps/mach/hurd/revoke.c: New file.
2187 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2189 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
2190 int to avoid warning about `ISO C restricts enumerator values to
2193 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2195 * elf/dlfcn.h: Fix typo.
2196 * sysdeps/generic/bits/dlfcn.h: Likewise.
2197 * sysdeps/mips/bits/dlfcn.h: Likewise.
2199 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2201 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
2202 for the case N == 0.
2204 * db2/Makefile (distribute): Add LICENSE.
2206 1999-02-03 Jeff Bailey <jbailey@nisa.net>
2208 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
2211 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
2213 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2215 * time/mktime.c: Use ISO C form for function definitions and
2216 remove unnecessary prototypes.
2218 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
2220 * time/time.h: Avoid unneccesary #ifdef.
2222 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
2224 * stdio-common/_itoa.c (_itoa): Correct parameters to
2227 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2229 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
2230 before (e.g. in glob.h).
2233 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2235 * sysdeps/mips/fpu_control.h: Fix typo.
2236 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
2239 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
2241 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
2242 the "unused" ends of the sockets. Let pipes be bidirectional.
2244 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
2246 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
2249 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2251 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
2252 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
2254 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
2255 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
2257 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
2259 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
2261 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2263 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
2264 check for priority mask.
2266 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
2268 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
2269 Reported by Craig Metz <cmetz@inner.net> .
2271 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2273 * stdio-common/Makefile (tests): tllformat added.
2275 * stdio-common/tllformat.c: New program, based on tiformat.c with
2276 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2278 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2280 * posix/test-vfork.c: Fix exit status test.
2282 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2284 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
2285 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
2287 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2289 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
2290 of separare explicit comparisons.
2292 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2294 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
2297 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
2300 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
2302 * po/el.po: Update from translation team.
2304 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2306 * intl/locale.alias: Fix slovenian entry [PR libc/948].
2308 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2310 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
2311 * inet/ruserpass.c: Likewise.
2312 * locale/programs/stringtrans.c: Likewise.
2313 * locale/programs/localedef.c: Likewise.
2314 * nscd/grpcache.c: Likewise.
2315 * nss/nss_files/files-XXX.c: Likewise.
2316 * stdlib/canonicalize.c: Likewise.
2317 * sysdeps/posix/sigwait.c: Likewise.
2319 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2321 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
2322 even on 64 bit platforms.
2324 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
2325 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
2327 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
2329 * intl/dcgettext.c: Include locale.h is available.
2331 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
2333 * po/nl.po: Update from translation team.
2335 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
2337 * Makefile: Allow calling goals for po subdir.
2339 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
2342 * po/el.po: New file.
2344 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2346 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
2347 when processing DT_SYMBOLIC objects.
2349 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2351 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
2352 program headers without PT_PHDR only require that they are
2353 contained within one of the loaded segments. Don't use assert,
2354 since that would be a bug in the object, not the dynamic linker.
2356 1999-02-08 Richard Henderson <rth@cygnus.com>
2358 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
2359 restore all call-clobbered fp regs.
2361 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
2363 * po/cs.po: New file.
2365 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
2368 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
2370 * signal/signal.h: Don't declare __libc_allocate_rtsig.
2371 * include/signal.h: Declare __libc_allocate_rtsig here.
2373 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
2374 point functions, not do_lookup since the later can be called more
2377 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
2379 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
2380 macro, so that architectures which need to add some special
2381 offset to stack pointer can share this file.
2383 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
2384 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
2385 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
2386 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
2388 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
2389 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
2390 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
2391 between sparc32 and sparc64.
2393 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
2394 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
2395 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
2396 between sparc32 and sparc64.
2398 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
2399 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
2400 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
2401 between sparc32 and sparc64.
2403 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
2404 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
2405 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
2406 between sparc32 and sparc64.
2408 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
2410 * Versions.def: New version GLIBC_2.1.1 for libc.
2411 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
2412 * stdlib/labs.c: Moved to...
2413 * sysdeps/generic/labs.c: ...here.
2414 * stdlib/llabs.c: Moved to...
2415 * sysdeps/generic/llabs.c: ...here.
2416 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
2417 header. Declare _Exit.
2418 * sysdeps/generic/_exit.c: Add alias _Exit.
2419 * sysdeps/mach/hurd/_exit.c: Likewise.
2420 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
2421 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
2422 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
2423 * sysdeps/unix/_exit.c: Likewise.
2424 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
2425 imaxdiv and imaxabs. Declare lldiv_t if necessary.
2426 * sysdeps/wordsize-64/inttypes.h: Likewise.
2427 * sysdeps/wordsize-32/llabs.c: New file.
2428 * sysdeps/wordsize-32/lldiv.c: New file.
2429 * sysdeps/wordsize-64/labs.c: New file.
2430 * sysdeps/wordsize-64/ldiv.c: New file.
2431 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
2432 * manual/startup.texi: Document _Exit.
2434 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2436 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
2438 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
2440 * Versions.def: Add versions for ld.so.
2441 * csu/Versions: Remove __libc_stack_end here.
2442 * elf/Versions: Split libc definitions in libc and ld.so definitions.
2443 * elf/Makefile (ld-map): Change to ld.so.map.
2444 * scripts/versions.awk: Recognize dot in library names.
2446 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
2447 Don't use __tolower and __toupper in inline functions.
2448 Add optimizing macros for tolower and toupper.
2449 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
2450 (_toupper): Don't use __toupper.
2451 * ctype/ctype.c (tolower): Don't use __tolower.
2452 (toupper): Don't use toupper.
2454 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
2456 * resolv/Versions (libresolv): Export __ns_name_unpack and
2458 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
2459 make it global. Change all users. Similar for ns_name_ntop.
2460 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
2461 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
2462 directly to detect too small buffer.
2463 * resolv/nss_dns/dns-network.c: Likewise.
2465 * stdio-common/Makefile (tests): Add scanf12.
2466 * stdio-common/scanf12.c: New file.
2467 * stdio-common/scanf12.input: New file.
2468 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
2469 floating-point correctly if the number is invalid.
2471 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
2473 * stdio-common/printf_fp.c: Likewise.
2474 * stdio-common/printf_fphex.c: Likewise.
2475 * stdio-common/vfprintf.c: Likewise.
2478 See ChangeLog.9 for earlier changes.