1 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
3 * configure.in: Recognize and allow gcc 2.95.
5 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
7 * sysdeps/generic/bits/elfclass.h: Version common to
8 wordsize-32 and wordsize-64.
9 * sysdeps/generic/bits/environments.h: Ditto.
10 * sysdeps/generic/stdint.h: Ditto.
11 * sysdeps/generic/inttypes.h: Ditto.
13 * sysdeps/generic/bits/wordsize.h: New file.
14 * stdlib/Makefile: Add bits/wordsize.h to headers.
16 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
18 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
19 headers to be used for 32bit and 64bit ABI compilations.
20 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
21 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
22 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
23 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
24 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
26 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
27 * sysdeps/wordsize-64/bits/environments.h: Remove.
28 * sysdeps/wordsize-64/stdint.h: Remove.
29 * sysdeps/wordsize-64/inttypes.h: Remove.
30 * sysdeps/wordsize-64/bits/wordsize.h: New file.
32 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
33 * sysdeps/wordsize-32/bits/environments.h: Remove.
34 * sysdeps/wordsize-32/stdint.h: Remove.
35 * sysdeps/wordsize-32/inttypes.h: Remove.
36 * sysdeps/wordsize-32/bits/wordsize.h: New file.
38 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
40 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
41 __align_cpy_16): New functions.
42 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
44 * sysdeps/sparc/sparc32/Versions: New file.
45 * sysdeps/sparc/sparc64/Versions: New file.
46 * sysdeps/sparc/Versions: Remove.
48 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
50 * sysdeps/unix/sysv/linux/configure.in:
51 On sparc64-*-linux*, set slibdir to /lib64 if prefix
52 is /usr, plus set libdir to ${exec_prefix}/lib64.
53 * sysdeps/unix/sysv/linux/configure: Regenerated.
54 * config.make.in: Propagate libdir settings from configure
56 * shlib-versions: sparc64-*-linux* dynamic linker is
59 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
61 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
64 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
66 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
67 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
69 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
70 contains garbage in bits 8-63.
71 * sysdeps/sparc/sparc64/memset.S: Ditto.
72 * sysdeps/sparc/sparc64/strchr.S: Ditto.
74 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
76 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
78 1999-05-17 David S. Miller <davem@redhat.com>
80 * sysdeps/sparc/sparc32/atomicity.h: New file.
81 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
82 * sysdeps/sparc/sparc64/atomicity.h: New file.
83 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
86 1999-05-18 Richard Henderson <rth@twiddle.net>
88 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
90 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
92 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
93 posix/sys/types.h: Handle the case of __GNUC__=3,
94 __GNUC_MINOR__=(anything).
96 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
98 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
101 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
103 * elf/Makefile (distribute): Remove dl-origin.h.
104 Add dl-dst.h and gen-trusted-dirs.awk.
106 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
108 * sysdeps/i386/i486/Versions: New file with inline functions from
109 sysdeps/i386/i486/bits/string.h for now.
111 * sysdeps/i386/Versions: Add inline functions from
112 sysdeps/i386/bits/string.h.
114 * string/Versions: Add inline functions from <bits/string2.h>.
116 * string/Makefile (routines): Add string-inlines.
117 * string/string-inlines.c: New file, used for implementation of
118 extern inline functions.
120 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
121 non inlined versions of functions.
122 * string/bits/string2.h: Likewise.
123 * sysdeps/i386/bits/string.h: Likewise.
125 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
127 * inet/arpa/tftp.h: Add second packed attribute.
129 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
131 * malloc/malloc.c: Cleanup to bring in line with released
132 stand-alone version `ptmalloc'. Update some comments.
133 (internal_function): Move fallback definition so that the source
134 compiles outside of libc, and use it in more places.
135 (malloc_atfork): Fix when malloc_check is in use.
137 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
139 * stdlib/tst-strtod.c: Fix typo.
141 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
143 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
146 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
148 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
150 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
152 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
153 * sunrpc/key_call.c: Fix memory leak, close file handle.
154 * nis/nis_creategroup.c: Use malloc instead of calloc,
156 * nis/nis_subr.c: Check for realloc result.
157 * nis/nis_file.c: Fix memory leak.
158 * nis/nis_table.c: Pretty print.
159 * nis/nis_getservlist.c: Likewise.
160 * nis/nis_ismember.c: Likewise.
161 * nis/nis_lookup.c: Likewise.
162 * nis/nis_ping.c: Likewise.
163 * nis/nis_removemember.c: Likewise.
164 * nis/nis_util.c: Likewise, check calloc result.
166 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
168 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
169 * sysdeps/generic/sys/socketvar.h: ... here.
170 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
171 * sysdeps/generic/netinet/in_systm.h: ... here.
172 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
174 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
175 * inet/Makefile (headers): Add netinet/in_systm.h here.
176 * socket/Makefile (headers): Add sys/socketvar.h here.
178 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
180 * stdlib/strtol.c: Optimize inner loop of long long versions.
182 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
183 Unix98. Add forward declaration of struct utmp.
185 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
187 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
190 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
191 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
192 memory allocation results.
194 1999-05-14 Mark Kettenis <kettenis@gnu.org>
196 * sysdeps/generic/getutmp.c: Include <string.h>
197 (getutmp): Rewrite to only copy those members that are really
198 present in `struct utmp'.
199 * sysdeps/generic/getutmpx.c: Likewise.
201 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
203 * nss/getXXbyYY.c: Add free_mem function which disposes all
204 statically allocated memory when debugging.
205 * nss/getXXent.c: Likewise.
206 * nss/nsswitch.c: Likewise.
208 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
210 * sysdeps/gnu/getutmpx.c: New file.
211 * sysdeps/gnu/getutmp.c: New file.
213 1999-05-13 H.J. Lu <hjl@gnu.org>
215 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
218 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
221 * sysdeps/gnu/utmpx.h (getutmp): Added.
222 (getutmpx): Likewise.
224 * sysdeps/generic/getutmp.c: New file.
226 * sysdeps/generic/getutmpx.c: New file.
228 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
230 * glibcbug.in (BUGGLIBC): Change address to
231 libc-alpha@sourceware.cygnus.com.
233 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
235 * resolv/arpa/nameser.h: Add C++ protectors.
237 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
239 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
240 Elad Tsur <eladts@post.tau.ac.il>.
242 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
244 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
245 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
246 lazily if LD_BIND_NOW is not set.
247 * elf/dl-support.c (_dl_lazy): New variable.
248 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
249 * elf/rtld.c (_dl_lazy): new global variable.
250 ( dl_main): Remove lazy, replace it by _dl_lazy.
252 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
254 * locale/setlocale.c (new_composite_name): Check also whether the
255 first category name differs.
257 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
259 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
262 1999-05-11 Philip Blundell <pb@nexus.co.uk>
264 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
265 structure; storage suitable for any socket address.
266 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
268 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
269 sockaddr_storage): Likewise.
271 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
274 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
276 * hesiod/Versions: Change _nss_hesiod_getpwuid and
277 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
278 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
280 1999-05-09 Mark Kettenis <kettenis@gnu.org>
282 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
283 if the file is empty.
285 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
287 * elf/do-lookup.h: Fix typo in comment.
289 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
290 f_bsize to help some broken programs.
292 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
294 * stdio-common/vfprintf.c: Fix typo.
296 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
298 * elf/link.h (struct link_map): New field l_phdr_allocated.
299 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
300 the program header being part of any loaded segment. If it is not
301 allocate memory and set l_phdr_allocated flag.
302 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
304 * nss/digits_dots.c: Correct return value interpretation of
305 inet_ntoa. Fix PR libc/1109.
307 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
309 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
311 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
313 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
314 * stdlib/fpioconst.c: Move #endif before end of struct.
316 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
318 * Versions.def (ld.so): Add GLIBC_2.1.1.
319 * elf/Makefile (routines): Add dl-origin.
320 (tests): Add origtest. Add dependencies for the program.
321 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
322 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
323 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
324 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
325 DT_AUXILIARY, and DT_FILTER filenames.
326 * elf/dl-load.c (expand_dynamic_string_token): Explode into
327 two functions and three macros.
328 (_dl_dst_count, _dl_dst_substitute): New functions.
329 * elf/dl-dst.h: New file.
330 * elf/dl-open.c (_dl_open): Take extra parameter with address of
331 caller. Pass address in args structure.
332 (dl_open_worker): Recognize and expand DSTs in filename.
333 * elf/ldsodefs.h (_dl_open): Adapt prototype.
334 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
335 (__dlopen_check): Pass caller address to dlopen_doit in args.
336 * elf/dlopendoit.c: Likewise.
337 * iconv/gconv_dl.c: Adapt call of _dl_open.
338 * nss/nsswitch.c: Likewise.
339 * elf/origtest.c: New file.
340 * sysdeps/generic/dl-origin.h: Moved to...
341 * sysdeps/generic/dl-origin.c: ...here.
342 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
343 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
345 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
346 with specific bases and only few bits set in second word.
348 * timezone/Makefile (install-others): Create target directory
349 before creating tzfiles.
351 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
353 * nis/nis_file.c (readColdStartFile): Allocate memory only after
354 the file is opened successfully.
356 * nis/nis_table.c: Fix some memory leaks.
358 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
360 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
363 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
364 around DST. Correctly ignore ORIGIN IN SUID binaries.
366 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
368 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
369 * sysdeps/generic/strtok.c: Likewise.
371 * string/tester.c: Add test of rawmemchr.
373 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
374 specification. It's not necessary.
376 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
377 * elf/gen-trusted-dirs.awk: New file.
378 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
379 from SYSTEM_DIRS macro.
380 (system_dirs_len): New variable. Contains lengths of system_dirs
382 (fillin_rpath): Rewrite for systems_dirs being a simple string.
383 Improve string comparisons. Change parameter trusted to be a flag.
385 (_dt_init_paths): Improve using new format for system_dirs.
387 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
388 $ORIGIN for SUID binaries.
390 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
392 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
394 * sunrpc/Makefile: Generate dependencies for all flavors of
396 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
399 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
401 * elf/dlopenold.c: Move #if down after includes to get
404 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
406 * sysdeps/generic/bzero.c: Undefine __bzero.
408 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
410 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
411 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
412 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
413 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
415 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
416 parameter to struct gaih_servtuple *. Adapt appropriately.
417 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
418 This fixes a memory leak.
419 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
421 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
422 and fpregset_t definition. They are defined in ucontext.h.
424 1999-04-14 Scott Bambrough <scottb@netwinder.org>
426 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
427 and struct ether_header must be packed on the ARM. The default
428 alignment constraints add padding to the end of the structures.
430 1999-04-14 Scott Bambrough <scottb@netwinder.org>
432 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
433 default alignment constraints add padding to the end of the
434 structure and between members.
436 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
438 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
439 _dl_cache_libcmp instead of strcmp.
441 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
443 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
445 1998-03-30 Joel Klecker <espy@debian.org>
447 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
448 (sysdep-others,install-bin): Add lddlibc4.
450 1999-05-02 H.J. Lu <hjl@gnu.org>
452 * timezone/zic.c (dolink): Remove the symlink destination first.
454 * catgets/open_catalog.c (__open_catalog): Set catalog->status
455 to "nonexisting" if failed to open the file.
457 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
459 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
462 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
463 Prevent warnings from multiplication with 0x01010101 by another cast.
465 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
467 * string/bits/string2.h (memset): Revert to previous version if
468 unaligned writes are not available.
470 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
472 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
473 better code in presence of the asm.
475 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
477 * stdlib/fmtmsg.c (keywords): Increase array size for faster
480 * locale/localeinfo.h (_nl_category_names): Increase array element
481 size for faster indexing.
482 * locale/setlocale.c (_nl_category_names): Adjusted.
484 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
486 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
488 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
490 * sysdeps/m68k/stackinfo.h: New file.
492 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
494 * string/tester.c (test_strchrnul): New function.
495 (test_memset): Test one more special case.
497 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
500 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
503 * string/bits/string2.h: Fix bugs I introduced in last change.
505 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
507 Extend memset optimization.
508 Correct i686 version of memchr.
510 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
512 * sysdeps/i386/bzero.c: Add #undef __bzero.
514 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
515 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
516 exec server simulated a SIGTRAP before we even started up, so gdb is
519 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
521 * nss/digits_dots.c: Always initialize not_ok.
523 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
525 * string/bits/string2.h (memset): Avoid arithmetic overflow at
526 compile time, which produces obnoxious warnings. If GCCv2 is
527 in use, map __bzero to __builtin_memset to enable that
530 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
532 * string/bits/string2.h: Add more memset optimizations.
534 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
536 * resolv/inet_pton.c (inet_pton4): Little optimizations.
537 (inet_pton6): Likewise.
539 * nss/getXXbyYY_r.c: Include assert.h.
540 * nss/getXXbyYY.c: Likewise.
542 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
544 * termios/tcgetsid.c (tcgetsid): Rename variable to
545 tiocgsid_does_not_work.
547 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
549 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
551 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
553 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
554 This allows e.g. gethostbyname to accept "10.1234".
555 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
557 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
558 non quad IPv4 numbers.
560 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
562 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
564 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
566 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
567 * argp/argp-parse.c (_argp_hang): Likewise.
568 * argp/argp-pv.c (argp_program_version): Likewise.
569 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
570 * inet/ether_hton.c (ether_hton, startp): Likewise.
571 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
572 * inet/getnetgrent_r.c (setup, startp): Likewise.
573 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
574 * intl/localealias.c (string_space, string_space_act, string_space_max,
575 nmap, maxmap): Likewise.
576 * libio/iopopen.c (proc_file_chain): Likewise.
577 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
578 * locale/lc-collate.c (__collate_table, __collate_extra,
579 __collate_element_hash, __collate_element_strings,
580 __collate_element_values): Likewise.
581 * malloc/mcheck.c (mcheck_used): Likewise.
582 * malloc/mtrace.c (added_atexit_handler): Likewise.
583 * malloc/set-freeres.c (already_called): Likewise.
584 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
585 * misc/syslog.c (LogStat, LogTag): Likewise.
586 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
587 * nss/getXXbyYY_r.c (startp): Likewise.
588 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
589 * posix/regex.c (init_syntax_once) [done]: Likewise.
591 * string/strfry.c (init): Likewise.
592 * sunrpc/svc_run.c (svc_top): Likewise.
593 * posix/euidaccess.c (have_ids): Likewise.
594 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
595 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
596 * time/getdate.c (getdate_err): Likewise.
597 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
599 * time/tzset.c (old_tz, is_initialized): Likewise.
601 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
602 of static data with zero.
603 * signal/allocrtsig.c (init): Likewise.
605 * string/Makefile (routines): Add strchrnul.
606 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
607 * string/string.c: Add strchrnul prototype.
608 * include/string.h: Add __strchrnul prototype.
609 * sysdeps/generic/strchrnul.c: New file.
610 * sysdeps/i386/strchrnul.S: New file.
611 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
612 * sysdeps/i386/i486/bits/string.c: Likewise.
613 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
614 * inet/ether_line.c (ether_line): Likewise.
615 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
616 * nss/nsswitch.c (nss_parse_file): Likewise.
617 * posix/execvp.c (execvp): Likewise.
618 * posix/fnmatch.c (internal_fnmatch): Likewise.
619 * resolv/res_hconf.c (_res_hconv_init): Likewise.
620 * resolv/res_init.c (res_init): Likewise.
621 * stdlib/fmtmsg.c (init): Likewise.
622 * stdlib/getsubopt.c (getsubopt): Likewise.
624 * catgets/catgets.c (catopen): Only allocate one memory block.
625 (catclose): Only one free call necessary.
627 * catgets/open_catalog.c (__open_catalog): Simplify handling of
630 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
631 of real functions. Simplify _tolower and _toupper.
633 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
636 * iconv/gconv.h (struct gconv_info): Change data element from pointer
638 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
639 * iconv/gconv_close.c (__gconv_close): Don't free data.
641 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
644 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
645 for error while inserting in tree.
647 * include/time.h: Pretty print.
649 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
650 in table and lots of relocations.
651 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
652 string pointers in table and lots of relocations.
654 * intl/finddomain.c: Remove definition of strchr macro.
656 * io/ftw.c (nftw_arr, ftw_arr): Make const.
658 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
660 * locale/localeinfo.h (_nl_category_names): Change into an array with
661 fixed width char string elements.
662 * locale/setlocale.c (_nl_category_names): Likewise.
663 (_nl_current): Make global.
664 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
666 * malloc/Makefile (distribute): Add stackinfo.h.
667 * sysdeps/generic/stackinfo.h: New file.
668 * sysdeps/i386/stackinfo.h: New file.
669 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
670 * posix/execle.c: Likewise.
671 * posix/execlp.c: Likewise.
673 * nis/nis_table.c (__create_ib_request): Always use realloc.
675 * posix/execvp.c (execute): Rename to script_execute and keep only
676 code to execute using shell.
677 (execvp): Call execv directly and only fall back on script_execute.
679 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
680 and always use xdigits instead.
682 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
685 * stdlib/fpioconst.h (__tens): New declaration.
686 (struct mp_power): Remove array, add arrayoff element.
687 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
688 __tens array and add in _fpioconst_pow10 offsets into __tens.
689 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
690 * stdlib/strtod.c: Likewise.
692 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
694 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
696 * stdlib/atexit.c (__exit_funcs): Don't initialize.
698 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
700 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
701 a single and an array with offsets.
703 * sunrpc/des_soft.c (partab): Make it const.
705 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
706 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
707 (__key_decryptsession_pk_LOCAL): Likewise.
708 (__key_gendes_LOCAL): Likewise.
709 (MESSENGER): Mark const.
710 (key_call_private_main): Don't initialize with 0.
711 (use_keyenvoy): Don't initialize with 0.
712 (key_call): Rewrite to reverse logic of use_doors variable.
714 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
715 (startp): Don't initialize with zero.
717 * sunrpc/openchild.c (_openchild): Make first argument const.
719 * sunrpc/pmap_rmt.c (timeout): Mark const.
720 * sunrpc/xcrypt.c (hex): Likewise.
722 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
723 initialization of global variables.
724 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
725 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
726 * termios/tcgetsid.c: Likewise.
728 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
731 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
732 block. Add function to free memory if wanted.
733 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
735 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
737 * wcsmbs/wmemset.c: Little code optimization.
739 1999-04-23 Paul Eggert <eggert@twinsun.com>
741 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
744 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
746 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
747 implementation and just always fail with ENOSYS. This entry point is
748 obsolete. Add link warning to that effect.
750 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
752 * hurd/get-host.c: Include <hurd/lookup.h>.
754 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
756 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
759 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
761 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
764 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
766 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
767 Patch by Peter Miller <millerp@canb.auug.org.au>.
769 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
771 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
772 prefers loopback device.
774 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
776 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
777 no_leading_period change.
779 * posix/testfnm.c: More test cases.
781 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
783 * include/dirent.h: Remove __getdirentries declaration, add __getdents
785 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
786 * sysdeps/unix/readdir_r.c: Likewise.
787 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
788 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
789 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
790 __getdirentries. Remove fourth argument.
791 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
792 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
793 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
794 Add getdirentries and getdirentries64.
795 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
797 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
798 pointer in case of an invalid [[: expression.
800 * posix/testfnm.c: Add more test cases.
802 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
804 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
805 set, pass EXEC_SIGTRAP flag in exec RPC.
807 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
809 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
810 extra parameter. Fix several more bugs involving wildcard and
812 (fnmatch): New function. Call internal_fnmatch.
814 * posix/testfnm.c: More test cases.
816 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
818 * manual/install.texi (Configuring and compiling): Explain that
819 files are changed in the source directory.
821 (Configuring and compiling): Explain situation with PARALLELMFLAGS
822 in the source directory.
824 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
826 * locale/programs/ld-ctype.c: Spelling fixes.
827 (ctype_finish): Fix argument of error message format.
828 * locale/programs/ld-messages.c: Spelling fixes.
829 * locale/programs/ld-monetary.c: Spelling fixes.
830 * locale/programs/ld-time.c (time_finish): Make sure that name and
831 format of era_entries are adjacent.
832 (time_output): Reduce the size of the io vector.
834 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
836 * manual/filesys.texi (Attribute Meanings): Move a misplaced
839 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
841 * locale/programs/ld-collate.c (collate_output): Convert
842 undefined_offset to an array index. Fix computation of other
845 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
847 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
848 return success with empty value.
850 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
852 * posix/fnmatch.c: Include string.h also for glibc.
853 (fnmatch, case '?'): Optimize if cascades a bit.
854 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
856 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
858 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
860 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
861 * iconv/gconv_int.h: Declare UTF16 functions.
862 * iconv/gconv_simple.c: Add UTF16 conversion functions.
864 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
866 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
867 be used correctly as parameter for parse_dollars/parse_tilde.
869 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
871 * manual/conf.texi (Utility Limits): Remove duplicate description
874 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
876 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
877 outbufend for dst==NULL.
879 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
881 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
885 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
888 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
890 * sunrpc/Makefile: Remove special handling of bootparam.x,
891 add rpcsvc/bootparam.h to headers.
892 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
893 * sunrpc/rpcsvc/bootparam.x: Renamed to...
894 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
896 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
898 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
899 detect and handle invalid descriptors.
901 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
903 * timezone/zic.c (dolink): Append complete path not only filename
906 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
908 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
910 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
912 * iconvdata/gconv-modules: Rename CP874 to IBM874.
913 * iconvdata/Makefile: Likewise.
914 * iconvdata/cp874.h: Removed.
915 * iconvdata/cp874.c: Renamed to...
916 * iconvdata/ibm874.c: ...this.
918 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
920 * sysdeps/unix/sysv/linux/bits/types.h: Correct
921 signed/unsigned-ness of blkcnt and fsblkcnt.
922 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
923 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
925 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
926 SOL_AAL, and SOL_IRDA.
928 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
930 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
931 include "linux_fsinfo.h".
932 Based on a patch by H.J. Lu <hjl@gnu.org>.
934 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
936 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
938 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
940 * nscd/cache.c (prune_cache): Only disable file checking for
941 future if the file does not exist.
942 Update file_mtime if cache was flushed.
944 1999-04-15 David S. Miller <davem@redhat.com>
946 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
947 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
949 1999-04-15 Scott Bambrough <scottb@netwinder.org>
951 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
954 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
956 * Versions.def: Add GLIBC_2.1.1 to libpthread.
958 * iconvdata/Makefile (modules): Add KOI8-U.
959 (distribute): Add koi8-u.c.
960 (gen-8bit-gap-modules): Add koi8-u.
961 * iconvdata/gconv-modules: Add KOI8-U entries.
962 * iconvdata/koi8-u.c: New file.
964 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
966 * sunrpc/auth_des.c: 64bit fixes, security fixes.
967 * sunrpc/auth_none.c: Pretty print.
968 * sunrpc/auth_unix.c: Likewise.
969 * sunrpc/authdes_prot.c: Likewise.
970 * sunrpc/authuxprot.c: Likewise.
971 * sunrpc/bindrsvprt.c: Likewise.
972 * sunrpc/clnt_gen.c: Likewise.
973 * sunrpc/rpc/xdr.h: Likewise.
974 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
975 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
976 * sunrpc/rtime.c: Use new rpc_timeval.
977 * sunrpc/svc_authux.c: Don't use *long pointers.
978 * sunrpc/svcauth_des.c: Likewise + security fixes.
979 * sunrpc/xdr_mem.c: Don't use *long pointers.
980 * sunrpc/xdr_rec.c: Likewise.
981 * sunrpc/xdr_sizeof.c: Likewise.
982 * sunrpc/xdr_stdio.c: Likewise.
984 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
986 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
987 so that it is redone for each sending.
989 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
991 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
993 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
995 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
996 known to not exist don't try to load shared objects.
997 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
999 * nscd/cache.c (prune_cache): The table might not be unused. In
1000 this case do nothing.
1002 * catgets/gencat.c (read_input_file): Don't drop white spaces
1003 between number/identifier and string.
1004 Patch by Dima Barsky <dima@pwd.hp.com>.
1005 If no white space at all follows number/identifier remove existing
1006 message with the number/identifier.
1008 1999-04-14 H.J. Lu <hjl@gnu.org>
1010 * sunrpc/clnt_udp.c (is_network_up): New function.
1011 (clntudp_call): Call is_network_up () to check if any network
1012 interface is up in case of timeout.
1014 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1016 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
1017 * wctype/Makefile (tests): Add test_wcfuncs.
1019 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
1021 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
1023 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
1025 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
1026 instead of CFLAGS. For gnulib and string directories use
1027 -Wa,-Av9a gcc ASFLAGS.
1028 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
1029 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
1030 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
1031 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
1032 the same way as sparc-*.
1034 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
1036 * locale/programs/locfile.c (locfile_read): Fix typo.
1037 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
1039 1999-04-14 Scott Bambrough <scottb@netwinder.org>
1041 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
1042 restarted after being interrupted by a signal. The parameters on
1043 the stack were corrupted by the signal handler.
1045 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
1046 restarted after being interrupted by a signal. The parameters on
1047 the stack were corrupted by the signal handler.
1049 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1051 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
1052 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
1054 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
1056 * posix/wordexp-test.c: In field-splitting test cases where
1057 subshells were involved, unset IFS first: some shells (ash) use
1058 IFS even when no expansion is performed.
1060 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1062 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
1063 the real end of the chunk, not some random point inbetween.
1064 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
1065 obstack when growing. Use fast version of obstack_blank when
1067 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
1068 allocating the vtable pointer.
1069 (_IO_obstack_vprintf): Adjust for above change and avoid
1070 unnecessary casts. Use fast version of obstack_blank when
1074 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
1076 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
1077 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
1079 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
1081 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
1082 is seen, as well as fixing semantics. Don't reset the word count
1083 to zero when an invalid character is seen, but leave it as it was
1084 (this makes a difference with WRDE_APPEND).
1086 * posix/wordexp-test.c: More test cases.
1088 * posix/wordexp.c (parse_param): In words like ${var#pattern},
1089 always expand pattern when it is needed. Also, handle quoting in
1092 1999-04-12 Philip Blundell <philb@gnu.org>
1094 * elf/elf.h: Update ARM definitions to match current gas2.
1096 * sysdeps/arm/bits/endian.h: Support big endian operation.
1098 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
1099 Don't bother range checking the port number.
1101 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
1103 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
1104 the syscall name in assembler output for ease of debugging.
1106 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
1108 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
1109 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
1110 (sysdep_routines): Add sigrestorer.
1112 * string/tester.c (test_strcpy): Add new tests for unaligned
1114 * sysdeps/arm/bits/string.h: Delete inline implementations of
1117 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
1119 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
1121 1999-04-10 Mark Kettenis <kettenis@gnu.org>
1123 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
1125 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
1127 * iconvdata/Makefile (modules): Add TIS-620.
1128 (distribute): Add tis-620.c.
1129 (gen-8bit-gap-modules): tis-620.
1130 * iconvdata/tis-620.c: New file.
1131 * iconvdata/gconv-modules: Add TIS-620 entries.
1133 * iconvdata/asmo_449.c: Correct comment.
1135 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1137 * manual/install.texi (Configuring and compiling): Comment out
1138 description of --disable-static since this doesn't work currently
1139 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
1141 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
1143 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
1145 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
1147 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1149 * scripts/test-installation.pl (installation_problem): Skip
1150 libnss1_* libraries from glibc-compat add-on.
1152 1999-04-07 H.J. Lu <hjl@gnu.org>
1154 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
1156 * posix/Versions (__waitpid): Likewise.
1158 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1160 * manual/install.texi (Reporting Bugs): Add section about reported
1161 bugs and correct email address of glibcbug script.
1163 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
1165 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
1166 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
1167 xdr_u_longlong_t. Based on patch from Dan Shechter
1168 <damageboy@isdn.net.il>.
1169 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
1170 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
1172 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
1174 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1176 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
1177 directly if getdents returns with error set.
1179 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1181 * locale/langinfo.h (THOUSEP): Rename second occurence of
1182 THOUSANDS_SEP to THOUSEP.
1183 Reported by Roman Belenov <roman@nstl.nnov.ru>.
1185 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
1187 * hurd/STATUS: File removed. Moved items that are still relevant into
1188 TODO list in hurd source.
1190 1999-03-26 Mark Kettenis <kettenis@gnu.org>
1192 * sysdeps/mach/hurd/bits/time.h: New file.
1193 * sysdeps/mach/hurd/getrusage.c: New file.
1194 * sysdeps/mach/hurd/clk_tck.c: New file.
1195 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
1196 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
1197 (sysdep_routines): Add clk_tck.
1198 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
1201 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
1203 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
1204 (closelog): But instead here.
1205 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
1207 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1209 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
1210 the source directory. Fixes PR libc/1059.
1212 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1214 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
1215 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1217 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
1219 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
1220 * iconvdata/testdata/ISO-8859-14: New file.
1221 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
1222 * iconvdata/testdata/ISO-8859-15: New file.
1223 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
1225 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
1227 * iconvdata/testdata/CP1258: New file.
1228 * iconvdata/testdata/CP1258..UTF8: New file.
1229 * iconvdata/TESTS: Add CP1258 entry.
1231 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
1233 * timezone/africa: Update from tzdata1999d.
1234 * timezone/europe: Likewise.
1235 * timezone/northamerica: Likewise.
1237 1999-03-31 Mark Kettenis <kettenis@gnu.org>
1239 * login/programs/pt_chown.c (main): Save effective user ID before
1240 dropping priviliges and use this to check if the program is
1243 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
1245 * iconvdata/testdata/CP1254: Update for charmap changes.
1246 * iconvdata/testdata/CP1254..UTF8: Likewise.
1247 * iconvdata/testdata/CP1255: Likewise.
1248 * iconvdata/testdata/CP1255..UTF8: Likewise.
1249 * iconvdata/testdata/CP1256: Likewise.
1250 * iconvdata/testdata/CP1256..UTF8: Likewise.
1251 * iconvdata/testdata/CP1257: Likewise.
1252 * iconvdata/testdata/CP1257..UTF8: Likewise.
1254 * iconvdata/Makefile (distribute): Remove cp1258.h.
1255 (gen-8bit-gap-modules): Add cp1258.
1256 * iconvdata/cp1258.h: Removed.
1258 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
1260 * timezone/tst-timezone.c (tests): Add more cases.
1261 (check_tzvars): Mark errors clearer.
1264 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1266 * login/programs/pt_chown.c: Drop privileges if invoked with
1267 arguments. Don't close the master pty.
1269 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
1271 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
1274 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
1276 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
1277 relocation for SUID binaries.
1279 1999-03-29 Paul Eggert <eggert@twinsun.com>
1281 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
1282 while in child process.
1284 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
1286 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
1287 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
1288 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
1289 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
1290 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
1292 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
1293 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
1294 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
1295 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
1296 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
1297 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
1298 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
1299 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
1300 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
1301 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
1302 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
1303 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
1304 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
1305 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
1306 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
1307 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
1308 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
1309 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
1310 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
1311 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
1312 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
1313 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
1314 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
1315 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
1316 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
1317 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
1319 * sysdeps/sparc/sparc32/bcopy.c: New file.
1320 * sysdeps/sparc/sparc32/bzero.c: New file.
1321 * sysdeps/sparc/sparc32/memchr.S: New file.
1322 * sysdeps/sparc/sparc32/memcpy.S: New file.
1323 * sysdeps/sparc/sparc32/memmove.c: New file.
1324 * sysdeps/sparc/sparc32/memset.S: New file.
1325 * sysdeps/sparc/sparc32/stpcpy.S: New file.
1326 * sysdeps/sparc/sparc32/strchr.S: New file.
1327 * sysdeps/sparc/sparc32/strrchr.c: New file.
1328 * sysdeps/sparc/sparc32/strcpy.S: New file.
1329 * sysdeps/sparc/sparc32/strlen.S: New file.
1330 * sysdeps/sparc/sparc32/strcat.S: New file.
1331 * sysdeps/sparc/sparc32/strcmp.S: New file.
1333 * sysdeps/sparc/sparc64/bcopy.c: New file.
1334 * sysdeps/sparc/sparc64/bzero.c: New file.
1335 * sysdeps/sparc/sparc64/memchr.S: New file.
1336 * sysdeps/sparc/sparc64/memcmp.S: New file.
1337 * sysdeps/sparc/sparc64/memcpy.S: New file.
1338 * sysdeps/sparc/sparc64/memset.S: New file.
1339 * sysdeps/sparc/sparc64/stpcpy.S: New file.
1340 * sysdeps/sparc/sparc64/strcat.S: New file.
1341 * sysdeps/sparc/sparc64/strchr.S: New file.
1342 * sysdeps/sparc/sparc64/strcmp.S: New file.
1343 * sysdeps/sparc/sparc64/strcpy.S: New file.
1344 * sysdeps/sparc/sparc64/strcspn.S: New file.
1345 * sysdeps/sparc/sparc64/strlen.S: New file.
1346 * sysdeps/sparc/sparc64/strncpy.S: New file.
1347 * sysdeps/sparc/sparc64/strpbrk.S: New file.
1348 * sysdeps/sparc/sparc64/strrchr.c: New file.
1349 * sysdeps/sparc/sparc64/strspn.S: New file.
1350 * sysdeps/sparc/sparc64/stpncpy.S: New file.
1351 * sysdeps/sparc/sparc64/strncmp.S: New file.
1353 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
1354 Append -fPIC, don't replace.
1356 * configure.in: Recognize sparcv8plus / sparcv9.
1358 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1360 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
1361 char * to avoid C++ warning.
1362 Patch by yasushi@cs.washington.edu [PR libc/1035].
1364 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1366 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
1367 declared in stdlib.h, correct return value of mkstemp.
1368 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
1370 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
1373 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1375 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
1378 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
1379 inline functions. Closes PR libc/1049.
1381 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1383 * timezone/README: Update from tzdata1999c and tzcode1999c.
1385 * timezone/africa: Update from tzdata1999c.
1386 * timezone/antarctica: Likewise.
1387 * timezone/asia: Likewise.
1388 * timezone/australasia: Likewise.
1389 * timezone/europe: Likewise.
1390 * timezone/northamerica: Likewise.
1391 * timezone/southamerica: Likewise.
1392 * timezone/zone.tab: Likewise.
1394 * timezone/zic.c: Update from tzcode1999c.
1396 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1398 * Makerules: Add $(common-objpfx)Versions.all to common-generated
1399 outside of ifndef avoid-generated.
1401 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
1403 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
1405 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
1407 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
1408 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
1410 1999-03-26 Mark Kettenis <kettenis@gnu.org>
1412 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
1413 if we build the profiled library.
1415 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1417 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
1418 Jaeger <aj@arthur.rhein-neckar.de>
1420 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
1422 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
1423 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
1424 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
1426 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
1428 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
1429 works properly in subdirs.
1431 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
1433 * sysdeps/mach/hurd/Makefile: Undo last change.
1434 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
1435 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
1437 * mach/Machrules (+preinit, +postinit, +interp,
1438 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
1439 linked just like other shared libraries.
1440 (interface.so): Fix typo in defn, so it works.
1441 ($(objpfx)$(interface.so)): Make it depend on libc.so.
1443 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
1445 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
1446 $(link-rpcuserlibs).
1448 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1450 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
1451 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
1452 targets if not building shared libraries.
1454 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1456 * configure.in: Also look in $PATH when searching for
1457 install-info. Remove autoconf bug workaround and require autoconf
1460 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1462 * db/Makefile: Don't try to install shared library link if not
1463 building with shared libs.
1465 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1467 * rt/Makefile: Link against static library if no shared lib is
1470 * localedata/Makefile: The shells scripts implementing the test
1471 require the dynamic linker which is not available with
1472 --disable-shared. Skip the test if --disable-shared is given.
1474 * linuxthreads/Makefile: Link test against static libpthread if no
1475 shared lib is available.
1477 * iconvdata/Makefile (tests): Run iconv-test only if we're
1478 building shared libraries.
1479 * elf/Makefile (tests): Likewise for elf tests.
1481 * posix/Makefile: The test frameworks globtest and wordexp-test
1482 require the dynamic linker which is not available with
1483 --disable-shared. Skip the test if --disable-shared is given.
1485 * grp/Makefile (otherlibs): For static nss build link against
1488 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1490 * debug/Makefile (install-bin): Install and build catchsegv only
1491 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
1494 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1496 * time/tzfile.c (__tzfile_read): Handle the case where there are
1497 transitions but no DST.
1499 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
1501 * mach/Machrules (extra-libs-others): Add $(interface-library) here
1502 too, so it gets built in the others pass rather than the lib pass.
1503 This is necessary since the RPC libraries need to be linked against
1506 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
1508 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
1511 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
1512 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
1513 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
1514 versions of lib{mach,hurd}user.so without reference to libc.so,
1515 then link libc.so against that to get deps and symbol versions, then
1516 finally link real lib*user.so against libc.so.
1518 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
1519 Support whole-file locking (only) by using the file_lock RPC. This
1520 has very wrong semantics, but is better than nothing for the time
1521 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
1522 protocols that will be somewhat hairy to specify.)
1524 1999-03-17 Mark Kettenis <kettenis@gnu.org>
1526 * sysdeps/mach/hurd/ptsname.c: New file.
1528 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1530 * timezone/asia: Fix rule in Asia/Nicosia entry.
1532 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1534 * manual/getopt.texi (Using Getopt): Explain "::" in option
1535 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
1537 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
1539 * sunrpc/clnt_unix.c: Fix creation of parameters for
1540 sendmsg/recvmsg on non intel platforms.
1541 * sunrpc/svc_unix.c: Likewise.
1543 1999-03-18 Philip Blundell <philb@gnu.org>
1545 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
1548 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1550 * timezone/africa: Update from tzdata1999b.
1551 * timezone/asia: Likewise.
1552 * timezone/australasia: Likewise.
1553 * timezone/europe: Likewise.
1554 * timezone/northamerica: Likewise.
1555 * timezone/southamerica: Likewise.
1556 * timezone/zone.tab: Likewise.
1558 * timezone/README: Mention tzdata1999b.
1560 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
1562 * sysdeps/generic/segfault.c (write_strsignal): New function.
1563 (catch_segfault): Use it instead of calling strsignal.
1565 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1567 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
1568 char to avoid warning.
1570 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1572 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
1574 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
1575 outbuf to unsigned char to avoid warning.
1577 1999-03-11 David S. Miller <davem@redhat.com>
1579 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
1581 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
1583 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1585 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
1587 (gconv_step_data): Likewise.
1588 * iconv/gconv_int.h (__gconv): Likewise.
1589 (__BUILINT_TRANS): Likewise.
1590 * iconv/gconv.c (__gconv): Likewise.
1591 * iconv/iconv.c (iconv): Add casts for call of __gconv.
1592 * iconv/skeleton.c: Change local parameters and variable from `char' to
1593 `unsigned char'. Remove casts from calls into modules.
1594 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
1595 `char' to `unsigned char'.
1596 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
1597 * wcsmbs/mbrtowc.c: Likewise.
1598 * wcsmbs/mbsnrtowcs.c: Likewise.
1599 * wcsmbs/mbsrtowcs.c: Likewise.
1600 * wcsmbs/wcrtomb.c: Likewise.
1601 * wcsmbs/wcsnrtombs.c: Likewise.
1602 * wcsmbs/wcsrtombs.c: Likewise.
1603 * wcsmbs/wctob.c: Likewise.
1605 1999-03-15 Mark Kettenis <kettenis@gnu.org>
1607 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
1608 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
1609 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
1610 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
1611 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
1612 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
1614 1999-03-15 Mark Kettenis <kettenis@gnu.org>
1616 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
1617 _hurd_select if TIMEMOUT is -1.
1619 1999-03-15 Mark Kettenis <kettenis@gnu.org>
1621 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
1623 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1625 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
1626 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
1628 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1630 * manual/libc.texinfo: Undo last change for now.
1632 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1634 * intl/locale.alias: Add entries for Croatian.
1635 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
1637 1999-03-13 Mark Kettenis <kettenis@gnu.org>
1639 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
1640 if the opened master pty really is a pty. `isatty' checks for
1641 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
1642 if we are out of pty's.
1644 1999-03-13 Mark Kettenis <kettenis@gnu.org>
1646 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
1647 opened file is closed on exec.
1648 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
1651 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1653 * manual/llio.texi (File Position Primitive): Reformat @end
1654 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
1656 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
1658 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
1660 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1661 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
1663 * locale/programs/localedef.c (main): Initialize `cat' to please
1666 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
1668 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
1669 check for root-owned symlinks and reject them too.
1671 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1673 * stdio-common/printf_fphex.c: Move to ...
1674 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
1675 extended precision number.
1676 * sysdeps/m68k/printf_fphex.c: New file.
1678 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1680 * manual/stdio.texi: Fix typos.
1682 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
1684 * version.h (VERSION): Bump to 2.1.1.
1686 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
1688 * nis/ypclnt.c: Try only twice to connect to NIS server.
1690 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
1692 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
1694 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1696 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
1697 (DENORM_EXP): New define. Use it as the exponent for a denormal.
1698 * stdlib/strtold.c: Moved to ...
1699 * sysdeps/generic/strtold.c: ... here.
1700 * sysdeps/m68k/strtold.c: New file.
1702 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1704 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
1705 point if the precision is zero, even if the mantissa is non-zero.
1707 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
1709 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
1710 arguments into the request message buffer inside `send_rpc'
1711 subfunction. We must repeat the marshalling when retrying the RPC
1712 after a SIGTTOU delivery.
1714 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
1715 path when there is no ctty port.
1716 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1717 Move sigstate check inside loop so we recheck after handling a signal.
1719 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1721 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
1722 O_EXLOCK are BSD extensions.
1723 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
1725 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
1727 * manual/signal.texi (Termination in Handler): Correct example.
1728 Install default handler before reraising the signal.
1729 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
1731 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
1733 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
1734 null, in which case send an empty string.
1736 1999-03-02 Mark Kettenis <kettenis@gnu.org>
1738 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
1739 backward compatibility EH functions to be linked when using
1740 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1742 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1744 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
1745 /dev/pts status may change during runtime.
1747 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1749 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
1750 change. /dev/pts status can change during runtime.
1752 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
1754 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
1756 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
1757 add some more sanity checks.
1758 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
1761 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
1763 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
1764 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
1765 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
1766 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
1767 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
1769 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
1770 * nis/nis_print.c: Fix ctime argument for platforms where
1771 sizeof (time_t) != sizeof (int).
1773 1999-03-07 Mark Kettenis <kettenis@gnu.org>
1775 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
1776 CLOCKS_PER_SEC instead of CLK_TCK.
1778 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
1780 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
1781 whether /dev/pts is available.
1782 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
1785 * posix/globtest.sh: Make common_objpfx path absolute and and db2
1786 and hesiod directory to library path [PR libc/1007].
1788 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1790 * resolv/inet_addr.c (inet_aton): Don't allow componets >
1791 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
1793 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
1795 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
1796 DT_PLTGOT has already been relocated.
1797 (__elf_machine_fixup_plt): Likewise.
1800 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
1802 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
1804 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
1806 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
1807 and fold string to uppercase [PR libc/1005].
1809 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1811 * elf/dl-load.c (lose): Fix return type.
1813 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
1815 * sysdeps/mach/hurd/bits/fcntl.h
1816 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
1817 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
1818 set O_NOTRANS as well.
1819 (__hurd_file_name_lookup_retry): At successful end of lookup,
1820 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
1821 it is a translated node not owned by root.
1822 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
1823 on the file name passed to LOOKUP.
1825 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
1827 * manual/time.texi (High Resolution Timer): Correct computation in
1828 example. Reported by jjf@devel.cemsys.com.
1830 1999-03-02 Philip Blundell <pb@nexus.co.uk>
1832 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
1833 entry is already relocated.
1835 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1837 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
1838 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
1840 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1842 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
1843 uc_link which is the right name according to Unix98.
1844 Reported by Craig Metz [PR libc/1001].
1845 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
1846 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
1847 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
1848 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
1849 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
1850 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
1852 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1854 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
1857 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1859 * iconvdata/Makefile: Always include iconv-rules, but disable rule
1860 to regenerate it if avoid-generated.
1862 * Makeconfig: Always include sys-dirs, but disable rule to
1863 regenerate it when avoid-generated.
1865 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
1866 rule to generate sysd-syscalls.
1868 * elf/Makefile (generated): Remove $(objpfx) from names.
1870 1999-02-28 Mark Kettenis <kettenis@gnu.org>
1872 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
1873 actual length if the adress length is smaller than the input
1874 value. Change type of *LEN paramater to socklen_t.
1875 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
1876 * sysdeps/mach/hurd/accept.c (accept): Likewise.
1877 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1878 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
1879 paramater to socklen_t.
1881 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
1883 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
1884 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
1887 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
1889 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
1890 __get_phys_pages): Cast &HBI to silence warning.
1892 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
1893 * hurd/hurdchdir.c: New file.
1894 * hurd/hurdfchdir.c: New file.
1895 * sysdeps/mach/hurd/chroot.c: Call
1896 _hurd_change_directory_port_from_name to do the work.
1897 * sysdeps/mach/hurd/chdir.c: Likewise.
1898 * sysdeps/mach/hurd/fchdir.c: Call
1899 _hurd_change_directory_port_from_fd to do the work.
1900 * hurd/fchroot.c: Likewise.
1901 * hurd/hurd.h: Declare them.
1903 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
1905 * elf/dl-load.c (lose): Add more comments to explain the `why'.
1906 (_dl_map_object): Remove redundant test.
1908 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
1910 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
1911 try to _hurd_port_free a lower-numbered descriptor that was not in any
1914 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1916 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
1917 declaration for ____wcstod_l_internal.
1919 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
1920 __strtod_internal prototype.
1921 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
1922 (____strtold_l_internal): Add prototype declaration.
1923 (__strtold_l): Call correct function.
1925 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
1927 * elf/elf.h: Add 32bit HPPA definitions.
1929 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1931 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
1932 non-checked heap is restored when malloc checking was requested by
1934 (struct malloc_state): Add using_malloc_checking.
1935 (MALLOC_STATE_VERSION): Increment minor.
1936 (using_malloc_checking, disallow_malloc_check): New variables.
1937 (__malloc_check_init): Use them.
1938 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
1939 that it can the chunk is properly instrumented when malloc
1940 checking is enabled. Set the new using_malloc_checking field.
1941 (malloc_hook_ini): Correct signature when _LIBC is not defined.
1943 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1945 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
1946 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
1949 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
1950 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
1951 if ld.so is the main program.
1953 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
1955 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
1956 large for work_buffer, allocate new buffer.
1957 (printf_unknown): Likewise. [PR libc/988]
1959 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
1961 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
1962 instead of stat and fstat.
1963 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1965 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1967 * elf/dl-error.c (_dl_signal_cerror): New function.
1968 (_dl_signal_error): Don't call receiver function.
1969 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
1970 instead of _dl_signal_error when reporting references to undefined
1971 symbols or versions.
1972 (_dl_lookup_versioned_symbol): Likewise.
1973 (_dl_lookup_versioned_symbol_skip): Likewise.
1974 * elf/dl-version.c (match_symbol): Likewise.
1976 * elf/ldsodefs.h: Declare _dl_signal_cerror.
1978 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
1980 * misc/getttyent.c (getttyent): Release lock on stream later to
1981 also protect global variable zapchar.
1983 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
1984 __times [PR libc/990].
1986 1999-02-21 David S. Miller <davem@redhat.com>
1988 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
1989 parentheses in Feb 2 changes.
1990 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1992 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1994 * sysdeps/generic/glob.c (glob): Save previous errno.
1996 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
1998 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
1999 lookup functions if it is too small.
2001 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
2003 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
2004 for tracing to the scope lists.
2005 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
2006 DT_SYMTAB is always available according to ELF spec.
2008 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
2009 call test whether there is any scope left.
2010 (_dl_lookup_versioned_symbol_skip): Likewise.
2012 * elf/Makefile (distribute): Add do-lookup.h.
2013 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
2014 * elf/dl-lookup.c: Move do_lookup function in separate file and
2015 include the file twice, for handling versioning and without it.
2017 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
2018 entry is already relocated.
2019 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
2020 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
2021 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
2022 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
2024 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
2026 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
2029 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
2030 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
2031 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
2032 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
2033 rel and rela relocations can both happen and skip one test if this
2035 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
2037 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
2039 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
2041 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
2042 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
2043 (_dl_map_object): DT_STRTAB entry is already relocated.
2044 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
2046 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
2048 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
2049 DT_VERSYM entries are already relocated.
2050 (profile_fixup): Likewise.
2051 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
2053 (match_symbol): DT_STRTAB entry is already relocated.
2054 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
2055 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
2056 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
2057 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
2058 (find_needed): DT_STRTAB entry is already relocated.
2059 (dl_main): Pass extra argument to elf_get_dynamic_info.
2060 DT_STRTAB entry is already relocated.
2061 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
2062 DT_PLTGOT entries are already relocated.
2063 (elf_machine_rela): Likewise for DT_SYMTAB.
2064 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
2066 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2067 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
2068 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2069 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2070 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
2071 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
2072 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
2073 * sysdeps/mips/mips64/dl-machine.h: Likewise.
2075 * grp/initgroups.c (initgroups): If function in current module was
2076 successful don't stop but continue to process to get all the groups.
2078 * elf/dl-load.c (_dl_map_object_from_fd): Use global
2079 _dl_pf_to_proot array to convert p_flags value.
2080 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2082 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
2083 loop to clear `info'.
2085 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
2086 do the work and don't use inline assembler.
2088 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
2090 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
2091 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
2092 noreturn, and prevent it from being inlined.
2093 Define LOSE appropriately.
2094 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
2095 Optimize decoding of p_flags for certain platforms.
2097 1999-02-19 Philip Blundell <pb@nexus.co.uk>
2099 * Makeconfig (link-libc): When doing a static link, make sure that
2100 libgcc.a is included both before and after libc.a.
2102 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
2104 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
2105 sp_warn, sp_inact, sp_expire and sp_flag.
2107 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
2109 * elf/link.h (link_map): Add l_dev and l_ino.
2110 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
2111 loaded shared object with all loaded objects. Initialize l_ino
2112 and l_dev in case it's new.
2113 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
2115 * elf/Makefile: Compile and run new test.
2116 * elf/multiload.c: New file.
2118 * nss/nsswitch.h (service_user): Change name field from const char *
2120 (name_database_entry): Likewise.
2121 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
2122 for change of `service_user'.
2123 (nss_getline): Adjust memory allocation for change of
2124 `name_database_entry'.
2126 * catgets/catgets.c: Correctly handle NLSPATH from environment
2129 * io/Makefile (routines): Add lock64.
2130 * io/Versions: Add lockf64 for GLIBC_2.1.1.
2131 * sysdeps/generic/lockf64.c: New file.
2133 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2135 * string/bits/string2.h: Only use strncmp optimization if count
2136 argument is constant.
2138 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
2140 * sysdeps/mach/hurd/revoke.c: New file.
2142 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2144 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
2145 int to avoid warning about `ISO C restricts enumerator values to
2148 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2150 * elf/dlfcn.h: Fix typo.
2151 * sysdeps/generic/bits/dlfcn.h: Likewise.
2152 * sysdeps/mips/bits/dlfcn.h: Likewise.
2154 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2156 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
2157 for the case N == 0.
2159 * db2/Makefile (distribute): Add LICENSE.
2161 1999-02-03 Jeff Bailey <jbailey@nisa.net>
2163 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
2166 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
2168 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2170 * time/mktime.c: Use ISO C form for function definitions and
2171 remove unnecessary prototypes.
2173 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
2175 * time/time.h: Avoid unneccesary #ifdef.
2177 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
2179 * stdio-common/_itoa.c (_itoa): Correct parameters to
2182 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2184 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
2185 before (e.g. in glob.h).
2188 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2190 * sysdeps/mips/fpu_control.h: Fix typo.
2191 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
2194 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
2196 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
2197 the "unused" ends of the sockets. Let pipes be bidirectional.
2199 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
2201 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
2204 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2206 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
2207 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
2209 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
2210 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
2212 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
2214 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
2216 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2218 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
2219 check for priority mask.
2221 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
2223 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
2224 Reported by Craig Metz <cmetz@inner.net> .
2226 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2228 * stdio-common/Makefile (tests): tllformat added.
2230 * stdio-common/tllformat.c: New program, based on tiformat.c with
2231 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2233 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2235 * posix/test-vfork.c: Fix exit status test.
2237 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2239 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
2240 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
2242 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2244 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
2245 of separare explicit comparisons.
2247 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2249 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
2252 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
2255 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
2257 * po/el.po: Update from translation team.
2259 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2261 * intl/locale.alias: Fix slovenian entry [PR libc/948].
2263 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2265 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
2266 * inet/ruserpass.c: Likewise.
2267 * locale/programs/stringtrans.c: Likewise.
2268 * locale/programs/localedef.c: Likewise.
2269 * nscd/grpcache.c: Likewise.
2270 * nss/nss_files/files-XXX.c: Likewise.
2271 * stdlib/canonicalize.c: Likewise.
2272 * sysdeps/posix/sigwait.c: Likewise.
2274 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2276 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
2277 even on 64 bit platforms.
2279 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
2280 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
2282 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
2284 * intl/dcgettext.c: Include locale.h is available.
2286 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
2288 * po/nl.po: Update from translation team.
2290 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
2292 * Makefile: Allow calling goals for po subdir.
2294 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
2297 * po/el.po: New file.
2299 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2301 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
2302 when processing DT_SYMBOLIC objects.
2304 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2306 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
2307 program headers without PT_PHDR only require that they are
2308 contained within one of the loaded segments. Don't use assert,
2309 since that would be a bug in the object, not the dynamic linker.
2311 1999-02-08 Richard Henderson <rth@cygnus.com>
2313 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
2314 restore all call-clobbered fp regs.
2316 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
2318 * po/cs.po: New file.
2320 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
2323 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
2325 * signal/signal.h: Don't declare __libc_allocate_rtsig.
2326 * include/signal.h: Declare __libc_allocate_rtsig here.
2328 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
2329 point functions, not do_lookup since the later can be called more
2332 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
2334 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
2335 macro, so that architectures which need to add some special
2336 offset to stack pointer can share this file.
2338 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
2339 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
2340 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
2341 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
2343 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
2344 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
2345 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
2346 between sparc32 and sparc64.
2348 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
2349 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
2350 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
2351 between sparc32 and sparc64.
2353 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
2354 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
2355 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
2356 between sparc32 and sparc64.
2358 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
2359 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
2360 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
2361 between sparc32 and sparc64.
2363 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
2365 * Versions.def: New version GLIBC_2.1.1 for libc.
2366 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
2367 * stdlib/labs.c: Moved to...
2368 * sysdeps/generic/labs.c: ...here.
2369 * stdlib/llabs.c: Moved to...
2370 * sysdeps/generic/llabs.c: ...here.
2371 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
2372 header. Declare _Exit.
2373 * sysdeps/generic/_exit.c: Add alias _Exit.
2374 * sysdeps/mach/hurd/_exit.c: Likewise.
2375 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
2376 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
2377 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
2378 * sysdeps/unix/_exit.c: Likewise.
2379 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
2380 imaxdiv and imaxabs. Declare lldiv_t if necessary.
2381 * sysdeps/wordsize-64/inttypes.h: Likewise.
2382 * sysdeps/wordsize-32/llabs.c: New file.
2383 * sysdeps/wordsize-32/lldiv.c: New file.
2384 * sysdeps/wordsize-64/labs.c: New file.
2385 * sysdeps/wordsize-64/ldiv.c: New file.
2386 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
2387 * manual/startup.texi: Document _Exit.
2389 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2391 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
2393 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
2395 * Versions.def: Add versions for ld.so.
2396 * csu/Versions: Remove __libc_stack_end here.
2397 * elf/Versions: Split libc definitions in libc and ld.so definitions.
2398 * elf/Makefile (ld-map): Change to ld.so.map.
2399 * scripts/versions.awk: Recognize dot in library names.
2401 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
2402 Don't use __tolower and __toupper in inline functions.
2403 Add optimizing macros for tolower and toupper.
2404 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
2405 (_toupper): Don't use __toupper.
2406 * ctype/ctype.c (tolower): Don't use __tolower.
2407 (toupper): Don't use toupper.
2409 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
2411 * resolv/Versions (libresolv): Export __ns_name_unpack and
2413 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
2414 make it global. Change all users. Similar for ns_name_ntop.
2415 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
2416 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
2417 directly to detect too small buffer.
2418 * resolv/nss_dns/dns-network.c: Likewise.
2420 * stdio-common/Makefile (tests): Add scanf12.
2421 * stdio-common/scanf12.c: New file.
2422 * stdio-common/scanf12.input: New file.
2423 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
2424 floating-point correctly if the number is invalid.
2426 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
2428 * stdio-common/printf_fp.c: Likewise.
2429 * stdio-common/printf_fphex.c: Likewise.
2430 * stdio-common/vfprintf.c: Likewise.
2433 See ChangeLog.9 for earlier changes.