1 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
3 * stdlib/strtol.c: Moved to ...
4 * sysdeps/generic/strtol.c: ...here.
5 * stdlib/strtoul.c: Moved to ...
6 * sysdeps/generic/strtoul.c: ...here.
7 * stdlib/strtoll.c: Moved to ...
8 * sysdeps/generic/strtoll.c: ...here.
9 * stdlib/strtoull.c: Moved to ...
10 * sysdeps/generic/strtoull.c: ...here.
11 * stdlib/strtol_l.c: Moved to ...
12 * sysdeps/generic/strtol_l.c: ...here.
13 * stdlib/strtoul_l.c: Moved to ...
14 * sysdeps/generic/strtoul_l.c: ...here.
15 * stdlib/strtoll_l.c: Moved to ...
16 * sysdeps/generic/strtoll_l.c: ...here.
17 * stdlib/strtoull_l.c: Moved to ...
18 * sysdeps/generic/strtoull_l.c: ...here.
20 * sysdeps/wordexp-64/strtol.c: New file.
21 * sysdeps/wordexp-64/strtoul.c: New file.
22 * sysdeps/wordexp-64/strtoll.c: New file.
23 * sysdeps/wordexp-64/strtoull.c: New file.
24 * sysdeps/wordexp-64/strtol_l.c: New file.
25 * sysdeps/wordexp-64/strtoul_l.c: New file.
26 * sysdeps/wordexp-64/strtoll_l.c: New file.
27 * sysdeps/wordexp-64/strtoull_l.c: New file.
29 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
31 * sysdeps/sparc/bits/wordsize.h: New file.
32 * sysdeps/sparc/fpu/bits/fenv.h: New file.
33 * sysdeps/sparc/fpu/fpu_control.h: New file.
34 * sysdeps/sparc/gmp-mparam.h: New file.
36 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
37 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
38 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
39 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
40 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
41 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
43 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
44 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
45 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
46 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
48 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
49 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
50 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
51 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
52 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
54 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
56 * login/openpty.c (openpty): Make sure pty does not because
59 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
61 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
63 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
64 Do proper error return.
66 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
68 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
69 of __P in the rest of glibc; define __MALLOC_PMT and use it.
70 Reported by Stephan Kulow <coolo@kde.org>.
72 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
74 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
76 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
78 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
80 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
81 names to protect from user's macro namespace.
82 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
83 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
84 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
85 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
86 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
88 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
89 sysdeps/arm/fpu/fesetenv.c: Likewise.
90 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
91 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
92 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
93 * sysdeps/mips/fesetenv.c: Likewise.
95 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
97 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
99 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
101 * configure.in: Recognize and allow gcc 2.95.
103 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
105 * sysdeps/generic/bits/elfclass.h: Version common to
106 wordsize-32 and wordsize-64.
107 * sysdeps/generic/bits/environments.h: Ditto.
108 * sysdeps/generic/stdint.h: Ditto.
109 * sysdeps/generic/inttypes.h: Ditto.
111 * sysdeps/generic/bits/wordsize.h: New file.
112 * stdlib/Makefile: Add bits/wordsize.h to headers.
114 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
116 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
117 headers to be used for 32bit and 64bit ABI compilations.
118 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
119 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
120 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
121 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
122 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
124 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
125 * sysdeps/wordsize-64/bits/environments.h: Remove.
126 * sysdeps/wordsize-64/stdint.h: Remove.
127 * sysdeps/wordsize-64/inttypes.h: Remove.
128 * sysdeps/wordsize-64/bits/wordsize.h: New file.
130 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
131 * sysdeps/wordsize-32/bits/environments.h: Remove.
132 * sysdeps/wordsize-32/stdint.h: Remove.
133 * sysdeps/wordsize-32/inttypes.h: Remove.
134 * sysdeps/wordsize-32/bits/wordsize.h: New file.
136 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
138 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
139 __align_cpy_16): New functions.
140 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
142 * sysdeps/sparc/sparc32/Versions: New file.
143 * sysdeps/sparc/sparc64/Versions: New file.
144 * sysdeps/sparc/Versions: Remove.
146 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
148 * sysdeps/unix/sysv/linux/configure.in:
149 On sparc64-*-linux*, set slibdir to /lib64 if prefix
150 is /usr, plus set libdir to ${exec_prefix}/lib64.
151 * sysdeps/unix/sysv/linux/configure: Regenerated.
152 * config.make.in: Propagate libdir settings from configure
154 * shlib-versions: sparc64-*-linux* dynamic linker is
155 /lib64/ld-linux.so.2.
157 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
159 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
162 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
164 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
165 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
167 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
168 contains garbage in bits 8-63.
169 * sysdeps/sparc/sparc64/memset.S: Ditto.
170 * sysdeps/sparc/sparc64/strchr.S: Ditto.
172 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
174 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
176 1999-05-17 David S. Miller <davem@redhat.com>
178 * sysdeps/sparc/sparc32/atomicity.h: New file.
179 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
180 * sysdeps/sparc/sparc64/atomicity.h: New file.
181 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
184 1999-05-18 Richard Henderson <rth@twiddle.net>
186 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
188 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
190 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
191 posix/sys/types.h: Handle the case of __GNUC__=3,
192 __GNUC_MINOR__=(anything).
194 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
196 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
199 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
201 * elf/Makefile (distribute): Remove dl-origin.h.
202 Add dl-dst.h and gen-trusted-dirs.awk.
204 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
206 * sysdeps/i386/i486/Versions: New file with inline functions from
207 sysdeps/i386/i486/bits/string.h for now.
209 * sysdeps/i386/Versions: Add inline functions from
210 sysdeps/i386/bits/string.h.
212 * string/Versions: Add inline functions from <bits/string2.h>.
214 * string/Makefile (routines): Add string-inlines.
215 * string/string-inlines.c: New file, used for implementation of
216 extern inline functions.
218 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
219 non inlined versions of functions.
220 * string/bits/string2.h: Likewise.
221 * sysdeps/i386/bits/string.h: Likewise.
223 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
225 * inet/arpa/tftp.h: Add second packed attribute.
227 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
229 * malloc/malloc.c: Cleanup to bring in line with released
230 stand-alone version `ptmalloc'. Update some comments.
231 (internal_function): Move fallback definition so that the source
232 compiles outside of libc, and use it in more places.
233 (malloc_atfork): Fix when malloc_check is in use.
235 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
237 * stdlib/tst-strtod.c: Fix typo.
239 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
241 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
244 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
246 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
248 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
250 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
251 * sunrpc/key_call.c: Fix memory leak, close file handle.
252 * nis/nis_creategroup.c: Use malloc instead of calloc,
254 * nis/nis_subr.c: Check for realloc result.
255 * nis/nis_file.c: Fix memory leak.
256 * nis/nis_table.c: Pretty print.
257 * nis/nis_getservlist.c: Likewise.
258 * nis/nis_ismember.c: Likewise.
259 * nis/nis_lookup.c: Likewise.
260 * nis/nis_ping.c: Likewise.
261 * nis/nis_removemember.c: Likewise.
262 * nis/nis_util.c: Likewise, check calloc result.
264 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
266 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
267 * sysdeps/generic/sys/socketvar.h: ... here.
268 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
269 * sysdeps/generic/netinet/in_systm.h: ... here.
270 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
272 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
273 * inet/Makefile (headers): Add netinet/in_systm.h here.
274 * socket/Makefile (headers): Add sys/socketvar.h here.
276 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
278 * stdlib/strtol.c: Optimize inner loop of long long versions.
280 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
281 Unix98. Add forward declaration of struct utmp.
283 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
285 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
288 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
289 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
290 memory allocation results.
292 1999-05-14 Mark Kettenis <kettenis@gnu.org>
294 * sysdeps/generic/getutmp.c: Include <string.h>
295 (getutmp): Rewrite to only copy those members that are really
296 present in `struct utmp'.
297 * sysdeps/generic/getutmpx.c: Likewise.
299 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
301 * nss/getXXbyYY.c: Add free_mem function which disposes all
302 statically allocated memory when debugging.
303 * nss/getXXent.c: Likewise.
304 * nss/nsswitch.c: Likewise.
306 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
308 * sysdeps/gnu/getutmpx.c: New file.
309 * sysdeps/gnu/getutmp.c: New file.
311 1999-05-13 H.J. Lu <hjl@gnu.org>
313 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
316 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
319 * sysdeps/gnu/utmpx.h (getutmp): Added.
320 (getutmpx): Likewise.
322 * sysdeps/generic/getutmp.c: New file.
324 * sysdeps/generic/getutmpx.c: New file.
326 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
328 * glibcbug.in (BUGGLIBC): Change address to
329 libc-alpha@sourceware.cygnus.com.
331 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
333 * resolv/arpa/nameser.h: Add C++ protectors.
335 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
337 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
338 Elad Tsur <eladts@post.tau.ac.il>.
340 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
342 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
343 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
344 lazily if LD_BIND_NOW is not set.
345 * elf/dl-support.c (_dl_lazy): New variable.
346 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
347 * elf/rtld.c (_dl_lazy): new global variable.
348 ( dl_main): Remove lazy, replace it by _dl_lazy.
350 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
352 * locale/setlocale.c (new_composite_name): Check also whether the
353 first category name differs.
355 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
357 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
360 1999-05-11 Philip Blundell <pb@nexus.co.uk>
362 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
363 structure; storage suitable for any socket address.
364 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
366 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
367 sockaddr_storage): Likewise.
369 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
372 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
374 * hesiod/Versions: Change _nss_hesiod_getpwuid and
375 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
376 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
378 1999-05-09 Mark Kettenis <kettenis@gnu.org>
380 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
381 if the file is empty.
383 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
385 * elf/do-lookup.h: Fix typo in comment.
387 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
388 f_bsize to help some broken programs.
390 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
392 * stdio-common/vfprintf.c: Fix typo.
394 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
396 * elf/link.h (struct link_map): New field l_phdr_allocated.
397 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
398 the program header being part of any loaded segment. If it is not
399 allocate memory and set l_phdr_allocated flag.
400 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
402 * nss/digits_dots.c: Correct return value interpretation of
403 inet_ntoa. Fix PR libc/1109.
405 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
407 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
409 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
411 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
412 * stdlib/fpioconst.c: Move #endif before end of struct.
414 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
416 * Versions.def (ld.so): Add GLIBC_2.1.1.
417 * elf/Makefile (routines): Add dl-origin.
418 (tests): Add origtest. Add dependencies for the program.
419 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
420 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
421 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
422 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
423 DT_AUXILIARY, and DT_FILTER filenames.
424 * elf/dl-load.c (expand_dynamic_string_token): Explode into
425 two functions and three macros.
426 (_dl_dst_count, _dl_dst_substitute): New functions.
427 * elf/dl-dst.h: New file.
428 * elf/dl-open.c (_dl_open): Take extra parameter with address of
429 caller. Pass address in args structure.
430 (dl_open_worker): Recognize and expand DSTs in filename.
431 * elf/ldsodefs.h (_dl_open): Adapt prototype.
432 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
433 (__dlopen_check): Pass caller address to dlopen_doit in args.
434 * elf/dlopendoit.c: Likewise.
435 * iconv/gconv_dl.c: Adapt call of _dl_open.
436 * nss/nsswitch.c: Likewise.
437 * elf/origtest.c: New file.
438 * sysdeps/generic/dl-origin.h: Moved to...
439 * sysdeps/generic/dl-origin.c: ...here.
440 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
441 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
443 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
444 with specific bases and only few bits set in second word.
446 * timezone/Makefile (install-others): Create target directory
447 before creating tzfiles.
449 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
451 * nis/nis_file.c (readColdStartFile): Allocate memory only after
452 the file is opened successfully.
454 * nis/nis_table.c: Fix some memory leaks.
456 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
458 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
461 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
462 around DST. Correctly ignore ORIGIN IN SUID binaries.
464 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
466 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
467 * sysdeps/generic/strtok.c: Likewise.
469 * string/tester.c: Add test of rawmemchr.
471 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
472 specification. It's not necessary.
474 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
475 * elf/gen-trusted-dirs.awk: New file.
476 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
477 from SYSTEM_DIRS macro.
478 (system_dirs_len): New variable. Contains lengths of system_dirs
480 (fillin_rpath): Rewrite for systems_dirs being a simple string.
481 Improve string comparisons. Change parameter trusted to be a flag.
483 (_dt_init_paths): Improve using new format for system_dirs.
485 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
486 $ORIGIN for SUID binaries.
488 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
490 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
492 * sunrpc/Makefile: Generate dependencies for all flavors of
494 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
497 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
499 * elf/dlopenold.c: Move #if down after includes to get
502 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
504 * sysdeps/generic/bzero.c: Undefine __bzero.
506 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
508 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
509 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
510 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
511 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
513 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
514 parameter to struct gaih_servtuple *. Adapt appropriately.
515 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
516 This fixes a memory leak.
517 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
519 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
520 and fpregset_t definition. They are defined in ucontext.h.
522 1999-04-14 Scott Bambrough <scottb@netwinder.org>
524 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
525 and struct ether_header must be packed on the ARM. The default
526 alignment constraints add padding to the end of the structures.
528 1999-04-14 Scott Bambrough <scottb@netwinder.org>
530 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
531 default alignment constraints add padding to the end of the
532 structure and between members.
534 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
536 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
537 _dl_cache_libcmp instead of strcmp.
539 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
541 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
543 1998-03-30 Joel Klecker <espy@debian.org>
545 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
546 (sysdep-others,install-bin): Add lddlibc4.
548 1999-05-02 H.J. Lu <hjl@gnu.org>
550 * timezone/zic.c (dolink): Remove the symlink destination first.
552 * catgets/open_catalog.c (__open_catalog): Set catalog->status
553 to "nonexisting" if failed to open the file.
555 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
557 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
560 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
561 Prevent warnings from multiplication with 0x01010101 by another cast.
563 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
565 * string/bits/string2.h (memset): Revert to previous version if
566 unaligned writes are not available.
568 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
570 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
571 better code in presence of the asm.
573 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
575 * stdlib/fmtmsg.c (keywords): Increase array size for faster
578 * locale/localeinfo.h (_nl_category_names): Increase array element
579 size for faster indexing.
580 * locale/setlocale.c (_nl_category_names): Adjusted.
582 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
584 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
586 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
588 * sysdeps/m68k/stackinfo.h: New file.
590 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
592 * string/tester.c (test_strchrnul): New function.
593 (test_memset): Test one more special case.
595 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
598 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
601 * string/bits/string2.h: Fix bugs I introduced in last change.
603 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
605 Extend memset optimization.
606 Correct i686 version of memchr.
608 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
610 * sysdeps/i386/bzero.c: Add #undef __bzero.
612 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
613 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
614 exec server simulated a SIGTRAP before we even started up, so gdb is
617 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
619 * nss/digits_dots.c: Always initialize not_ok.
621 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
623 * string/bits/string2.h (memset): Avoid arithmetic overflow at
624 compile time, which produces obnoxious warnings. If GCCv2 is
625 in use, map __bzero to __builtin_memset to enable that
628 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
630 * string/bits/string2.h: Add more memset optimizations.
632 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
634 * resolv/inet_pton.c (inet_pton4): Little optimizations.
635 (inet_pton6): Likewise.
637 * nss/getXXbyYY_r.c: Include assert.h.
638 * nss/getXXbyYY.c: Likewise.
640 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
642 * termios/tcgetsid.c (tcgetsid): Rename variable to
643 tiocgsid_does_not_work.
645 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
647 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
649 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
651 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
652 This allows e.g. gethostbyname to accept "10.1234".
653 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
655 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
656 non quad IPv4 numbers.
658 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
660 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
662 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
664 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
665 * argp/argp-parse.c (_argp_hang): Likewise.
666 * argp/argp-pv.c (argp_program_version): Likewise.
667 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
668 * inet/ether_hton.c (ether_hton, startp): Likewise.
669 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
670 * inet/getnetgrent_r.c (setup, startp): Likewise.
671 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
672 * intl/localealias.c (string_space, string_space_act, string_space_max,
673 nmap, maxmap): Likewise.
674 * libio/iopopen.c (proc_file_chain): Likewise.
675 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
676 * locale/lc-collate.c (__collate_table, __collate_extra,
677 __collate_element_hash, __collate_element_strings,
678 __collate_element_values): Likewise.
679 * malloc/mcheck.c (mcheck_used): Likewise.
680 * malloc/mtrace.c (added_atexit_handler): Likewise.
681 * malloc/set-freeres.c (already_called): Likewise.
682 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
683 * misc/syslog.c (LogStat, LogTag): Likewise.
684 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
685 * nss/getXXbyYY_r.c (startp): Likewise.
686 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
687 * posix/regex.c (init_syntax_once) [done]: Likewise.
689 * string/strfry.c (init): Likewise.
690 * sunrpc/svc_run.c (svc_top): Likewise.
691 * posix/euidaccess.c (have_ids): Likewise.
692 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
693 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
694 * time/getdate.c (getdate_err): Likewise.
695 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
697 * time/tzset.c (old_tz, is_initialized): Likewise.
699 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
700 of static data with zero.
701 * signal/allocrtsig.c (init): Likewise.
703 * string/Makefile (routines): Add strchrnul.
704 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
705 * string/string.c: Add strchrnul prototype.
706 * include/string.h: Add __strchrnul prototype.
707 * sysdeps/generic/strchrnul.c: New file.
708 * sysdeps/i386/strchrnul.S: New file.
709 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
710 * sysdeps/i386/i486/bits/string.c: Likewise.
711 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
712 * inet/ether_line.c (ether_line): Likewise.
713 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
714 * nss/nsswitch.c (nss_parse_file): Likewise.
715 * posix/execvp.c (execvp): Likewise.
716 * posix/fnmatch.c (internal_fnmatch): Likewise.
717 * resolv/res_hconf.c (_res_hconv_init): Likewise.
718 * resolv/res_init.c (res_init): Likewise.
719 * stdlib/fmtmsg.c (init): Likewise.
720 * stdlib/getsubopt.c (getsubopt): Likewise.
722 * catgets/catgets.c (catopen): Only allocate one memory block.
723 (catclose): Only one free call necessary.
725 * catgets/open_catalog.c (__open_catalog): Simplify handling of
728 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
729 of real functions. Simplify _tolower and _toupper.
731 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
734 * iconv/gconv.h (struct gconv_info): Change data element from pointer
736 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
737 * iconv/gconv_close.c (__gconv_close): Don't free data.
739 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
742 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
743 for error while inserting in tree.
745 * include/time.h: Pretty print.
747 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
748 in table and lots of relocations.
749 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
750 string pointers in table and lots of relocations.
752 * intl/finddomain.c: Remove definition of strchr macro.
754 * io/ftw.c (nftw_arr, ftw_arr): Make const.
756 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
758 * locale/localeinfo.h (_nl_category_names): Change into an array with
759 fixed width char string elements.
760 * locale/setlocale.c (_nl_category_names): Likewise.
761 (_nl_current): Make global.
762 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
764 * malloc/Makefile (distribute): Add stackinfo.h.
765 * sysdeps/generic/stackinfo.h: New file.
766 * sysdeps/i386/stackinfo.h: New file.
767 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
768 * posix/execle.c: Likewise.
769 * posix/execlp.c: Likewise.
771 * nis/nis_table.c (__create_ib_request): Always use realloc.
773 * posix/execvp.c (execute): Rename to script_execute and keep only
774 code to execute using shell.
775 (execvp): Call execv directly and only fall back on script_execute.
777 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
778 and always use xdigits instead.
780 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
783 * stdlib/fpioconst.h (__tens): New declaration.
784 (struct mp_power): Remove array, add arrayoff element.
785 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
786 __tens array and add in _fpioconst_pow10 offsets into __tens.
787 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
788 * stdlib/strtod.c: Likewise.
790 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
792 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
794 * stdlib/atexit.c (__exit_funcs): Don't initialize.
796 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
798 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
799 a single and an array with offsets.
801 * sunrpc/des_soft.c (partab): Make it const.
803 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
804 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
805 (__key_decryptsession_pk_LOCAL): Likewise.
806 (__key_gendes_LOCAL): Likewise.
807 (MESSENGER): Mark const.
808 (key_call_private_main): Don't initialize with 0.
809 (use_keyenvoy): Don't initialize with 0.
810 (key_call): Rewrite to reverse logic of use_doors variable.
812 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
813 (startp): Don't initialize with zero.
815 * sunrpc/openchild.c (_openchild): Make first argument const.
817 * sunrpc/pmap_rmt.c (timeout): Mark const.
818 * sunrpc/xcrypt.c (hex): Likewise.
820 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
821 initialization of global variables.
822 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
823 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
824 * termios/tcgetsid.c: Likewise.
826 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
829 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
830 block. Add function to free memory if wanted.
831 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
833 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
835 * wcsmbs/wmemset.c: Little code optimization.
837 1999-04-23 Paul Eggert <eggert@twinsun.com>
839 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
842 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
844 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
845 implementation and just always fail with ENOSYS. This entry point is
846 obsolete. Add link warning to that effect.
848 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
850 * hurd/get-host.c: Include <hurd/lookup.h>.
852 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
854 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
857 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
859 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
862 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
864 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
865 Patch by Peter Miller <millerp@canb.auug.org.au>.
867 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
869 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
870 prefers loopback device.
872 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
874 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
875 no_leading_period change.
877 * posix/testfnm.c: More test cases.
879 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
881 * include/dirent.h: Remove __getdirentries declaration, add __getdents
883 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
884 * sysdeps/unix/readdir_r.c: Likewise.
885 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
886 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
887 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
888 __getdirentries. Remove fourth argument.
889 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
890 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
891 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
892 Add getdirentries and getdirentries64.
893 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
895 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
896 pointer in case of an invalid [[: expression.
898 * posix/testfnm.c: Add more test cases.
900 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
902 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
903 set, pass EXEC_SIGTRAP flag in exec RPC.
905 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
907 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
908 extra parameter. Fix several more bugs involving wildcard and
910 (fnmatch): New function. Call internal_fnmatch.
912 * posix/testfnm.c: More test cases.
914 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
916 * manual/install.texi (Configuring and compiling): Explain that
917 files are changed in the source directory.
919 (Configuring and compiling): Explain situation with PARALLELMFLAGS
920 in the source directory.
922 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
924 * locale/programs/ld-ctype.c: Spelling fixes.
925 (ctype_finish): Fix argument of error message format.
926 * locale/programs/ld-messages.c: Spelling fixes.
927 * locale/programs/ld-monetary.c: Spelling fixes.
928 * locale/programs/ld-time.c (time_finish): Make sure that name and
929 format of era_entries are adjacent.
930 (time_output): Reduce the size of the io vector.
932 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
934 * manual/filesys.texi (Attribute Meanings): Move a misplaced
937 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
939 * locale/programs/ld-collate.c (collate_output): Convert
940 undefined_offset to an array index. Fix computation of other
943 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
945 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
946 return success with empty value.
948 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
950 * posix/fnmatch.c: Include string.h also for glibc.
951 (fnmatch, case '?'): Optimize if cascades a bit.
952 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
954 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
956 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
958 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
959 * iconv/gconv_int.h: Declare UTF16 functions.
960 * iconv/gconv_simple.c: Add UTF16 conversion functions.
962 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
964 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
965 be used correctly as parameter for parse_dollars/parse_tilde.
967 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
969 * manual/conf.texi (Utility Limits): Remove duplicate description
972 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
974 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
975 outbufend for dst==NULL.
977 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
979 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
983 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
986 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
988 * sunrpc/Makefile: Remove special handling of bootparam.x,
989 add rpcsvc/bootparam.h to headers.
990 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
991 * sunrpc/rpcsvc/bootparam.x: Renamed to...
992 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
994 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
996 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
997 detect and handle invalid descriptors.
999 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
1001 * timezone/zic.c (dolink): Append complete path not only filename
1004 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1006 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
1008 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
1010 * iconvdata/gconv-modules: Rename CP874 to IBM874.
1011 * iconvdata/Makefile: Likewise.
1012 * iconvdata/cp874.h: Removed.
1013 * iconvdata/cp874.c: Renamed to...
1014 * iconvdata/ibm874.c: ...this.
1016 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
1018 * sysdeps/unix/sysv/linux/bits/types.h: Correct
1019 signed/unsigned-ness of blkcnt and fsblkcnt.
1020 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1021 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1023 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
1024 SOL_AAL, and SOL_IRDA.
1026 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1028 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
1029 include "linux_fsinfo.h".
1030 Based on a patch by H.J. Lu <hjl@gnu.org>.
1032 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
1034 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
1036 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
1038 * nscd/cache.c (prune_cache): Only disable file checking for
1039 future if the file does not exist.
1040 Update file_mtime if cache was flushed.
1042 1999-04-15 David S. Miller <davem@redhat.com>
1044 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
1045 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
1047 1999-04-15 Scott Bambrough <scottb@netwinder.org>
1049 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
1050 compilation of file.
1052 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1054 * Versions.def: Add GLIBC_2.1.1 to libpthread.
1056 * iconvdata/Makefile (modules): Add KOI8-U.
1057 (distribute): Add koi8-u.c.
1058 (gen-8bit-gap-modules): Add koi8-u.
1059 * iconvdata/gconv-modules: Add KOI8-U entries.
1060 * iconvdata/koi8-u.c: New file.
1062 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
1064 * sunrpc/auth_des.c: 64bit fixes, security fixes.
1065 * sunrpc/auth_none.c: Pretty print.
1066 * sunrpc/auth_unix.c: Likewise.
1067 * sunrpc/authdes_prot.c: Likewise.
1068 * sunrpc/authuxprot.c: Likewise.
1069 * sunrpc/bindrsvprt.c: Likewise.
1070 * sunrpc/clnt_gen.c: Likewise.
1071 * sunrpc/rpc/xdr.h: Likewise.
1072 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
1073 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
1074 * sunrpc/rtime.c: Use new rpc_timeval.
1075 * sunrpc/svc_authux.c: Don't use *long pointers.
1076 * sunrpc/svcauth_des.c: Likewise + security fixes.
1077 * sunrpc/xdr_mem.c: Don't use *long pointers.
1078 * sunrpc/xdr_rec.c: Likewise.
1079 * sunrpc/xdr_sizeof.c: Likewise.
1080 * sunrpc/xdr_stdio.c: Likewise.
1082 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1084 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
1085 so that it is redone for each sending.
1087 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1089 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
1091 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1093 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
1094 known to not exist don't try to load shared objects.
1095 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
1097 * nscd/cache.c (prune_cache): The table might not be unused. In
1098 this case do nothing.
1100 * catgets/gencat.c (read_input_file): Don't drop white spaces
1101 between number/identifier and string.
1102 Patch by Dima Barsky <dima@pwd.hp.com>.
1103 If no white space at all follows number/identifier remove existing
1104 message with the number/identifier.
1106 1999-04-14 H.J. Lu <hjl@gnu.org>
1108 * sunrpc/clnt_udp.c (is_network_up): New function.
1109 (clntudp_call): Call is_network_up () to check if any network
1110 interface is up in case of timeout.
1112 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1114 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
1115 * wctype/Makefile (tests): Add test_wcfuncs.
1117 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
1119 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
1121 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
1123 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
1124 instead of CFLAGS. For gnulib and string directories use
1125 -Wa,-Av9a gcc ASFLAGS.
1126 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
1127 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
1128 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
1129 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
1130 the same way as sparc-*.
1132 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
1134 * locale/programs/locfile.c (locfile_read): Fix typo.
1135 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
1137 1999-04-14 Scott Bambrough <scottb@netwinder.org>
1139 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
1140 restarted after being interrupted by a signal. The parameters on
1141 the stack were corrupted by the signal handler.
1143 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
1144 restarted after being interrupted by a signal. The parameters on
1145 the stack were corrupted by the signal handler.
1147 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1149 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
1150 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
1152 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
1154 * posix/wordexp-test.c: In field-splitting test cases where
1155 subshells were involved, unset IFS first: some shells (ash) use
1156 IFS even when no expansion is performed.
1158 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1160 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
1161 the real end of the chunk, not some random point inbetween.
1162 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
1163 obstack when growing. Use fast version of obstack_blank when
1165 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
1166 allocating the vtable pointer.
1167 (_IO_obstack_vprintf): Adjust for above change and avoid
1168 unnecessary casts. Use fast version of obstack_blank when
1172 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
1174 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
1175 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
1177 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
1179 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
1180 is seen, as well as fixing semantics. Don't reset the word count
1181 to zero when an invalid character is seen, but leave it as it was
1182 (this makes a difference with WRDE_APPEND).
1184 * posix/wordexp-test.c: More test cases.
1186 * posix/wordexp.c (parse_param): In words like ${var#pattern},
1187 always expand pattern when it is needed. Also, handle quoting in
1190 1999-04-12 Philip Blundell <philb@gnu.org>
1192 * elf/elf.h: Update ARM definitions to match current gas2.
1194 * sysdeps/arm/bits/endian.h: Support big endian operation.
1196 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
1197 Don't bother range checking the port number.
1199 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
1201 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
1202 the syscall name in assembler output for ease of debugging.
1204 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
1206 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
1207 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
1208 (sysdep_routines): Add sigrestorer.
1210 * string/tester.c (test_strcpy): Add new tests for unaligned
1212 * sysdeps/arm/bits/string.h: Delete inline implementations of
1215 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
1217 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
1219 1999-04-10 Mark Kettenis <kettenis@gnu.org>
1221 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
1223 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
1225 * iconvdata/Makefile (modules): Add TIS-620.
1226 (distribute): Add tis-620.c.
1227 (gen-8bit-gap-modules): tis-620.
1228 * iconvdata/tis-620.c: New file.
1229 * iconvdata/gconv-modules: Add TIS-620 entries.
1231 * iconvdata/asmo_449.c: Correct comment.
1233 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1235 * manual/install.texi (Configuring and compiling): Comment out
1236 description of --disable-static since this doesn't work currently
1237 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
1239 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
1241 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
1243 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
1245 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1247 * scripts/test-installation.pl (installation_problem): Skip
1248 libnss1_* libraries from glibc-compat add-on.
1250 1999-04-07 H.J. Lu <hjl@gnu.org>
1252 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
1254 * posix/Versions (__waitpid): Likewise.
1256 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1258 * manual/install.texi (Reporting Bugs): Add section about reported
1259 bugs and correct email address of glibcbug script.
1261 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
1263 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
1264 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
1265 xdr_u_longlong_t. Based on patch from Dan Shechter
1266 <damageboy@isdn.net.il>.
1267 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
1268 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
1270 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
1272 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1274 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
1275 directly if getdents returns with error set.
1277 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1279 * locale/langinfo.h (THOUSEP): Rename second occurence of
1280 THOUSANDS_SEP to THOUSEP.
1281 Reported by Roman Belenov <roman@nstl.nnov.ru>.
1283 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
1285 * hurd/STATUS: File removed. Moved items that are still relevant into
1286 TODO list in hurd source.
1288 1999-03-26 Mark Kettenis <kettenis@gnu.org>
1290 * sysdeps/mach/hurd/bits/time.h: New file.
1291 * sysdeps/mach/hurd/getrusage.c: New file.
1292 * sysdeps/mach/hurd/clk_tck.c: New file.
1293 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
1294 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
1295 (sysdep_routines): Add clk_tck.
1296 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
1299 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
1301 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
1302 (closelog): But instead here.
1303 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
1305 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1307 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
1308 the source directory. Fixes PR libc/1059.
1310 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1312 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
1313 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1315 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
1317 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
1318 * iconvdata/testdata/ISO-8859-14: New file.
1319 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
1320 * iconvdata/testdata/ISO-8859-15: New file.
1321 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
1323 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
1325 * iconvdata/testdata/CP1258: New file.
1326 * iconvdata/testdata/CP1258..UTF8: New file.
1327 * iconvdata/TESTS: Add CP1258 entry.
1329 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
1331 * timezone/africa: Update from tzdata1999d.
1332 * timezone/europe: Likewise.
1333 * timezone/northamerica: Likewise.
1335 1999-03-31 Mark Kettenis <kettenis@gnu.org>
1337 * login/programs/pt_chown.c (main): Save effective user ID before
1338 dropping priviliges and use this to check if the program is
1341 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
1343 * iconvdata/testdata/CP1254: Update for charmap changes.
1344 * iconvdata/testdata/CP1254..UTF8: Likewise.
1345 * iconvdata/testdata/CP1255: Likewise.
1346 * iconvdata/testdata/CP1255..UTF8: Likewise.
1347 * iconvdata/testdata/CP1256: Likewise.
1348 * iconvdata/testdata/CP1256..UTF8: Likewise.
1349 * iconvdata/testdata/CP1257: Likewise.
1350 * iconvdata/testdata/CP1257..UTF8: Likewise.
1352 * iconvdata/Makefile (distribute): Remove cp1258.h.
1353 (gen-8bit-gap-modules): Add cp1258.
1354 * iconvdata/cp1258.h: Removed.
1356 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
1358 * timezone/tst-timezone.c (tests): Add more cases.
1359 (check_tzvars): Mark errors clearer.
1362 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1364 * login/programs/pt_chown.c: Drop privileges if invoked with
1365 arguments. Don't close the master pty.
1367 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
1369 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
1372 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
1374 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
1375 relocation for SUID binaries.
1377 1999-03-29 Paul Eggert <eggert@twinsun.com>
1379 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
1380 while in child process.
1382 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
1384 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
1385 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
1386 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
1387 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
1388 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
1390 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
1391 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
1392 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
1393 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
1394 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
1395 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
1396 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
1397 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
1398 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
1399 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
1400 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
1401 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
1402 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
1403 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
1404 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
1405 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
1406 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
1407 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
1408 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
1409 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
1410 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
1411 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
1412 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
1413 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
1414 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
1415 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
1417 * sysdeps/sparc/sparc32/bcopy.c: New file.
1418 * sysdeps/sparc/sparc32/bzero.c: New file.
1419 * sysdeps/sparc/sparc32/memchr.S: New file.
1420 * sysdeps/sparc/sparc32/memcpy.S: New file.
1421 * sysdeps/sparc/sparc32/memmove.c: New file.
1422 * sysdeps/sparc/sparc32/memset.S: New file.
1423 * sysdeps/sparc/sparc32/stpcpy.S: New file.
1424 * sysdeps/sparc/sparc32/strchr.S: New file.
1425 * sysdeps/sparc/sparc32/strrchr.c: New file.
1426 * sysdeps/sparc/sparc32/strcpy.S: New file.
1427 * sysdeps/sparc/sparc32/strlen.S: New file.
1428 * sysdeps/sparc/sparc32/strcat.S: New file.
1429 * sysdeps/sparc/sparc32/strcmp.S: New file.
1431 * sysdeps/sparc/sparc64/bcopy.c: New file.
1432 * sysdeps/sparc/sparc64/bzero.c: New file.
1433 * sysdeps/sparc/sparc64/memchr.S: New file.
1434 * sysdeps/sparc/sparc64/memcmp.S: New file.
1435 * sysdeps/sparc/sparc64/memcpy.S: New file.
1436 * sysdeps/sparc/sparc64/memset.S: New file.
1437 * sysdeps/sparc/sparc64/stpcpy.S: New file.
1438 * sysdeps/sparc/sparc64/strcat.S: New file.
1439 * sysdeps/sparc/sparc64/strchr.S: New file.
1440 * sysdeps/sparc/sparc64/strcmp.S: New file.
1441 * sysdeps/sparc/sparc64/strcpy.S: New file.
1442 * sysdeps/sparc/sparc64/strcspn.S: New file.
1443 * sysdeps/sparc/sparc64/strlen.S: New file.
1444 * sysdeps/sparc/sparc64/strncpy.S: New file.
1445 * sysdeps/sparc/sparc64/strpbrk.S: New file.
1446 * sysdeps/sparc/sparc64/strrchr.c: New file.
1447 * sysdeps/sparc/sparc64/strspn.S: New file.
1448 * sysdeps/sparc/sparc64/stpncpy.S: New file.
1449 * sysdeps/sparc/sparc64/strncmp.S: New file.
1451 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
1452 Append -fPIC, don't replace.
1454 * configure.in: Recognize sparcv8plus / sparcv9.
1456 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1458 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
1459 char * to avoid C++ warning.
1460 Patch by yasushi@cs.washington.edu [PR libc/1035].
1462 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1464 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
1465 declared in stdlib.h, correct return value of mkstemp.
1466 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
1468 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
1471 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1473 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
1476 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
1477 inline functions. Closes PR libc/1049.
1479 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1481 * timezone/README: Update from tzdata1999c and tzcode1999c.
1483 * timezone/africa: Update from tzdata1999c.
1484 * timezone/antarctica: Likewise.
1485 * timezone/asia: Likewise.
1486 * timezone/australasia: Likewise.
1487 * timezone/europe: Likewise.
1488 * timezone/northamerica: Likewise.
1489 * timezone/southamerica: Likewise.
1490 * timezone/zone.tab: Likewise.
1492 * timezone/zic.c: Update from tzcode1999c.
1494 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1496 * Makerules: Add $(common-objpfx)Versions.all to common-generated
1497 outside of ifndef avoid-generated.
1499 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
1501 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
1503 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
1505 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
1506 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
1508 1999-03-26 Mark Kettenis <kettenis@gnu.org>
1510 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
1511 if we build the profiled library.
1513 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1515 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
1516 Jaeger <aj@arthur.rhein-neckar.de>
1518 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
1520 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
1521 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
1522 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
1524 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
1526 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
1527 works properly in subdirs.
1529 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
1531 * sysdeps/mach/hurd/Makefile: Undo last change.
1532 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
1533 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
1535 * mach/Machrules (+preinit, +postinit, +interp,
1536 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
1537 linked just like other shared libraries.
1538 (interface.so): Fix typo in defn, so it works.
1539 ($(objpfx)$(interface.so)): Make it depend on libc.so.
1541 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
1543 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
1544 $(link-rpcuserlibs).
1546 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1548 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
1549 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
1550 targets if not building shared libraries.
1552 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1554 * configure.in: Also look in $PATH when searching for
1555 install-info. Remove autoconf bug workaround and require autoconf
1558 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1560 * db/Makefile: Don't try to install shared library link if not
1561 building with shared libs.
1563 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1565 * rt/Makefile: Link against static library if no shared lib is
1568 * localedata/Makefile: The shells scripts implementing the test
1569 require the dynamic linker which is not available with
1570 --disable-shared. Skip the test if --disable-shared is given.
1572 * linuxthreads/Makefile: Link test against static libpthread if no
1573 shared lib is available.
1575 * iconvdata/Makefile (tests): Run iconv-test only if we're
1576 building shared libraries.
1577 * elf/Makefile (tests): Likewise for elf tests.
1579 * posix/Makefile: The test frameworks globtest and wordexp-test
1580 require the dynamic linker which is not available with
1581 --disable-shared. Skip the test if --disable-shared is given.
1583 * grp/Makefile (otherlibs): For static nss build link against
1586 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1588 * debug/Makefile (install-bin): Install and build catchsegv only
1589 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
1592 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1594 * time/tzfile.c (__tzfile_read): Handle the case where there are
1595 transitions but no DST.
1597 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
1599 * mach/Machrules (extra-libs-others): Add $(interface-library) here
1600 too, so it gets built in the others pass rather than the lib pass.
1601 This is necessary since the RPC libraries need to be linked against
1604 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
1606 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
1609 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
1610 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
1611 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
1612 versions of lib{mach,hurd}user.so without reference to libc.so,
1613 then link libc.so against that to get deps and symbol versions, then
1614 finally link real lib*user.so against libc.so.
1616 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
1617 Support whole-file locking (only) by using the file_lock RPC. This
1618 has very wrong semantics, but is better than nothing for the time
1619 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
1620 protocols that will be somewhat hairy to specify.)
1622 1999-03-17 Mark Kettenis <kettenis@gnu.org>
1624 * sysdeps/mach/hurd/ptsname.c: New file.
1626 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1628 * timezone/asia: Fix rule in Asia/Nicosia entry.
1630 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1632 * manual/getopt.texi (Using Getopt): Explain "::" in option
1633 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
1635 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
1637 * sunrpc/clnt_unix.c: Fix creation of parameters for
1638 sendmsg/recvmsg on non intel platforms.
1639 * sunrpc/svc_unix.c: Likewise.
1641 1999-03-18 Philip Blundell <philb@gnu.org>
1643 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
1646 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1648 * timezone/africa: Update from tzdata1999b.
1649 * timezone/asia: Likewise.
1650 * timezone/australasia: Likewise.
1651 * timezone/europe: Likewise.
1652 * timezone/northamerica: Likewise.
1653 * timezone/southamerica: Likewise.
1654 * timezone/zone.tab: Likewise.
1656 * timezone/README: Mention tzdata1999b.
1658 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
1660 * sysdeps/generic/segfault.c (write_strsignal): New function.
1661 (catch_segfault): Use it instead of calling strsignal.
1663 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1665 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
1666 char to avoid warning.
1668 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1670 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
1672 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
1673 outbuf to unsigned char to avoid warning.
1675 1999-03-11 David S. Miller <davem@redhat.com>
1677 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
1679 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
1681 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1683 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
1685 (gconv_step_data): Likewise.
1686 * iconv/gconv_int.h (__gconv): Likewise.
1687 (__BUILINT_TRANS): Likewise.
1688 * iconv/gconv.c (__gconv): Likewise.
1689 * iconv/iconv.c (iconv): Add casts for call of __gconv.
1690 * iconv/skeleton.c: Change local parameters and variable from `char' to
1691 `unsigned char'. Remove casts from calls into modules.
1692 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
1693 `char' to `unsigned char'.
1694 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
1695 * wcsmbs/mbrtowc.c: Likewise.
1696 * wcsmbs/mbsnrtowcs.c: Likewise.
1697 * wcsmbs/mbsrtowcs.c: Likewise.
1698 * wcsmbs/wcrtomb.c: Likewise.
1699 * wcsmbs/wcsnrtombs.c: Likewise.
1700 * wcsmbs/wcsrtombs.c: Likewise.
1701 * wcsmbs/wctob.c: Likewise.
1703 1999-03-15 Mark Kettenis <kettenis@gnu.org>
1705 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
1706 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
1707 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
1708 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
1709 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
1710 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
1712 1999-03-15 Mark Kettenis <kettenis@gnu.org>
1714 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
1715 _hurd_select if TIMEMOUT is -1.
1717 1999-03-15 Mark Kettenis <kettenis@gnu.org>
1719 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
1721 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1723 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
1724 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
1726 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1728 * manual/libc.texinfo: Undo last change for now.
1730 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1732 * intl/locale.alias: Add entries for Croatian.
1733 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
1735 1999-03-13 Mark Kettenis <kettenis@gnu.org>
1737 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
1738 if the opened master pty really is a pty. `isatty' checks for
1739 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
1740 if we are out of pty's.
1742 1999-03-13 Mark Kettenis <kettenis@gnu.org>
1744 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
1745 opened file is closed on exec.
1746 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
1749 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1751 * manual/llio.texi (File Position Primitive): Reformat @end
1752 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
1754 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
1756 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
1758 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1759 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
1761 * locale/programs/localedef.c (main): Initialize `cat' to please
1764 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
1766 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
1767 check for root-owned symlinks and reject them too.
1769 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1771 * stdio-common/printf_fphex.c: Move to ...
1772 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
1773 extended precision number.
1774 * sysdeps/m68k/printf_fphex.c: New file.
1776 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1778 * manual/stdio.texi: Fix typos.
1780 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
1782 * version.h (VERSION): Bump to 2.1.1.
1784 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
1786 * nis/ypclnt.c: Try only twice to connect to NIS server.
1788 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
1790 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
1792 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1794 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
1795 (DENORM_EXP): New define. Use it as the exponent for a denormal.
1796 * stdlib/strtold.c: Moved to ...
1797 * sysdeps/generic/strtold.c: ... here.
1798 * sysdeps/m68k/strtold.c: New file.
1800 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1802 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
1803 point if the precision is zero, even if the mantissa is non-zero.
1805 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
1807 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
1808 arguments into the request message buffer inside `send_rpc'
1809 subfunction. We must repeat the marshalling when retrying the RPC
1810 after a SIGTTOU delivery.
1812 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
1813 path when there is no ctty port.
1814 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1815 Move sigstate check inside loop so we recheck after handling a signal.
1817 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1819 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
1820 O_EXLOCK are BSD extensions.
1821 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
1823 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
1825 * manual/signal.texi (Termination in Handler): Correct example.
1826 Install default handler before reraising the signal.
1827 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
1829 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
1831 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
1832 null, in which case send an empty string.
1834 1999-03-02 Mark Kettenis <kettenis@gnu.org>
1836 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
1837 backward compatibility EH functions to be linked when using
1838 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1840 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1842 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
1843 /dev/pts status may change during runtime.
1845 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1847 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
1848 change. /dev/pts status can change during runtime.
1850 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
1852 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
1854 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
1855 add some more sanity checks.
1856 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
1859 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
1861 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
1862 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
1863 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
1864 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
1865 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
1867 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
1868 * nis/nis_print.c: Fix ctime argument for platforms where
1869 sizeof (time_t) != sizeof (int).
1871 1999-03-07 Mark Kettenis <kettenis@gnu.org>
1873 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
1874 CLOCKS_PER_SEC instead of CLK_TCK.
1876 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
1878 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
1879 whether /dev/pts is available.
1880 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
1883 * posix/globtest.sh: Make common_objpfx path absolute and and db2
1884 and hesiod directory to library path [PR libc/1007].
1886 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1888 * resolv/inet_addr.c (inet_aton): Don't allow componets >
1889 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
1891 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
1893 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
1894 DT_PLTGOT has already been relocated.
1895 (__elf_machine_fixup_plt): Likewise.
1898 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
1900 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
1902 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
1904 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
1905 and fold string to uppercase [PR libc/1005].
1907 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1909 * elf/dl-load.c (lose): Fix return type.
1911 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
1913 * sysdeps/mach/hurd/bits/fcntl.h
1914 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
1915 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
1916 set O_NOTRANS as well.
1917 (__hurd_file_name_lookup_retry): At successful end of lookup,
1918 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
1919 it is a translated node not owned by root.
1920 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
1921 on the file name passed to LOOKUP.
1923 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
1925 * manual/time.texi (High Resolution Timer): Correct computation in
1926 example. Reported by jjf@devel.cemsys.com.
1928 1999-03-02 Philip Blundell <pb@nexus.co.uk>
1930 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
1931 entry is already relocated.
1933 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1935 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
1936 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
1938 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1940 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
1941 uc_link which is the right name according to Unix98.
1942 Reported by Craig Metz [PR libc/1001].
1943 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
1944 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
1945 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
1946 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
1947 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
1948 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
1950 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1952 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
1955 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1957 * iconvdata/Makefile: Always include iconv-rules, but disable rule
1958 to regenerate it if avoid-generated.
1960 * Makeconfig: Always include sys-dirs, but disable rule to
1961 regenerate it when avoid-generated.
1963 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
1964 rule to generate sysd-syscalls.
1966 * elf/Makefile (generated): Remove $(objpfx) from names.
1968 1999-02-28 Mark Kettenis <kettenis@gnu.org>
1970 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
1971 actual length if the adress length is smaller than the input
1972 value. Change type of *LEN paramater to socklen_t.
1973 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
1974 * sysdeps/mach/hurd/accept.c (accept): Likewise.
1975 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1976 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
1977 paramater to socklen_t.
1979 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
1981 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
1982 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
1985 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
1987 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
1988 __get_phys_pages): Cast &HBI to silence warning.
1990 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
1991 * hurd/hurdchdir.c: New file.
1992 * hurd/hurdfchdir.c: New file.
1993 * sysdeps/mach/hurd/chroot.c: Call
1994 _hurd_change_directory_port_from_name to do the work.
1995 * sysdeps/mach/hurd/chdir.c: Likewise.
1996 * sysdeps/mach/hurd/fchdir.c: Call
1997 _hurd_change_directory_port_from_fd to do the work.
1998 * hurd/fchroot.c: Likewise.
1999 * hurd/hurd.h: Declare them.
2001 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
2003 * elf/dl-load.c (lose): Add more comments to explain the `why'.
2004 (_dl_map_object): Remove redundant test.
2006 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
2008 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
2009 try to _hurd_port_free a lower-numbered descriptor that was not in any
2012 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2014 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
2015 declaration for ____wcstod_l_internal.
2017 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
2018 __strtod_internal prototype.
2019 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
2020 (____strtold_l_internal): Add prototype declaration.
2021 (__strtold_l): Call correct function.
2023 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
2025 * elf/elf.h: Add 32bit HPPA definitions.
2027 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2029 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
2030 non-checked heap is restored when malloc checking was requested by
2032 (struct malloc_state): Add using_malloc_checking.
2033 (MALLOC_STATE_VERSION): Increment minor.
2034 (using_malloc_checking, disallow_malloc_check): New variables.
2035 (__malloc_check_init): Use them.
2036 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
2037 that it can the chunk is properly instrumented when malloc
2038 checking is enabled. Set the new using_malloc_checking field.
2039 (malloc_hook_ini): Correct signature when _LIBC is not defined.
2041 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2043 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
2044 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
2047 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
2048 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
2049 if ld.so is the main program.
2051 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
2053 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
2054 large for work_buffer, allocate new buffer.
2055 (printf_unknown): Likewise. [PR libc/988]
2057 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
2059 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
2060 instead of stat and fstat.
2061 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2063 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2065 * elf/dl-error.c (_dl_signal_cerror): New function.
2066 (_dl_signal_error): Don't call receiver function.
2067 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
2068 instead of _dl_signal_error when reporting references to undefined
2069 symbols or versions.
2070 (_dl_lookup_versioned_symbol): Likewise.
2071 (_dl_lookup_versioned_symbol_skip): Likewise.
2072 * elf/dl-version.c (match_symbol): Likewise.
2074 * elf/ldsodefs.h: Declare _dl_signal_cerror.
2076 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
2078 * misc/getttyent.c (getttyent): Release lock on stream later to
2079 also protect global variable zapchar.
2081 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
2082 __times [PR libc/990].
2084 1999-02-21 David S. Miller <davem@redhat.com>
2086 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
2087 parentheses in Feb 2 changes.
2088 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2090 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2092 * sysdeps/generic/glob.c (glob): Save previous errno.
2094 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
2096 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
2097 lookup functions if it is too small.
2099 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
2101 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
2102 for tracing to the scope lists.
2103 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
2104 DT_SYMTAB is always available according to ELF spec.
2106 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
2107 call test whether there is any scope left.
2108 (_dl_lookup_versioned_symbol_skip): Likewise.
2110 * elf/Makefile (distribute): Add do-lookup.h.
2111 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
2112 * elf/dl-lookup.c: Move do_lookup function in separate file and
2113 include the file twice, for handling versioning and without it.
2115 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
2116 entry is already relocated.
2117 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
2118 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
2119 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
2120 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
2122 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
2124 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
2127 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
2128 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
2129 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
2130 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
2131 rel and rela relocations can both happen and skip one test if this
2133 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
2135 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
2137 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
2139 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
2140 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
2141 (_dl_map_object): DT_STRTAB entry is already relocated.
2142 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
2144 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
2146 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
2147 DT_VERSYM entries are already relocated.
2148 (profile_fixup): Likewise.
2149 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
2151 (match_symbol): DT_STRTAB entry is already relocated.
2152 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
2153 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
2154 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
2155 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
2156 (find_needed): DT_STRTAB entry is already relocated.
2157 (dl_main): Pass extra argument to elf_get_dynamic_info.
2158 DT_STRTAB entry is already relocated.
2159 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
2160 DT_PLTGOT entries are already relocated.
2161 (elf_machine_rela): Likewise for DT_SYMTAB.
2162 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
2164 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2165 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
2166 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2167 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2168 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
2169 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
2170 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
2171 * sysdeps/mips/mips64/dl-machine.h: Likewise.
2173 * grp/initgroups.c (initgroups): If function in current module was
2174 successful don't stop but continue to process to get all the groups.
2176 * elf/dl-load.c (_dl_map_object_from_fd): Use global
2177 _dl_pf_to_proot array to convert p_flags value.
2178 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2180 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
2181 loop to clear `info'.
2183 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
2184 do the work and don't use inline assembler.
2186 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
2188 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
2189 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
2190 noreturn, and prevent it from being inlined.
2191 Define LOSE appropriately.
2192 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
2193 Optimize decoding of p_flags for certain platforms.
2195 1999-02-19 Philip Blundell <pb@nexus.co.uk>
2197 * Makeconfig (link-libc): When doing a static link, make sure that
2198 libgcc.a is included both before and after libc.a.
2200 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
2202 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
2203 sp_warn, sp_inact, sp_expire and sp_flag.
2205 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
2207 * elf/link.h (link_map): Add l_dev and l_ino.
2208 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
2209 loaded shared object with all loaded objects. Initialize l_ino
2210 and l_dev in case it's new.
2211 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
2213 * elf/Makefile: Compile and run new test.
2214 * elf/multiload.c: New file.
2216 * nss/nsswitch.h (service_user): Change name field from const char *
2218 (name_database_entry): Likewise.
2219 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
2220 for change of `service_user'.
2221 (nss_getline): Adjust memory allocation for change of
2222 `name_database_entry'.
2224 * catgets/catgets.c: Correctly handle NLSPATH from environment
2227 * io/Makefile (routines): Add lock64.
2228 * io/Versions: Add lockf64 for GLIBC_2.1.1.
2229 * sysdeps/generic/lockf64.c: New file.
2231 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2233 * string/bits/string2.h: Only use strncmp optimization if count
2234 argument is constant.
2236 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
2238 * sysdeps/mach/hurd/revoke.c: New file.
2240 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2242 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
2243 int to avoid warning about `ISO C restricts enumerator values to
2246 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2248 * elf/dlfcn.h: Fix typo.
2249 * sysdeps/generic/bits/dlfcn.h: Likewise.
2250 * sysdeps/mips/bits/dlfcn.h: Likewise.
2252 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2254 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
2255 for the case N == 0.
2257 * db2/Makefile (distribute): Add LICENSE.
2259 1999-02-03 Jeff Bailey <jbailey@nisa.net>
2261 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
2264 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
2266 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2268 * time/mktime.c: Use ISO C form for function definitions and
2269 remove unnecessary prototypes.
2271 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
2273 * time/time.h: Avoid unneccesary #ifdef.
2275 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
2277 * stdio-common/_itoa.c (_itoa): Correct parameters to
2280 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2282 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
2283 before (e.g. in glob.h).
2286 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2288 * sysdeps/mips/fpu_control.h: Fix typo.
2289 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
2292 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
2294 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
2295 the "unused" ends of the sockets. Let pipes be bidirectional.
2297 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
2299 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
2302 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2304 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
2305 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
2307 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
2308 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
2310 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
2312 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
2314 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2316 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
2317 check for priority mask.
2319 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
2321 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
2322 Reported by Craig Metz <cmetz@inner.net> .
2324 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2326 * stdio-common/Makefile (tests): tllformat added.
2328 * stdio-common/tllformat.c: New program, based on tiformat.c with
2329 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2331 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2333 * posix/test-vfork.c: Fix exit status test.
2335 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2337 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
2338 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
2340 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2342 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
2343 of separare explicit comparisons.
2345 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2347 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
2350 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
2353 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
2355 * po/el.po: Update from translation team.
2357 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2359 * intl/locale.alias: Fix slovenian entry [PR libc/948].
2361 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2363 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
2364 * inet/ruserpass.c: Likewise.
2365 * locale/programs/stringtrans.c: Likewise.
2366 * locale/programs/localedef.c: Likewise.
2367 * nscd/grpcache.c: Likewise.
2368 * nss/nss_files/files-XXX.c: Likewise.
2369 * stdlib/canonicalize.c: Likewise.
2370 * sysdeps/posix/sigwait.c: Likewise.
2372 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2374 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
2375 even on 64 bit platforms.
2377 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
2378 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
2380 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
2382 * intl/dcgettext.c: Include locale.h is available.
2384 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
2386 * po/nl.po: Update from translation team.
2388 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
2390 * Makefile: Allow calling goals for po subdir.
2392 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
2395 * po/el.po: New file.
2397 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2399 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
2400 when processing DT_SYMBOLIC objects.
2402 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2404 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
2405 program headers without PT_PHDR only require that they are
2406 contained within one of the loaded segments. Don't use assert,
2407 since that would be a bug in the object, not the dynamic linker.
2409 1999-02-08 Richard Henderson <rth@cygnus.com>
2411 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
2412 restore all call-clobbered fp regs.
2414 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
2416 * po/cs.po: New file.
2418 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
2421 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
2423 * signal/signal.h: Don't declare __libc_allocate_rtsig.
2424 * include/signal.h: Declare __libc_allocate_rtsig here.
2426 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
2427 point functions, not do_lookup since the later can be called more
2430 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
2432 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
2433 macro, so that architectures which need to add some special
2434 offset to stack pointer can share this file.
2436 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
2437 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
2438 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
2439 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
2441 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
2442 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
2443 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
2444 between sparc32 and sparc64.
2446 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
2447 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
2448 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
2449 between sparc32 and sparc64.
2451 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
2452 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
2453 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
2454 between sparc32 and sparc64.
2456 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
2457 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
2458 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
2459 between sparc32 and sparc64.
2461 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
2463 * Versions.def: New version GLIBC_2.1.1 for libc.
2464 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
2465 * stdlib/labs.c: Moved to...
2466 * sysdeps/generic/labs.c: ...here.
2467 * stdlib/llabs.c: Moved to...
2468 * sysdeps/generic/llabs.c: ...here.
2469 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
2470 header. Declare _Exit.
2471 * sysdeps/generic/_exit.c: Add alias _Exit.
2472 * sysdeps/mach/hurd/_exit.c: Likewise.
2473 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
2474 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
2475 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
2476 * sysdeps/unix/_exit.c: Likewise.
2477 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
2478 imaxdiv and imaxabs. Declare lldiv_t if necessary.
2479 * sysdeps/wordsize-64/inttypes.h: Likewise.
2480 * sysdeps/wordsize-32/llabs.c: New file.
2481 * sysdeps/wordsize-32/lldiv.c: New file.
2482 * sysdeps/wordsize-64/labs.c: New file.
2483 * sysdeps/wordsize-64/ldiv.c: New file.
2484 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
2485 * manual/startup.texi: Document _Exit.
2487 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2489 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
2491 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
2493 * Versions.def: Add versions for ld.so.
2494 * csu/Versions: Remove __libc_stack_end here.
2495 * elf/Versions: Split libc definitions in libc and ld.so definitions.
2496 * elf/Makefile (ld-map): Change to ld.so.map.
2497 * scripts/versions.awk: Recognize dot in library names.
2499 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
2500 Don't use __tolower and __toupper in inline functions.
2501 Add optimizing macros for tolower and toupper.
2502 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
2503 (_toupper): Don't use __toupper.
2504 * ctype/ctype.c (tolower): Don't use __tolower.
2505 (toupper): Don't use toupper.
2507 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
2509 * resolv/Versions (libresolv): Export __ns_name_unpack and
2511 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
2512 make it global. Change all users. Similar for ns_name_ntop.
2513 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
2514 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
2515 directly to detect too small buffer.
2516 * resolv/nss_dns/dns-network.c: Likewise.
2518 * stdio-common/Makefile (tests): Add scanf12.
2519 * stdio-common/scanf12.c: New file.
2520 * stdio-common/scanf12.input: New file.
2521 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
2522 floating-point correctly if the number is invalid.
2524 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
2526 * stdio-common/printf_fp.c: Likewise.
2527 * stdio-common/printf_fphex.c: Likewise.
2528 * stdio-common/vfprintf.c: Likewise.
2531 See ChangeLog.9 for earlier changes.