1 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
4 another SIOGIFNAME typo.
6 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
8 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
10 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
13 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
15 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
16 the precision if the mantissa is zero.
18 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
20 * manual/lang.texi (Floating Point Parameters): GCC already
21 supports long double for a long time.
23 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
25 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
26 yn_test): Increase some epsilons.
28 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
30 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
33 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
35 * sysdeps/unix/sysv/linux/kernel-features.h: Define
36 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
37 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
38 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
40 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
41 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
42 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
43 * sysdeps/libm-ieee754/w_j1.c: Likewise.
44 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
45 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
46 * sysdeps/libm-ieee754/w_jn.c: Likewise.
47 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
48 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
50 * stdio-common/vfprintf.c: Correct typos.
52 * math/libm-test.c (jn_test): Adjust delta.
56 * elf/do-lookup.h: It should never happen that if we expect a versioned
57 symbol from a file the file has no version table. This should have
58 been checked in dl-version.c.
59 * elf/dl-lookup.c: Include assert.h.
61 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
64 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
66 1999-06-06 Andi Kleen <ak@muc.de>
68 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
71 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
73 * math/libm-test.c (yn_test): Change one delta.
78 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
80 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
81 avoid multiple calls to getpagesize() which might be a syscall.
83 1999-06-06 Philip Blundell <philb@gnu.org>
85 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
87 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
89 * manual/install.texi (Running make install): Correct typo in
90 dynamic linker invocation.
92 1999-06-05 Philip Blundell <philb@gnu.org>
94 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
95 problems with GOT addressing.
97 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
99 * malloc/malloc.c (check_action): Change into bitmap so that both
100 diagnostic and abort can be requested by setting it to 3.
101 (mALLOC_SET_STATe): Disable malloc checking if necessary.
103 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
105 * configure.in: Few changes for HPUX.
107 * scripts/config.guess: Update from latest version.
108 * scripts/config.sub: Likewise.
110 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
112 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
113 map files. Closes PR libc/1147.
115 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
117 * math/libm-test.c (main): Add new test functions.
118 (jn_test): New tests.
119 (j1_test): Add some more tests.
120 (j0_test): Add some more tests.
121 (y0_test): Add some more tests.
122 (y1_test): Add some more tests.
124 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
126 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
127 Patch by mhagger@dera.gov.uk [PR libc/1145].
129 * math/libm-test.c (y1_test): New tests.
133 (main): Added new tests.
135 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
137 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
138 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
139 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
140 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
141 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
142 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
144 1999-06-02 David S. Miller <davem@redhat.com>
146 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
149 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
151 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
152 and elide compatibility code if possible.
154 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
156 * manual/llio.texi: Remove menu entry for removed section.
158 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
160 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
163 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
165 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
168 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
170 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
172 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
174 * manual/stdio.texi: Fix some typos.
176 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
178 * malloc/malloc.h: Properly handle future GCC versions.
180 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
182 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
183 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
184 text of error message.
186 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
188 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
190 * manual/filesys.texi: Extend (f)truncate documentation.
191 * manual/llio.texi: Remove duplicate (f)truncate definition.
193 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
195 * manual/stdio.texi (Formatted Output Functions): Mention
196 semantics of snprintf in glibc 2.0.
197 Reported by Ben Pfaff <pfaffben@msu.edu>.
199 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
201 * include/features.h (__GLIBC_MINOR__): Bump to 2.
203 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
205 * math/libm-test.c: Adjust a few more deltas for the poor ARM
208 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
210 * configure.in: Fix typo.
212 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
214 * manual/socket.texi (Host Names): Remove statement that h_errno
215 needs to be declared since this isn't true anymore.
218 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
220 * config.h.in: Add __LINUX_KERNEL_VERSION.
221 * configure.in: Recognize --enable-kernel.
222 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
223 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
225 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
226 given perform runtime test.
228 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
229 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
230 minimal supported kernel is known to have the feature.
231 * sysdeps/unix/sysv/linux/poll.c: Likewise.
232 * sysdeps/unix/sysv/linux/pread.c: Likewise.
233 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
234 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
235 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
236 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
237 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
238 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
239 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
240 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
241 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
242 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
243 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
244 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
245 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
247 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
249 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
251 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
253 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
255 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
256 Optimized sparc64 routines.
258 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
260 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
261 they are the same as ints.
262 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
264 * version.h (VERSION): Bump to 2.1.90.
265 (RELEASE): Mark as development.
267 * stdio-common/vfprintf.c (vfprintf): Don't implement special
268 handling for long long if it is the same as long.
269 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
271 * stdlib/strtol.c: Moved to ...
272 * sysdeps/generic/strtol.c: ...here.
273 * stdlib/strtoul.c: Moved to ...
274 * sysdeps/generic/strtoul.c: ...here.
275 * stdlib/strtoll.c: Moved to ...
276 * sysdeps/generic/strtoll.c: ...here.
277 * stdlib/strtoull.c: Moved to ...
278 * sysdeps/generic/strtoull.c: ...here.
279 * stdlib/strtol_l.c: Moved to ...
280 * sysdeps/generic/strtol_l.c: ...here.
281 * stdlib/strtoul_l.c: Moved to ...
282 * sysdeps/generic/strtoul_l.c: ...here.
283 * stdlib/strtoll_l.c: Moved to ...
284 * sysdeps/generic/strtoll_l.c: ...here.
285 * stdlib/strtoull_l.c: Moved to ...
286 * sysdeps/generic/strtoull_l.c: ...here.
288 * sysdeps/wordsize-64/strtol.c: New file.
289 * sysdeps/wordsize-64/strtoul.c: New file.
290 * sysdeps/wordsize-64/strtoll.c: New file.
291 * sysdeps/wordsize-64/strtoull.c: New file.
292 * sysdeps/wordsize-64/strtol_l.c: New file.
293 * sysdeps/wordsize-64/strtoul_l.c: New file.
294 * sysdeps/wordsize-64/strtoll_l.c: New file.
295 * sysdeps/wordsize-64/strtoull_l.c: New file.
297 * wcsmbs/wcstol.c: Moved to ...
298 * sysdeps/generic/wcstol.c: ...here.
299 * wcsmbs/wcstoul.c: Moved to ...
300 * sysdeps/generic/wcstoul.c: ...here.
301 * wcsmbs/wcstoll.c: Moved to ...
302 * sysdeps/generic/wcstoll.c: ...here.
303 * wcsmbs/wcstoull.c: Moved to ...
304 * sysdeps/generic/wcstoull.c: ...here.
305 * wcsmbs/wcstol_l.c: Moved to ...
306 * sysdeps/generic/wcstol_l.c: ...here.
307 * wcsmbs/wcstoul_l.c: Moved to ...
308 * sysdeps/generic/wcstoul_l.c: ...here.
309 * wcsmbs/wcstoll_l.c: Moved to ...
310 * sysdeps/generic/wcstoll_l.c: ...here.
311 * wcsmbs/wcstoull_l.c: Moved to ...
312 * sysdeps/generic/wcstoull_l.c: ...here.
314 * sysdeps/wordsize-64/wcstol.c: New file.
315 * sysdeps/wordsize-64/wcstoul.c: New file.
316 * sysdeps/wordsize-64/wcstoll.c: New file.
317 * sysdeps/wordsize-64/wcstoull.c: New file.
318 * sysdeps/wordsize-64/wcstol_l.c: New file.
319 * sysdeps/wordsize-64/wcstoul_l.c: New file.
320 * sysdeps/wordsize-64/wcstoll_l.c: New file.
321 * sysdeps/wordsize-64/wcstoull_l.c: New file.
323 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
325 * sysdeps/sparc/bits/wordsize.h: New file.
326 * sysdeps/sparc/fpu/bits/fenv.h: New file.
327 * sysdeps/sparc/fpu/fpu_control.h: New file.
328 * sysdeps/sparc/gmp-mparam.h: New file.
330 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
331 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
332 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
333 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
334 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
335 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
337 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
338 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
339 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
340 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
342 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
343 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
344 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
345 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
346 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
348 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
350 * login/openpty.c (openpty): Make sure pty does not because
353 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
355 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
357 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
358 Do proper error return.
360 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
362 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
363 of __P in the rest of glibc; define __MALLOC_PMT and use it.
364 Reported by Stephan Kulow <coolo@kde.org>.
366 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
368 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
370 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
372 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
374 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
375 names to protect from user's macro namespace.
376 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
377 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
378 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
379 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
380 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
382 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
383 sysdeps/arm/fpu/fesetenv.c: Likewise.
384 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
385 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
386 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
387 * sysdeps/mips/fesetenv.c: Likewise.
389 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
391 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
393 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
395 * configure.in: Recognize and allow gcc 2.95.
397 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
399 * sysdeps/generic/bits/elfclass.h: Version common to
400 wordsize-32 and wordsize-64.
401 * sysdeps/generic/bits/environments.h: Ditto.
402 * sysdeps/generic/stdint.h: Ditto.
403 * sysdeps/generic/inttypes.h: Ditto.
405 * sysdeps/generic/bits/wordsize.h: New file.
406 * stdlib/Makefile: Add bits/wordsize.h to headers.
408 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
410 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
411 headers to be used for 32bit and 64bit ABI compilations.
412 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
413 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
414 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
415 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
416 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
418 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
419 * sysdeps/wordsize-64/bits/environments.h: Remove.
420 * sysdeps/wordsize-64/stdint.h: Remove.
421 * sysdeps/wordsize-64/inttypes.h: Remove.
422 * sysdeps/wordsize-64/bits/wordsize.h: New file.
424 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
425 * sysdeps/wordsize-32/bits/environments.h: Remove.
426 * sysdeps/wordsize-32/stdint.h: Remove.
427 * sysdeps/wordsize-32/inttypes.h: Remove.
428 * sysdeps/wordsize-32/bits/wordsize.h: New file.
430 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
432 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
433 __align_cpy_16): New functions.
434 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
436 * sysdeps/sparc/sparc32/Versions: New file.
437 * sysdeps/sparc/sparc64/Versions: New file.
438 * sysdeps/sparc/Versions: Remove.
440 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
442 * sysdeps/unix/sysv/linux/configure.in:
443 On sparc64-*-linux*, set slibdir to /lib64 if prefix
444 is /usr, plus set libdir to ${exec_prefix}/lib64.
445 * sysdeps/unix/sysv/linux/configure: Regenerated.
446 * config.make.in: Propagate libdir settings from configure
448 * shlib-versions: sparc64-*-linux* dynamic linker is
449 /lib64/ld-linux.so.2.
451 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
453 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
456 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
458 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
459 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
461 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
462 contains garbage in bits 8-63.
463 * sysdeps/sparc/sparc64/memset.S: Ditto.
464 * sysdeps/sparc/sparc64/strchr.S: Ditto.
466 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
468 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
470 1999-05-17 David S. Miller <davem@redhat.com>
472 * sysdeps/sparc/sparc32/atomicity.h: New file.
473 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
474 * sysdeps/sparc/sparc64/atomicity.h: New file.
475 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
478 1999-05-18 Richard Henderson <rth@twiddle.net>
480 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
482 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
484 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
485 posix/sys/types.h: Handle the case of __GNUC__=3,
486 __GNUC_MINOR__=(anything).
488 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
490 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
493 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
495 * elf/Makefile (distribute): Remove dl-origin.h.
496 Add dl-dst.h and gen-trusted-dirs.awk.
498 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
500 * sysdeps/i386/i486/Versions: New file with inline functions from
501 sysdeps/i386/i486/bits/string.h for now.
503 * sysdeps/i386/Versions: Add inline functions from
504 sysdeps/i386/bits/string.h.
506 * string/Versions: Add inline functions from <bits/string2.h>.
508 * string/Makefile (routines): Add string-inlines.
509 * string/string-inlines.c: New file, used for implementation of
510 extern inline functions.
512 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
513 non inlined versions of functions.
514 * string/bits/string2.h: Likewise.
515 * sysdeps/i386/bits/string.h: Likewise.
517 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
519 * inet/arpa/tftp.h: Add second packed attribute.
521 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
523 * malloc/malloc.c: Cleanup to bring in line with released
524 stand-alone version `ptmalloc'. Update some comments.
525 (internal_function): Move fallback definition so that the source
526 compiles outside of libc, and use it in more places.
527 (malloc_atfork): Fix when malloc_check is in use.
529 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
531 * stdlib/tst-strtod.c: Fix typo.
533 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
535 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
538 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
540 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
542 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
544 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
545 * sunrpc/key_call.c: Fix memory leak, close file handle.
546 * nis/nis_creategroup.c: Use malloc instead of calloc,
548 * nis/nis_subr.c: Check for realloc result.
549 * nis/nis_file.c: Fix memory leak.
550 * nis/nis_table.c: Pretty print.
551 * nis/nis_getservlist.c: Likewise.
552 * nis/nis_ismember.c: Likewise.
553 * nis/nis_lookup.c: Likewise.
554 * nis/nis_ping.c: Likewise.
555 * nis/nis_removemember.c: Likewise.
556 * nis/nis_util.c: Likewise, check calloc result.
558 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
560 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
561 * sysdeps/generic/sys/socketvar.h: ... here.
562 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
563 * sysdeps/generic/netinet/in_systm.h: ... here.
564 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
567 * inet/Makefile (headers): Add netinet/in_systm.h here.
568 * socket/Makefile (headers): Add sys/socketvar.h here.
570 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
572 * stdlib/strtol.c: Optimize inner loop of long long versions.
574 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
575 Unix98. Add forward declaration of struct utmp.
577 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
579 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
582 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
583 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
584 memory allocation results.
586 1999-05-14 Mark Kettenis <kettenis@gnu.org>
588 * sysdeps/generic/getutmp.c: Include <string.h>
589 (getutmp): Rewrite to only copy those members that are really
590 present in `struct utmp'.
591 * sysdeps/generic/getutmpx.c: Likewise.
593 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
595 * nss/getXXbyYY.c: Add free_mem function which disposes all
596 statically allocated memory when debugging.
597 * nss/getXXent.c: Likewise.
598 * nss/nsswitch.c: Likewise.
600 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
602 * sysdeps/gnu/getutmpx.c: New file.
603 * sysdeps/gnu/getutmp.c: New file.
605 1999-05-13 H.J. Lu <hjl@gnu.org>
607 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
610 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
613 * sysdeps/gnu/utmpx.h (getutmp): Added.
614 (getutmpx): Likewise.
616 * sysdeps/generic/getutmp.c: New file.
618 * sysdeps/generic/getutmpx.c: New file.
620 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
622 * glibcbug.in (BUGGLIBC): Change address to
623 libc-alpha@sourceware.cygnus.com.
625 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
627 * resolv/arpa/nameser.h: Add C++ protectors.
629 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
631 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
632 Elad Tsur <eladts@post.tau.ac.il>.
634 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
636 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
637 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
638 lazily if LD_BIND_NOW is not set.
639 * elf/dl-support.c (_dl_lazy): New variable.
640 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
641 * elf/rtld.c (_dl_lazy): new global variable.
642 ( dl_main): Remove lazy, replace it by _dl_lazy.
644 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
646 * locale/setlocale.c (new_composite_name): Check also whether the
647 first category name differs.
649 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
651 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
654 1999-05-11 Philip Blundell <pb@nexus.co.uk>
656 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
657 structure; storage suitable for any socket address.
658 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
660 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
661 sockaddr_storage): Likewise.
663 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
666 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
668 * hesiod/Versions: Change _nss_hesiod_getpwuid and
669 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
670 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
672 1999-05-09 Mark Kettenis <kettenis@gnu.org>
674 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
675 if the file is empty.
677 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
679 * elf/do-lookup.h: Fix typo in comment.
681 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
682 f_bsize to help some broken programs.
684 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
686 * stdio-common/vfprintf.c: Fix typo.
688 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
690 * elf/link.h (struct link_map): New field l_phdr_allocated.
691 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
692 the program header being part of any loaded segment. If it is not
693 allocate memory and set l_phdr_allocated flag.
694 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
696 * nss/digits_dots.c: Correct return value interpretation of
697 inet_ntoa. Fix PR libc/1109.
699 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
701 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
703 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
705 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
706 * stdlib/fpioconst.c: Move #endif before end of struct.
708 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
710 * Versions.def (ld.so): Add GLIBC_2.1.1.
711 * elf/Makefile (routines): Add dl-origin.
712 (tests): Add origtest. Add dependencies for the program.
713 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
714 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
715 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
716 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
717 DT_AUXILIARY, and DT_FILTER filenames.
718 * elf/dl-load.c (expand_dynamic_string_token): Explode into
719 two functions and three macros.
720 (_dl_dst_count, _dl_dst_substitute): New functions.
721 * elf/dl-dst.h: New file.
722 * elf/dl-open.c (_dl_open): Take extra parameter with address of
723 caller. Pass address in args structure.
724 (dl_open_worker): Recognize and expand DSTs in filename.
725 * elf/ldsodefs.h (_dl_open): Adapt prototype.
726 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
727 (__dlopen_check): Pass caller address to dlopen_doit in args.
728 * elf/dlopendoit.c: Likewise.
729 * iconv/gconv_dl.c: Adapt call of _dl_open.
730 * nss/nsswitch.c: Likewise.
731 * elf/origtest.c: New file.
732 * sysdeps/generic/dl-origin.h: Moved to...
733 * sysdeps/generic/dl-origin.c: ...here.
734 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
735 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
737 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
738 with specific bases and only few bits set in second word.
740 * timezone/Makefile (install-others): Create target directory
741 before creating tzfiles.
743 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
745 * nis/nis_file.c (readColdStartFile): Allocate memory only after
746 the file is opened successfully.
748 * nis/nis_table.c: Fix some memory leaks.
750 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
752 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
755 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
756 around DST. Correctly ignore ORIGIN IN SUID binaries.
758 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
760 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
761 * sysdeps/generic/strtok.c: Likewise.
763 * string/tester.c: Add test of rawmemchr.
765 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
766 specification. It's not necessary.
768 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
769 * elf/gen-trusted-dirs.awk: New file.
770 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
771 from SYSTEM_DIRS macro.
772 (system_dirs_len): New variable. Contains lengths of system_dirs
774 (fillin_rpath): Rewrite for systems_dirs being a simple string.
775 Improve string comparisons. Change parameter trusted to be a flag.
777 (_dt_init_paths): Improve using new format for system_dirs.
779 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
780 $ORIGIN for SUID binaries.
782 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
784 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
786 * sunrpc/Makefile: Generate dependencies for all flavors of
788 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
791 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
793 * elf/dlopenold.c: Move #if down after includes to get
796 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
798 * sysdeps/generic/bzero.c: Undefine __bzero.
800 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
802 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
803 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
804 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
805 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
807 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
808 parameter to struct gaih_servtuple *. Adapt appropriately.
809 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
810 This fixes a memory leak.
811 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
813 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
814 and fpregset_t definition. They are defined in ucontext.h.
816 1999-04-14 Scott Bambrough <scottb@netwinder.org>
818 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
819 and struct ether_header must be packed on the ARM. The default
820 alignment constraints add padding to the end of the structures.
822 1999-04-14 Scott Bambrough <scottb@netwinder.org>
824 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
825 default alignment constraints add padding to the end of the
826 structure and between members.
828 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
830 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
831 _dl_cache_libcmp instead of strcmp.
833 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
835 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
837 1998-03-30 Joel Klecker <espy@debian.org>
839 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
840 (sysdep-others,install-bin): Add lddlibc4.
842 1999-05-02 H.J. Lu <hjl@gnu.org>
844 * timezone/zic.c (dolink): Remove the symlink destination first.
846 * catgets/open_catalog.c (__open_catalog): Set catalog->status
847 to "nonexisting" if failed to open the file.
849 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
851 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
854 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
855 Prevent warnings from multiplication with 0x01010101 by another cast.
857 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
859 * string/bits/string2.h (memset): Revert to previous version if
860 unaligned writes are not available.
862 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
864 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
865 better code in presence of the asm.
867 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
869 * stdlib/fmtmsg.c (keywords): Increase array size for faster
872 * locale/localeinfo.h (_nl_category_names): Increase array element
873 size for faster indexing.
874 * locale/setlocale.c (_nl_category_names): Adjusted.
876 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
878 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
880 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
882 * sysdeps/m68k/stackinfo.h: New file.
884 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
886 * string/tester.c (test_strchrnul): New function.
887 (test_memset): Test one more special case.
889 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
892 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
895 * string/bits/string2.h: Fix bugs I introduced in last change.
897 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
899 Extend memset optimization.
900 Correct i686 version of memchr.
902 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
904 * sysdeps/i386/bzero.c: Add #undef __bzero.
906 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
907 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
908 exec server simulated a SIGTRAP before we even started up, so gdb is
911 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
913 * nss/digits_dots.c: Always initialize not_ok.
915 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
917 * string/bits/string2.h (memset): Avoid arithmetic overflow at
918 compile time, which produces obnoxious warnings. If GCCv2 is
919 in use, map __bzero to __builtin_memset to enable that
922 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
924 * string/bits/string2.h: Add more memset optimizations.
926 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
928 * resolv/inet_pton.c (inet_pton4): Little optimizations.
929 (inet_pton6): Likewise.
931 * nss/getXXbyYY_r.c: Include assert.h.
932 * nss/getXXbyYY.c: Likewise.
934 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
936 * termios/tcgetsid.c (tcgetsid): Rename variable to
937 tiocgsid_does_not_work.
939 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
941 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
943 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
945 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
946 This allows e.g. gethostbyname to accept "10.1234".
947 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
949 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
950 non quad IPv4 numbers.
952 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
954 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
956 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
958 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
959 * argp/argp-parse.c (_argp_hang): Likewise.
960 * argp/argp-pv.c (argp_program_version): Likewise.
961 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
962 * inet/ether_hton.c (ether_hton, startp): Likewise.
963 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
964 * inet/getnetgrent_r.c (setup, startp): Likewise.
965 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
966 * intl/localealias.c (string_space, string_space_act, string_space_max,
967 nmap, maxmap): Likewise.
968 * libio/iopopen.c (proc_file_chain): Likewise.
969 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
970 * locale/lc-collate.c (__collate_table, __collate_extra,
971 __collate_element_hash, __collate_element_strings,
972 __collate_element_values): Likewise.
973 * malloc/mcheck.c (mcheck_used): Likewise.
974 * malloc/mtrace.c (added_atexit_handler): Likewise.
975 * malloc/set-freeres.c (already_called): Likewise.
976 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
977 * misc/syslog.c (LogStat, LogTag): Likewise.
978 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
979 * nss/getXXbyYY_r.c (startp): Likewise.
980 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
981 * posix/regex.c (init_syntax_once) [done]: Likewise.
983 * string/strfry.c (init): Likewise.
984 * sunrpc/svc_run.c (svc_top): Likewise.
985 * posix/euidaccess.c (have_ids): Likewise.
986 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
987 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
988 * time/getdate.c (getdate_err): Likewise.
989 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
991 * time/tzset.c (old_tz, is_initialized): Likewise.
993 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
994 of static data with zero.
995 * signal/allocrtsig.c (init): Likewise.
997 * string/Makefile (routines): Add strchrnul.
998 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
999 * string/string.c: Add strchrnul prototype.
1000 * include/string.h: Add __strchrnul prototype.
1001 * sysdeps/generic/strchrnul.c: New file.
1002 * sysdeps/i386/strchrnul.S: New file.
1003 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
1004 * sysdeps/i386/i486/bits/string.c: Likewise.
1005 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
1006 * inet/ether_line.c (ether_line): Likewise.
1007 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
1008 * nss/nsswitch.c (nss_parse_file): Likewise.
1009 * posix/execvp.c (execvp): Likewise.
1010 * posix/fnmatch.c (internal_fnmatch): Likewise.
1011 * resolv/res_hconf.c (_res_hconv_init): Likewise.
1012 * resolv/res_init.c (res_init): Likewise.
1013 * stdlib/fmtmsg.c (init): Likewise.
1014 * stdlib/getsubopt.c (getsubopt): Likewise.
1016 * catgets/catgets.c (catopen): Only allocate one memory block.
1017 (catclose): Only one free call necessary.
1019 * catgets/open_catalog.c (__open_catalog): Simplify handling of
1022 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
1023 of real functions. Simplify _tolower and _toupper.
1025 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
1028 * iconv/gconv.h (struct gconv_info): Change data element from pointer
1030 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
1031 * iconv/gconv_close.c (__gconv_close): Don't free data.
1033 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
1036 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
1037 for error while inserting in tree.
1039 * include/time.h: Pretty print.
1041 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
1042 in table and lots of relocations.
1043 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
1044 string pointers in table and lots of relocations.
1046 * intl/finddomain.c: Remove definition of strchr macro.
1048 * io/ftw.c (nftw_arr, ftw_arr): Make const.
1050 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
1052 * locale/localeinfo.h (_nl_category_names): Change into an array with
1053 fixed width char string elements.
1054 * locale/setlocale.c (_nl_category_names): Likewise.
1055 (_nl_current): Make global.
1056 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
1058 * malloc/Makefile (distribute): Add stackinfo.h.
1059 * sysdeps/generic/stackinfo.h: New file.
1060 * sysdeps/i386/stackinfo.h: New file.
1061 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
1062 * posix/execle.c: Likewise.
1063 * posix/execlp.c: Likewise.
1065 * nis/nis_table.c (__create_ib_request): Always use realloc.
1067 * posix/execvp.c (execute): Rename to script_execute and keep only
1068 code to execute using shell.
1069 (execvp): Call execv directly and only fall back on script_execute.
1071 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
1072 and always use xdigits instead.
1074 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
1077 * stdlib/fpioconst.h (__tens): New declaration.
1078 (struct mp_power): Remove array, add arrayoff element.
1079 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
1080 __tens array and add in _fpioconst_pow10 offsets into __tens.
1081 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
1082 * stdlib/strtod.c: Likewise.
1084 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
1086 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
1088 * stdlib/atexit.c (__exit_funcs): Don't initialize.
1090 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
1092 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
1093 a single and an array with offsets.
1095 * sunrpc/des_soft.c (partab): Make it const.
1097 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
1098 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
1099 (__key_decryptsession_pk_LOCAL): Likewise.
1100 (__key_gendes_LOCAL): Likewise.
1101 (MESSENGER): Mark const.
1102 (key_call_private_main): Don't initialize with 0.
1103 (use_keyenvoy): Don't initialize with 0.
1104 (key_call): Rewrite to reverse logic of use_doors variable.
1106 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
1107 (startp): Don't initialize with zero.
1109 * sunrpc/openchild.c (_openchild): Make first argument const.
1111 * sunrpc/pmap_rmt.c (timeout): Mark const.
1112 * sunrpc/xcrypt.c (hex): Likewise.
1114 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
1115 initialization of global variables.
1116 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
1117 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1118 * termios/tcgetsid.c: Likewise.
1120 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
1123 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
1124 block. Add function to free memory if wanted.
1125 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
1127 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
1129 * wcsmbs/wmemset.c: Little code optimization.
1131 1999-04-23 Paul Eggert <eggert@twinsun.com>
1133 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
1136 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
1138 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
1139 implementation and just always fail with ENOSYS. This entry point is
1140 obsolete. Add link warning to that effect.
1142 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
1144 * hurd/get-host.c: Include <hurd/lookup.h>.
1146 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1148 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
1151 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1153 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
1156 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1158 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
1159 Patch by Peter Miller <millerp@canb.auug.org.au>.
1161 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
1163 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
1164 prefers loopback device.
1166 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1168 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
1169 no_leading_period change.
1171 * posix/testfnm.c: More test cases.
1173 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
1175 * include/dirent.h: Remove __getdirentries declaration, add __getdents
1177 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
1178 * sysdeps/unix/readdir_r.c: Likewise.
1179 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1180 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
1181 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
1182 __getdirentries. Remove fourth argument.
1183 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
1184 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
1185 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
1186 Add getdirentries and getdirentries64.
1187 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
1189 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
1190 pointer in case of an invalid [[: expression.
1192 * posix/testfnm.c: Add more test cases.
1194 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
1196 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
1197 set, pass EXEC_SIGTRAP flag in exec RPC.
1199 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
1201 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
1202 extra parameter. Fix several more bugs involving wildcard and
1204 (fnmatch): New function. Call internal_fnmatch.
1206 * posix/testfnm.c: More test cases.
1208 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1210 * manual/install.texi (Configuring and compiling): Explain that
1211 files are changed in the source directory.
1213 (Configuring and compiling): Explain situation with PARALLELMFLAGS
1214 in the source directory.
1216 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1218 * locale/programs/ld-ctype.c: Spelling fixes.
1219 (ctype_finish): Fix argument of error message format.
1220 * locale/programs/ld-messages.c: Spelling fixes.
1221 * locale/programs/ld-monetary.c: Spelling fixes.
1222 * locale/programs/ld-time.c (time_finish): Make sure that name and
1223 format of era_entries are adjacent.
1224 (time_output): Reduce the size of the io vector.
1226 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1228 * manual/filesys.texi (Attribute Meanings): Move a misplaced
1231 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1233 * locale/programs/ld-collate.c (collate_output): Convert
1234 undefined_offset to an array index. Fix computation of other
1237 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
1239 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
1240 return success with empty value.
1242 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
1244 * posix/fnmatch.c: Include string.h also for glibc.
1245 (fnmatch, case '?'): Optimize if cascades a bit.
1246 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
1248 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
1250 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
1252 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
1253 * iconv/gconv_int.h: Declare UTF16 functions.
1254 * iconv/gconv_simple.c: Add UTF16 conversion functions.
1256 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1258 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
1259 be used correctly as parameter for parse_dollars/parse_tilde.
1261 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1263 * manual/conf.texi (Utility Limits): Remove duplicate description
1266 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
1268 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
1269 outbufend for dst==NULL.
1271 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
1273 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
1277 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
1280 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
1282 * sunrpc/Makefile: Remove special handling of bootparam.x,
1283 add rpcsvc/bootparam.h to headers.
1284 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
1285 * sunrpc/rpcsvc/bootparam.x: Renamed to...
1286 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
1288 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
1290 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
1291 detect and handle invalid descriptors.
1293 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
1295 * timezone/zic.c (dolink): Append complete path not only filename
1298 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1300 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
1302 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
1304 * iconvdata/gconv-modules: Rename CP874 to IBM874.
1305 * iconvdata/Makefile: Likewise.
1306 * iconvdata/cp874.h: Removed.
1307 * iconvdata/cp874.c: Renamed to...
1308 * iconvdata/ibm874.c: ...this.
1310 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
1312 * sysdeps/unix/sysv/linux/bits/types.h: Correct
1313 signed/unsigned-ness of blkcnt and fsblkcnt.
1314 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1315 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1317 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
1318 SOL_AAL, and SOL_IRDA.
1320 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1322 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
1323 include "linux_fsinfo.h".
1324 Based on a patch by H.J. Lu <hjl@gnu.org>.
1326 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
1328 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
1330 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
1332 * nscd/cache.c (prune_cache): Only disable file checking for
1333 future if the file does not exist.
1334 Update file_mtime if cache was flushed.
1336 1999-04-15 David S. Miller <davem@redhat.com>
1338 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
1339 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
1341 1999-04-15 Scott Bambrough <scottb@netwinder.org>
1343 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
1344 compilation of file.
1346 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1348 * Versions.def: Add GLIBC_2.1.1 to libpthread.
1350 * iconvdata/Makefile (modules): Add KOI8-U.
1351 (distribute): Add koi8-u.c.
1352 (gen-8bit-gap-modules): Add koi8-u.
1353 * iconvdata/gconv-modules: Add KOI8-U entries.
1354 * iconvdata/koi8-u.c: New file.
1356 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
1358 * sunrpc/auth_des.c: 64bit fixes, security fixes.
1359 * sunrpc/auth_none.c: Pretty print.
1360 * sunrpc/auth_unix.c: Likewise.
1361 * sunrpc/authdes_prot.c: Likewise.
1362 * sunrpc/authuxprot.c: Likewise.
1363 * sunrpc/bindrsvprt.c: Likewise.
1364 * sunrpc/clnt_gen.c: Likewise.
1365 * sunrpc/rpc/xdr.h: Likewise.
1366 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
1367 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
1368 * sunrpc/rtime.c: Use new rpc_timeval.
1369 * sunrpc/svc_authux.c: Don't use *long pointers.
1370 * sunrpc/svcauth_des.c: Likewise + security fixes.
1371 * sunrpc/xdr_mem.c: Don't use *long pointers.
1372 * sunrpc/xdr_rec.c: Likewise.
1373 * sunrpc/xdr_sizeof.c: Likewise.
1374 * sunrpc/xdr_stdio.c: Likewise.
1376 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1378 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
1379 so that it is redone for each sending.
1381 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1383 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
1385 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1387 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
1388 known to not exist don't try to load shared objects.
1389 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
1391 * nscd/cache.c (prune_cache): The table might not be unused. In
1392 this case do nothing.
1394 * catgets/gencat.c (read_input_file): Don't drop white spaces
1395 between number/identifier and string.
1396 Patch by Dima Barsky <dima@pwd.hp.com>.
1397 If no white space at all follows number/identifier remove existing
1398 message with the number/identifier.
1400 1999-04-14 H.J. Lu <hjl@gnu.org>
1402 * sunrpc/clnt_udp.c (is_network_up): New function.
1403 (clntudp_call): Call is_network_up () to check if any network
1404 interface is up in case of timeout.
1406 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1408 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
1409 * wctype/Makefile (tests): Add test_wcfuncs.
1411 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
1413 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
1415 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
1417 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
1418 instead of CFLAGS. For gnulib and string directories use
1419 -Wa,-Av9a gcc ASFLAGS.
1420 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
1421 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
1422 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
1423 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
1424 the same way as sparc-*.
1426 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
1428 * locale/programs/locfile.c (locfile_read): Fix typo.
1429 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
1431 1999-04-14 Scott Bambrough <scottb@netwinder.org>
1433 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
1434 restarted after being interrupted by a signal. The parameters on
1435 the stack were corrupted by the signal handler.
1437 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
1438 restarted after being interrupted by a signal. The parameters on
1439 the stack were corrupted by the signal handler.
1441 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1443 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
1444 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
1446 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
1448 * posix/wordexp-test.c: In field-splitting test cases where
1449 subshells were involved, unset IFS first: some shells (ash) use
1450 IFS even when no expansion is performed.
1452 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1454 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
1455 the real end of the chunk, not some random point inbetween.
1456 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
1457 obstack when growing. Use fast version of obstack_blank when
1459 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
1460 allocating the vtable pointer.
1461 (_IO_obstack_vprintf): Adjust for above change and avoid
1462 unnecessary casts. Use fast version of obstack_blank when
1466 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
1468 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
1469 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
1471 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
1473 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
1474 is seen, as well as fixing semantics. Don't reset the word count
1475 to zero when an invalid character is seen, but leave it as it was
1476 (this makes a difference with WRDE_APPEND).
1478 * posix/wordexp-test.c: More test cases.
1480 * posix/wordexp.c (parse_param): In words like ${var#pattern},
1481 always expand pattern when it is needed. Also, handle quoting in
1484 1999-04-12 Philip Blundell <philb@gnu.org>
1486 * elf/elf.h: Update ARM definitions to match current gas2.
1488 * sysdeps/arm/bits/endian.h: Support big endian operation.
1490 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
1491 Don't bother range checking the port number.
1493 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
1495 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
1496 the syscall name in assembler output for ease of debugging.
1498 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
1500 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
1501 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
1502 (sysdep_routines): Add sigrestorer.
1504 * string/tester.c (test_strcpy): Add new tests for unaligned
1506 * sysdeps/arm/bits/string.h: Delete inline implementations of
1509 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
1511 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
1513 1999-04-10 Mark Kettenis <kettenis@gnu.org>
1515 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
1517 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
1519 * iconvdata/Makefile (modules): Add TIS-620.
1520 (distribute): Add tis-620.c.
1521 (gen-8bit-gap-modules): tis-620.
1522 * iconvdata/tis-620.c: New file.
1523 * iconvdata/gconv-modules: Add TIS-620 entries.
1525 * iconvdata/asmo_449.c: Correct comment.
1527 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1529 * manual/install.texi (Configuring and compiling): Comment out
1530 description of --disable-static since this doesn't work currently
1531 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
1533 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
1535 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
1537 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
1539 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1541 * scripts/test-installation.pl (installation_problem): Skip
1542 libnss1_* libraries from glibc-compat add-on.
1544 1999-04-07 H.J. Lu <hjl@gnu.org>
1546 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
1548 * posix/Versions (__waitpid): Likewise.
1550 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1552 * manual/install.texi (Reporting Bugs): Add section about reported
1553 bugs and correct email address of glibcbug script.
1555 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
1557 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
1558 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
1559 xdr_u_longlong_t. Based on patch from Dan Shechter
1560 <damageboy@isdn.net.il>.
1561 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
1562 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
1564 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
1566 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1568 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
1569 directly if getdents returns with error set.
1571 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1573 * locale/langinfo.h (THOUSEP): Rename second occurence of
1574 THOUSANDS_SEP to THOUSEP.
1575 Reported by Roman Belenov <roman@nstl.nnov.ru>.
1577 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
1579 * hurd/STATUS: File removed. Moved items that are still relevant into
1580 TODO list in hurd source.
1582 1999-03-26 Mark Kettenis <kettenis@gnu.org>
1584 * sysdeps/mach/hurd/bits/time.h: New file.
1585 * sysdeps/mach/hurd/getrusage.c: New file.
1586 * sysdeps/mach/hurd/clk_tck.c: New file.
1587 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
1588 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
1589 (sysdep_routines): Add clk_tck.
1590 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
1593 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
1595 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
1596 (closelog): But instead here.
1597 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
1599 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1601 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
1602 the source directory. Fixes PR libc/1059.
1604 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1606 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
1607 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1609 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
1611 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
1612 * iconvdata/testdata/ISO-8859-14: New file.
1613 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
1614 * iconvdata/testdata/ISO-8859-15: New file.
1615 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
1617 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
1619 * iconvdata/testdata/CP1258: New file.
1620 * iconvdata/testdata/CP1258..UTF8: New file.
1621 * iconvdata/TESTS: Add CP1258 entry.
1623 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
1625 * timezone/africa: Update from tzdata1999d.
1626 * timezone/europe: Likewise.
1627 * timezone/northamerica: Likewise.
1629 1999-03-31 Mark Kettenis <kettenis@gnu.org>
1631 * login/programs/pt_chown.c (main): Save effective user ID before
1632 dropping priviliges and use this to check if the program is
1635 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
1637 * iconvdata/testdata/CP1254: Update for charmap changes.
1638 * iconvdata/testdata/CP1254..UTF8: Likewise.
1639 * iconvdata/testdata/CP1255: Likewise.
1640 * iconvdata/testdata/CP1255..UTF8: Likewise.
1641 * iconvdata/testdata/CP1256: Likewise.
1642 * iconvdata/testdata/CP1256..UTF8: Likewise.
1643 * iconvdata/testdata/CP1257: Likewise.
1644 * iconvdata/testdata/CP1257..UTF8: Likewise.
1646 * iconvdata/Makefile (distribute): Remove cp1258.h.
1647 (gen-8bit-gap-modules): Add cp1258.
1648 * iconvdata/cp1258.h: Removed.
1650 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
1652 * timezone/tst-timezone.c (tests): Add more cases.
1653 (check_tzvars): Mark errors clearer.
1656 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1658 * login/programs/pt_chown.c: Drop privileges if invoked with
1659 arguments. Don't close the master pty.
1661 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
1663 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
1666 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
1668 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
1669 relocation for SUID binaries.
1671 1999-03-29 Paul Eggert <eggert@twinsun.com>
1673 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
1674 while in child process.
1676 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
1678 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
1679 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
1680 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
1681 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
1682 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
1684 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
1685 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
1686 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
1687 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
1688 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
1689 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
1690 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
1691 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
1692 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
1693 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
1694 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
1695 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
1696 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
1697 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
1698 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
1699 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
1700 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
1701 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
1702 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
1703 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
1704 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
1705 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
1706 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
1707 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
1708 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
1709 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
1711 * sysdeps/sparc/sparc32/bcopy.c: New file.
1712 * sysdeps/sparc/sparc32/bzero.c: New file.
1713 * sysdeps/sparc/sparc32/memchr.S: New file.
1714 * sysdeps/sparc/sparc32/memcpy.S: New file.
1715 * sysdeps/sparc/sparc32/memmove.c: New file.
1716 * sysdeps/sparc/sparc32/memset.S: New file.
1717 * sysdeps/sparc/sparc32/stpcpy.S: New file.
1718 * sysdeps/sparc/sparc32/strchr.S: New file.
1719 * sysdeps/sparc/sparc32/strrchr.c: New file.
1720 * sysdeps/sparc/sparc32/strcpy.S: New file.
1721 * sysdeps/sparc/sparc32/strlen.S: New file.
1722 * sysdeps/sparc/sparc32/strcat.S: New file.
1723 * sysdeps/sparc/sparc32/strcmp.S: New file.
1725 * sysdeps/sparc/sparc64/bcopy.c: New file.
1726 * sysdeps/sparc/sparc64/bzero.c: New file.
1727 * sysdeps/sparc/sparc64/memchr.S: New file.
1728 * sysdeps/sparc/sparc64/memcmp.S: New file.
1729 * sysdeps/sparc/sparc64/memcpy.S: New file.
1730 * sysdeps/sparc/sparc64/memset.S: New file.
1731 * sysdeps/sparc/sparc64/stpcpy.S: New file.
1732 * sysdeps/sparc/sparc64/strcat.S: New file.
1733 * sysdeps/sparc/sparc64/strchr.S: New file.
1734 * sysdeps/sparc/sparc64/strcmp.S: New file.
1735 * sysdeps/sparc/sparc64/strcpy.S: New file.
1736 * sysdeps/sparc/sparc64/strcspn.S: New file.
1737 * sysdeps/sparc/sparc64/strlen.S: New file.
1738 * sysdeps/sparc/sparc64/strncpy.S: New file.
1739 * sysdeps/sparc/sparc64/strpbrk.S: New file.
1740 * sysdeps/sparc/sparc64/strrchr.c: New file.
1741 * sysdeps/sparc/sparc64/strspn.S: New file.
1742 * sysdeps/sparc/sparc64/stpncpy.S: New file.
1743 * sysdeps/sparc/sparc64/strncmp.S: New file.
1745 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
1746 Append -fPIC, don't replace.
1748 * configure.in: Recognize sparcv8plus / sparcv9.
1750 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1752 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
1753 char * to avoid C++ warning.
1754 Patch by yasushi@cs.washington.edu [PR libc/1035].
1756 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1758 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
1759 declared in stdlib.h, correct return value of mkstemp.
1760 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
1762 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
1765 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1767 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
1770 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
1771 inline functions. Closes PR libc/1049.
1773 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1775 * timezone/README: Update from tzdata1999c and tzcode1999c.
1777 * timezone/africa: Update from tzdata1999c.
1778 * timezone/antarctica: Likewise.
1779 * timezone/asia: Likewise.
1780 * timezone/australasia: Likewise.
1781 * timezone/europe: Likewise.
1782 * timezone/northamerica: Likewise.
1783 * timezone/southamerica: Likewise.
1784 * timezone/zone.tab: Likewise.
1786 * timezone/zic.c: Update from tzcode1999c.
1788 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1790 * Makerules: Add $(common-objpfx)Versions.all to common-generated
1791 outside of ifndef avoid-generated.
1793 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
1795 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
1797 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
1799 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
1800 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
1802 1999-03-26 Mark Kettenis <kettenis@gnu.org>
1804 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
1805 if we build the profiled library.
1807 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1809 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
1810 Jaeger <aj@arthur.rhein-neckar.de>
1812 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
1814 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
1815 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
1816 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
1818 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
1820 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
1821 works properly in subdirs.
1823 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
1825 * sysdeps/mach/hurd/Makefile: Undo last change.
1826 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
1827 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
1829 * mach/Machrules (+preinit, +postinit, +interp,
1830 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
1831 linked just like other shared libraries.
1832 (interface.so): Fix typo in defn, so it works.
1833 ($(objpfx)$(interface.so)): Make it depend on libc.so.
1835 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
1837 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
1838 $(link-rpcuserlibs).
1840 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1842 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
1843 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
1844 targets if not building shared libraries.
1846 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1848 * configure.in: Also look in $PATH when searching for
1849 install-info. Remove autoconf bug workaround and require autoconf
1852 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1854 * db/Makefile: Don't try to install shared library link if not
1855 building with shared libs.
1857 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1859 * rt/Makefile: Link against static library if no shared lib is
1862 * localedata/Makefile: The shells scripts implementing the test
1863 require the dynamic linker which is not available with
1864 --disable-shared. Skip the test if --disable-shared is given.
1866 * linuxthreads/Makefile: Link test against static libpthread if no
1867 shared lib is available.
1869 * iconvdata/Makefile (tests): Run iconv-test only if we're
1870 building shared libraries.
1871 * elf/Makefile (tests): Likewise for elf tests.
1873 * posix/Makefile: The test frameworks globtest and wordexp-test
1874 require the dynamic linker which is not available with
1875 --disable-shared. Skip the test if --disable-shared is given.
1877 * grp/Makefile (otherlibs): For static nss build link against
1880 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1882 * debug/Makefile (install-bin): Install and build catchsegv only
1883 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
1886 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1888 * time/tzfile.c (__tzfile_read): Handle the case where there are
1889 transitions but no DST.
1891 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
1893 * mach/Machrules (extra-libs-others): Add $(interface-library) here
1894 too, so it gets built in the others pass rather than the lib pass.
1895 This is necessary since the RPC libraries need to be linked against
1898 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
1900 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
1903 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
1904 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
1905 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
1906 versions of lib{mach,hurd}user.so without reference to libc.so,
1907 then link libc.so against that to get deps and symbol versions, then
1908 finally link real lib*user.so against libc.so.
1910 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
1911 Support whole-file locking (only) by using the file_lock RPC. This
1912 has very wrong semantics, but is better than nothing for the time
1913 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
1914 protocols that will be somewhat hairy to specify.)
1916 1999-03-17 Mark Kettenis <kettenis@gnu.org>
1918 * sysdeps/mach/hurd/ptsname.c: New file.
1920 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1922 * timezone/asia: Fix rule in Asia/Nicosia entry.
1924 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1926 * manual/getopt.texi (Using Getopt): Explain "::" in option
1927 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
1929 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
1931 * sunrpc/clnt_unix.c: Fix creation of parameters for
1932 sendmsg/recvmsg on non intel platforms.
1933 * sunrpc/svc_unix.c: Likewise.
1935 1999-03-18 Philip Blundell <philb@gnu.org>
1937 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
1940 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1942 * timezone/africa: Update from tzdata1999b.
1943 * timezone/asia: Likewise.
1944 * timezone/australasia: Likewise.
1945 * timezone/europe: Likewise.
1946 * timezone/northamerica: Likewise.
1947 * timezone/southamerica: Likewise.
1948 * timezone/zone.tab: Likewise.
1950 * timezone/README: Mention tzdata1999b.
1952 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
1954 * sysdeps/generic/segfault.c (write_strsignal): New function.
1955 (catch_segfault): Use it instead of calling strsignal.
1957 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1959 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
1960 char to avoid warning.
1962 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1964 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
1966 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
1967 outbuf to unsigned char to avoid warning.
1969 1999-03-11 David S. Miller <davem@redhat.com>
1971 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
1973 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
1975 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1977 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
1979 (gconv_step_data): Likewise.
1980 * iconv/gconv_int.h (__gconv): Likewise.
1981 (__BUILINT_TRANS): Likewise.
1982 * iconv/gconv.c (__gconv): Likewise.
1983 * iconv/iconv.c (iconv): Add casts for call of __gconv.
1984 * iconv/skeleton.c: Change local parameters and variable from `char' to
1985 `unsigned char'. Remove casts from calls into modules.
1986 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
1987 `char' to `unsigned char'.
1988 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
1989 * wcsmbs/mbrtowc.c: Likewise.
1990 * wcsmbs/mbsnrtowcs.c: Likewise.
1991 * wcsmbs/mbsrtowcs.c: Likewise.
1992 * wcsmbs/wcrtomb.c: Likewise.
1993 * wcsmbs/wcsnrtombs.c: Likewise.
1994 * wcsmbs/wcsrtombs.c: Likewise.
1995 * wcsmbs/wctob.c: Likewise.
1997 1999-03-15 Mark Kettenis <kettenis@gnu.org>
1999 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
2000 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
2001 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
2002 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
2003 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
2004 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
2006 1999-03-15 Mark Kettenis <kettenis@gnu.org>
2008 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
2009 _hurd_select if TIMEMOUT is -1.
2011 1999-03-15 Mark Kettenis <kettenis@gnu.org>
2013 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
2015 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2017 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
2018 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
2020 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2022 * manual/libc.texinfo: Undo last change for now.
2024 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2026 * intl/locale.alias: Add entries for Croatian.
2027 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
2029 1999-03-13 Mark Kettenis <kettenis@gnu.org>
2031 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
2032 if the opened master pty really is a pty. `isatty' checks for
2033 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
2034 if we are out of pty's.
2036 1999-03-13 Mark Kettenis <kettenis@gnu.org>
2038 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
2039 opened file is closed on exec.
2040 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
2043 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2045 * manual/llio.texi (File Position Primitive): Reformat @end
2046 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
2048 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
2050 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
2052 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2053 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
2055 * locale/programs/localedef.c (main): Initialize `cat' to please
2058 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
2060 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
2061 check for root-owned symlinks and reject them too.
2063 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2065 * stdio-common/printf_fphex.c: Move to ...
2066 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
2067 extended precision number.
2068 * sysdeps/m68k/printf_fphex.c: New file.
2070 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2072 * manual/stdio.texi: Fix typos.
2074 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
2076 * version.h (VERSION): Bump to 2.1.1.
2078 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
2080 * nis/ypclnt.c: Try only twice to connect to NIS server.
2082 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
2084 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
2086 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2088 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
2089 (DENORM_EXP): New define. Use it as the exponent for a denormal.
2090 * stdlib/strtold.c: Moved to ...
2091 * sysdeps/generic/strtold.c: ... here.
2092 * sysdeps/m68k/strtold.c: New file.
2094 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2096 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
2097 point if the precision is zero, even if the mantissa is non-zero.
2099 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
2101 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
2102 arguments into the request message buffer inside `send_rpc'
2103 subfunction. We must repeat the marshalling when retrying the RPC
2104 after a SIGTTOU delivery.
2106 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
2107 path when there is no ctty port.
2108 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2109 Move sigstate check inside loop so we recheck after handling a signal.
2111 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2113 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
2114 O_EXLOCK are BSD extensions.
2115 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
2117 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
2119 * manual/signal.texi (Termination in Handler): Correct example.
2120 Install default handler before reraising the signal.
2121 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
2123 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
2125 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
2126 null, in which case send an empty string.
2128 1999-03-02 Mark Kettenis <kettenis@gnu.org>
2130 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
2131 backward compatibility EH functions to be linked when using
2132 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
2134 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2136 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
2137 /dev/pts status may change during runtime.
2139 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2141 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
2142 change. /dev/pts status can change during runtime.
2144 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
2146 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
2148 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
2149 add some more sanity checks.
2150 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
2153 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
2155 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
2156 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
2157 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
2158 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
2159 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
2161 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
2162 * nis/nis_print.c: Fix ctime argument for platforms where
2163 sizeof (time_t) != sizeof (int).
2165 1999-03-07 Mark Kettenis <kettenis@gnu.org>
2167 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
2168 CLOCKS_PER_SEC instead of CLK_TCK.
2170 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
2172 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
2173 whether /dev/pts is available.
2174 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
2177 * posix/globtest.sh: Make common_objpfx path absolute and and db2
2178 and hesiod directory to library path [PR libc/1007].
2180 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2182 * resolv/inet_addr.c (inet_aton): Don't allow componets >
2183 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
2185 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
2187 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
2188 DT_PLTGOT has already been relocated.
2189 (__elf_machine_fixup_plt): Likewise.
2192 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
2194 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
2196 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
2198 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
2199 and fold string to uppercase [PR libc/1005].
2201 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2203 * elf/dl-load.c (lose): Fix return type.
2205 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
2207 * sysdeps/mach/hurd/bits/fcntl.h
2208 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
2209 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
2210 set O_NOTRANS as well.
2211 (__hurd_file_name_lookup_retry): At successful end of lookup,
2212 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
2213 it is a translated node not owned by root.
2214 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
2215 on the file name passed to LOOKUP.
2217 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
2219 * manual/time.texi (High Resolution Timer): Correct computation in
2220 example. Reported by jjf@devel.cemsys.com.
2222 1999-03-02 Philip Blundell <pb@nexus.co.uk>
2224 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
2225 entry is already relocated.
2227 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2229 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
2230 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
2232 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2234 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
2235 uc_link which is the right name according to Unix98.
2236 Reported by Craig Metz [PR libc/1001].
2237 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
2238 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
2239 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
2240 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
2241 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
2242 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
2244 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2246 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
2249 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2251 * iconvdata/Makefile: Always include iconv-rules, but disable rule
2252 to regenerate it if avoid-generated.
2254 * Makeconfig: Always include sys-dirs, but disable rule to
2255 regenerate it when avoid-generated.
2257 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
2258 rule to generate sysd-syscalls.
2260 * elf/Makefile (generated): Remove $(objpfx) from names.
2262 1999-02-28 Mark Kettenis <kettenis@gnu.org>
2264 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
2265 actual length if the adress length is smaller than the input
2266 value. Change type of *LEN paramater to socklen_t.
2267 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
2268 * sysdeps/mach/hurd/accept.c (accept): Likewise.
2269 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
2270 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
2271 paramater to socklen_t.
2273 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
2275 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
2276 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
2279 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
2281 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
2282 __get_phys_pages): Cast &HBI to silence warning.
2284 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
2285 * hurd/hurdchdir.c: New file.
2286 * hurd/hurdfchdir.c: New file.
2287 * sysdeps/mach/hurd/chroot.c: Call
2288 _hurd_change_directory_port_from_name to do the work.
2289 * sysdeps/mach/hurd/chdir.c: Likewise.
2290 * sysdeps/mach/hurd/fchdir.c: Call
2291 _hurd_change_directory_port_from_fd to do the work.
2292 * hurd/fchroot.c: Likewise.
2293 * hurd/hurd.h: Declare them.
2295 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
2297 * elf/dl-load.c (lose): Add more comments to explain the `why'.
2298 (_dl_map_object): Remove redundant test.
2300 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
2302 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
2303 try to _hurd_port_free a lower-numbered descriptor that was not in any
2306 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2308 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
2309 declaration for ____wcstod_l_internal.
2311 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
2312 __strtod_internal prototype.
2313 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
2314 (____strtold_l_internal): Add prototype declaration.
2315 (__strtold_l): Call correct function.
2317 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
2319 * elf/elf.h: Add 32bit HPPA definitions.
2321 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2323 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
2324 non-checked heap is restored when malloc checking was requested by
2326 (struct malloc_state): Add using_malloc_checking.
2327 (MALLOC_STATE_VERSION): Increment minor.
2328 (using_malloc_checking, disallow_malloc_check): New variables.
2329 (__malloc_check_init): Use them.
2330 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
2331 that it can the chunk is properly instrumented when malloc
2332 checking is enabled. Set the new using_malloc_checking field.
2333 (malloc_hook_ini): Correct signature when _LIBC is not defined.
2335 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2337 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
2338 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
2341 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
2342 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
2343 if ld.so is the main program.
2345 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
2347 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
2348 large for work_buffer, allocate new buffer.
2349 (printf_unknown): Likewise. [PR libc/988]
2351 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
2353 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
2354 instead of stat and fstat.
2355 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2357 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2359 * elf/dl-error.c (_dl_signal_cerror): New function.
2360 (_dl_signal_error): Don't call receiver function.
2361 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
2362 instead of _dl_signal_error when reporting references to undefined
2363 symbols or versions.
2364 (_dl_lookup_versioned_symbol): Likewise.
2365 (_dl_lookup_versioned_symbol_skip): Likewise.
2366 * elf/dl-version.c (match_symbol): Likewise.
2368 * elf/ldsodefs.h: Declare _dl_signal_cerror.
2370 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
2372 * misc/getttyent.c (getttyent): Release lock on stream later to
2373 also protect global variable zapchar.
2375 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
2376 __times [PR libc/990].
2378 1999-02-21 David S. Miller <davem@redhat.com>
2380 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
2381 parentheses in Feb 2 changes.
2382 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2384 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2386 * sysdeps/generic/glob.c (glob): Save previous errno.
2388 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
2390 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
2391 lookup functions if it is too small.
2393 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
2395 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
2396 for tracing to the scope lists.
2397 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
2398 DT_SYMTAB is always available according to ELF spec.
2400 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
2401 call test whether there is any scope left.
2402 (_dl_lookup_versioned_symbol_skip): Likewise.
2404 * elf/Makefile (distribute): Add do-lookup.h.
2405 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
2406 * elf/dl-lookup.c: Move do_lookup function in separate file and
2407 include the file twice, for handling versioning and without it.
2409 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
2410 entry is already relocated.
2411 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
2412 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
2413 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
2414 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
2416 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
2418 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
2421 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
2422 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
2423 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
2424 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
2425 rel and rela relocations can both happen and skip one test if this
2427 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
2429 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
2431 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
2433 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
2434 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
2435 (_dl_map_object): DT_STRTAB entry is already relocated.
2436 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
2438 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
2440 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
2441 DT_VERSYM entries are already relocated.
2442 (profile_fixup): Likewise.
2443 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
2445 (match_symbol): DT_STRTAB entry is already relocated.
2446 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
2447 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
2448 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
2449 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
2450 (find_needed): DT_STRTAB entry is already relocated.
2451 (dl_main): Pass extra argument to elf_get_dynamic_info.
2452 DT_STRTAB entry is already relocated.
2453 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
2454 DT_PLTGOT entries are already relocated.
2455 (elf_machine_rela): Likewise for DT_SYMTAB.
2456 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
2458 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2459 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
2460 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2461 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2462 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
2463 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
2464 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
2465 * sysdeps/mips/mips64/dl-machine.h: Likewise.
2467 * grp/initgroups.c (initgroups): If function in current module was
2468 successful don't stop but continue to process to get all the groups.
2470 * elf/dl-load.c (_dl_map_object_from_fd): Use global
2471 _dl_pf_to_proot array to convert p_flags value.
2472 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2474 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
2475 loop to clear `info'.
2477 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
2478 do the work and don't use inline assembler.
2480 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
2482 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
2483 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
2484 noreturn, and prevent it from being inlined.
2485 Define LOSE appropriately.
2486 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
2487 Optimize decoding of p_flags for certain platforms.
2489 1999-02-19 Philip Blundell <pb@nexus.co.uk>
2491 * Makeconfig (link-libc): When doing a static link, make sure that
2492 libgcc.a is included both before and after libc.a.
2494 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
2496 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
2497 sp_warn, sp_inact, sp_expire and sp_flag.
2499 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
2501 * elf/link.h (link_map): Add l_dev and l_ino.
2502 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
2503 loaded shared object with all loaded objects. Initialize l_ino
2504 and l_dev in case it's new.
2505 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
2507 * elf/Makefile: Compile and run new test.
2508 * elf/multiload.c: New file.
2510 * nss/nsswitch.h (service_user): Change name field from const char *
2512 (name_database_entry): Likewise.
2513 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
2514 for change of `service_user'.
2515 (nss_getline): Adjust memory allocation for change of
2516 `name_database_entry'.
2518 * catgets/catgets.c: Correctly handle NLSPATH from environment
2521 * io/Makefile (routines): Add lock64.
2522 * io/Versions: Add lockf64 for GLIBC_2.1.1.
2523 * sysdeps/generic/lockf64.c: New file.
2525 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2527 * string/bits/string2.h: Only use strncmp optimization if count
2528 argument is constant.
2530 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
2532 * sysdeps/mach/hurd/revoke.c: New file.
2534 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2536 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
2537 int to avoid warning about `ISO C restricts enumerator values to
2540 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2542 * elf/dlfcn.h: Fix typo.
2543 * sysdeps/generic/bits/dlfcn.h: Likewise.
2544 * sysdeps/mips/bits/dlfcn.h: Likewise.
2546 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2548 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
2549 for the case N == 0.
2551 * db2/Makefile (distribute): Add LICENSE.
2553 1999-02-03 Jeff Bailey <jbailey@nisa.net>
2555 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
2558 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
2560 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2562 * time/mktime.c: Use ISO C form for function definitions and
2563 remove unnecessary prototypes.
2565 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
2567 * time/time.h: Avoid unneccesary #ifdef.
2569 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
2571 * stdio-common/_itoa.c (_itoa): Correct parameters to
2574 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2576 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
2577 before (e.g. in glob.h).
2580 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2582 * sysdeps/mips/fpu_control.h: Fix typo.
2583 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
2586 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
2588 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
2589 the "unused" ends of the sockets. Let pipes be bidirectional.
2591 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
2593 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
2596 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2598 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
2599 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
2601 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
2602 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
2604 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
2606 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
2608 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2610 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
2611 check for priority mask.
2613 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
2615 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
2616 Reported by Craig Metz <cmetz@inner.net> .
2618 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2620 * stdio-common/Makefile (tests): tllformat added.
2622 * stdio-common/tllformat.c: New program, based on tiformat.c with
2623 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2625 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2627 * posix/test-vfork.c: Fix exit status test.
2629 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2631 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
2632 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
2634 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2636 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
2637 of separare explicit comparisons.
2639 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2641 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
2644 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
2647 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
2649 * po/el.po: Update from translation team.
2651 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2653 * intl/locale.alias: Fix slovenian entry [PR libc/948].
2655 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2657 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
2658 * inet/ruserpass.c: Likewise.
2659 * locale/programs/stringtrans.c: Likewise.
2660 * locale/programs/localedef.c: Likewise.
2661 * nscd/grpcache.c: Likewise.
2662 * nss/nss_files/files-XXX.c: Likewise.
2663 * stdlib/canonicalize.c: Likewise.
2664 * sysdeps/posix/sigwait.c: Likewise.
2666 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2668 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
2669 even on 64 bit platforms.
2671 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
2672 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
2674 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
2676 * intl/dcgettext.c: Include locale.h is available.
2678 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
2680 * po/nl.po: Update from translation team.
2682 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
2684 * Makefile: Allow calling goals for po subdir.
2686 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
2689 * po/el.po: New file.
2691 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2693 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
2694 when processing DT_SYMBOLIC objects.
2696 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2698 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
2699 program headers without PT_PHDR only require that they are
2700 contained within one of the loaded segments. Don't use assert,
2701 since that would be a bug in the object, not the dynamic linker.
2703 1999-02-08 Richard Henderson <rth@cygnus.com>
2705 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
2706 restore all call-clobbered fp regs.
2708 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
2710 * po/cs.po: New file.
2712 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
2715 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
2717 * signal/signal.h: Don't declare __libc_allocate_rtsig.
2718 * include/signal.h: Declare __libc_allocate_rtsig here.
2720 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
2721 point functions, not do_lookup since the later can be called more
2724 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
2726 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
2727 macro, so that architectures which need to add some special
2728 offset to stack pointer can share this file.
2730 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
2731 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
2732 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
2733 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
2735 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
2736 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
2737 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
2738 between sparc32 and sparc64.
2740 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
2741 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
2742 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
2743 between sparc32 and sparc64.
2745 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
2746 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
2747 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
2748 between sparc32 and sparc64.
2750 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
2751 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
2752 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
2753 between sparc32 and sparc64.
2755 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
2757 * Versions.def: New version GLIBC_2.1.1 for libc.
2758 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
2759 * stdlib/labs.c: Moved to...
2760 * sysdeps/generic/labs.c: ...here.
2761 * stdlib/llabs.c: Moved to...
2762 * sysdeps/generic/llabs.c: ...here.
2763 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
2764 header. Declare _Exit.
2765 * sysdeps/generic/_exit.c: Add alias _Exit.
2766 * sysdeps/mach/hurd/_exit.c: Likewise.
2767 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
2768 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
2769 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
2770 * sysdeps/unix/_exit.c: Likewise.
2771 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
2772 imaxdiv and imaxabs. Declare lldiv_t if necessary.
2773 * sysdeps/wordsize-64/inttypes.h: Likewise.
2774 * sysdeps/wordsize-32/llabs.c: New file.
2775 * sysdeps/wordsize-32/lldiv.c: New file.
2776 * sysdeps/wordsize-64/labs.c: New file.
2777 * sysdeps/wordsize-64/ldiv.c: New file.
2778 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
2779 * manual/startup.texi: Document _Exit.
2781 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2783 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
2785 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
2787 * Versions.def: Add versions for ld.so.
2788 * csu/Versions: Remove __libc_stack_end here.
2789 * elf/Versions: Split libc definitions in libc and ld.so definitions.
2790 * elf/Makefile (ld-map): Change to ld.so.map.
2791 * scripts/versions.awk: Recognize dot in library names.
2793 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
2794 Don't use __tolower and __toupper in inline functions.
2795 Add optimizing macros for tolower and toupper.
2796 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
2797 (_toupper): Don't use __toupper.
2798 * ctype/ctype.c (tolower): Don't use __tolower.
2799 (toupper): Don't use toupper.
2801 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
2803 * resolv/Versions (libresolv): Export __ns_name_unpack and
2805 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
2806 make it global. Change all users. Similar for ns_name_ntop.
2807 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
2808 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
2809 directly to detect too small buffer.
2810 * resolv/nss_dns/dns-network.c: Likewise.
2812 * stdio-common/Makefile (tests): Add scanf12.
2813 * stdio-common/scanf12.c: New file.
2814 * stdio-common/scanf12.input: New file.
2815 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
2816 floating-point correctly if the number is invalid.
2818 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
2820 * stdio-common/printf_fp.c: Likewise.
2821 * stdio-common/printf_fphex.c: Likewise.
2822 * stdio-common/vfprintf.c: Likewise.
2825 See ChangeLog.9 for earlier changes.