1 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3 * grp/Makefile: Add rules for tst_fgetgrent.
5 * grp/tst_fgetgrent.c: Rewritten to read only one file.
7 * grp/tst_fgetgrent.sh: New file.
9 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
11 * grp/Makefile (tests): Add tst_fgetgrent.
12 * grp/tst_fgetgrent.c: New file.
13 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
15 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
17 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
18 be POSIX compliant. Prior definition was broken for Hurd.
19 Reported by Mark Kettenis <kettenis@gnu.org>.
21 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
23 * ctype/ctype.h: Protect __tobody code by __extension__.
25 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
27 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
28 reading and reset in case the buffer was too small.
30 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
33 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
35 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
36 another SIOGIFNAME typo.
38 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
40 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
42 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
45 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
47 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
48 the precision if the mantissa is zero.
50 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
52 * manual/lang.texi (Floating Point Parameters): GCC already
53 supports long double for a long time.
55 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
57 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
58 yn_test): Increase some epsilons.
60 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
62 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
65 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
67 * sysdeps/unix/sysv/linux/kernel-features.h: Define
68 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
69 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
70 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
72 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
73 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
74 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
75 * sysdeps/libm-ieee754/w_j1.c: Likewise.
76 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
77 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
78 * sysdeps/libm-ieee754/w_jn.c: Likewise.
79 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
80 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
82 * stdio-common/vfprintf.c: Correct typos.
84 * math/libm-test.c (jn_test): Adjust delta.
88 * elf/do-lookup.h: It should never happen that if we expect a versioned
89 symbol from a file the file has no version table. This should have
90 been checked in dl-version.c.
91 * elf/dl-lookup.c: Include assert.h.
93 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
96 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
98 1999-06-06 Andi Kleen <ak@muc.de>
100 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
103 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
105 * math/libm-test.c (yn_test): Change one delta.
110 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
112 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
113 avoid multiple calls to getpagesize() which might be a syscall.
115 1999-06-06 Philip Blundell <philb@gnu.org>
117 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
119 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
121 * manual/install.texi (Running make install): Correct typo in
122 dynamic linker invocation.
124 1999-06-05 Philip Blundell <philb@gnu.org>
126 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
127 problems with GOT addressing.
129 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
131 * malloc/malloc.c (check_action): Change into bitmap so that both
132 diagnostic and abort can be requested by setting it to 3.
133 (mALLOC_SET_STATe): Disable malloc checking if necessary.
135 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
137 * configure.in: Few changes for HPUX.
139 * scripts/config.guess: Update from latest version.
140 * scripts/config.sub: Likewise.
142 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
144 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
145 map files. Closes PR libc/1147.
147 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
149 * math/libm-test.c (main): Add new test functions.
150 (jn_test): New tests.
151 (j1_test): Add some more tests.
152 (j0_test): Add some more tests.
153 (y0_test): Add some more tests.
154 (y1_test): Add some more tests.
156 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
158 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
159 Patch by mhagger@dera.gov.uk [PR libc/1145].
161 * math/libm-test.c (y1_test): New tests.
165 (main): Added new tests.
167 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
169 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
170 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
171 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
172 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
173 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
174 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
176 1999-06-02 David S. Miller <davem@redhat.com>
178 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
181 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
183 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
184 and elide compatibility code if possible.
186 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
188 * manual/llio.texi: Remove menu entry for removed section.
190 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
192 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
195 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
197 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
200 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
202 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
204 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
206 * manual/stdio.texi: Fix some typos.
208 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
210 * malloc/malloc.h: Properly handle future GCC versions.
212 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
214 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
215 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
216 text of error message.
218 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
220 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
222 * manual/filesys.texi: Extend (f)truncate documentation.
223 * manual/llio.texi: Remove duplicate (f)truncate definition.
225 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
227 * manual/stdio.texi (Formatted Output Functions): Mention
228 semantics of snprintf in glibc 2.0.
229 Reported by Ben Pfaff <pfaffben@msu.edu>.
231 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
233 * include/features.h (__GLIBC_MINOR__): Bump to 2.
235 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
237 * math/libm-test.c: Adjust a few more deltas for the poor ARM
240 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
242 * configure.in: Fix typo.
244 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
246 * manual/socket.texi (Host Names): Remove statement that h_errno
247 needs to be declared since this isn't true anymore.
250 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
252 * config.h.in: Add __LINUX_KERNEL_VERSION.
253 * configure.in: Recognize --enable-kernel.
254 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
255 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
257 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
258 given perform runtime test.
260 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
261 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
262 minimal supported kernel is known to have the feature.
263 * sysdeps/unix/sysv/linux/poll.c: Likewise.
264 * sysdeps/unix/sysv/linux/pread.c: Likewise.
265 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
266 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
267 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
268 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
269 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
270 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
271 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
272 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
273 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
274 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
275 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
276 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
277 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
279 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
281 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
283 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
285 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
287 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
288 Optimized sparc64 routines.
290 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
292 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
293 they are the same as ints.
294 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
296 * version.h (VERSION): Bump to 2.1.90.
297 (RELEASE): Mark as development.
299 * stdio-common/vfprintf.c (vfprintf): Don't implement special
300 handling for long long if it is the same as long.
301 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
303 * stdlib/strtol.c: Moved to ...
304 * sysdeps/generic/strtol.c: ...here.
305 * stdlib/strtoul.c: Moved to ...
306 * sysdeps/generic/strtoul.c: ...here.
307 * stdlib/strtoll.c: Moved to ...
308 * sysdeps/generic/strtoll.c: ...here.
309 * stdlib/strtoull.c: Moved to ...
310 * sysdeps/generic/strtoull.c: ...here.
311 * stdlib/strtol_l.c: Moved to ...
312 * sysdeps/generic/strtol_l.c: ...here.
313 * stdlib/strtoul_l.c: Moved to ...
314 * sysdeps/generic/strtoul_l.c: ...here.
315 * stdlib/strtoll_l.c: Moved to ...
316 * sysdeps/generic/strtoll_l.c: ...here.
317 * stdlib/strtoull_l.c: Moved to ...
318 * sysdeps/generic/strtoull_l.c: ...here.
320 * sysdeps/wordsize-64/strtol.c: New file.
321 * sysdeps/wordsize-64/strtoul.c: New file.
322 * sysdeps/wordsize-64/strtoll.c: New file.
323 * sysdeps/wordsize-64/strtoull.c: New file.
324 * sysdeps/wordsize-64/strtol_l.c: New file.
325 * sysdeps/wordsize-64/strtoul_l.c: New file.
326 * sysdeps/wordsize-64/strtoll_l.c: New file.
327 * sysdeps/wordsize-64/strtoull_l.c: New file.
329 * wcsmbs/wcstol.c: Moved to ...
330 * sysdeps/generic/wcstol.c: ...here.
331 * wcsmbs/wcstoul.c: Moved to ...
332 * sysdeps/generic/wcstoul.c: ...here.
333 * wcsmbs/wcstoll.c: Moved to ...
334 * sysdeps/generic/wcstoll.c: ...here.
335 * wcsmbs/wcstoull.c: Moved to ...
336 * sysdeps/generic/wcstoull.c: ...here.
337 * wcsmbs/wcstol_l.c: Moved to ...
338 * sysdeps/generic/wcstol_l.c: ...here.
339 * wcsmbs/wcstoul_l.c: Moved to ...
340 * sysdeps/generic/wcstoul_l.c: ...here.
341 * wcsmbs/wcstoll_l.c: Moved to ...
342 * sysdeps/generic/wcstoll_l.c: ...here.
343 * wcsmbs/wcstoull_l.c: Moved to ...
344 * sysdeps/generic/wcstoull_l.c: ...here.
346 * sysdeps/wordsize-64/wcstol.c: New file.
347 * sysdeps/wordsize-64/wcstoul.c: New file.
348 * sysdeps/wordsize-64/wcstoll.c: New file.
349 * sysdeps/wordsize-64/wcstoull.c: New file.
350 * sysdeps/wordsize-64/wcstol_l.c: New file.
351 * sysdeps/wordsize-64/wcstoul_l.c: New file.
352 * sysdeps/wordsize-64/wcstoll_l.c: New file.
353 * sysdeps/wordsize-64/wcstoull_l.c: New file.
355 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
357 * sysdeps/sparc/bits/wordsize.h: New file.
358 * sysdeps/sparc/fpu/bits/fenv.h: New file.
359 * sysdeps/sparc/fpu/fpu_control.h: New file.
360 * sysdeps/sparc/gmp-mparam.h: New file.
362 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
363 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
364 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
365 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
366 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
367 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
369 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
370 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
371 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
372 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
374 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
375 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
376 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
377 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
378 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
380 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
382 * login/openpty.c (openpty): Make sure pty does not because
385 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
387 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
389 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
390 Do proper error return.
392 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
394 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
395 of __P in the rest of glibc; define __MALLOC_PMT and use it.
396 Reported by Stephan Kulow <coolo@kde.org>.
398 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
400 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
402 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
404 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
406 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
407 names to protect from user's macro namespace.
408 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
409 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
410 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
411 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
412 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
414 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
415 sysdeps/arm/fpu/fesetenv.c: Likewise.
416 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
417 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
418 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
419 * sysdeps/mips/fesetenv.c: Likewise.
421 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
423 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
425 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
427 * configure.in: Recognize and allow gcc 2.95.
429 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
431 * sysdeps/generic/bits/elfclass.h: Version common to
432 wordsize-32 and wordsize-64.
433 * sysdeps/generic/bits/environments.h: Ditto.
434 * sysdeps/generic/stdint.h: Ditto.
435 * sysdeps/generic/inttypes.h: Ditto.
437 * sysdeps/generic/bits/wordsize.h: New file.
438 * stdlib/Makefile: Add bits/wordsize.h to headers.
440 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
442 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
443 headers to be used for 32bit and 64bit ABI compilations.
444 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
445 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
446 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
447 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
448 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
450 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
451 * sysdeps/wordsize-64/bits/environments.h: Remove.
452 * sysdeps/wordsize-64/stdint.h: Remove.
453 * sysdeps/wordsize-64/inttypes.h: Remove.
454 * sysdeps/wordsize-64/bits/wordsize.h: New file.
456 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
457 * sysdeps/wordsize-32/bits/environments.h: Remove.
458 * sysdeps/wordsize-32/stdint.h: Remove.
459 * sysdeps/wordsize-32/inttypes.h: Remove.
460 * sysdeps/wordsize-32/bits/wordsize.h: New file.
462 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
464 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
465 __align_cpy_16): New functions.
466 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
468 * sysdeps/sparc/sparc32/Versions: New file.
469 * sysdeps/sparc/sparc64/Versions: New file.
470 * sysdeps/sparc/Versions: Remove.
472 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
474 * sysdeps/unix/sysv/linux/configure.in:
475 On sparc64-*-linux*, set slibdir to /lib64 if prefix
476 is /usr, plus set libdir to ${exec_prefix}/lib64.
477 * sysdeps/unix/sysv/linux/configure: Regenerated.
478 * config.make.in: Propagate libdir settings from configure
480 * shlib-versions: sparc64-*-linux* dynamic linker is
481 /lib64/ld-linux.so.2.
483 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
485 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
488 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
490 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
491 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
493 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
494 contains garbage in bits 8-63.
495 * sysdeps/sparc/sparc64/memset.S: Ditto.
496 * sysdeps/sparc/sparc64/strchr.S: Ditto.
498 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
500 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
502 1999-05-17 David S. Miller <davem@redhat.com>
504 * sysdeps/sparc/sparc32/atomicity.h: New file.
505 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
506 * sysdeps/sparc/sparc64/atomicity.h: New file.
507 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
510 1999-05-18 Richard Henderson <rth@twiddle.net>
512 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
514 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
516 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
517 posix/sys/types.h: Handle the case of __GNUC__=3,
518 __GNUC_MINOR__=(anything).
520 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
522 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
525 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
527 * elf/Makefile (distribute): Remove dl-origin.h.
528 Add dl-dst.h and gen-trusted-dirs.awk.
530 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
532 * sysdeps/i386/i486/Versions: New file with inline functions from
533 sysdeps/i386/i486/bits/string.h for now.
535 * sysdeps/i386/Versions: Add inline functions from
536 sysdeps/i386/bits/string.h.
538 * string/Versions: Add inline functions from <bits/string2.h>.
540 * string/Makefile (routines): Add string-inlines.
541 * string/string-inlines.c: New file, used for implementation of
542 extern inline functions.
544 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
545 non inlined versions of functions.
546 * string/bits/string2.h: Likewise.
547 * sysdeps/i386/bits/string.h: Likewise.
549 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
551 * inet/arpa/tftp.h: Add second packed attribute.
553 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
555 * malloc/malloc.c: Cleanup to bring in line with released
556 stand-alone version `ptmalloc'. Update some comments.
557 (internal_function): Move fallback definition so that the source
558 compiles outside of libc, and use it in more places.
559 (malloc_atfork): Fix when malloc_check is in use.
561 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
563 * stdlib/tst-strtod.c: Fix typo.
565 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
567 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
570 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
572 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
574 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
576 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
577 * sunrpc/key_call.c: Fix memory leak, close file handle.
578 * nis/nis_creategroup.c: Use malloc instead of calloc,
580 * nis/nis_subr.c: Check for realloc result.
581 * nis/nis_file.c: Fix memory leak.
582 * nis/nis_table.c: Pretty print.
583 * nis/nis_getservlist.c: Likewise.
584 * nis/nis_ismember.c: Likewise.
585 * nis/nis_lookup.c: Likewise.
586 * nis/nis_ping.c: Likewise.
587 * nis/nis_removemember.c: Likewise.
588 * nis/nis_util.c: Likewise, check calloc result.
590 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
592 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
593 * sysdeps/generic/sys/socketvar.h: ... here.
594 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
595 * sysdeps/generic/netinet/in_systm.h: ... here.
596 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
598 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
599 * inet/Makefile (headers): Add netinet/in_systm.h here.
600 * socket/Makefile (headers): Add sys/socketvar.h here.
602 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
604 * stdlib/strtol.c: Optimize inner loop of long long versions.
606 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
607 Unix98. Add forward declaration of struct utmp.
609 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
611 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
614 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
615 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
616 memory allocation results.
618 1999-05-14 Mark Kettenis <kettenis@gnu.org>
620 * sysdeps/generic/getutmp.c: Include <string.h>
621 (getutmp): Rewrite to only copy those members that are really
622 present in `struct utmp'.
623 * sysdeps/generic/getutmpx.c: Likewise.
625 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
627 * nss/getXXbyYY.c: Add free_mem function which disposes all
628 statically allocated memory when debugging.
629 * nss/getXXent.c: Likewise.
630 * nss/nsswitch.c: Likewise.
632 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
634 * sysdeps/gnu/getutmpx.c: New file.
635 * sysdeps/gnu/getutmp.c: New file.
637 1999-05-13 H.J. Lu <hjl@gnu.org>
639 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
642 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
645 * sysdeps/gnu/utmpx.h (getutmp): Added.
646 (getutmpx): Likewise.
648 * sysdeps/generic/getutmp.c: New file.
650 * sysdeps/generic/getutmpx.c: New file.
652 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
654 * glibcbug.in (BUGGLIBC): Change address to
655 libc-alpha@sourceware.cygnus.com.
657 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
659 * resolv/arpa/nameser.h: Add C++ protectors.
661 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
663 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
664 Elad Tsur <eladts@post.tau.ac.il>.
666 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
668 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
669 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
670 lazily if LD_BIND_NOW is not set.
671 * elf/dl-support.c (_dl_lazy): New variable.
672 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
673 * elf/rtld.c (_dl_lazy): new global variable.
674 ( dl_main): Remove lazy, replace it by _dl_lazy.
676 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
678 * locale/setlocale.c (new_composite_name): Check also whether the
679 first category name differs.
681 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
683 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
686 1999-05-11 Philip Blundell <pb@nexus.co.uk>
688 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
689 structure; storage suitable for any socket address.
690 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
692 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
693 sockaddr_storage): Likewise.
695 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
698 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
700 * hesiod/Versions: Change _nss_hesiod_getpwuid and
701 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
702 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
704 1999-05-09 Mark Kettenis <kettenis@gnu.org>
706 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
707 if the file is empty.
709 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
711 * elf/do-lookup.h: Fix typo in comment.
713 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
714 f_bsize to help some broken programs.
716 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
718 * stdio-common/vfprintf.c: Fix typo.
720 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
722 * elf/link.h (struct link_map): New field l_phdr_allocated.
723 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
724 the program header being part of any loaded segment. If it is not
725 allocate memory and set l_phdr_allocated flag.
726 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
728 * nss/digits_dots.c: Correct return value interpretation of
729 inet_ntoa. Fix PR libc/1109.
731 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
733 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
735 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
737 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
738 * stdlib/fpioconst.c: Move #endif before end of struct.
740 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
742 * Versions.def (ld.so): Add GLIBC_2.1.1.
743 * elf/Makefile (routines): Add dl-origin.
744 (tests): Add origtest. Add dependencies for the program.
745 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
746 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
747 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
748 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
749 DT_AUXILIARY, and DT_FILTER filenames.
750 * elf/dl-load.c (expand_dynamic_string_token): Explode into
751 two functions and three macros.
752 (_dl_dst_count, _dl_dst_substitute): New functions.
753 * elf/dl-dst.h: New file.
754 * elf/dl-open.c (_dl_open): Take extra parameter with address of
755 caller. Pass address in args structure.
756 (dl_open_worker): Recognize and expand DSTs in filename.
757 * elf/ldsodefs.h (_dl_open): Adapt prototype.
758 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
759 (__dlopen_check): Pass caller address to dlopen_doit in args.
760 * elf/dlopendoit.c: Likewise.
761 * iconv/gconv_dl.c: Adapt call of _dl_open.
762 * nss/nsswitch.c: Likewise.
763 * elf/origtest.c: New file.
764 * sysdeps/generic/dl-origin.h: Moved to...
765 * sysdeps/generic/dl-origin.c: ...here.
766 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
767 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
769 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
770 with specific bases and only few bits set in second word.
772 * timezone/Makefile (install-others): Create target directory
773 before creating tzfiles.
775 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
777 * nis/nis_file.c (readColdStartFile): Allocate memory only after
778 the file is opened successfully.
780 * nis/nis_table.c: Fix some memory leaks.
782 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
784 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
787 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
788 around DST. Correctly ignore ORIGIN IN SUID binaries.
790 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
792 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
793 * sysdeps/generic/strtok.c: Likewise.
795 * string/tester.c: Add test of rawmemchr.
797 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
798 specification. It's not necessary.
800 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
801 * elf/gen-trusted-dirs.awk: New file.
802 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
803 from SYSTEM_DIRS macro.
804 (system_dirs_len): New variable. Contains lengths of system_dirs
806 (fillin_rpath): Rewrite for systems_dirs being a simple string.
807 Improve string comparisons. Change parameter trusted to be a flag.
809 (_dt_init_paths): Improve using new format for system_dirs.
811 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
812 $ORIGIN for SUID binaries.
814 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
816 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
818 * sunrpc/Makefile: Generate dependencies for all flavors of
820 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
823 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
825 * elf/dlopenold.c: Move #if down after includes to get
828 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
830 * sysdeps/generic/bzero.c: Undefine __bzero.
832 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
834 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
835 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
836 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
837 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
839 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
840 parameter to struct gaih_servtuple *. Adapt appropriately.
841 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
842 This fixes a memory leak.
843 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
845 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
846 and fpregset_t definition. They are defined in ucontext.h.
848 1999-04-14 Scott Bambrough <scottb@netwinder.org>
850 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
851 and struct ether_header must be packed on the ARM. The default
852 alignment constraints add padding to the end of the structures.
854 1999-04-14 Scott Bambrough <scottb@netwinder.org>
856 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
857 default alignment constraints add padding to the end of the
858 structure and between members.
860 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
862 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
863 _dl_cache_libcmp instead of strcmp.
865 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
867 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
869 1998-03-30 Joel Klecker <espy@debian.org>
871 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
872 (sysdep-others,install-bin): Add lddlibc4.
874 1999-05-02 H.J. Lu <hjl@gnu.org>
876 * timezone/zic.c (dolink): Remove the symlink destination first.
878 * catgets/open_catalog.c (__open_catalog): Set catalog->status
879 to "nonexisting" if failed to open the file.
881 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
883 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
886 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
887 Prevent warnings from multiplication with 0x01010101 by another cast.
889 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
891 * string/bits/string2.h (memset): Revert to previous version if
892 unaligned writes are not available.
894 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
896 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
897 better code in presence of the asm.
899 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
901 * stdlib/fmtmsg.c (keywords): Increase array size for faster
904 * locale/localeinfo.h (_nl_category_names): Increase array element
905 size for faster indexing.
906 * locale/setlocale.c (_nl_category_names): Adjusted.
908 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
910 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
912 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
914 * sysdeps/m68k/stackinfo.h: New file.
916 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
918 * string/tester.c (test_strchrnul): New function.
919 (test_memset): Test one more special case.
921 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
924 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
927 * string/bits/string2.h: Fix bugs I introduced in last change.
929 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
931 Extend memset optimization.
932 Correct i686 version of memchr.
934 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
936 * sysdeps/i386/bzero.c: Add #undef __bzero.
938 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
939 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
940 exec server simulated a SIGTRAP before we even started up, so gdb is
943 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
945 * nss/digits_dots.c: Always initialize not_ok.
947 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
949 * string/bits/string2.h (memset): Avoid arithmetic overflow at
950 compile time, which produces obnoxious warnings. If GCCv2 is
951 in use, map __bzero to __builtin_memset to enable that
954 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
956 * string/bits/string2.h: Add more memset optimizations.
958 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
960 * resolv/inet_pton.c (inet_pton4): Little optimizations.
961 (inet_pton6): Likewise.
963 * nss/getXXbyYY_r.c: Include assert.h.
964 * nss/getXXbyYY.c: Likewise.
966 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
968 * termios/tcgetsid.c (tcgetsid): Rename variable to
969 tiocgsid_does_not_work.
971 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
973 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
975 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
977 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
978 This allows e.g. gethostbyname to accept "10.1234".
979 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
981 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
982 non quad IPv4 numbers.
984 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
986 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
988 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
990 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
991 * argp/argp-parse.c (_argp_hang): Likewise.
992 * argp/argp-pv.c (argp_program_version): Likewise.
993 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
994 * inet/ether_hton.c (ether_hton, startp): Likewise.
995 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
996 * inet/getnetgrent_r.c (setup, startp): Likewise.
997 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
998 * intl/localealias.c (string_space, string_space_act, string_space_max,
999 nmap, maxmap): Likewise.
1000 * libio/iopopen.c (proc_file_chain): Likewise.
1001 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
1002 * locale/lc-collate.c (__collate_table, __collate_extra,
1003 __collate_element_hash, __collate_element_strings,
1004 __collate_element_values): Likewise.
1005 * malloc/mcheck.c (mcheck_used): Likewise.
1006 * malloc/mtrace.c (added_atexit_handler): Likewise.
1007 * malloc/set-freeres.c (already_called): Likewise.
1008 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
1009 * misc/syslog.c (LogStat, LogTag): Likewise.
1010 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
1011 * nss/getXXbyYY_r.c (startp): Likewise.
1012 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
1013 * posix/regex.c (init_syntax_once) [done]: Likewise.
1015 * string/strfry.c (init): Likewise.
1016 * sunrpc/svc_run.c (svc_top): Likewise.
1017 * posix/euidaccess.c (have_ids): Likewise.
1018 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
1019 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
1020 * time/getdate.c (getdate_err): Likewise.
1021 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
1023 * time/tzset.c (old_tz, is_initialized): Likewise.
1025 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
1026 of static data with zero.
1027 * signal/allocrtsig.c (init): Likewise.
1029 * string/Makefile (routines): Add strchrnul.
1030 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
1031 * string/string.c: Add strchrnul prototype.
1032 * include/string.h: Add __strchrnul prototype.
1033 * sysdeps/generic/strchrnul.c: New file.
1034 * sysdeps/i386/strchrnul.S: New file.
1035 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
1036 * sysdeps/i386/i486/bits/string.c: Likewise.
1037 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
1038 * inet/ether_line.c (ether_line): Likewise.
1039 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
1040 * nss/nsswitch.c (nss_parse_file): Likewise.
1041 * posix/execvp.c (execvp): Likewise.
1042 * posix/fnmatch.c (internal_fnmatch): Likewise.
1043 * resolv/res_hconf.c (_res_hconv_init): Likewise.
1044 * resolv/res_init.c (res_init): Likewise.
1045 * stdlib/fmtmsg.c (init): Likewise.
1046 * stdlib/getsubopt.c (getsubopt): Likewise.
1048 * catgets/catgets.c (catopen): Only allocate one memory block.
1049 (catclose): Only one free call necessary.
1051 * catgets/open_catalog.c (__open_catalog): Simplify handling of
1054 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
1055 of real functions. Simplify _tolower and _toupper.
1057 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
1060 * iconv/gconv.h (struct gconv_info): Change data element from pointer
1062 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
1063 * iconv/gconv_close.c (__gconv_close): Don't free data.
1065 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
1068 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
1069 for error while inserting in tree.
1071 * include/time.h: Pretty print.
1073 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
1074 in table and lots of relocations.
1075 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
1076 string pointers in table and lots of relocations.
1078 * intl/finddomain.c: Remove definition of strchr macro.
1080 * io/ftw.c (nftw_arr, ftw_arr): Make const.
1082 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
1084 * locale/localeinfo.h (_nl_category_names): Change into an array with
1085 fixed width char string elements.
1086 * locale/setlocale.c (_nl_category_names): Likewise.
1087 (_nl_current): Make global.
1088 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
1090 * malloc/Makefile (distribute): Add stackinfo.h.
1091 * sysdeps/generic/stackinfo.h: New file.
1092 * sysdeps/i386/stackinfo.h: New file.
1093 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
1094 * posix/execle.c: Likewise.
1095 * posix/execlp.c: Likewise.
1097 * nis/nis_table.c (__create_ib_request): Always use realloc.
1099 * posix/execvp.c (execute): Rename to script_execute and keep only
1100 code to execute using shell.
1101 (execvp): Call execv directly and only fall back on script_execute.
1103 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
1104 and always use xdigits instead.
1106 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
1109 * stdlib/fpioconst.h (__tens): New declaration.
1110 (struct mp_power): Remove array, add arrayoff element.
1111 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
1112 __tens array and add in _fpioconst_pow10 offsets into __tens.
1113 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
1114 * stdlib/strtod.c: Likewise.
1116 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
1118 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
1120 * stdlib/atexit.c (__exit_funcs): Don't initialize.
1122 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
1124 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
1125 a single and an array with offsets.
1127 * sunrpc/des_soft.c (partab): Make it const.
1129 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
1130 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
1131 (__key_decryptsession_pk_LOCAL): Likewise.
1132 (__key_gendes_LOCAL): Likewise.
1133 (MESSENGER): Mark const.
1134 (key_call_private_main): Don't initialize with 0.
1135 (use_keyenvoy): Don't initialize with 0.
1136 (key_call): Rewrite to reverse logic of use_doors variable.
1138 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
1139 (startp): Don't initialize with zero.
1141 * sunrpc/openchild.c (_openchild): Make first argument const.
1143 * sunrpc/pmap_rmt.c (timeout): Mark const.
1144 * sunrpc/xcrypt.c (hex): Likewise.
1146 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
1147 initialization of global variables.
1148 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
1149 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1150 * termios/tcgetsid.c: Likewise.
1152 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
1155 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
1156 block. Add function to free memory if wanted.
1157 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
1159 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
1161 * wcsmbs/wmemset.c: Little code optimization.
1163 1999-04-23 Paul Eggert <eggert@twinsun.com>
1165 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
1168 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
1170 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
1171 implementation and just always fail with ENOSYS. This entry point is
1172 obsolete. Add link warning to that effect.
1174 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
1176 * hurd/get-host.c: Include <hurd/lookup.h>.
1178 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1180 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
1183 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1185 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
1188 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1190 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
1191 Patch by Peter Miller <millerp@canb.auug.org.au>.
1193 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
1195 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
1196 prefers loopback device.
1198 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1200 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
1201 no_leading_period change.
1203 * posix/testfnm.c: More test cases.
1205 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
1207 * include/dirent.h: Remove __getdirentries declaration, add __getdents
1209 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
1210 * sysdeps/unix/readdir_r.c: Likewise.
1211 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1212 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
1213 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
1214 __getdirentries. Remove fourth argument.
1215 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
1216 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
1217 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
1218 Add getdirentries and getdirentries64.
1219 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
1221 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
1222 pointer in case of an invalid [[: expression.
1224 * posix/testfnm.c: Add more test cases.
1226 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
1228 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
1229 set, pass EXEC_SIGTRAP flag in exec RPC.
1231 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
1233 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
1234 extra parameter. Fix several more bugs involving wildcard and
1236 (fnmatch): New function. Call internal_fnmatch.
1238 * posix/testfnm.c: More test cases.
1240 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1242 * manual/install.texi (Configuring and compiling): Explain that
1243 files are changed in the source directory.
1245 (Configuring and compiling): Explain situation with PARALLELMFLAGS
1246 in the source directory.
1248 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1250 * locale/programs/ld-ctype.c: Spelling fixes.
1251 (ctype_finish): Fix argument of error message format.
1252 * locale/programs/ld-messages.c: Spelling fixes.
1253 * locale/programs/ld-monetary.c: Spelling fixes.
1254 * locale/programs/ld-time.c (time_finish): Make sure that name and
1255 format of era_entries are adjacent.
1256 (time_output): Reduce the size of the io vector.
1258 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1260 * manual/filesys.texi (Attribute Meanings): Move a misplaced
1263 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1265 * locale/programs/ld-collate.c (collate_output): Convert
1266 undefined_offset to an array index. Fix computation of other
1269 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
1271 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
1272 return success with empty value.
1274 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
1276 * posix/fnmatch.c: Include string.h also for glibc.
1277 (fnmatch, case '?'): Optimize if cascades a bit.
1278 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
1280 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
1282 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
1284 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
1285 * iconv/gconv_int.h: Declare UTF16 functions.
1286 * iconv/gconv_simple.c: Add UTF16 conversion functions.
1288 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1290 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
1291 be used correctly as parameter for parse_dollars/parse_tilde.
1293 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1295 * manual/conf.texi (Utility Limits): Remove duplicate description
1298 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
1300 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
1301 outbufend for dst==NULL.
1303 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
1305 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
1309 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
1312 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
1314 * sunrpc/Makefile: Remove special handling of bootparam.x,
1315 add rpcsvc/bootparam.h to headers.
1316 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
1317 * sunrpc/rpcsvc/bootparam.x: Renamed to...
1318 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
1320 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
1322 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
1323 detect and handle invalid descriptors.
1325 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
1327 * timezone/zic.c (dolink): Append complete path not only filename
1330 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1332 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
1334 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
1336 * iconvdata/gconv-modules: Rename CP874 to IBM874.
1337 * iconvdata/Makefile: Likewise.
1338 * iconvdata/cp874.h: Removed.
1339 * iconvdata/cp874.c: Renamed to...
1340 * iconvdata/ibm874.c: ...this.
1342 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
1344 * sysdeps/unix/sysv/linux/bits/types.h: Correct
1345 signed/unsigned-ness of blkcnt and fsblkcnt.
1346 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1347 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1349 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
1350 SOL_AAL, and SOL_IRDA.
1352 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1354 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
1355 include "linux_fsinfo.h".
1356 Based on a patch by H.J. Lu <hjl@gnu.org>.
1358 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
1360 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
1362 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
1364 * nscd/cache.c (prune_cache): Only disable file checking for
1365 future if the file does not exist.
1366 Update file_mtime if cache was flushed.
1368 1999-04-15 David S. Miller <davem@redhat.com>
1370 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
1371 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
1373 1999-04-15 Scott Bambrough <scottb@netwinder.org>
1375 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
1376 compilation of file.
1378 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1380 * Versions.def: Add GLIBC_2.1.1 to libpthread.
1382 * iconvdata/Makefile (modules): Add KOI8-U.
1383 (distribute): Add koi8-u.c.
1384 (gen-8bit-gap-modules): Add koi8-u.
1385 * iconvdata/gconv-modules: Add KOI8-U entries.
1386 * iconvdata/koi8-u.c: New file.
1388 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
1390 * sunrpc/auth_des.c: 64bit fixes, security fixes.
1391 * sunrpc/auth_none.c: Pretty print.
1392 * sunrpc/auth_unix.c: Likewise.
1393 * sunrpc/authdes_prot.c: Likewise.
1394 * sunrpc/authuxprot.c: Likewise.
1395 * sunrpc/bindrsvprt.c: Likewise.
1396 * sunrpc/clnt_gen.c: Likewise.
1397 * sunrpc/rpc/xdr.h: Likewise.
1398 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
1399 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
1400 * sunrpc/rtime.c: Use new rpc_timeval.
1401 * sunrpc/svc_authux.c: Don't use *long pointers.
1402 * sunrpc/svcauth_des.c: Likewise + security fixes.
1403 * sunrpc/xdr_mem.c: Don't use *long pointers.
1404 * sunrpc/xdr_rec.c: Likewise.
1405 * sunrpc/xdr_sizeof.c: Likewise.
1406 * sunrpc/xdr_stdio.c: Likewise.
1408 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1410 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
1411 so that it is redone for each sending.
1413 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1415 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
1417 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1419 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
1420 known to not exist don't try to load shared objects.
1421 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
1423 * nscd/cache.c (prune_cache): The table might not be unused. In
1424 this case do nothing.
1426 * catgets/gencat.c (read_input_file): Don't drop white spaces
1427 between number/identifier and string.
1428 Patch by Dima Barsky <dima@pwd.hp.com>.
1429 If no white space at all follows number/identifier remove existing
1430 message with the number/identifier.
1432 1999-04-14 H.J. Lu <hjl@gnu.org>
1434 * sunrpc/clnt_udp.c (is_network_up): New function.
1435 (clntudp_call): Call is_network_up () to check if any network
1436 interface is up in case of timeout.
1438 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1440 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
1441 * wctype/Makefile (tests): Add test_wcfuncs.
1443 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
1445 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
1447 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
1449 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
1450 instead of CFLAGS. For gnulib and string directories use
1451 -Wa,-Av9a gcc ASFLAGS.
1452 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
1453 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
1454 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
1455 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
1456 the same way as sparc-*.
1458 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
1460 * locale/programs/locfile.c (locfile_read): Fix typo.
1461 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
1463 1999-04-14 Scott Bambrough <scottb@netwinder.org>
1465 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
1466 restarted after being interrupted by a signal. The parameters on
1467 the stack were corrupted by the signal handler.
1469 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
1470 restarted after being interrupted by a signal. The parameters on
1471 the stack were corrupted by the signal handler.
1473 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1475 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
1476 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
1478 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
1480 * posix/wordexp-test.c: In field-splitting test cases where
1481 subshells were involved, unset IFS first: some shells (ash) use
1482 IFS even when no expansion is performed.
1484 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1486 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
1487 the real end of the chunk, not some random point inbetween.
1488 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
1489 obstack when growing. Use fast version of obstack_blank when
1491 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
1492 allocating the vtable pointer.
1493 (_IO_obstack_vprintf): Adjust for above change and avoid
1494 unnecessary casts. Use fast version of obstack_blank when
1498 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
1500 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
1501 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
1503 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
1505 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
1506 is seen, as well as fixing semantics. Don't reset the word count
1507 to zero when an invalid character is seen, but leave it as it was
1508 (this makes a difference with WRDE_APPEND).
1510 * posix/wordexp-test.c: More test cases.
1512 * posix/wordexp.c (parse_param): In words like ${var#pattern},
1513 always expand pattern when it is needed. Also, handle quoting in
1516 1999-04-12 Philip Blundell <philb@gnu.org>
1518 * elf/elf.h: Update ARM definitions to match current gas2.
1520 * sysdeps/arm/bits/endian.h: Support big endian operation.
1522 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
1523 Don't bother range checking the port number.
1525 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
1527 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
1528 the syscall name in assembler output for ease of debugging.
1530 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
1532 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
1533 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
1534 (sysdep_routines): Add sigrestorer.
1536 * string/tester.c (test_strcpy): Add new tests for unaligned
1538 * sysdeps/arm/bits/string.h: Delete inline implementations of
1541 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
1543 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
1545 1999-04-10 Mark Kettenis <kettenis@gnu.org>
1547 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
1549 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
1551 * iconvdata/Makefile (modules): Add TIS-620.
1552 (distribute): Add tis-620.c.
1553 (gen-8bit-gap-modules): tis-620.
1554 * iconvdata/tis-620.c: New file.
1555 * iconvdata/gconv-modules: Add TIS-620 entries.
1557 * iconvdata/asmo_449.c: Correct comment.
1559 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1561 * manual/install.texi (Configuring and compiling): Comment out
1562 description of --disable-static since this doesn't work currently
1563 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
1565 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
1567 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
1569 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
1571 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1573 * scripts/test-installation.pl (installation_problem): Skip
1574 libnss1_* libraries from glibc-compat add-on.
1576 1999-04-07 H.J. Lu <hjl@gnu.org>
1578 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
1580 * posix/Versions (__waitpid): Likewise.
1582 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1584 * manual/install.texi (Reporting Bugs): Add section about reported
1585 bugs and correct email address of glibcbug script.
1587 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
1589 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
1590 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
1591 xdr_u_longlong_t. Based on patch from Dan Shechter
1592 <damageboy@isdn.net.il>.
1593 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
1594 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
1596 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
1598 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1600 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
1601 directly if getdents returns with error set.
1603 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1605 * locale/langinfo.h (THOUSEP): Rename second occurence of
1606 THOUSANDS_SEP to THOUSEP.
1607 Reported by Roman Belenov <roman@nstl.nnov.ru>.
1609 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
1611 * hurd/STATUS: File removed. Moved items that are still relevant into
1612 TODO list in hurd source.
1614 1999-03-26 Mark Kettenis <kettenis@gnu.org>
1616 * sysdeps/mach/hurd/bits/time.h: New file.
1617 * sysdeps/mach/hurd/getrusage.c: New file.
1618 * sysdeps/mach/hurd/clk_tck.c: New file.
1619 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
1620 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
1621 (sysdep_routines): Add clk_tck.
1622 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
1625 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
1627 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
1628 (closelog): But instead here.
1629 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
1631 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1633 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
1634 the source directory. Fixes PR libc/1059.
1636 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1638 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
1639 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1641 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
1643 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
1644 * iconvdata/testdata/ISO-8859-14: New file.
1645 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
1646 * iconvdata/testdata/ISO-8859-15: New file.
1647 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
1649 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
1651 * iconvdata/testdata/CP1258: New file.
1652 * iconvdata/testdata/CP1258..UTF8: New file.
1653 * iconvdata/TESTS: Add CP1258 entry.
1655 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
1657 * timezone/africa: Update from tzdata1999d.
1658 * timezone/europe: Likewise.
1659 * timezone/northamerica: Likewise.
1661 1999-03-31 Mark Kettenis <kettenis@gnu.org>
1663 * login/programs/pt_chown.c (main): Save effective user ID before
1664 dropping priviliges and use this to check if the program is
1667 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
1669 * iconvdata/testdata/CP1254: Update for charmap changes.
1670 * iconvdata/testdata/CP1254..UTF8: Likewise.
1671 * iconvdata/testdata/CP1255: Likewise.
1672 * iconvdata/testdata/CP1255..UTF8: Likewise.
1673 * iconvdata/testdata/CP1256: Likewise.
1674 * iconvdata/testdata/CP1256..UTF8: Likewise.
1675 * iconvdata/testdata/CP1257: Likewise.
1676 * iconvdata/testdata/CP1257..UTF8: Likewise.
1678 * iconvdata/Makefile (distribute): Remove cp1258.h.
1679 (gen-8bit-gap-modules): Add cp1258.
1680 * iconvdata/cp1258.h: Removed.
1682 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
1684 * timezone/tst-timezone.c (tests): Add more cases.
1685 (check_tzvars): Mark errors clearer.
1688 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1690 * login/programs/pt_chown.c: Drop privileges if invoked with
1691 arguments. Don't close the master pty.
1693 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
1695 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
1698 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
1700 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
1701 relocation for SUID binaries.
1703 1999-03-29 Paul Eggert <eggert@twinsun.com>
1705 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
1706 while in child process.
1708 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
1710 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
1711 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
1712 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
1713 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
1714 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
1716 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
1717 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
1718 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
1719 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
1720 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
1721 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
1722 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
1723 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
1724 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
1725 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
1726 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
1727 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
1728 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
1729 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
1730 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
1731 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
1732 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
1733 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
1734 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
1735 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
1736 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
1737 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
1738 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
1739 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
1740 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
1741 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
1743 * sysdeps/sparc/sparc32/bcopy.c: New file.
1744 * sysdeps/sparc/sparc32/bzero.c: New file.
1745 * sysdeps/sparc/sparc32/memchr.S: New file.
1746 * sysdeps/sparc/sparc32/memcpy.S: New file.
1747 * sysdeps/sparc/sparc32/memmove.c: New file.
1748 * sysdeps/sparc/sparc32/memset.S: New file.
1749 * sysdeps/sparc/sparc32/stpcpy.S: New file.
1750 * sysdeps/sparc/sparc32/strchr.S: New file.
1751 * sysdeps/sparc/sparc32/strrchr.c: New file.
1752 * sysdeps/sparc/sparc32/strcpy.S: New file.
1753 * sysdeps/sparc/sparc32/strlen.S: New file.
1754 * sysdeps/sparc/sparc32/strcat.S: New file.
1755 * sysdeps/sparc/sparc32/strcmp.S: New file.
1757 * sysdeps/sparc/sparc64/bcopy.c: New file.
1758 * sysdeps/sparc/sparc64/bzero.c: New file.
1759 * sysdeps/sparc/sparc64/memchr.S: New file.
1760 * sysdeps/sparc/sparc64/memcmp.S: New file.
1761 * sysdeps/sparc/sparc64/memcpy.S: New file.
1762 * sysdeps/sparc/sparc64/memset.S: New file.
1763 * sysdeps/sparc/sparc64/stpcpy.S: New file.
1764 * sysdeps/sparc/sparc64/strcat.S: New file.
1765 * sysdeps/sparc/sparc64/strchr.S: New file.
1766 * sysdeps/sparc/sparc64/strcmp.S: New file.
1767 * sysdeps/sparc/sparc64/strcpy.S: New file.
1768 * sysdeps/sparc/sparc64/strcspn.S: New file.
1769 * sysdeps/sparc/sparc64/strlen.S: New file.
1770 * sysdeps/sparc/sparc64/strncpy.S: New file.
1771 * sysdeps/sparc/sparc64/strpbrk.S: New file.
1772 * sysdeps/sparc/sparc64/strrchr.c: New file.
1773 * sysdeps/sparc/sparc64/strspn.S: New file.
1774 * sysdeps/sparc/sparc64/stpncpy.S: New file.
1775 * sysdeps/sparc/sparc64/strncmp.S: New file.
1777 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
1778 Append -fPIC, don't replace.
1780 * configure.in: Recognize sparcv8plus / sparcv9.
1782 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1784 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
1785 char * to avoid C++ warning.
1786 Patch by yasushi@cs.washington.edu [PR libc/1035].
1788 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1790 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
1791 declared in stdlib.h, correct return value of mkstemp.
1792 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
1794 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
1797 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1799 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
1802 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
1803 inline functions. Closes PR libc/1049.
1805 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1807 * timezone/README: Update from tzdata1999c and tzcode1999c.
1809 * timezone/africa: Update from tzdata1999c.
1810 * timezone/antarctica: Likewise.
1811 * timezone/asia: Likewise.
1812 * timezone/australasia: Likewise.
1813 * timezone/europe: Likewise.
1814 * timezone/northamerica: Likewise.
1815 * timezone/southamerica: Likewise.
1816 * timezone/zone.tab: Likewise.
1818 * timezone/zic.c: Update from tzcode1999c.
1820 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1822 * Makerules: Add $(common-objpfx)Versions.all to common-generated
1823 outside of ifndef avoid-generated.
1825 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
1827 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
1829 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
1831 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
1832 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
1834 1999-03-26 Mark Kettenis <kettenis@gnu.org>
1836 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
1837 if we build the profiled library.
1839 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1841 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
1842 Jaeger <aj@arthur.rhein-neckar.de>
1844 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
1846 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
1847 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
1848 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
1850 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
1852 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
1853 works properly in subdirs.
1855 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
1857 * sysdeps/mach/hurd/Makefile: Undo last change.
1858 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
1859 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
1861 * mach/Machrules (+preinit, +postinit, +interp,
1862 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
1863 linked just like other shared libraries.
1864 (interface.so): Fix typo in defn, so it works.
1865 ($(objpfx)$(interface.so)): Make it depend on libc.so.
1867 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
1869 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
1870 $(link-rpcuserlibs).
1872 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1874 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
1875 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
1876 targets if not building shared libraries.
1878 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1880 * configure.in: Also look in $PATH when searching for
1881 install-info. Remove autoconf bug workaround and require autoconf
1884 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1886 * db/Makefile: Don't try to install shared library link if not
1887 building with shared libs.
1889 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1891 * rt/Makefile: Link against static library if no shared lib is
1894 * localedata/Makefile: The shells scripts implementing the test
1895 require the dynamic linker which is not available with
1896 --disable-shared. Skip the test if --disable-shared is given.
1898 * linuxthreads/Makefile: Link test against static libpthread if no
1899 shared lib is available.
1901 * iconvdata/Makefile (tests): Run iconv-test only if we're
1902 building shared libraries.
1903 * elf/Makefile (tests): Likewise for elf tests.
1905 * posix/Makefile: The test frameworks globtest and wordexp-test
1906 require the dynamic linker which is not available with
1907 --disable-shared. Skip the test if --disable-shared is given.
1909 * grp/Makefile (otherlibs): For static nss build link against
1912 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1914 * debug/Makefile (install-bin): Install and build catchsegv only
1915 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
1918 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1920 * time/tzfile.c (__tzfile_read): Handle the case where there are
1921 transitions but no DST.
1923 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
1925 * mach/Machrules (extra-libs-others): Add $(interface-library) here
1926 too, so it gets built in the others pass rather than the lib pass.
1927 This is necessary since the RPC libraries need to be linked against
1930 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
1932 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
1935 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
1936 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
1937 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
1938 versions of lib{mach,hurd}user.so without reference to libc.so,
1939 then link libc.so against that to get deps and symbol versions, then
1940 finally link real lib*user.so against libc.so.
1942 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
1943 Support whole-file locking (only) by using the file_lock RPC. This
1944 has very wrong semantics, but is better than nothing for the time
1945 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
1946 protocols that will be somewhat hairy to specify.)
1948 1999-03-17 Mark Kettenis <kettenis@gnu.org>
1950 * sysdeps/mach/hurd/ptsname.c: New file.
1952 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1954 * timezone/asia: Fix rule in Asia/Nicosia entry.
1956 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1958 * manual/getopt.texi (Using Getopt): Explain "::" in option
1959 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
1961 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
1963 * sunrpc/clnt_unix.c: Fix creation of parameters for
1964 sendmsg/recvmsg on non intel platforms.
1965 * sunrpc/svc_unix.c: Likewise.
1967 1999-03-18 Philip Blundell <philb@gnu.org>
1969 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
1972 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1974 * timezone/africa: Update from tzdata1999b.
1975 * timezone/asia: Likewise.
1976 * timezone/australasia: Likewise.
1977 * timezone/europe: Likewise.
1978 * timezone/northamerica: Likewise.
1979 * timezone/southamerica: Likewise.
1980 * timezone/zone.tab: Likewise.
1982 * timezone/README: Mention tzdata1999b.
1984 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
1986 * sysdeps/generic/segfault.c (write_strsignal): New function.
1987 (catch_segfault): Use it instead of calling strsignal.
1989 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1991 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
1992 char to avoid warning.
1994 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1996 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
1998 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
1999 outbuf to unsigned char to avoid warning.
2001 1999-03-11 David S. Miller <davem@redhat.com>
2003 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
2005 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
2007 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2009 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
2011 (gconv_step_data): Likewise.
2012 * iconv/gconv_int.h (__gconv): Likewise.
2013 (__BUILINT_TRANS): Likewise.
2014 * iconv/gconv.c (__gconv): Likewise.
2015 * iconv/iconv.c (iconv): Add casts for call of __gconv.
2016 * iconv/skeleton.c: Change local parameters and variable from `char' to
2017 `unsigned char'. Remove casts from calls into modules.
2018 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
2019 `char' to `unsigned char'.
2020 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
2021 * wcsmbs/mbrtowc.c: Likewise.
2022 * wcsmbs/mbsnrtowcs.c: Likewise.
2023 * wcsmbs/mbsrtowcs.c: Likewise.
2024 * wcsmbs/wcrtomb.c: Likewise.
2025 * wcsmbs/wcsnrtombs.c: Likewise.
2026 * wcsmbs/wcsrtombs.c: Likewise.
2027 * wcsmbs/wctob.c: Likewise.
2029 1999-03-15 Mark Kettenis <kettenis@gnu.org>
2031 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
2032 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
2033 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
2034 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
2035 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
2036 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
2038 1999-03-15 Mark Kettenis <kettenis@gnu.org>
2040 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
2041 _hurd_select if TIMEMOUT is -1.
2043 1999-03-15 Mark Kettenis <kettenis@gnu.org>
2045 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
2047 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2049 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
2050 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
2052 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2054 * manual/libc.texinfo: Undo last change for now.
2056 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2058 * intl/locale.alias: Add entries for Croatian.
2059 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
2061 1999-03-13 Mark Kettenis <kettenis@gnu.org>
2063 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
2064 if the opened master pty really is a pty. `isatty' checks for
2065 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
2066 if we are out of pty's.
2068 1999-03-13 Mark Kettenis <kettenis@gnu.org>
2070 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
2071 opened file is closed on exec.
2072 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
2075 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2077 * manual/llio.texi (File Position Primitive): Reformat @end
2078 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
2080 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
2082 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
2084 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2085 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
2087 * locale/programs/localedef.c (main): Initialize `cat' to please
2090 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
2092 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
2093 check for root-owned symlinks and reject them too.
2095 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2097 * stdio-common/printf_fphex.c: Move to ...
2098 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
2099 extended precision number.
2100 * sysdeps/m68k/printf_fphex.c: New file.
2102 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2104 * manual/stdio.texi: Fix typos.
2106 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
2108 * version.h (VERSION): Bump to 2.1.1.
2110 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
2112 * nis/ypclnt.c: Try only twice to connect to NIS server.
2114 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
2116 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
2118 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2120 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
2121 (DENORM_EXP): New define. Use it as the exponent for a denormal.
2122 * stdlib/strtold.c: Moved to ...
2123 * sysdeps/generic/strtold.c: ... here.
2124 * sysdeps/m68k/strtold.c: New file.
2126 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2128 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
2129 point if the precision is zero, even if the mantissa is non-zero.
2131 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
2133 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
2134 arguments into the request message buffer inside `send_rpc'
2135 subfunction. We must repeat the marshalling when retrying the RPC
2136 after a SIGTTOU delivery.
2138 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
2139 path when there is no ctty port.
2140 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2141 Move sigstate check inside loop so we recheck after handling a signal.
2143 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2145 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
2146 O_EXLOCK are BSD extensions.
2147 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
2149 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
2151 * manual/signal.texi (Termination in Handler): Correct example.
2152 Install default handler before reraising the signal.
2153 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
2155 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
2157 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
2158 null, in which case send an empty string.
2160 1999-03-02 Mark Kettenis <kettenis@gnu.org>
2162 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
2163 backward compatibility EH functions to be linked when using
2164 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
2166 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2168 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
2169 /dev/pts status may change during runtime.
2171 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2173 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
2174 change. /dev/pts status can change during runtime.
2176 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
2178 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
2180 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
2181 add some more sanity checks.
2182 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
2185 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
2187 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
2188 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
2189 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
2190 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
2191 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
2193 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
2194 * nis/nis_print.c: Fix ctime argument for platforms where
2195 sizeof (time_t) != sizeof (int).
2197 1999-03-07 Mark Kettenis <kettenis@gnu.org>
2199 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
2200 CLOCKS_PER_SEC instead of CLK_TCK.
2202 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
2204 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
2205 whether /dev/pts is available.
2206 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
2209 * posix/globtest.sh: Make common_objpfx path absolute and and db2
2210 and hesiod directory to library path [PR libc/1007].
2212 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2214 * resolv/inet_addr.c (inet_aton): Don't allow componets >
2215 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
2217 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
2219 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
2220 DT_PLTGOT has already been relocated.
2221 (__elf_machine_fixup_plt): Likewise.
2224 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
2226 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
2228 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
2230 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
2231 and fold string to uppercase [PR libc/1005].
2233 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2235 * elf/dl-load.c (lose): Fix return type.
2237 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
2239 * sysdeps/mach/hurd/bits/fcntl.h
2240 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
2241 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
2242 set O_NOTRANS as well.
2243 (__hurd_file_name_lookup_retry): At successful end of lookup,
2244 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
2245 it is a translated node not owned by root.
2246 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
2247 on the file name passed to LOOKUP.
2249 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
2251 * manual/time.texi (High Resolution Timer): Correct computation in
2252 example. Reported by jjf@devel.cemsys.com.
2254 1999-03-02 Philip Blundell <pb@nexus.co.uk>
2256 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
2257 entry is already relocated.
2259 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2261 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
2262 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
2264 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2266 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
2267 uc_link which is the right name according to Unix98.
2268 Reported by Craig Metz [PR libc/1001].
2269 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
2270 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
2271 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
2272 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
2273 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
2274 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
2276 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2278 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
2281 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2283 * iconvdata/Makefile: Always include iconv-rules, but disable rule
2284 to regenerate it if avoid-generated.
2286 * Makeconfig: Always include sys-dirs, but disable rule to
2287 regenerate it when avoid-generated.
2289 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
2290 rule to generate sysd-syscalls.
2292 * elf/Makefile (generated): Remove $(objpfx) from names.
2294 1999-02-28 Mark Kettenis <kettenis@gnu.org>
2296 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
2297 actual length if the adress length is smaller than the input
2298 value. Change type of *LEN paramater to socklen_t.
2299 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
2300 * sysdeps/mach/hurd/accept.c (accept): Likewise.
2301 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
2302 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
2303 paramater to socklen_t.
2305 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
2307 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
2308 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
2311 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
2313 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
2314 __get_phys_pages): Cast &HBI to silence warning.
2316 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
2317 * hurd/hurdchdir.c: New file.
2318 * hurd/hurdfchdir.c: New file.
2319 * sysdeps/mach/hurd/chroot.c: Call
2320 _hurd_change_directory_port_from_name to do the work.
2321 * sysdeps/mach/hurd/chdir.c: Likewise.
2322 * sysdeps/mach/hurd/fchdir.c: Call
2323 _hurd_change_directory_port_from_fd to do the work.
2324 * hurd/fchroot.c: Likewise.
2325 * hurd/hurd.h: Declare them.
2327 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
2329 * elf/dl-load.c (lose): Add more comments to explain the `why'.
2330 (_dl_map_object): Remove redundant test.
2332 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
2334 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
2335 try to _hurd_port_free a lower-numbered descriptor that was not in any
2338 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2340 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
2341 declaration for ____wcstod_l_internal.
2343 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
2344 __strtod_internal prototype.
2345 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
2346 (____strtold_l_internal): Add prototype declaration.
2347 (__strtold_l): Call correct function.
2349 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
2351 * elf/elf.h: Add 32bit HPPA definitions.
2353 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2355 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
2356 non-checked heap is restored when malloc checking was requested by
2358 (struct malloc_state): Add using_malloc_checking.
2359 (MALLOC_STATE_VERSION): Increment minor.
2360 (using_malloc_checking, disallow_malloc_check): New variables.
2361 (__malloc_check_init): Use them.
2362 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
2363 that it can the chunk is properly instrumented when malloc
2364 checking is enabled. Set the new using_malloc_checking field.
2365 (malloc_hook_ini): Correct signature when _LIBC is not defined.
2367 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2369 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
2370 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
2373 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
2374 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
2375 if ld.so is the main program.
2377 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
2379 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
2380 large for work_buffer, allocate new buffer.
2381 (printf_unknown): Likewise. [PR libc/988]
2383 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
2385 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
2386 instead of stat and fstat.
2387 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2389 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2391 * elf/dl-error.c (_dl_signal_cerror): New function.
2392 (_dl_signal_error): Don't call receiver function.
2393 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
2394 instead of _dl_signal_error when reporting references to undefined
2395 symbols or versions.
2396 (_dl_lookup_versioned_symbol): Likewise.
2397 (_dl_lookup_versioned_symbol_skip): Likewise.
2398 * elf/dl-version.c (match_symbol): Likewise.
2400 * elf/ldsodefs.h: Declare _dl_signal_cerror.
2402 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
2404 * misc/getttyent.c (getttyent): Release lock on stream later to
2405 also protect global variable zapchar.
2407 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
2408 __times [PR libc/990].
2410 1999-02-21 David S. Miller <davem@redhat.com>
2412 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
2413 parentheses in Feb 2 changes.
2414 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2416 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2418 * sysdeps/generic/glob.c (glob): Save previous errno.
2420 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
2422 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
2423 lookup functions if it is too small.
2425 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
2427 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
2428 for tracing to the scope lists.
2429 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
2430 DT_SYMTAB is always available according to ELF spec.
2432 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
2433 call test whether there is any scope left.
2434 (_dl_lookup_versioned_symbol_skip): Likewise.
2436 * elf/Makefile (distribute): Add do-lookup.h.
2437 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
2438 * elf/dl-lookup.c: Move do_lookup function in separate file and
2439 include the file twice, for handling versioning and without it.
2441 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
2442 entry is already relocated.
2443 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
2444 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
2445 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
2446 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
2448 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
2450 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
2453 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
2454 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
2455 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
2456 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
2457 rel and rela relocations can both happen and skip one test if this
2459 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
2461 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
2463 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
2465 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
2466 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
2467 (_dl_map_object): DT_STRTAB entry is already relocated.
2468 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
2470 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
2472 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
2473 DT_VERSYM entries are already relocated.
2474 (profile_fixup): Likewise.
2475 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
2477 (match_symbol): DT_STRTAB entry is already relocated.
2478 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
2479 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
2480 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
2481 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
2482 (find_needed): DT_STRTAB entry is already relocated.
2483 (dl_main): Pass extra argument to elf_get_dynamic_info.
2484 DT_STRTAB entry is already relocated.
2485 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
2486 DT_PLTGOT entries are already relocated.
2487 (elf_machine_rela): Likewise for DT_SYMTAB.
2488 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
2490 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2491 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
2492 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2493 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2494 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
2495 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
2496 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
2497 * sysdeps/mips/mips64/dl-machine.h: Likewise.
2499 * grp/initgroups.c (initgroups): If function in current module was
2500 successful don't stop but continue to process to get all the groups.
2502 * elf/dl-load.c (_dl_map_object_from_fd): Use global
2503 _dl_pf_to_proot array to convert p_flags value.
2504 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2506 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
2507 loop to clear `info'.
2509 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
2510 do the work and don't use inline assembler.
2512 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
2514 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
2515 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
2516 noreturn, and prevent it from being inlined.
2517 Define LOSE appropriately.
2518 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
2519 Optimize decoding of p_flags for certain platforms.
2521 1999-02-19 Philip Blundell <pb@nexus.co.uk>
2523 * Makeconfig (link-libc): When doing a static link, make sure that
2524 libgcc.a is included both before and after libc.a.
2526 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
2528 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
2529 sp_warn, sp_inact, sp_expire and sp_flag.
2531 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
2533 * elf/link.h (link_map): Add l_dev and l_ino.
2534 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
2535 loaded shared object with all loaded objects. Initialize l_ino
2536 and l_dev in case it's new.
2537 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
2539 * elf/Makefile: Compile and run new test.
2540 * elf/multiload.c: New file.
2542 * nss/nsswitch.h (service_user): Change name field from const char *
2544 (name_database_entry): Likewise.
2545 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
2546 for change of `service_user'.
2547 (nss_getline): Adjust memory allocation for change of
2548 `name_database_entry'.
2550 * catgets/catgets.c: Correctly handle NLSPATH from environment
2553 * io/Makefile (routines): Add lock64.
2554 * io/Versions: Add lockf64 for GLIBC_2.1.1.
2555 * sysdeps/generic/lockf64.c: New file.
2557 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2559 * string/bits/string2.h: Only use strncmp optimization if count
2560 argument is constant.
2562 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
2564 * sysdeps/mach/hurd/revoke.c: New file.
2566 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2568 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
2569 int to avoid warning about `ISO C restricts enumerator values to
2572 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2574 * elf/dlfcn.h: Fix typo.
2575 * sysdeps/generic/bits/dlfcn.h: Likewise.
2576 * sysdeps/mips/bits/dlfcn.h: Likewise.
2578 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2580 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
2581 for the case N == 0.
2583 * db2/Makefile (distribute): Add LICENSE.
2585 1999-02-03 Jeff Bailey <jbailey@nisa.net>
2587 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
2590 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
2592 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2594 * time/mktime.c: Use ISO C form for function definitions and
2595 remove unnecessary prototypes.
2597 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
2599 * time/time.h: Avoid unneccesary #ifdef.
2601 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
2603 * stdio-common/_itoa.c (_itoa): Correct parameters to
2606 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2608 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
2609 before (e.g. in glob.h).
2612 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2614 * sysdeps/mips/fpu_control.h: Fix typo.
2615 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
2618 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
2620 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
2621 the "unused" ends of the sockets. Let pipes be bidirectional.
2623 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
2625 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
2628 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2630 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
2631 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
2633 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
2634 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
2636 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
2638 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
2640 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2642 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
2643 check for priority mask.
2645 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
2647 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
2648 Reported by Craig Metz <cmetz@inner.net> .
2650 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2652 * stdio-common/Makefile (tests): tllformat added.
2654 * stdio-common/tllformat.c: New program, based on tiformat.c with
2655 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2657 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2659 * posix/test-vfork.c: Fix exit status test.
2661 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2663 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
2664 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
2666 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2668 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
2669 of separare explicit comparisons.
2671 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2673 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
2676 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
2679 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
2681 * po/el.po: Update from translation team.
2683 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2685 * intl/locale.alias: Fix slovenian entry [PR libc/948].
2687 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2689 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
2690 * inet/ruserpass.c: Likewise.
2691 * locale/programs/stringtrans.c: Likewise.
2692 * locale/programs/localedef.c: Likewise.
2693 * nscd/grpcache.c: Likewise.
2694 * nss/nss_files/files-XXX.c: Likewise.
2695 * stdlib/canonicalize.c: Likewise.
2696 * sysdeps/posix/sigwait.c: Likewise.
2698 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2700 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
2701 even on 64 bit platforms.
2703 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
2704 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
2706 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
2708 * intl/dcgettext.c: Include locale.h is available.
2710 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
2712 * po/nl.po: Update from translation team.
2714 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
2716 * Makefile: Allow calling goals for po subdir.
2718 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
2721 * po/el.po: New file.
2723 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2725 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
2726 when processing DT_SYMBOLIC objects.
2728 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2730 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
2731 program headers without PT_PHDR only require that they are
2732 contained within one of the loaded segments. Don't use assert,
2733 since that would be a bug in the object, not the dynamic linker.
2735 1999-02-08 Richard Henderson <rth@cygnus.com>
2737 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
2738 restore all call-clobbered fp regs.
2740 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
2742 * po/cs.po: New file.
2744 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
2747 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
2749 * signal/signal.h: Don't declare __libc_allocate_rtsig.
2750 * include/signal.h: Declare __libc_allocate_rtsig here.
2752 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
2753 point functions, not do_lookup since the later can be called more
2756 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
2758 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
2759 macro, so that architectures which need to add some special
2760 offset to stack pointer can share this file.
2762 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
2763 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
2764 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
2765 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
2767 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
2768 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
2769 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
2770 between sparc32 and sparc64.
2772 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
2773 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
2774 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
2775 between sparc32 and sparc64.
2777 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
2778 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
2779 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
2780 between sparc32 and sparc64.
2782 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
2783 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
2784 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
2785 between sparc32 and sparc64.
2787 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
2789 * Versions.def: New version GLIBC_2.1.1 for libc.
2790 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
2791 * stdlib/labs.c: Moved to...
2792 * sysdeps/generic/labs.c: ...here.
2793 * stdlib/llabs.c: Moved to...
2794 * sysdeps/generic/llabs.c: ...here.
2795 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
2796 header. Declare _Exit.
2797 * sysdeps/generic/_exit.c: Add alias _Exit.
2798 * sysdeps/mach/hurd/_exit.c: Likewise.
2799 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
2800 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
2801 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
2802 * sysdeps/unix/_exit.c: Likewise.
2803 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
2804 imaxdiv and imaxabs. Declare lldiv_t if necessary.
2805 * sysdeps/wordsize-64/inttypes.h: Likewise.
2806 * sysdeps/wordsize-32/llabs.c: New file.
2807 * sysdeps/wordsize-32/lldiv.c: New file.
2808 * sysdeps/wordsize-64/labs.c: New file.
2809 * sysdeps/wordsize-64/ldiv.c: New file.
2810 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
2811 * manual/startup.texi: Document _Exit.
2813 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2815 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
2817 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
2819 * Versions.def: Add versions for ld.so.
2820 * csu/Versions: Remove __libc_stack_end here.
2821 * elf/Versions: Split libc definitions in libc and ld.so definitions.
2822 * elf/Makefile (ld-map): Change to ld.so.map.
2823 * scripts/versions.awk: Recognize dot in library names.
2825 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
2826 Don't use __tolower and __toupper in inline functions.
2827 Add optimizing macros for tolower and toupper.
2828 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
2829 (_toupper): Don't use __toupper.
2830 * ctype/ctype.c (tolower): Don't use __tolower.
2831 (toupper): Don't use toupper.
2833 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
2835 * resolv/Versions (libresolv): Export __ns_name_unpack and
2837 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
2838 make it global. Change all users. Similar for ns_name_ntop.
2839 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
2840 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
2841 directly to detect too small buffer.
2842 * resolv/nss_dns/dns-network.c: Likewise.
2844 * stdio-common/Makefile (tests): Add scanf12.
2845 * stdio-common/scanf12.c: New file.
2846 * stdio-common/scanf12.input: New file.
2847 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
2848 floating-point correctly if the number is invalid.
2850 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
2852 * stdio-common/printf_fp.c: Likewise.
2853 * stdio-common/printf_fphex.c: Likewise.
2854 * stdio-common/vfprintf.c: Likewise.
2857 See ChangeLog.9 for earlier changes.