1 1999-06-12 Mark Kettenis <kettenis@gnu.org>
3 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
4 inserting a send right into the child instead of unconditionally
5 copying the send right.
7 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
9 * locale/lc-time.c: Add free_mem function to free if necessary
10 statically allocated memory.
12 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
14 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
15 bias from the raw exponent.
17 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
19 * inet/arpa/tftp.h: Move attribute declaration in right position.
21 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
23 * nscd/nscd.c: Add -S options for separate caching of data for
24 every user. So one user couldn't see the data another user
25 has gotten with his credentials.
26 * nscd/nscd.h: Add new prototypes.
27 * nscd/cache.c: Compare owner of cache entry if in secure mode.
28 * nscd/connections.c: Check on shutdown if caller really was root.
29 In secure mode get uid of caller.
30 * nscd/grpcache.c: Add support for new secure group mode.
31 * nscd/hstcache.c: Add support for new secure hosts mode.
32 * nscd/pwdcache.c: Add support for new secure passwd mode.
34 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
36 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
37 of user-provided buffer.
39 1999-06-11 Mark Kettenis <kettenis@gnu.org>
41 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
42 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
44 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
46 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
49 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
50 returning after last entry.
51 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
53 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
55 * misc/sysexits.h: Remove advertising clause of copyright.
56 * resolv/getnetnamadr.c: Likewise.
57 * sysdeps/vax/bcopy.s: Likewise.
58 * sysdeps/vax/bzero.s: Likewise.
59 * sysdeps/vax/ffs.s: Likewise.
60 * sysdeps/vax/memchr.s: Likewise.
61 * sysdeps/vax/memcmp.s: Likewise.
62 * sysdeps/vax/memmove.s: Likewise.
63 * sysdeps/vax/memset.s: Likewise.
64 * sysdeps/vax/strcat.s: Likewise.
65 * sysdeps/vax/strchr.s: Likewise.
66 * sysdeps/vax/strcmp.s: Likewise.
67 * sysdeps/vax/strcpy.s: Likewise.
68 * sysdeps/vax/strcspn.s: Likewise.
69 * sysdeps/vax/strlen.s: Likewise.
70 * sysdeps/vax/strncat.s: Likewise.
71 * sysdeps/vax/strncmp.s: Likewise.
72 * sysdeps/vax/strncpy.s: Likewise.
73 * sysdeps/vax/strpbrk.s: Likewise.
74 * sysdeps/vax/strrchr.s: Likewise.
75 * sysdeps/vax/strsep.s: Likewise.
76 * sysdeps/vax/strspn.s: Likewise.
77 * sysdeps/vax/strstr.s: Likewise.
79 * libio/iofopncook.c: Adjust for renaming of structure elements.
80 * libio/libio.h: Define cookie functions with all the names.
82 * pwd/fgetpwent_r.c: Set errno in the correct way.
83 * shadow/fgetspent_r.c: Likewise.
84 * pwd/fgetpwent.c: Handle long lines correctly. Little
85 optimizations. Free static buffer when debugging memory handling.
86 * shadow/fgetspent.c: Likewise.
88 * grp/fgetgrent.c: Little optimization in loop.
90 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
92 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
95 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
97 * stdlib/longlong.h: gas changed sethi handling when without
99 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
100 port specific cache id checks.
101 * sysdeps/generic/dl-cache.h: New file.
102 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
104 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
106 * gmon/gmon.c: Remove advertising clause of copyright.
107 * gmon/mcount.c: Likewise.
108 * gmon/sys/gmon.h: Likewise.
109 * inet/arpa/ftp.h: Likewise.
110 * inet/arpa/telnet.h: Likewise.
111 * inet/arpa/tftp.h: Likewise.
112 * inet/inet_lnaof.c: Likewise.
113 * inet/inet_mkadr.c: Likewise.
114 * inet/inet_net.c: Likewise.
115 * inet/inet_netof.c: Likewise.
116 * inet/protocols/routed.h: Likewise.
117 * inet/protocols/rwhod.h: Likewise.
118 * inet/protocols/talkd.h: Likewise.
119 * inet/protocols/timed.h: Likewise.
120 * inet/rcmd.c: Likewise.
121 * inet/rexec.c: Likewise.
122 * inet/ruserpass.c: Likewise.
123 * io/fts.c: Likewise.
124 * io/fts.h: Likewise.
125 * login/login_tty.c: Likewise.
126 * misc/fstab.h: Likewise.
127 * misc/getttyent.c: Likewise.
128 * misc/getusershell.c: Likewise.
129 * misc/sys/queue.h: Likewise.
130 * misc/sys/syslog.h: Likewise.
131 * misc/syslog.c: Likewise.
132 * misc/ttyent.h: Likewise.
133 * misc/ttyslot.c: Likewise.
134 * resolv/arpa/nameser.h: Likewise.
135 * resolv/gethnamaddr.c: Likewise.
136 * resolv/herror.c: Likewise.
137 * resolv/inet_addr.c: Likewise.
138 * resolv/mapv4v6addr.h: Likewise.
139 * resolv/mapv4v6hostent.h: Likewise
140 * resolv/nss_dns/dns-host.c: Likewise.
141 * resolv/nss_dns/dns-network.c: Likewise.
142 * resolv/res_comp.c: Likewise.
143 * resolv/res_data.c: Likewise.
144 * resolv/res_debug.c: Likewise.
145 * resolv/res_init.c: Likewise.
146 * resolv/res_mkquery.c: Likewise.
147 * resolv/res_query.c: Likewise.
148 * resolv/res_send.c: Likewise.
149 * resolv/resolv.h: Likewise.
150 * sysdeps/generic/div.c: Likewise.
151 * sysdeps/generic/netinet/ip.h: Likewise.
152 * sysdeps/generic/netinet/tcp.h: Likewise.
153 * sysdeps/generic/paths.h: Likewise.
154 * sysdeps/generic/prof-freq.c: Likewise.
155 * sysdeps/generic/sys/ttydefaults.h: Likewise.
156 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
157 * sysdeps/gnu/netinet/tcp.h: Likewise.
158 * sysdeps/ieee754/support.c: Likewise.
159 * sysdeps/mach/hurd/sys/param.h: Likewise.
160 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
161 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
162 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
163 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
164 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
165 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
166 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
167 * sysdeps/unix/sysv/linux/paths.h: Likewise.
168 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
169 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
170 * sysdeps/vax/DEFS.h: Likewise.
171 * termios/sys/ttychars.h: Likewise.
172 * misc/daemon.c: Likewise. Call fork.
174 * grp/fgetgrent.c (buffer): Make file local variable.
175 (free_mem): New function. Call for malloc debugging.
177 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
179 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
181 * grp/Makefile: Add rules for tst_fgetgrent.
183 * grp/tst_fgetgrent.c: Rewritten to read only one file.
185 * grp/tst_fgetgrent.sh: New file.
187 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
189 * grp/Makefile (tests): Add tst_fgetgrent.
190 * grp/tst_fgetgrent.c: New file.
191 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
193 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
195 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
196 be POSIX compliant. Prior definition was broken for Hurd.
197 Reported by Mark Kettenis <kettenis@gnu.org>.
199 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
201 * ctype/ctype.h: Protect __tobody code by __extension__.
203 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
205 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
206 reading and reset in case the buffer was too small.
208 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
211 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
213 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
214 another SIOGIFNAME typo.
216 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
218 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
220 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
223 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
225 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
226 the precision if the mantissa is zero.
228 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
230 * manual/lang.texi (Floating Point Parameters): GCC already
231 supports long double for a long time.
233 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
235 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
236 yn_test): Increase some epsilons.
238 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
240 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
243 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
245 * sysdeps/unix/sysv/linux/kernel-features.h: Define
246 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
247 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
248 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
250 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
251 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
252 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
253 * sysdeps/libm-ieee754/w_j1.c: Likewise.
254 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
255 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
256 * sysdeps/libm-ieee754/w_jn.c: Likewise.
257 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
258 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
260 * stdio-common/vfprintf.c: Correct typos.
262 * math/libm-test.c (jn_test): Adjust delta.
266 * elf/do-lookup.h: It should never happen that if we expect a versioned
267 symbol from a file the file has no version table. This should have
268 been checked in dl-version.c.
269 * elf/dl-lookup.c: Include assert.h.
271 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
274 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
276 1999-06-06 Andi Kleen <ak@muc.de>
278 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
281 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
283 * math/libm-test.c (yn_test): Change one delta.
288 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
290 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
291 avoid multiple calls to getpagesize() which might be a syscall.
293 1999-06-06 Philip Blundell <philb@gnu.org>
295 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
297 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
299 * manual/install.texi (Running make install): Correct typo in
300 dynamic linker invocation.
302 1999-06-05 Philip Blundell <philb@gnu.org>
304 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
305 problems with GOT addressing.
307 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
309 * malloc/malloc.c (check_action): Change into bitmap so that both
310 diagnostic and abort can be requested by setting it to 3.
311 (mALLOC_SET_STATe): Disable malloc checking if necessary.
313 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
315 * configure.in: Few changes for HPUX.
317 * scripts/config.guess: Update from latest version.
318 * scripts/config.sub: Likewise.
320 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
322 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
323 map files. Closes PR libc/1147.
325 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
327 * math/libm-test.c (main): Add new test functions.
328 (jn_test): New tests.
329 (j1_test): Add some more tests.
330 (j0_test): Add some more tests.
331 (y0_test): Add some more tests.
332 (y1_test): Add some more tests.
334 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
336 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
337 Patch by mhagger@dera.gov.uk [PR libc/1145].
339 * math/libm-test.c (y1_test): New tests.
343 (main): Added new tests.
345 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
347 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
348 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
349 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
350 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
351 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
352 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
354 1999-06-02 David S. Miller <davem@redhat.com>
356 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
359 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
361 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
362 and elide compatibility code if possible.
364 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
366 * manual/llio.texi: Remove menu entry for removed section.
368 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
370 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
373 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
375 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
378 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
380 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
382 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
384 * manual/stdio.texi: Fix some typos.
386 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
388 * malloc/malloc.h: Properly handle future GCC versions.
390 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
392 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
393 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
394 text of error message.
396 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
398 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
400 * manual/filesys.texi: Extend (f)truncate documentation.
401 * manual/llio.texi: Remove duplicate (f)truncate definition.
403 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
405 * manual/stdio.texi (Formatted Output Functions): Mention
406 semantics of snprintf in glibc 2.0.
407 Reported by Ben Pfaff <pfaffben@msu.edu>.
409 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
411 * include/features.h (__GLIBC_MINOR__): Bump to 2.
413 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
415 * math/libm-test.c: Adjust a few more deltas for the poor ARM
418 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
420 * configure.in: Fix typo.
422 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
424 * manual/socket.texi (Host Names): Remove statement that h_errno
425 needs to be declared since this isn't true anymore.
428 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
430 * config.h.in: Add __LINUX_KERNEL_VERSION.
431 * configure.in: Recognize --enable-kernel.
432 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
433 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
435 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
436 given perform runtime test.
438 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
439 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
440 minimal supported kernel is known to have the feature.
441 * sysdeps/unix/sysv/linux/poll.c: Likewise.
442 * sysdeps/unix/sysv/linux/pread.c: Likewise.
443 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
444 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
445 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
446 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
447 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
448 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
449 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
450 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
451 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
452 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
453 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
454 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
455 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
457 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
459 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
461 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
463 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
465 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
466 Optimized sparc64 routines.
468 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
470 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
471 they are the same as ints.
472 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
474 * version.h (VERSION): Bump to 2.1.90.
475 (RELEASE): Mark as development.
477 * stdio-common/vfprintf.c (vfprintf): Don't implement special
478 handling for long long if it is the same as long.
479 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
481 * stdlib/strtol.c: Moved to ...
482 * sysdeps/generic/strtol.c: ...here.
483 * stdlib/strtoul.c: Moved to ...
484 * sysdeps/generic/strtoul.c: ...here.
485 * stdlib/strtoll.c: Moved to ...
486 * sysdeps/generic/strtoll.c: ...here.
487 * stdlib/strtoull.c: Moved to ...
488 * sysdeps/generic/strtoull.c: ...here.
489 * stdlib/strtol_l.c: Moved to ...
490 * sysdeps/generic/strtol_l.c: ...here.
491 * stdlib/strtoul_l.c: Moved to ...
492 * sysdeps/generic/strtoul_l.c: ...here.
493 * stdlib/strtoll_l.c: Moved to ...
494 * sysdeps/generic/strtoll_l.c: ...here.
495 * stdlib/strtoull_l.c: Moved to ...
496 * sysdeps/generic/strtoull_l.c: ...here.
498 * sysdeps/wordsize-64/strtol.c: New file.
499 * sysdeps/wordsize-64/strtoul.c: New file.
500 * sysdeps/wordsize-64/strtoll.c: New file.
501 * sysdeps/wordsize-64/strtoull.c: New file.
502 * sysdeps/wordsize-64/strtol_l.c: New file.
503 * sysdeps/wordsize-64/strtoul_l.c: New file.
504 * sysdeps/wordsize-64/strtoll_l.c: New file.
505 * sysdeps/wordsize-64/strtoull_l.c: New file.
507 * wcsmbs/wcstol.c: Moved to ...
508 * sysdeps/generic/wcstol.c: ...here.
509 * wcsmbs/wcstoul.c: Moved to ...
510 * sysdeps/generic/wcstoul.c: ...here.
511 * wcsmbs/wcstoll.c: Moved to ...
512 * sysdeps/generic/wcstoll.c: ...here.
513 * wcsmbs/wcstoull.c: Moved to ...
514 * sysdeps/generic/wcstoull.c: ...here.
515 * wcsmbs/wcstol_l.c: Moved to ...
516 * sysdeps/generic/wcstol_l.c: ...here.
517 * wcsmbs/wcstoul_l.c: Moved to ...
518 * sysdeps/generic/wcstoul_l.c: ...here.
519 * wcsmbs/wcstoll_l.c: Moved to ...
520 * sysdeps/generic/wcstoll_l.c: ...here.
521 * wcsmbs/wcstoull_l.c: Moved to ...
522 * sysdeps/generic/wcstoull_l.c: ...here.
524 * sysdeps/wordsize-64/wcstol.c: New file.
525 * sysdeps/wordsize-64/wcstoul.c: New file.
526 * sysdeps/wordsize-64/wcstoll.c: New file.
527 * sysdeps/wordsize-64/wcstoull.c: New file.
528 * sysdeps/wordsize-64/wcstol_l.c: New file.
529 * sysdeps/wordsize-64/wcstoul_l.c: New file.
530 * sysdeps/wordsize-64/wcstoll_l.c: New file.
531 * sysdeps/wordsize-64/wcstoull_l.c: New file.
533 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
535 * sysdeps/sparc/bits/wordsize.h: New file.
536 * sysdeps/sparc/fpu/bits/fenv.h: New file.
537 * sysdeps/sparc/fpu/fpu_control.h: New file.
538 * sysdeps/sparc/gmp-mparam.h: New file.
540 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
541 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
542 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
543 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
544 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
545 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
547 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
548 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
549 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
550 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
552 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
553 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
554 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
555 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
556 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
558 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
560 * login/openpty.c (openpty): Make sure pty does not because
563 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
565 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
567 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
568 Do proper error return.
570 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
572 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
573 of __P in the rest of glibc; define __MALLOC_PMT and use it.
574 Reported by Stephan Kulow <coolo@kde.org>.
576 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
578 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
580 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
582 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
584 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
585 names to protect from user's macro namespace.
586 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
587 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
588 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
589 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
590 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
592 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
593 sysdeps/arm/fpu/fesetenv.c: Likewise.
594 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
595 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
596 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
597 * sysdeps/mips/fesetenv.c: Likewise.
599 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
601 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
603 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
605 * configure.in: Recognize and allow gcc 2.95.
607 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
609 * sysdeps/generic/bits/elfclass.h: Version common to
610 wordsize-32 and wordsize-64.
611 * sysdeps/generic/bits/environments.h: Ditto.
612 * sysdeps/generic/stdint.h: Ditto.
613 * sysdeps/generic/inttypes.h: Ditto.
615 * sysdeps/generic/bits/wordsize.h: New file.
616 * stdlib/Makefile: Add bits/wordsize.h to headers.
618 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
620 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
621 headers to be used for 32bit and 64bit ABI compilations.
622 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
623 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
624 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
625 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
626 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
628 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
629 * sysdeps/wordsize-64/bits/environments.h: Remove.
630 * sysdeps/wordsize-64/stdint.h: Remove.
631 * sysdeps/wordsize-64/inttypes.h: Remove.
632 * sysdeps/wordsize-64/bits/wordsize.h: New file.
634 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
635 * sysdeps/wordsize-32/bits/environments.h: Remove.
636 * sysdeps/wordsize-32/stdint.h: Remove.
637 * sysdeps/wordsize-32/inttypes.h: Remove.
638 * sysdeps/wordsize-32/bits/wordsize.h: New file.
640 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
642 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
643 __align_cpy_16): New functions.
644 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
646 * sysdeps/sparc/sparc32/Versions: New file.
647 * sysdeps/sparc/sparc64/Versions: New file.
648 * sysdeps/sparc/Versions: Remove.
650 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
652 * sysdeps/unix/sysv/linux/configure.in:
653 On sparc64-*-linux*, set slibdir to /lib64 if prefix
654 is /usr, plus set libdir to ${exec_prefix}/lib64.
655 * sysdeps/unix/sysv/linux/configure: Regenerated.
656 * config.make.in: Propagate libdir settings from configure
658 * shlib-versions: sparc64-*-linux* dynamic linker is
659 /lib64/ld-linux.so.2.
661 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
663 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
666 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
668 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
669 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
671 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
672 contains garbage in bits 8-63.
673 * sysdeps/sparc/sparc64/memset.S: Ditto.
674 * sysdeps/sparc/sparc64/strchr.S: Ditto.
676 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
678 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
680 1999-05-17 David S. Miller <davem@redhat.com>
682 * sysdeps/sparc/sparc32/atomicity.h: New file.
683 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
684 * sysdeps/sparc/sparc64/atomicity.h: New file.
685 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
688 1999-05-18 Richard Henderson <rth@twiddle.net>
690 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
692 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
694 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
695 posix/sys/types.h: Handle the case of __GNUC__=3,
696 __GNUC_MINOR__=(anything).
698 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
700 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
703 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
705 * elf/Makefile (distribute): Remove dl-origin.h.
706 Add dl-dst.h and gen-trusted-dirs.awk.
708 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
710 * sysdeps/i386/i486/Versions: New file with inline functions from
711 sysdeps/i386/i486/bits/string.h for now.
713 * sysdeps/i386/Versions: Add inline functions from
714 sysdeps/i386/bits/string.h.
716 * string/Versions: Add inline functions from <bits/string2.h>.
718 * string/Makefile (routines): Add string-inlines.
719 * string/string-inlines.c: New file, used for implementation of
720 extern inline functions.
722 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
723 non inlined versions of functions.
724 * string/bits/string2.h: Likewise.
725 * sysdeps/i386/bits/string.h: Likewise.
727 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
729 * inet/arpa/tftp.h: Add second packed attribute.
731 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
733 * malloc/malloc.c: Cleanup to bring in line with released
734 stand-alone version `ptmalloc'. Update some comments.
735 (internal_function): Move fallback definition so that the source
736 compiles outside of libc, and use it in more places.
737 (malloc_atfork): Fix when malloc_check is in use.
739 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
741 * stdlib/tst-strtod.c: Fix typo.
743 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
745 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
748 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
750 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
752 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
754 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
755 * sunrpc/key_call.c: Fix memory leak, close file handle.
756 * nis/nis_creategroup.c: Use malloc instead of calloc,
758 * nis/nis_subr.c: Check for realloc result.
759 * nis/nis_file.c: Fix memory leak.
760 * nis/nis_table.c: Pretty print.
761 * nis/nis_getservlist.c: Likewise.
762 * nis/nis_ismember.c: Likewise.
763 * nis/nis_lookup.c: Likewise.
764 * nis/nis_ping.c: Likewise.
765 * nis/nis_removemember.c: Likewise.
766 * nis/nis_util.c: Likewise, check calloc result.
768 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
770 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
771 * sysdeps/generic/sys/socketvar.h: ... here.
772 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
773 * sysdeps/generic/netinet/in_systm.h: ... here.
774 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
776 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
777 * inet/Makefile (headers): Add netinet/in_systm.h here.
778 * socket/Makefile (headers): Add sys/socketvar.h here.
780 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
782 * stdlib/strtol.c: Optimize inner loop of long long versions.
784 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
785 Unix98. Add forward declaration of struct utmp.
787 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
789 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
792 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
793 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
794 memory allocation results.
796 1999-05-14 Mark Kettenis <kettenis@gnu.org>
798 * sysdeps/generic/getutmp.c: Include <string.h>
799 (getutmp): Rewrite to only copy those members that are really
800 present in `struct utmp'.
801 * sysdeps/generic/getutmpx.c: Likewise.
803 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
805 * nss/getXXbyYY.c: Add free_mem function which disposes all
806 statically allocated memory when debugging.
807 * nss/getXXent.c: Likewise.
808 * nss/nsswitch.c: Likewise.
810 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
812 * sysdeps/gnu/getutmpx.c: New file.
813 * sysdeps/gnu/getutmp.c: New file.
815 1999-05-13 H.J. Lu <hjl@gnu.org>
817 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
820 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
823 * sysdeps/gnu/utmpx.h (getutmp): Added.
824 (getutmpx): Likewise.
826 * sysdeps/generic/getutmp.c: New file.
828 * sysdeps/generic/getutmpx.c: New file.
830 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
832 * glibcbug.in (BUGGLIBC): Change address to
833 libc-alpha@sourceware.cygnus.com.
835 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
837 * resolv/arpa/nameser.h: Add C++ protectors.
839 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
841 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
842 Elad Tsur <eladts@post.tau.ac.il>.
844 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
846 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
847 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
848 lazily if LD_BIND_NOW is not set.
849 * elf/dl-support.c (_dl_lazy): New variable.
850 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
851 * elf/rtld.c (_dl_lazy): new global variable.
852 ( dl_main): Remove lazy, replace it by _dl_lazy.
854 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
856 * locale/setlocale.c (new_composite_name): Check also whether the
857 first category name differs.
859 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
861 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
864 1999-05-11 Philip Blundell <pb@nexus.co.uk>
866 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
867 structure; storage suitable for any socket address.
868 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
870 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
871 sockaddr_storage): Likewise.
873 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
876 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
878 * hesiod/Versions: Change _nss_hesiod_getpwuid and
879 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
880 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
882 1999-05-09 Mark Kettenis <kettenis@gnu.org>
884 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
885 if the file is empty.
887 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
889 * elf/do-lookup.h: Fix typo in comment.
891 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
892 f_bsize to help some broken programs.
894 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
896 * stdio-common/vfprintf.c: Fix typo.
898 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
900 * elf/link.h (struct link_map): New field l_phdr_allocated.
901 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
902 the program header being part of any loaded segment. If it is not
903 allocate memory and set l_phdr_allocated flag.
904 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
906 * nss/digits_dots.c: Correct return value interpretation of
907 inet_ntoa. Fix PR libc/1109.
909 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
911 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
913 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
915 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
916 * stdlib/fpioconst.c: Move #endif before end of struct.
918 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
920 * Versions.def (ld.so): Add GLIBC_2.1.1.
921 * elf/Makefile (routines): Add dl-origin.
922 (tests): Add origtest. Add dependencies for the program.
923 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
924 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
925 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
926 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
927 DT_AUXILIARY, and DT_FILTER filenames.
928 * elf/dl-load.c (expand_dynamic_string_token): Explode into
929 two functions and three macros.
930 (_dl_dst_count, _dl_dst_substitute): New functions.
931 * elf/dl-dst.h: New file.
932 * elf/dl-open.c (_dl_open): Take extra parameter with address of
933 caller. Pass address in args structure.
934 (dl_open_worker): Recognize and expand DSTs in filename.
935 * elf/ldsodefs.h (_dl_open): Adapt prototype.
936 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
937 (__dlopen_check): Pass caller address to dlopen_doit in args.
938 * elf/dlopendoit.c: Likewise.
939 * iconv/gconv_dl.c: Adapt call of _dl_open.
940 * nss/nsswitch.c: Likewise.
941 * elf/origtest.c: New file.
942 * sysdeps/generic/dl-origin.h: Moved to...
943 * sysdeps/generic/dl-origin.c: ...here.
944 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
945 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
947 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
948 with specific bases and only few bits set in second word.
950 * timezone/Makefile (install-others): Create target directory
951 before creating tzfiles.
953 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
955 * nis/nis_file.c (readColdStartFile): Allocate memory only after
956 the file is opened successfully.
958 * nis/nis_table.c: Fix some memory leaks.
960 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
962 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
965 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
966 around DST. Correctly ignore ORIGIN IN SUID binaries.
968 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
970 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
971 * sysdeps/generic/strtok.c: Likewise.
973 * string/tester.c: Add test of rawmemchr.
975 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
976 specification. It's not necessary.
978 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
979 * elf/gen-trusted-dirs.awk: New file.
980 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
981 from SYSTEM_DIRS macro.
982 (system_dirs_len): New variable. Contains lengths of system_dirs
984 (fillin_rpath): Rewrite for systems_dirs being a simple string.
985 Improve string comparisons. Change parameter trusted to be a flag.
987 (_dt_init_paths): Improve using new format for system_dirs.
989 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
990 $ORIGIN for SUID binaries.
992 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
994 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
996 * sunrpc/Makefile: Generate dependencies for all flavors of
998 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
1001 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1003 * elf/dlopenold.c: Move #if down after includes to get
1006 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1008 * sysdeps/generic/bzero.c: Undefine __bzero.
1010 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
1012 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
1013 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
1014 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
1015 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
1017 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
1018 parameter to struct gaih_servtuple *. Adapt appropriately.
1019 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
1020 This fixes a memory leak.
1021 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
1023 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
1024 and fpregset_t definition. They are defined in ucontext.h.
1026 1999-04-14 Scott Bambrough <scottb@netwinder.org>
1028 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
1029 and struct ether_header must be packed on the ARM. The default
1030 alignment constraints add padding to the end of the structures.
1032 1999-04-14 Scott Bambrough <scottb@netwinder.org>
1034 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
1035 default alignment constraints add padding to the end of the
1036 structure and between members.
1038 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
1040 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
1041 _dl_cache_libcmp instead of strcmp.
1043 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
1045 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
1047 1998-03-30 Joel Klecker <espy@debian.org>
1049 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
1050 (sysdep-others,install-bin): Add lddlibc4.
1052 1999-05-02 H.J. Lu <hjl@gnu.org>
1054 * timezone/zic.c (dolink): Remove the symlink destination first.
1056 * catgets/open_catalog.c (__open_catalog): Set catalog->status
1057 to "nonexisting" if failed to open the file.
1059 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
1061 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
1064 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
1065 Prevent warnings from multiplication with 0x01010101 by another cast.
1067 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1069 * string/bits/string2.h (memset): Revert to previous version if
1070 unaligned writes are not available.
1072 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
1074 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
1075 better code in presence of the asm.
1077 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1079 * stdlib/fmtmsg.c (keywords): Increase array size for faster
1082 * locale/localeinfo.h (_nl_category_names): Increase array element
1083 size for faster indexing.
1084 * locale/setlocale.c (_nl_category_names): Adjusted.
1086 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1088 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
1090 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1092 * sysdeps/m68k/stackinfo.h: New file.
1094 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
1096 * string/tester.c (test_strchrnul): New function.
1097 (test_memset): Test one more special case.
1099 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
1102 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
1105 * string/bits/string2.h: Fix bugs I introduced in last change.
1107 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
1109 Extend memset optimization.
1110 Correct i686 version of memchr.
1112 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
1114 * sysdeps/i386/bzero.c: Add #undef __bzero.
1116 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
1117 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
1118 exec server simulated a SIGTRAP before we even started up, so gdb is
1121 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
1123 * nss/digits_dots.c: Always initialize not_ok.
1125 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
1127 * string/bits/string2.h (memset): Avoid arithmetic overflow at
1128 compile time, which produces obnoxious warnings. If GCCv2 is
1129 in use, map __bzero to __builtin_memset to enable that
1132 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
1134 * string/bits/string2.h: Add more memset optimizations.
1136 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
1138 * resolv/inet_pton.c (inet_pton4): Little optimizations.
1139 (inet_pton6): Likewise.
1141 * nss/getXXbyYY_r.c: Include assert.h.
1142 * nss/getXXbyYY.c: Likewise.
1144 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1146 * termios/tcgetsid.c (tcgetsid): Rename variable to
1147 tiocgsid_does_not_work.
1149 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
1151 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
1153 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1155 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
1156 This allows e.g. gethostbyname to accept "10.1234".
1157 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
1159 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
1160 non quad IPv4 numbers.
1162 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1164 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
1166 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1168 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
1169 * argp/argp-parse.c (_argp_hang): Likewise.
1170 * argp/argp-pv.c (argp_program_version): Likewise.
1171 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
1172 * inet/ether_hton.c (ether_hton, startp): Likewise.
1173 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
1174 * inet/getnetgrent_r.c (setup, startp): Likewise.
1175 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
1176 * intl/localealias.c (string_space, string_space_act, string_space_max,
1177 nmap, maxmap): Likewise.
1178 * libio/iopopen.c (proc_file_chain): Likewise.
1179 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
1180 * locale/lc-collate.c (__collate_table, __collate_extra,
1181 __collate_element_hash, __collate_element_strings,
1182 __collate_element_values): Likewise.
1183 * malloc/mcheck.c (mcheck_used): Likewise.
1184 * malloc/mtrace.c (added_atexit_handler): Likewise.
1185 * malloc/set-freeres.c (already_called): Likewise.
1186 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
1187 * misc/syslog.c (LogStat, LogTag): Likewise.
1188 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
1189 * nss/getXXbyYY_r.c (startp): Likewise.
1190 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
1191 * posix/regex.c (init_syntax_once) [done]: Likewise.
1193 * string/strfry.c (init): Likewise.
1194 * sunrpc/svc_run.c (svc_top): Likewise.
1195 * posix/euidaccess.c (have_ids): Likewise.
1196 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
1197 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
1198 * time/getdate.c (getdate_err): Likewise.
1199 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
1201 * time/tzset.c (old_tz, is_initialized): Likewise.
1203 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
1204 of static data with zero.
1205 * signal/allocrtsig.c (init): Likewise.
1207 * string/Makefile (routines): Add strchrnul.
1208 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
1209 * string/string.c: Add strchrnul prototype.
1210 * include/string.h: Add __strchrnul prototype.
1211 * sysdeps/generic/strchrnul.c: New file.
1212 * sysdeps/i386/strchrnul.S: New file.
1213 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
1214 * sysdeps/i386/i486/bits/string.c: Likewise.
1215 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
1216 * inet/ether_line.c (ether_line): Likewise.
1217 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
1218 * nss/nsswitch.c (nss_parse_file): Likewise.
1219 * posix/execvp.c (execvp): Likewise.
1220 * posix/fnmatch.c (internal_fnmatch): Likewise.
1221 * resolv/res_hconf.c (_res_hconv_init): Likewise.
1222 * resolv/res_init.c (res_init): Likewise.
1223 * stdlib/fmtmsg.c (init): Likewise.
1224 * stdlib/getsubopt.c (getsubopt): Likewise.
1226 * catgets/catgets.c (catopen): Only allocate one memory block.
1227 (catclose): Only one free call necessary.
1229 * catgets/open_catalog.c (__open_catalog): Simplify handling of
1232 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
1233 of real functions. Simplify _tolower and _toupper.
1235 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
1238 * iconv/gconv.h (struct gconv_info): Change data element from pointer
1240 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
1241 * iconv/gconv_close.c (__gconv_close): Don't free data.
1243 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
1246 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
1247 for error while inserting in tree.
1249 * include/time.h: Pretty print.
1251 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
1252 in table and lots of relocations.
1253 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
1254 string pointers in table and lots of relocations.
1256 * intl/finddomain.c: Remove definition of strchr macro.
1258 * io/ftw.c (nftw_arr, ftw_arr): Make const.
1260 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
1262 * locale/localeinfo.h (_nl_category_names): Change into an array with
1263 fixed width char string elements.
1264 * locale/setlocale.c (_nl_category_names): Likewise.
1265 (_nl_current): Make global.
1266 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
1268 * malloc/Makefile (distribute): Add stackinfo.h.
1269 * sysdeps/generic/stackinfo.h: New file.
1270 * sysdeps/i386/stackinfo.h: New file.
1271 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
1272 * posix/execle.c: Likewise.
1273 * posix/execlp.c: Likewise.
1275 * nis/nis_table.c (__create_ib_request): Always use realloc.
1277 * posix/execvp.c (execute): Rename to script_execute and keep only
1278 code to execute using shell.
1279 (execvp): Call execv directly and only fall back on script_execute.
1281 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
1282 and always use xdigits instead.
1284 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
1287 * stdlib/fpioconst.h (__tens): New declaration.
1288 (struct mp_power): Remove array, add arrayoff element.
1289 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
1290 __tens array and add in _fpioconst_pow10 offsets into __tens.
1291 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
1292 * stdlib/strtod.c: Likewise.
1294 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
1296 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
1298 * stdlib/atexit.c (__exit_funcs): Don't initialize.
1300 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
1302 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
1303 a single and an array with offsets.
1305 * sunrpc/des_soft.c (partab): Make it const.
1307 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
1308 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
1309 (__key_decryptsession_pk_LOCAL): Likewise.
1310 (__key_gendes_LOCAL): Likewise.
1311 (MESSENGER): Mark const.
1312 (key_call_private_main): Don't initialize with 0.
1313 (use_keyenvoy): Don't initialize with 0.
1314 (key_call): Rewrite to reverse logic of use_doors variable.
1316 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
1317 (startp): Don't initialize with zero.
1319 * sunrpc/openchild.c (_openchild): Make first argument const.
1321 * sunrpc/pmap_rmt.c (timeout): Mark const.
1322 * sunrpc/xcrypt.c (hex): Likewise.
1324 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
1325 initialization of global variables.
1326 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
1327 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1328 * termios/tcgetsid.c: Likewise.
1330 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
1333 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
1334 block. Add function to free memory if wanted.
1335 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
1337 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
1339 * wcsmbs/wmemset.c: Little code optimization.
1341 1999-04-23 Paul Eggert <eggert@twinsun.com>
1343 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
1346 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
1348 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
1349 implementation and just always fail with ENOSYS. This entry point is
1350 obsolete. Add link warning to that effect.
1352 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
1354 * hurd/get-host.c: Include <hurd/lookup.h>.
1356 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1358 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
1361 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1363 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
1366 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1368 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
1369 Patch by Peter Miller <millerp@canb.auug.org.au>.
1371 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
1373 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
1374 prefers loopback device.
1376 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1378 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
1379 no_leading_period change.
1381 * posix/testfnm.c: More test cases.
1383 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
1385 * include/dirent.h: Remove __getdirentries declaration, add __getdents
1387 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
1388 * sysdeps/unix/readdir_r.c: Likewise.
1389 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1390 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
1391 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
1392 __getdirentries. Remove fourth argument.
1393 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
1394 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
1395 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
1396 Add getdirentries and getdirentries64.
1397 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
1399 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
1400 pointer in case of an invalid [[: expression.
1402 * posix/testfnm.c: Add more test cases.
1404 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
1406 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
1407 set, pass EXEC_SIGTRAP flag in exec RPC.
1409 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
1411 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
1412 extra parameter. Fix several more bugs involving wildcard and
1414 (fnmatch): New function. Call internal_fnmatch.
1416 * posix/testfnm.c: More test cases.
1418 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1420 * manual/install.texi (Configuring and compiling): Explain that
1421 files are changed in the source directory.
1423 (Configuring and compiling): Explain situation with PARALLELMFLAGS
1424 in the source directory.
1426 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1428 * locale/programs/ld-ctype.c: Spelling fixes.
1429 (ctype_finish): Fix argument of error message format.
1430 * locale/programs/ld-messages.c: Spelling fixes.
1431 * locale/programs/ld-monetary.c: Spelling fixes.
1432 * locale/programs/ld-time.c (time_finish): Make sure that name and
1433 format of era_entries are adjacent.
1434 (time_output): Reduce the size of the io vector.
1436 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1438 * manual/filesys.texi (Attribute Meanings): Move a misplaced
1441 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1443 * locale/programs/ld-collate.c (collate_output): Convert
1444 undefined_offset to an array index. Fix computation of other
1447 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
1449 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
1450 return success with empty value.
1452 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
1454 * posix/fnmatch.c: Include string.h also for glibc.
1455 (fnmatch, case '?'): Optimize if cascades a bit.
1456 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
1458 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
1460 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
1462 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
1463 * iconv/gconv_int.h: Declare UTF16 functions.
1464 * iconv/gconv_simple.c: Add UTF16 conversion functions.
1466 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1468 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
1469 be used correctly as parameter for parse_dollars/parse_tilde.
1471 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1473 * manual/conf.texi (Utility Limits): Remove duplicate description
1476 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
1478 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
1479 outbufend for dst==NULL.
1481 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
1483 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
1487 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
1490 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
1492 * sunrpc/Makefile: Remove special handling of bootparam.x,
1493 add rpcsvc/bootparam.h to headers.
1494 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
1495 * sunrpc/rpcsvc/bootparam.x: Renamed to...
1496 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
1498 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
1500 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
1501 detect and handle invalid descriptors.
1503 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
1505 * timezone/zic.c (dolink): Append complete path not only filename
1508 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1510 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
1512 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
1514 * iconvdata/gconv-modules: Rename CP874 to IBM874.
1515 * iconvdata/Makefile: Likewise.
1516 * iconvdata/cp874.h: Removed.
1517 * iconvdata/cp874.c: Renamed to...
1518 * iconvdata/ibm874.c: ...this.
1520 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
1522 * sysdeps/unix/sysv/linux/bits/types.h: Correct
1523 signed/unsigned-ness of blkcnt and fsblkcnt.
1524 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1525 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1527 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
1528 SOL_AAL, and SOL_IRDA.
1530 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1532 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
1533 include "linux_fsinfo.h".
1534 Based on a patch by H.J. Lu <hjl@gnu.org>.
1536 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
1538 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
1540 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
1542 * nscd/cache.c (prune_cache): Only disable file checking for
1543 future if the file does not exist.
1544 Update file_mtime if cache was flushed.
1546 1999-04-15 David S. Miller <davem@redhat.com>
1548 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
1549 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
1551 1999-04-15 Scott Bambrough <scottb@netwinder.org>
1553 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
1554 compilation of file.
1556 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1558 * Versions.def: Add GLIBC_2.1.1 to libpthread.
1560 * iconvdata/Makefile (modules): Add KOI8-U.
1561 (distribute): Add koi8-u.c.
1562 (gen-8bit-gap-modules): Add koi8-u.
1563 * iconvdata/gconv-modules: Add KOI8-U entries.
1564 * iconvdata/koi8-u.c: New file.
1566 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
1568 * sunrpc/auth_des.c: 64bit fixes, security fixes.
1569 * sunrpc/auth_none.c: Pretty print.
1570 * sunrpc/auth_unix.c: Likewise.
1571 * sunrpc/authdes_prot.c: Likewise.
1572 * sunrpc/authuxprot.c: Likewise.
1573 * sunrpc/bindrsvprt.c: Likewise.
1574 * sunrpc/clnt_gen.c: Likewise.
1575 * sunrpc/rpc/xdr.h: Likewise.
1576 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
1577 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
1578 * sunrpc/rtime.c: Use new rpc_timeval.
1579 * sunrpc/svc_authux.c: Don't use *long pointers.
1580 * sunrpc/svcauth_des.c: Likewise + security fixes.
1581 * sunrpc/xdr_mem.c: Don't use *long pointers.
1582 * sunrpc/xdr_rec.c: Likewise.
1583 * sunrpc/xdr_sizeof.c: Likewise.
1584 * sunrpc/xdr_stdio.c: Likewise.
1586 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1588 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
1589 so that it is redone for each sending.
1591 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1593 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
1595 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1597 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
1598 known to not exist don't try to load shared objects.
1599 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
1601 * nscd/cache.c (prune_cache): The table might not be unused. In
1602 this case do nothing.
1604 * catgets/gencat.c (read_input_file): Don't drop white spaces
1605 between number/identifier and string.
1606 Patch by Dima Barsky <dima@pwd.hp.com>.
1607 If no white space at all follows number/identifier remove existing
1608 message with the number/identifier.
1610 1999-04-14 H.J. Lu <hjl@gnu.org>
1612 * sunrpc/clnt_udp.c (is_network_up): New function.
1613 (clntudp_call): Call is_network_up () to check if any network
1614 interface is up in case of timeout.
1616 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1618 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
1619 * wctype/Makefile (tests): Add test_wcfuncs.
1621 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
1623 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
1625 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
1627 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
1628 instead of CFLAGS. For gnulib and string directories use
1629 -Wa,-Av9a gcc ASFLAGS.
1630 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
1631 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
1632 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
1633 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
1634 the same way as sparc-*.
1636 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
1638 * locale/programs/locfile.c (locfile_read): Fix typo.
1639 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
1641 1999-04-14 Scott Bambrough <scottb@netwinder.org>
1643 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
1644 restarted after being interrupted by a signal. The parameters on
1645 the stack were corrupted by the signal handler.
1647 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
1648 restarted after being interrupted by a signal. The parameters on
1649 the stack were corrupted by the signal handler.
1651 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1653 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
1654 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
1656 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
1658 * posix/wordexp-test.c: In field-splitting test cases where
1659 subshells were involved, unset IFS first: some shells (ash) use
1660 IFS even when no expansion is performed.
1662 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1664 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
1665 the real end of the chunk, not some random point inbetween.
1666 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
1667 obstack when growing. Use fast version of obstack_blank when
1669 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
1670 allocating the vtable pointer.
1671 (_IO_obstack_vprintf): Adjust for above change and avoid
1672 unnecessary casts. Use fast version of obstack_blank when
1676 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
1678 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
1679 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
1681 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
1683 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
1684 is seen, as well as fixing semantics. Don't reset the word count
1685 to zero when an invalid character is seen, but leave it as it was
1686 (this makes a difference with WRDE_APPEND).
1688 * posix/wordexp-test.c: More test cases.
1690 * posix/wordexp.c (parse_param): In words like ${var#pattern},
1691 always expand pattern when it is needed. Also, handle quoting in
1694 1999-04-12 Philip Blundell <philb@gnu.org>
1696 * elf/elf.h: Update ARM definitions to match current gas2.
1698 * sysdeps/arm/bits/endian.h: Support big endian operation.
1700 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
1701 Don't bother range checking the port number.
1703 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
1705 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
1706 the syscall name in assembler output for ease of debugging.
1708 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
1710 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
1711 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
1712 (sysdep_routines): Add sigrestorer.
1714 * string/tester.c (test_strcpy): Add new tests for unaligned
1716 * sysdeps/arm/bits/string.h: Delete inline implementations of
1719 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
1721 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
1723 1999-04-10 Mark Kettenis <kettenis@gnu.org>
1725 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
1727 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
1729 * iconvdata/Makefile (modules): Add TIS-620.
1730 (distribute): Add tis-620.c.
1731 (gen-8bit-gap-modules): tis-620.
1732 * iconvdata/tis-620.c: New file.
1733 * iconvdata/gconv-modules: Add TIS-620 entries.
1735 * iconvdata/asmo_449.c: Correct comment.
1737 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1739 * manual/install.texi (Configuring and compiling): Comment out
1740 description of --disable-static since this doesn't work currently
1741 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
1743 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
1745 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
1747 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
1749 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1751 * scripts/test-installation.pl (installation_problem): Skip
1752 libnss1_* libraries from glibc-compat add-on.
1754 1999-04-07 H.J. Lu <hjl@gnu.org>
1756 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
1758 * posix/Versions (__waitpid): Likewise.
1760 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1762 * manual/install.texi (Reporting Bugs): Add section about reported
1763 bugs and correct email address of glibcbug script.
1765 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
1767 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
1768 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
1769 xdr_u_longlong_t. Based on patch from Dan Shechter
1770 <damageboy@isdn.net.il>.
1771 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
1772 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
1774 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
1776 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1778 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
1779 directly if getdents returns with error set.
1781 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1783 * locale/langinfo.h (THOUSEP): Rename second occurence of
1784 THOUSANDS_SEP to THOUSEP.
1785 Reported by Roman Belenov <roman@nstl.nnov.ru>.
1787 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
1789 * hurd/STATUS: File removed. Moved items that are still relevant into
1790 TODO list in hurd source.
1792 1999-03-26 Mark Kettenis <kettenis@gnu.org>
1794 * sysdeps/mach/hurd/bits/time.h: New file.
1795 * sysdeps/mach/hurd/getrusage.c: New file.
1796 * sysdeps/mach/hurd/clk_tck.c: New file.
1797 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
1798 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
1799 (sysdep_routines): Add clk_tck.
1800 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
1803 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
1805 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
1806 (closelog): But instead here.
1807 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
1809 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1811 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
1812 the source directory. Fixes PR libc/1059.
1814 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1816 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
1817 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1819 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
1821 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
1822 * iconvdata/testdata/ISO-8859-14: New file.
1823 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
1824 * iconvdata/testdata/ISO-8859-15: New file.
1825 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
1827 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
1829 * iconvdata/testdata/CP1258: New file.
1830 * iconvdata/testdata/CP1258..UTF8: New file.
1831 * iconvdata/TESTS: Add CP1258 entry.
1833 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
1835 * timezone/africa: Update from tzdata1999d.
1836 * timezone/europe: Likewise.
1837 * timezone/northamerica: Likewise.
1839 1999-03-31 Mark Kettenis <kettenis@gnu.org>
1841 * login/programs/pt_chown.c (main): Save effective user ID before
1842 dropping priviliges and use this to check if the program is
1845 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
1847 * iconvdata/testdata/CP1254: Update for charmap changes.
1848 * iconvdata/testdata/CP1254..UTF8: Likewise.
1849 * iconvdata/testdata/CP1255: Likewise.
1850 * iconvdata/testdata/CP1255..UTF8: Likewise.
1851 * iconvdata/testdata/CP1256: Likewise.
1852 * iconvdata/testdata/CP1256..UTF8: Likewise.
1853 * iconvdata/testdata/CP1257: Likewise.
1854 * iconvdata/testdata/CP1257..UTF8: Likewise.
1856 * iconvdata/Makefile (distribute): Remove cp1258.h.
1857 (gen-8bit-gap-modules): Add cp1258.
1858 * iconvdata/cp1258.h: Removed.
1860 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
1862 * timezone/tst-timezone.c (tests): Add more cases.
1863 (check_tzvars): Mark errors clearer.
1866 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1868 * login/programs/pt_chown.c: Drop privileges if invoked with
1869 arguments. Don't close the master pty.
1871 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
1873 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
1876 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
1878 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
1879 relocation for SUID binaries.
1881 1999-03-29 Paul Eggert <eggert@twinsun.com>
1883 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
1884 while in child process.
1886 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
1888 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
1889 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
1890 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
1891 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
1892 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
1894 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
1895 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
1896 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
1897 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
1898 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
1899 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
1900 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
1901 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
1902 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
1903 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
1904 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
1905 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
1906 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
1907 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
1908 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
1909 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
1910 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
1911 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
1912 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
1913 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
1914 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
1915 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
1916 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
1917 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
1918 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
1919 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
1921 * sysdeps/sparc/sparc32/bcopy.c: New file.
1922 * sysdeps/sparc/sparc32/bzero.c: New file.
1923 * sysdeps/sparc/sparc32/memchr.S: New file.
1924 * sysdeps/sparc/sparc32/memcpy.S: New file.
1925 * sysdeps/sparc/sparc32/memmove.c: New file.
1926 * sysdeps/sparc/sparc32/memset.S: New file.
1927 * sysdeps/sparc/sparc32/stpcpy.S: New file.
1928 * sysdeps/sparc/sparc32/strchr.S: New file.
1929 * sysdeps/sparc/sparc32/strrchr.c: New file.
1930 * sysdeps/sparc/sparc32/strcpy.S: New file.
1931 * sysdeps/sparc/sparc32/strlen.S: New file.
1932 * sysdeps/sparc/sparc32/strcat.S: New file.
1933 * sysdeps/sparc/sparc32/strcmp.S: New file.
1935 * sysdeps/sparc/sparc64/bcopy.c: New file.
1936 * sysdeps/sparc/sparc64/bzero.c: New file.
1937 * sysdeps/sparc/sparc64/memchr.S: New file.
1938 * sysdeps/sparc/sparc64/memcmp.S: New file.
1939 * sysdeps/sparc/sparc64/memcpy.S: New file.
1940 * sysdeps/sparc/sparc64/memset.S: New file.
1941 * sysdeps/sparc/sparc64/stpcpy.S: New file.
1942 * sysdeps/sparc/sparc64/strcat.S: New file.
1943 * sysdeps/sparc/sparc64/strchr.S: New file.
1944 * sysdeps/sparc/sparc64/strcmp.S: New file.
1945 * sysdeps/sparc/sparc64/strcpy.S: New file.
1946 * sysdeps/sparc/sparc64/strcspn.S: New file.
1947 * sysdeps/sparc/sparc64/strlen.S: New file.
1948 * sysdeps/sparc/sparc64/strncpy.S: New file.
1949 * sysdeps/sparc/sparc64/strpbrk.S: New file.
1950 * sysdeps/sparc/sparc64/strrchr.c: New file.
1951 * sysdeps/sparc/sparc64/strspn.S: New file.
1952 * sysdeps/sparc/sparc64/stpncpy.S: New file.
1953 * sysdeps/sparc/sparc64/strncmp.S: New file.
1955 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
1956 Append -fPIC, don't replace.
1958 * configure.in: Recognize sparcv8plus / sparcv9.
1960 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1962 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
1963 char * to avoid C++ warning.
1964 Patch by yasushi@cs.washington.edu [PR libc/1035].
1966 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1968 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
1969 declared in stdlib.h, correct return value of mkstemp.
1970 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
1972 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
1975 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1977 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
1980 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
1981 inline functions. Closes PR libc/1049.
1983 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1985 * timezone/README: Update from tzdata1999c and tzcode1999c.
1987 * timezone/africa: Update from tzdata1999c.
1988 * timezone/antarctica: Likewise.
1989 * timezone/asia: Likewise.
1990 * timezone/australasia: Likewise.
1991 * timezone/europe: Likewise.
1992 * timezone/northamerica: Likewise.
1993 * timezone/southamerica: Likewise.
1994 * timezone/zone.tab: Likewise.
1996 * timezone/zic.c: Update from tzcode1999c.
1998 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2000 * Makerules: Add $(common-objpfx)Versions.all to common-generated
2001 outside of ifndef avoid-generated.
2003 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
2005 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
2007 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
2009 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
2010 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
2012 1999-03-26 Mark Kettenis <kettenis@gnu.org>
2014 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
2015 if we build the profiled library.
2017 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2019 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
2020 Jaeger <aj@arthur.rhein-neckar.de>
2022 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
2024 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
2025 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
2026 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
2028 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
2030 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
2031 works properly in subdirs.
2033 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
2035 * sysdeps/mach/hurd/Makefile: Undo last change.
2036 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
2037 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
2039 * mach/Machrules (+preinit, +postinit, +interp,
2040 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
2041 linked just like other shared libraries.
2042 (interface.so): Fix typo in defn, so it works.
2043 ($(objpfx)$(interface.so)): Make it depend on libc.so.
2045 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
2047 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
2048 $(link-rpcuserlibs).
2050 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2052 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
2053 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
2054 targets if not building shared libraries.
2056 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2058 * configure.in: Also look in $PATH when searching for
2059 install-info. Remove autoconf bug workaround and require autoconf
2062 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2064 * db/Makefile: Don't try to install shared library link if not
2065 building with shared libs.
2067 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2069 * rt/Makefile: Link against static library if no shared lib is
2072 * localedata/Makefile: The shells scripts implementing the test
2073 require the dynamic linker which is not available with
2074 --disable-shared. Skip the test if --disable-shared is given.
2076 * linuxthreads/Makefile: Link test against static libpthread if no
2077 shared lib is available.
2079 * iconvdata/Makefile (tests): Run iconv-test only if we're
2080 building shared libraries.
2081 * elf/Makefile (tests): Likewise for elf tests.
2083 * posix/Makefile: The test frameworks globtest and wordexp-test
2084 require the dynamic linker which is not available with
2085 --disable-shared. Skip the test if --disable-shared is given.
2087 * grp/Makefile (otherlibs): For static nss build link against
2090 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2092 * debug/Makefile (install-bin): Install and build catchsegv only
2093 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
2096 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2098 * time/tzfile.c (__tzfile_read): Handle the case where there are
2099 transitions but no DST.
2101 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
2103 * mach/Machrules (extra-libs-others): Add $(interface-library) here
2104 too, so it gets built in the others pass rather than the lib pass.
2105 This is necessary since the RPC libraries need to be linked against
2108 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
2110 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
2113 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
2114 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
2115 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
2116 versions of lib{mach,hurd}user.so without reference to libc.so,
2117 then link libc.so against that to get deps and symbol versions, then
2118 finally link real lib*user.so against libc.so.
2120 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
2121 Support whole-file locking (only) by using the file_lock RPC. This
2122 has very wrong semantics, but is better than nothing for the time
2123 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
2124 protocols that will be somewhat hairy to specify.)
2126 1999-03-17 Mark Kettenis <kettenis@gnu.org>
2128 * sysdeps/mach/hurd/ptsname.c: New file.
2130 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2132 * timezone/asia: Fix rule in Asia/Nicosia entry.
2134 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2136 * manual/getopt.texi (Using Getopt): Explain "::" in option
2137 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
2139 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
2141 * sunrpc/clnt_unix.c: Fix creation of parameters for
2142 sendmsg/recvmsg on non intel platforms.
2143 * sunrpc/svc_unix.c: Likewise.
2145 1999-03-18 Philip Blundell <philb@gnu.org>
2147 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
2150 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2152 * timezone/africa: Update from tzdata1999b.
2153 * timezone/asia: Likewise.
2154 * timezone/australasia: Likewise.
2155 * timezone/europe: Likewise.
2156 * timezone/northamerica: Likewise.
2157 * timezone/southamerica: Likewise.
2158 * timezone/zone.tab: Likewise.
2160 * timezone/README: Mention tzdata1999b.
2162 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
2164 * sysdeps/generic/segfault.c (write_strsignal): New function.
2165 (catch_segfault): Use it instead of calling strsignal.
2167 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2169 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
2170 char to avoid warning.
2172 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2174 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
2176 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
2177 outbuf to unsigned char to avoid warning.
2179 1999-03-11 David S. Miller <davem@redhat.com>
2181 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
2183 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
2185 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2187 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
2189 (gconv_step_data): Likewise.
2190 * iconv/gconv_int.h (__gconv): Likewise.
2191 (__BUILINT_TRANS): Likewise.
2192 * iconv/gconv.c (__gconv): Likewise.
2193 * iconv/iconv.c (iconv): Add casts for call of __gconv.
2194 * iconv/skeleton.c: Change local parameters and variable from `char' to
2195 `unsigned char'. Remove casts from calls into modules.
2196 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
2197 `char' to `unsigned char'.
2198 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
2199 * wcsmbs/mbrtowc.c: Likewise.
2200 * wcsmbs/mbsnrtowcs.c: Likewise.
2201 * wcsmbs/mbsrtowcs.c: Likewise.
2202 * wcsmbs/wcrtomb.c: Likewise.
2203 * wcsmbs/wcsnrtombs.c: Likewise.
2204 * wcsmbs/wcsrtombs.c: Likewise.
2205 * wcsmbs/wctob.c: Likewise.
2207 1999-03-15 Mark Kettenis <kettenis@gnu.org>
2209 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
2210 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
2211 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
2212 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
2213 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
2214 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
2216 1999-03-15 Mark Kettenis <kettenis@gnu.org>
2218 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
2219 _hurd_select if TIMEMOUT is -1.
2221 1999-03-15 Mark Kettenis <kettenis@gnu.org>
2223 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
2225 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2227 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
2228 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
2230 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2232 * manual/libc.texinfo: Undo last change for now.
2234 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2236 * intl/locale.alias: Add entries for Croatian.
2237 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
2239 1999-03-13 Mark Kettenis <kettenis@gnu.org>
2241 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
2242 if the opened master pty really is a pty. `isatty' checks for
2243 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
2244 if we are out of pty's.
2246 1999-03-13 Mark Kettenis <kettenis@gnu.org>
2248 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
2249 opened file is closed on exec.
2250 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
2253 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2255 * manual/llio.texi (File Position Primitive): Reformat @end
2256 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
2258 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
2260 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
2262 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2263 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
2265 * locale/programs/localedef.c (main): Initialize `cat' to please
2268 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
2270 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
2271 check for root-owned symlinks and reject them too.
2273 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2275 * stdio-common/printf_fphex.c: Move to ...
2276 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
2277 extended precision number.
2278 * sysdeps/m68k/printf_fphex.c: New file.
2280 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2282 * manual/stdio.texi: Fix typos.
2284 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
2286 * version.h (VERSION): Bump to 2.1.1.
2288 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
2290 * nis/ypclnt.c: Try only twice to connect to NIS server.
2292 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
2294 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
2296 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2298 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
2299 (DENORM_EXP): New define. Use it as the exponent for a denormal.
2300 * stdlib/strtold.c: Moved to ...
2301 * sysdeps/generic/strtold.c: ... here.
2302 * sysdeps/m68k/strtold.c: New file.
2304 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2306 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
2307 point if the precision is zero, even if the mantissa is non-zero.
2309 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
2311 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
2312 arguments into the request message buffer inside `send_rpc'
2313 subfunction. We must repeat the marshalling when retrying the RPC
2314 after a SIGTTOU delivery.
2316 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
2317 path when there is no ctty port.
2318 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2319 Move sigstate check inside loop so we recheck after handling a signal.
2321 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2323 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
2324 O_EXLOCK are BSD extensions.
2325 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
2327 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
2329 * manual/signal.texi (Termination in Handler): Correct example.
2330 Install default handler before reraising the signal.
2331 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
2333 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
2335 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
2336 null, in which case send an empty string.
2338 1999-03-02 Mark Kettenis <kettenis@gnu.org>
2340 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
2341 backward compatibility EH functions to be linked when using
2342 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
2344 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2346 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
2347 /dev/pts status may change during runtime.
2349 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2351 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
2352 change. /dev/pts status can change during runtime.
2354 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
2356 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
2358 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
2359 add some more sanity checks.
2360 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
2363 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
2365 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
2366 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
2367 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
2368 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
2369 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
2371 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
2372 * nis/nis_print.c: Fix ctime argument for platforms where
2373 sizeof (time_t) != sizeof (int).
2375 1999-03-07 Mark Kettenis <kettenis@gnu.org>
2377 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
2378 CLOCKS_PER_SEC instead of CLK_TCK.
2380 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
2382 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
2383 whether /dev/pts is available.
2384 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
2387 * posix/globtest.sh: Make common_objpfx path absolute and and db2
2388 and hesiod directory to library path [PR libc/1007].
2390 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2392 * resolv/inet_addr.c (inet_aton): Don't allow componets >
2393 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
2395 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
2397 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
2398 DT_PLTGOT has already been relocated.
2399 (__elf_machine_fixup_plt): Likewise.
2402 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
2404 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
2406 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
2408 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
2409 and fold string to uppercase [PR libc/1005].
2411 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2413 * elf/dl-load.c (lose): Fix return type.
2415 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
2417 * sysdeps/mach/hurd/bits/fcntl.h
2418 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
2419 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
2420 set O_NOTRANS as well.
2421 (__hurd_file_name_lookup_retry): At successful end of lookup,
2422 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
2423 it is a translated node not owned by root.
2424 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
2425 on the file name passed to LOOKUP.
2427 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
2429 * manual/time.texi (High Resolution Timer): Correct computation in
2430 example. Reported by jjf@devel.cemsys.com.
2432 1999-03-02 Philip Blundell <pb@nexus.co.uk>
2434 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
2435 entry is already relocated.
2437 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2439 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
2440 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
2442 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2444 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
2445 uc_link which is the right name according to Unix98.
2446 Reported by Craig Metz [PR libc/1001].
2447 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
2448 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
2449 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
2450 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
2451 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
2452 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
2454 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2456 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
2459 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2461 * iconvdata/Makefile: Always include iconv-rules, but disable rule
2462 to regenerate it if avoid-generated.
2464 * Makeconfig: Always include sys-dirs, but disable rule to
2465 regenerate it when avoid-generated.
2467 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
2468 rule to generate sysd-syscalls.
2470 * elf/Makefile (generated): Remove $(objpfx) from names.
2472 1999-02-28 Mark Kettenis <kettenis@gnu.org>
2474 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
2475 actual length if the adress length is smaller than the input
2476 value. Change type of *LEN paramater to socklen_t.
2477 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
2478 * sysdeps/mach/hurd/accept.c (accept): Likewise.
2479 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
2480 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
2481 paramater to socklen_t.
2483 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
2485 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
2486 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
2489 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
2491 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
2492 __get_phys_pages): Cast &HBI to silence warning.
2494 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
2495 * hurd/hurdchdir.c: New file.
2496 * hurd/hurdfchdir.c: New file.
2497 * sysdeps/mach/hurd/chroot.c: Call
2498 _hurd_change_directory_port_from_name to do the work.
2499 * sysdeps/mach/hurd/chdir.c: Likewise.
2500 * sysdeps/mach/hurd/fchdir.c: Call
2501 _hurd_change_directory_port_from_fd to do the work.
2502 * hurd/fchroot.c: Likewise.
2503 * hurd/hurd.h: Declare them.
2505 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
2507 * elf/dl-load.c (lose): Add more comments to explain the `why'.
2508 (_dl_map_object): Remove redundant test.
2510 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
2512 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
2513 try to _hurd_port_free a lower-numbered descriptor that was not in any
2516 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2518 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
2519 declaration for ____wcstod_l_internal.
2521 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
2522 __strtod_internal prototype.
2523 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
2524 (____strtold_l_internal): Add prototype declaration.
2525 (__strtold_l): Call correct function.
2527 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
2529 * elf/elf.h: Add 32bit HPPA definitions.
2531 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2533 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
2534 non-checked heap is restored when malloc checking was requested by
2536 (struct malloc_state): Add using_malloc_checking.
2537 (MALLOC_STATE_VERSION): Increment minor.
2538 (using_malloc_checking, disallow_malloc_check): New variables.
2539 (__malloc_check_init): Use them.
2540 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
2541 that it can the chunk is properly instrumented when malloc
2542 checking is enabled. Set the new using_malloc_checking field.
2543 (malloc_hook_ini): Correct signature when _LIBC is not defined.
2545 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2547 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
2548 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
2551 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
2552 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
2553 if ld.so is the main program.
2555 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
2557 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
2558 large for work_buffer, allocate new buffer.
2559 (printf_unknown): Likewise. [PR libc/988]
2561 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
2563 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
2564 instead of stat and fstat.
2565 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2567 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2569 * elf/dl-error.c (_dl_signal_cerror): New function.
2570 (_dl_signal_error): Don't call receiver function.
2571 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
2572 instead of _dl_signal_error when reporting references to undefined
2573 symbols or versions.
2574 (_dl_lookup_versioned_symbol): Likewise.
2575 (_dl_lookup_versioned_symbol_skip): Likewise.
2576 * elf/dl-version.c (match_symbol): Likewise.
2578 * elf/ldsodefs.h: Declare _dl_signal_cerror.
2580 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
2582 * misc/getttyent.c (getttyent): Release lock on stream later to
2583 also protect global variable zapchar.
2585 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
2586 __times [PR libc/990].
2588 1999-02-21 David S. Miller <davem@redhat.com>
2590 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
2591 parentheses in Feb 2 changes.
2592 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2594 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2596 * sysdeps/generic/glob.c (glob): Save previous errno.
2598 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
2600 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
2601 lookup functions if it is too small.
2603 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
2605 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
2606 for tracing to the scope lists.
2607 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
2608 DT_SYMTAB is always available according to ELF spec.
2610 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
2611 call test whether there is any scope left.
2612 (_dl_lookup_versioned_symbol_skip): Likewise.
2614 * elf/Makefile (distribute): Add do-lookup.h.
2615 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
2616 * elf/dl-lookup.c: Move do_lookup function in separate file and
2617 include the file twice, for handling versioning and without it.
2619 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
2620 entry is already relocated.
2621 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
2622 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
2623 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
2624 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
2626 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
2628 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
2631 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
2632 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
2633 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
2634 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
2635 rel and rela relocations can both happen and skip one test if this
2637 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
2639 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
2641 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
2643 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
2644 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
2645 (_dl_map_object): DT_STRTAB entry is already relocated.
2646 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
2648 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
2650 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
2651 DT_VERSYM entries are already relocated.
2652 (profile_fixup): Likewise.
2653 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
2655 (match_symbol): DT_STRTAB entry is already relocated.
2656 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
2657 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
2658 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
2659 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
2660 (find_needed): DT_STRTAB entry is already relocated.
2661 (dl_main): Pass extra argument to elf_get_dynamic_info.
2662 DT_STRTAB entry is already relocated.
2663 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
2664 DT_PLTGOT entries are already relocated.
2665 (elf_machine_rela): Likewise for DT_SYMTAB.
2666 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
2668 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2669 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
2670 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2671 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2672 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
2673 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
2674 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
2675 * sysdeps/mips/mips64/dl-machine.h: Likewise.
2677 * grp/initgroups.c (initgroups): If function in current module was
2678 successful don't stop but continue to process to get all the groups.
2680 * elf/dl-load.c (_dl_map_object_from_fd): Use global
2681 _dl_pf_to_proot array to convert p_flags value.
2682 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2684 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
2685 loop to clear `info'.
2687 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
2688 do the work and don't use inline assembler.
2690 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
2692 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
2693 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
2694 noreturn, and prevent it from being inlined.
2695 Define LOSE appropriately.
2696 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
2697 Optimize decoding of p_flags for certain platforms.
2699 1999-02-19 Philip Blundell <pb@nexus.co.uk>
2701 * Makeconfig (link-libc): When doing a static link, make sure that
2702 libgcc.a is included both before and after libc.a.
2704 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
2706 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
2707 sp_warn, sp_inact, sp_expire and sp_flag.
2709 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
2711 * elf/link.h (link_map): Add l_dev and l_ino.
2712 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
2713 loaded shared object with all loaded objects. Initialize l_ino
2714 and l_dev in case it's new.
2715 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
2717 * elf/Makefile: Compile and run new test.
2718 * elf/multiload.c: New file.
2720 * nss/nsswitch.h (service_user): Change name field from const char *
2722 (name_database_entry): Likewise.
2723 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
2724 for change of `service_user'.
2725 (nss_getline): Adjust memory allocation for change of
2726 `name_database_entry'.
2728 * catgets/catgets.c: Correctly handle NLSPATH from environment
2731 * io/Makefile (routines): Add lock64.
2732 * io/Versions: Add lockf64 for GLIBC_2.1.1.
2733 * sysdeps/generic/lockf64.c: New file.
2735 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2737 * string/bits/string2.h: Only use strncmp optimization if count
2738 argument is constant.
2740 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
2742 * sysdeps/mach/hurd/revoke.c: New file.
2744 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2746 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
2747 int to avoid warning about `ISO C restricts enumerator values to
2750 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2752 * elf/dlfcn.h: Fix typo.
2753 * sysdeps/generic/bits/dlfcn.h: Likewise.
2754 * sysdeps/mips/bits/dlfcn.h: Likewise.
2756 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2758 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
2759 for the case N == 0.
2761 * db2/Makefile (distribute): Add LICENSE.
2763 1999-02-03 Jeff Bailey <jbailey@nisa.net>
2765 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
2768 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
2770 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2772 * time/mktime.c: Use ISO C form for function definitions and
2773 remove unnecessary prototypes.
2775 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
2777 * time/time.h: Avoid unneccesary #ifdef.
2779 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
2781 * stdio-common/_itoa.c (_itoa): Correct parameters to
2784 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2786 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
2787 before (e.g. in glob.h).
2790 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2792 * sysdeps/mips/fpu_control.h: Fix typo.
2793 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
2796 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
2798 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
2799 the "unused" ends of the sockets. Let pipes be bidirectional.
2801 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
2803 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
2806 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2808 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
2809 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
2811 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
2812 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
2814 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
2816 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
2818 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2820 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
2821 check for priority mask.
2823 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
2825 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
2826 Reported by Craig Metz <cmetz@inner.net> .
2828 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2830 * stdio-common/Makefile (tests): tllformat added.
2832 * stdio-common/tllformat.c: New program, based on tiformat.c with
2833 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2835 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2837 * posix/test-vfork.c: Fix exit status test.
2839 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2841 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
2842 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
2844 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2846 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
2847 of separare explicit comparisons.
2849 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2851 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
2854 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
2857 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
2859 * po/el.po: Update from translation team.
2861 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2863 * intl/locale.alias: Fix slovenian entry [PR libc/948].
2865 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2867 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
2868 * inet/ruserpass.c: Likewise.
2869 * locale/programs/stringtrans.c: Likewise.
2870 * locale/programs/localedef.c: Likewise.
2871 * nscd/grpcache.c: Likewise.
2872 * nss/nss_files/files-XXX.c: Likewise.
2873 * stdlib/canonicalize.c: Likewise.
2874 * sysdeps/posix/sigwait.c: Likewise.
2876 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2878 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
2879 even on 64 bit platforms.
2881 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
2882 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
2884 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
2886 * intl/dcgettext.c: Include locale.h is available.
2888 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
2890 * po/nl.po: Update from translation team.
2892 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
2894 * Makefile: Allow calling goals for po subdir.
2896 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
2899 * po/el.po: New file.
2901 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2903 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
2904 when processing DT_SYMBOLIC objects.
2906 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2908 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
2909 program headers without PT_PHDR only require that they are
2910 contained within one of the loaded segments. Don't use assert,
2911 since that would be a bug in the object, not the dynamic linker.
2913 1999-02-08 Richard Henderson <rth@cygnus.com>
2915 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
2916 restore all call-clobbered fp regs.
2918 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
2920 * po/cs.po: New file.
2922 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
2925 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
2927 * signal/signal.h: Don't declare __libc_allocate_rtsig.
2928 * include/signal.h: Declare __libc_allocate_rtsig here.
2930 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
2931 point functions, not do_lookup since the later can be called more
2934 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
2936 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
2937 macro, so that architectures which need to add some special
2938 offset to stack pointer can share this file.
2940 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
2941 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
2942 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
2943 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
2945 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
2946 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
2947 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
2948 between sparc32 and sparc64.
2950 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
2951 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
2952 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
2953 between sparc32 and sparc64.
2955 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
2956 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
2957 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
2958 between sparc32 and sparc64.
2960 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
2961 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
2962 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
2963 between sparc32 and sparc64.
2965 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
2967 * Versions.def: New version GLIBC_2.1.1 for libc.
2968 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
2969 * stdlib/labs.c: Moved to...
2970 * sysdeps/generic/labs.c: ...here.
2971 * stdlib/llabs.c: Moved to...
2972 * sysdeps/generic/llabs.c: ...here.
2973 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
2974 header. Declare _Exit.
2975 * sysdeps/generic/_exit.c: Add alias _Exit.
2976 * sysdeps/mach/hurd/_exit.c: Likewise.
2977 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
2978 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
2979 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
2980 * sysdeps/unix/_exit.c: Likewise.
2981 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
2982 imaxdiv and imaxabs. Declare lldiv_t if necessary.
2983 * sysdeps/wordsize-64/inttypes.h: Likewise.
2984 * sysdeps/wordsize-32/llabs.c: New file.
2985 * sysdeps/wordsize-32/lldiv.c: New file.
2986 * sysdeps/wordsize-64/labs.c: New file.
2987 * sysdeps/wordsize-64/ldiv.c: New file.
2988 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
2989 * manual/startup.texi: Document _Exit.
2991 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2993 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
2995 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
2997 * Versions.def: Add versions for ld.so.
2998 * csu/Versions: Remove __libc_stack_end here.
2999 * elf/Versions: Split libc definitions in libc and ld.so definitions.
3000 * elf/Makefile (ld-map): Change to ld.so.map.
3001 * scripts/versions.awk: Recognize dot in library names.
3003 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
3004 Don't use __tolower and __toupper in inline functions.
3005 Add optimizing macros for tolower and toupper.
3006 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
3007 (_toupper): Don't use __toupper.
3008 * ctype/ctype.c (tolower): Don't use __tolower.
3009 (toupper): Don't use toupper.
3011 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
3013 * resolv/Versions (libresolv): Export __ns_name_unpack and
3015 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
3016 make it global. Change all users. Similar for ns_name_ntop.
3017 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
3018 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
3019 directly to detect too small buffer.
3020 * resolv/nss_dns/dns-network.c: Likewise.
3022 * stdio-common/Makefile (tests): Add scanf12.
3023 * stdio-common/scanf12.c: New file.
3024 * stdio-common/scanf12.input: New file.
3025 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
3026 floating-point correctly if the number is invalid.
3028 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
3030 * stdio-common/printf_fp.c: Likewise.
3031 * stdio-common/printf_fphex.c: Likewise.
3032 * stdio-common/vfprintf.c: Likewise.
3035 See ChangeLog.9 for earlier changes.