1 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
3 * sysdeps/unix/sysv/linux/kernel-features.h: Define
4 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
5 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
6 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
8 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
9 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
10 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
11 * sysdeps/libm-ieee754/w_j1.c: Likewise.
12 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
13 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
14 * sysdeps/libm-ieee754/w_jn.c: Likewise.
15 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
16 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
18 * stdio-common.c: Correct typos.
20 * math/libm-test.c (jn_test): Adjust delta.
24 * elf/do-lookup.h: It should never happen that if we expect a versioned
25 symbol from a file the file has no version table. This should have
26 been checked in dl-version.c.
27 * elf/dl-lookup.c: Include assert.h.
29 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
32 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
34 1999-06-06 Andi Kleen <ak@muc.de>
36 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
39 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
41 * math/libm-test.c (yn_test): Change one delta.
46 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
48 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
49 avoid multiple calls to getpagesize() which might be a syscall.
51 1999-06-06 Philip Blundell <philb@gnu.org>
53 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
55 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
57 * manual/install.texi (Running make install): Correct typo in
58 dynamic linker invocation.
60 1999-06-05 Philip Blundell <philb@gnu.org>
62 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
63 problems with GOT addressing.
65 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
67 * malloc/malloc.c (check_action): Change into bitmap so that both
68 diagnostic and abort can be requested by setting it to 3.
69 (mALLOC_SET_STATe): Disable malloc checking if necessary.
71 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
73 * configure.in: Few changes for HPUX.
75 * scripts/config.guess: Update from latest version.
76 * scripts/config.sub: Likewise.
78 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
80 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
81 map files. Closes PR libc/1147.
83 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
85 * math/libm-test.c (main): Add new test functions.
87 (j1_test): Add some more tests.
88 (j0_test): Add some more tests.
89 (y0_test): Add some more tests.
90 (y1_test): Add some more tests.
92 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
94 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
95 Patch by mhagger@dera.gov.uk [PR libc/1145].
97 * math/libm-test.c (y1_test): New tests.
101 (main): Added new tests.
103 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
105 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
106 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
107 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
108 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
109 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
110 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
112 1999-06-02 David S. Miller <davem@redhat.com>
114 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
117 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
119 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
120 and elide compatibility code if possible.
122 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
124 * manual/llio.texi: Remove menu entry for removed section.
126 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
128 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
131 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
133 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
136 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
138 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
140 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
142 * manual/stdio.texi: Fix some typos.
144 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
146 * malloc/malloc.h: Properly handle future GCC versions.
148 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
150 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
151 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
152 text of error message.
154 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
156 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
158 * manual/filesys.texi: Extend (f)truncate documentation.
159 * manual/llio.texi: Remove duplicate (f)truncate definition.
161 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
163 * manual/stdio.texi (Formatted Output Functions): Mention
164 semantics of snprintf in glibc 2.0.
165 Reported by Ben Pfaff <pfaffben@msu.edu>.
167 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
169 * include/features.h (__GLIBC_MINOR__): Bump to 2.
171 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
173 * math/libm-test.c: Adjust a few more deltas for the poor ARM
176 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
178 * configure.in: Fix typo.
180 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
182 * manual/socket.texi (Host Names): Remove statement that h_errno
183 needs to be declared since this isn't true anymore.
186 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
188 * config.h.in: Add __LINUX_KERNEL_VERSION.
189 * configure.in: Recognize --enable-kernel.
190 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
191 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
193 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
194 given perform runtime test.
196 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
197 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
198 minimal supported kernel is known to have the feature.
199 * sysdeps/unix/sysv/linux/poll.c: Likewise.
200 * sysdeps/unix/sysv/linux/pread.c: Likewise.
201 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
202 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
203 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
204 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
205 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
206 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
207 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
208 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
209 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
210 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
211 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
212 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
213 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
215 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
217 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
219 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
221 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
223 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
224 Optimized sparc64 routines.
226 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
228 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
229 they are the same as ints.
230 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
232 * version.h (VERSION): Bump to 2.1.90.
233 (RELEASE): Mark as development.
235 * stdio-common/vfprintf.c (vfprintf): Don't implement special
236 handling for long long if it is the same as long.
237 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
239 * stdlib/strtol.c: Moved to ...
240 * sysdeps/generic/strtol.c: ...here.
241 * stdlib/strtoul.c: Moved to ...
242 * sysdeps/generic/strtoul.c: ...here.
243 * stdlib/strtoll.c: Moved to ...
244 * sysdeps/generic/strtoll.c: ...here.
245 * stdlib/strtoull.c: Moved to ...
246 * sysdeps/generic/strtoull.c: ...here.
247 * stdlib/strtol_l.c: Moved to ...
248 * sysdeps/generic/strtol_l.c: ...here.
249 * stdlib/strtoul_l.c: Moved to ...
250 * sysdeps/generic/strtoul_l.c: ...here.
251 * stdlib/strtoll_l.c: Moved to ...
252 * sysdeps/generic/strtoll_l.c: ...here.
253 * stdlib/strtoull_l.c: Moved to ...
254 * sysdeps/generic/strtoull_l.c: ...here.
256 * sysdeps/wordsize-64/strtol.c: New file.
257 * sysdeps/wordsize-64/strtoul.c: New file.
258 * sysdeps/wordsize-64/strtoll.c: New file.
259 * sysdeps/wordsize-64/strtoull.c: New file.
260 * sysdeps/wordsize-64/strtol_l.c: New file.
261 * sysdeps/wordsize-64/strtoul_l.c: New file.
262 * sysdeps/wordsize-64/strtoll_l.c: New file.
263 * sysdeps/wordsize-64/strtoull_l.c: New file.
265 * wcsmbs/wcstol.c: Moved to ...
266 * sysdeps/generic/wcstol.c: ...here.
267 * wcsmbs/wcstoul.c: Moved to ...
268 * sysdeps/generic/wcstoul.c: ...here.
269 * wcsmbs/wcstoll.c: Moved to ...
270 * sysdeps/generic/wcstoll.c: ...here.
271 * wcsmbs/wcstoull.c: Moved to ...
272 * sysdeps/generic/wcstoull.c: ...here.
273 * wcsmbs/wcstol_l.c: Moved to ...
274 * sysdeps/generic/wcstol_l.c: ...here.
275 * wcsmbs/wcstoul_l.c: Moved to ...
276 * sysdeps/generic/wcstoul_l.c: ...here.
277 * wcsmbs/wcstoll_l.c: Moved to ...
278 * sysdeps/generic/wcstoll_l.c: ...here.
279 * wcsmbs/wcstoull_l.c: Moved to ...
280 * sysdeps/generic/wcstoull_l.c: ...here.
282 * sysdeps/wordsize-64/wcstol.c: New file.
283 * sysdeps/wordsize-64/wcstoul.c: New file.
284 * sysdeps/wordsize-64/wcstoll.c: New file.
285 * sysdeps/wordsize-64/wcstoull.c: New file.
286 * sysdeps/wordsize-64/wcstol_l.c: New file.
287 * sysdeps/wordsize-64/wcstoul_l.c: New file.
288 * sysdeps/wordsize-64/wcstoll_l.c: New file.
289 * sysdeps/wordsize-64/wcstoull_l.c: New file.
291 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
293 * sysdeps/sparc/bits/wordsize.h: New file.
294 * sysdeps/sparc/fpu/bits/fenv.h: New file.
295 * sysdeps/sparc/fpu/fpu_control.h: New file.
296 * sysdeps/sparc/gmp-mparam.h: New file.
298 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
299 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
300 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
301 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
302 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
303 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
305 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
306 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
307 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
308 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
310 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
311 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
312 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
313 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
314 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
316 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
318 * login/openpty.c (openpty): Make sure pty does not because
321 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
323 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
325 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
326 Do proper error return.
328 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
330 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
331 of __P in the rest of glibc; define __MALLOC_PMT and use it.
332 Reported by Stephan Kulow <coolo@kde.org>.
334 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
336 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
338 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
340 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
342 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
343 names to protect from user's macro namespace.
344 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
345 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
346 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
347 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
348 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
350 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
351 sysdeps/arm/fpu/fesetenv.c: Likewise.
352 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
353 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
354 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
355 * sysdeps/mips/fesetenv.c: Likewise.
357 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
359 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
361 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
363 * configure.in: Recognize and allow gcc 2.95.
365 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
367 * sysdeps/generic/bits/elfclass.h: Version common to
368 wordsize-32 and wordsize-64.
369 * sysdeps/generic/bits/environments.h: Ditto.
370 * sysdeps/generic/stdint.h: Ditto.
371 * sysdeps/generic/inttypes.h: Ditto.
373 * sysdeps/generic/bits/wordsize.h: New file.
374 * stdlib/Makefile: Add bits/wordsize.h to headers.
376 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
378 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
379 headers to be used for 32bit and 64bit ABI compilations.
380 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
381 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
382 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
383 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
384 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
386 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
387 * sysdeps/wordsize-64/bits/environments.h: Remove.
388 * sysdeps/wordsize-64/stdint.h: Remove.
389 * sysdeps/wordsize-64/inttypes.h: Remove.
390 * sysdeps/wordsize-64/bits/wordsize.h: New file.
392 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
393 * sysdeps/wordsize-32/bits/environments.h: Remove.
394 * sysdeps/wordsize-32/stdint.h: Remove.
395 * sysdeps/wordsize-32/inttypes.h: Remove.
396 * sysdeps/wordsize-32/bits/wordsize.h: New file.
398 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
400 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
401 __align_cpy_16): New functions.
402 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
404 * sysdeps/sparc/sparc32/Versions: New file.
405 * sysdeps/sparc/sparc64/Versions: New file.
406 * sysdeps/sparc/Versions: Remove.
408 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
410 * sysdeps/unix/sysv/linux/configure.in:
411 On sparc64-*-linux*, set slibdir to /lib64 if prefix
412 is /usr, plus set libdir to ${exec_prefix}/lib64.
413 * sysdeps/unix/sysv/linux/configure: Regenerated.
414 * config.make.in: Propagate libdir settings from configure
416 * shlib-versions: sparc64-*-linux* dynamic linker is
417 /lib64/ld-linux.so.2.
419 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
421 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
424 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
426 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
427 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
429 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
430 contains garbage in bits 8-63.
431 * sysdeps/sparc/sparc64/memset.S: Ditto.
432 * sysdeps/sparc/sparc64/strchr.S: Ditto.
434 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
436 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
438 1999-05-17 David S. Miller <davem@redhat.com>
440 * sysdeps/sparc/sparc32/atomicity.h: New file.
441 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
442 * sysdeps/sparc/sparc64/atomicity.h: New file.
443 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
446 1999-05-18 Richard Henderson <rth@twiddle.net>
448 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
450 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
452 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
453 posix/sys/types.h: Handle the case of __GNUC__=3,
454 __GNUC_MINOR__=(anything).
456 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
458 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
461 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
463 * elf/Makefile (distribute): Remove dl-origin.h.
464 Add dl-dst.h and gen-trusted-dirs.awk.
466 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
468 * sysdeps/i386/i486/Versions: New file with inline functions from
469 sysdeps/i386/i486/bits/string.h for now.
471 * sysdeps/i386/Versions: Add inline functions from
472 sysdeps/i386/bits/string.h.
474 * string/Versions: Add inline functions from <bits/string2.h>.
476 * string/Makefile (routines): Add string-inlines.
477 * string/string-inlines.c: New file, used for implementation of
478 extern inline functions.
480 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
481 non inlined versions of functions.
482 * string/bits/string2.h: Likewise.
483 * sysdeps/i386/bits/string.h: Likewise.
485 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
487 * inet/arpa/tftp.h: Add second packed attribute.
489 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
491 * malloc/malloc.c: Cleanup to bring in line with released
492 stand-alone version `ptmalloc'. Update some comments.
493 (internal_function): Move fallback definition so that the source
494 compiles outside of libc, and use it in more places.
495 (malloc_atfork): Fix when malloc_check is in use.
497 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
499 * stdlib/tst-strtod.c: Fix typo.
501 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
503 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
506 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
508 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
510 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
512 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
513 * sunrpc/key_call.c: Fix memory leak, close file handle.
514 * nis/nis_creategroup.c: Use malloc instead of calloc,
516 * nis/nis_subr.c: Check for realloc result.
517 * nis/nis_file.c: Fix memory leak.
518 * nis/nis_table.c: Pretty print.
519 * nis/nis_getservlist.c: Likewise.
520 * nis/nis_ismember.c: Likewise.
521 * nis/nis_lookup.c: Likewise.
522 * nis/nis_ping.c: Likewise.
523 * nis/nis_removemember.c: Likewise.
524 * nis/nis_util.c: Likewise, check calloc result.
526 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
528 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
529 * sysdeps/generic/sys/socketvar.h: ... here.
530 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
531 * sysdeps/generic/netinet/in_systm.h: ... here.
532 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
534 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
535 * inet/Makefile (headers): Add netinet/in_systm.h here.
536 * socket/Makefile (headers): Add sys/socketvar.h here.
538 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
540 * stdlib/strtol.c: Optimize inner loop of long long versions.
542 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
543 Unix98. Add forward declaration of struct utmp.
545 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
547 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
550 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
551 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
552 memory allocation results.
554 1999-05-14 Mark Kettenis <kettenis@gnu.org>
556 * sysdeps/generic/getutmp.c: Include <string.h>
557 (getutmp): Rewrite to only copy those members that are really
558 present in `struct utmp'.
559 * sysdeps/generic/getutmpx.c: Likewise.
561 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
563 * nss/getXXbyYY.c: Add free_mem function which disposes all
564 statically allocated memory when debugging.
565 * nss/getXXent.c: Likewise.
566 * nss/nsswitch.c: Likewise.
568 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
570 * sysdeps/gnu/getutmpx.c: New file.
571 * sysdeps/gnu/getutmp.c: New file.
573 1999-05-13 H.J. Lu <hjl@gnu.org>
575 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
578 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
581 * sysdeps/gnu/utmpx.h (getutmp): Added.
582 (getutmpx): Likewise.
584 * sysdeps/generic/getutmp.c: New file.
586 * sysdeps/generic/getutmpx.c: New file.
588 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
590 * glibcbug.in (BUGGLIBC): Change address to
591 libc-alpha@sourceware.cygnus.com.
593 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
595 * resolv/arpa/nameser.h: Add C++ protectors.
597 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
599 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
600 Elad Tsur <eladts@post.tau.ac.il>.
602 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
604 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
605 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
606 lazily if LD_BIND_NOW is not set.
607 * elf/dl-support.c (_dl_lazy): New variable.
608 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
609 * elf/rtld.c (_dl_lazy): new global variable.
610 ( dl_main): Remove lazy, replace it by _dl_lazy.
612 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
614 * locale/setlocale.c (new_composite_name): Check also whether the
615 first category name differs.
617 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
619 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
622 1999-05-11 Philip Blundell <pb@nexus.co.uk>
624 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
625 structure; storage suitable for any socket address.
626 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
628 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
629 sockaddr_storage): Likewise.
631 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
634 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
636 * hesiod/Versions: Change _nss_hesiod_getpwuid and
637 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
638 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
640 1999-05-09 Mark Kettenis <kettenis@gnu.org>
642 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
643 if the file is empty.
645 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
647 * elf/do-lookup.h: Fix typo in comment.
649 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
650 f_bsize to help some broken programs.
652 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
654 * stdio-common/vfprintf.c: Fix typo.
656 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
658 * elf/link.h (struct link_map): New field l_phdr_allocated.
659 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
660 the program header being part of any loaded segment. If it is not
661 allocate memory and set l_phdr_allocated flag.
662 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
664 * nss/digits_dots.c: Correct return value interpretation of
665 inet_ntoa. Fix PR libc/1109.
667 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
669 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
671 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
673 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
674 * stdlib/fpioconst.c: Move #endif before end of struct.
676 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
678 * Versions.def (ld.so): Add GLIBC_2.1.1.
679 * elf/Makefile (routines): Add dl-origin.
680 (tests): Add origtest. Add dependencies for the program.
681 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
682 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
683 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
684 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
685 DT_AUXILIARY, and DT_FILTER filenames.
686 * elf/dl-load.c (expand_dynamic_string_token): Explode into
687 two functions and three macros.
688 (_dl_dst_count, _dl_dst_substitute): New functions.
689 * elf/dl-dst.h: New file.
690 * elf/dl-open.c (_dl_open): Take extra parameter with address of
691 caller. Pass address in args structure.
692 (dl_open_worker): Recognize and expand DSTs in filename.
693 * elf/ldsodefs.h (_dl_open): Adapt prototype.
694 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
695 (__dlopen_check): Pass caller address to dlopen_doit in args.
696 * elf/dlopendoit.c: Likewise.
697 * iconv/gconv_dl.c: Adapt call of _dl_open.
698 * nss/nsswitch.c: Likewise.
699 * elf/origtest.c: New file.
700 * sysdeps/generic/dl-origin.h: Moved to...
701 * sysdeps/generic/dl-origin.c: ...here.
702 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
703 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
705 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
706 with specific bases and only few bits set in second word.
708 * timezone/Makefile (install-others): Create target directory
709 before creating tzfiles.
711 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
713 * nis/nis_file.c (readColdStartFile): Allocate memory only after
714 the file is opened successfully.
716 * nis/nis_table.c: Fix some memory leaks.
718 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
720 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
723 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
724 around DST. Correctly ignore ORIGIN IN SUID binaries.
726 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
728 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
729 * sysdeps/generic/strtok.c: Likewise.
731 * string/tester.c: Add test of rawmemchr.
733 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
734 specification. It's not necessary.
736 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
737 * elf/gen-trusted-dirs.awk: New file.
738 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
739 from SYSTEM_DIRS macro.
740 (system_dirs_len): New variable. Contains lengths of system_dirs
742 (fillin_rpath): Rewrite for systems_dirs being a simple string.
743 Improve string comparisons. Change parameter trusted to be a flag.
745 (_dt_init_paths): Improve using new format for system_dirs.
747 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
748 $ORIGIN for SUID binaries.
750 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
752 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
754 * sunrpc/Makefile: Generate dependencies for all flavors of
756 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
759 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
761 * elf/dlopenold.c: Move #if down after includes to get
764 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
766 * sysdeps/generic/bzero.c: Undefine __bzero.
768 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
770 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
771 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
772 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
773 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
775 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
776 parameter to struct gaih_servtuple *. Adapt appropriately.
777 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
778 This fixes a memory leak.
779 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
781 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
782 and fpregset_t definition. They are defined in ucontext.h.
784 1999-04-14 Scott Bambrough <scottb@netwinder.org>
786 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
787 and struct ether_header must be packed on the ARM. The default
788 alignment constraints add padding to the end of the structures.
790 1999-04-14 Scott Bambrough <scottb@netwinder.org>
792 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
793 default alignment constraints add padding to the end of the
794 structure and between members.
796 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
798 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
799 _dl_cache_libcmp instead of strcmp.
801 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
803 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
805 1998-03-30 Joel Klecker <espy@debian.org>
807 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
808 (sysdep-others,install-bin): Add lddlibc4.
810 1999-05-02 H.J. Lu <hjl@gnu.org>
812 * timezone/zic.c (dolink): Remove the symlink destination first.
814 * catgets/open_catalog.c (__open_catalog): Set catalog->status
815 to "nonexisting" if failed to open the file.
817 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
819 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
822 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
823 Prevent warnings from multiplication with 0x01010101 by another cast.
825 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
827 * string/bits/string2.h (memset): Revert to previous version if
828 unaligned writes are not available.
830 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
832 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
833 better code in presence of the asm.
835 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
837 * stdlib/fmtmsg.c (keywords): Increase array size for faster
840 * locale/localeinfo.h (_nl_category_names): Increase array element
841 size for faster indexing.
842 * locale/setlocale.c (_nl_category_names): Adjusted.
844 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
846 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
848 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
850 * sysdeps/m68k/stackinfo.h: New file.
852 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
854 * string/tester.c (test_strchrnul): New function.
855 (test_memset): Test one more special case.
857 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
860 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
863 * string/bits/string2.h: Fix bugs I introduced in last change.
865 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
867 Extend memset optimization.
868 Correct i686 version of memchr.
870 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
872 * sysdeps/i386/bzero.c: Add #undef __bzero.
874 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
875 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
876 exec server simulated a SIGTRAP before we even started up, so gdb is
879 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
881 * nss/digits_dots.c: Always initialize not_ok.
883 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
885 * string/bits/string2.h (memset): Avoid arithmetic overflow at
886 compile time, which produces obnoxious warnings. If GCCv2 is
887 in use, map __bzero to __builtin_memset to enable that
890 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
892 * string/bits/string2.h: Add more memset optimizations.
894 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
896 * resolv/inet_pton.c (inet_pton4): Little optimizations.
897 (inet_pton6): Likewise.
899 * nss/getXXbyYY_r.c: Include assert.h.
900 * nss/getXXbyYY.c: Likewise.
902 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
904 * termios/tcgetsid.c (tcgetsid): Rename variable to
905 tiocgsid_does_not_work.
907 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
909 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
911 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
913 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
914 This allows e.g. gethostbyname to accept "10.1234".
915 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
917 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
918 non quad IPv4 numbers.
920 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
922 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
924 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
926 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
927 * argp/argp-parse.c (_argp_hang): Likewise.
928 * argp/argp-pv.c (argp_program_version): Likewise.
929 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
930 * inet/ether_hton.c (ether_hton, startp): Likewise.
931 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
932 * inet/getnetgrent_r.c (setup, startp): Likewise.
933 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
934 * intl/localealias.c (string_space, string_space_act, string_space_max,
935 nmap, maxmap): Likewise.
936 * libio/iopopen.c (proc_file_chain): Likewise.
937 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
938 * locale/lc-collate.c (__collate_table, __collate_extra,
939 __collate_element_hash, __collate_element_strings,
940 __collate_element_values): Likewise.
941 * malloc/mcheck.c (mcheck_used): Likewise.
942 * malloc/mtrace.c (added_atexit_handler): Likewise.
943 * malloc/set-freeres.c (already_called): Likewise.
944 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
945 * misc/syslog.c (LogStat, LogTag): Likewise.
946 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
947 * nss/getXXbyYY_r.c (startp): Likewise.
948 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
949 * posix/regex.c (init_syntax_once) [done]: Likewise.
951 * string/strfry.c (init): Likewise.
952 * sunrpc/svc_run.c (svc_top): Likewise.
953 * posix/euidaccess.c (have_ids): Likewise.
954 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
955 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
956 * time/getdate.c (getdate_err): Likewise.
957 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
959 * time/tzset.c (old_tz, is_initialized): Likewise.
961 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
962 of static data with zero.
963 * signal/allocrtsig.c (init): Likewise.
965 * string/Makefile (routines): Add strchrnul.
966 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
967 * string/string.c: Add strchrnul prototype.
968 * include/string.h: Add __strchrnul prototype.
969 * sysdeps/generic/strchrnul.c: New file.
970 * sysdeps/i386/strchrnul.S: New file.
971 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
972 * sysdeps/i386/i486/bits/string.c: Likewise.
973 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
974 * inet/ether_line.c (ether_line): Likewise.
975 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
976 * nss/nsswitch.c (nss_parse_file): Likewise.
977 * posix/execvp.c (execvp): Likewise.
978 * posix/fnmatch.c (internal_fnmatch): Likewise.
979 * resolv/res_hconf.c (_res_hconv_init): Likewise.
980 * resolv/res_init.c (res_init): Likewise.
981 * stdlib/fmtmsg.c (init): Likewise.
982 * stdlib/getsubopt.c (getsubopt): Likewise.
984 * catgets/catgets.c (catopen): Only allocate one memory block.
985 (catclose): Only one free call necessary.
987 * catgets/open_catalog.c (__open_catalog): Simplify handling of
990 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
991 of real functions. Simplify _tolower and _toupper.
993 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
996 * iconv/gconv.h (struct gconv_info): Change data element from pointer
998 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
999 * iconv/gconv_close.c (__gconv_close): Don't free data.
1001 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
1004 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
1005 for error while inserting in tree.
1007 * include/time.h: Pretty print.
1009 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
1010 in table and lots of relocations.
1011 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
1012 string pointers in table and lots of relocations.
1014 * intl/finddomain.c: Remove definition of strchr macro.
1016 * io/ftw.c (nftw_arr, ftw_arr): Make const.
1018 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
1020 * locale/localeinfo.h (_nl_category_names): Change into an array with
1021 fixed width char string elements.
1022 * locale/setlocale.c (_nl_category_names): Likewise.
1023 (_nl_current): Make global.
1024 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
1026 * malloc/Makefile (distribute): Add stackinfo.h.
1027 * sysdeps/generic/stackinfo.h: New file.
1028 * sysdeps/i386/stackinfo.h: New file.
1029 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
1030 * posix/execle.c: Likewise.
1031 * posix/execlp.c: Likewise.
1033 * nis/nis_table.c (__create_ib_request): Always use realloc.
1035 * posix/execvp.c (execute): Rename to script_execute and keep only
1036 code to execute using shell.
1037 (execvp): Call execv directly and only fall back on script_execute.
1039 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
1040 and always use xdigits instead.
1042 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
1045 * stdlib/fpioconst.h (__tens): New declaration.
1046 (struct mp_power): Remove array, add arrayoff element.
1047 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
1048 __tens array and add in _fpioconst_pow10 offsets into __tens.
1049 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
1050 * stdlib/strtod.c: Likewise.
1052 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
1054 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
1056 * stdlib/atexit.c (__exit_funcs): Don't initialize.
1058 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
1060 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
1061 a single and an array with offsets.
1063 * sunrpc/des_soft.c (partab): Make it const.
1065 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
1066 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
1067 (__key_decryptsession_pk_LOCAL): Likewise.
1068 (__key_gendes_LOCAL): Likewise.
1069 (MESSENGER): Mark const.
1070 (key_call_private_main): Don't initialize with 0.
1071 (use_keyenvoy): Don't initialize with 0.
1072 (key_call): Rewrite to reverse logic of use_doors variable.
1074 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
1075 (startp): Don't initialize with zero.
1077 * sunrpc/openchild.c (_openchild): Make first argument const.
1079 * sunrpc/pmap_rmt.c (timeout): Mark const.
1080 * sunrpc/xcrypt.c (hex): Likewise.
1082 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
1083 initialization of global variables.
1084 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
1085 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1086 * termios/tcgetsid.c: Likewise.
1088 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
1091 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
1092 block. Add function to free memory if wanted.
1093 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
1095 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
1097 * wcsmbs/wmemset.c: Little code optimization.
1099 1999-04-23 Paul Eggert <eggert@twinsun.com>
1101 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
1104 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
1106 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
1107 implementation and just always fail with ENOSYS. This entry point is
1108 obsolete. Add link warning to that effect.
1110 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
1112 * hurd/get-host.c: Include <hurd/lookup.h>.
1114 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1116 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
1119 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1121 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
1124 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1126 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
1127 Patch by Peter Miller <millerp@canb.auug.org.au>.
1129 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
1131 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
1132 prefers loopback device.
1134 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1136 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
1137 no_leading_period change.
1139 * posix/testfnm.c: More test cases.
1141 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
1143 * include/dirent.h: Remove __getdirentries declaration, add __getdents
1145 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
1146 * sysdeps/unix/readdir_r.c: Likewise.
1147 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1148 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
1149 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
1150 __getdirentries. Remove fourth argument.
1151 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
1152 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
1153 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
1154 Add getdirentries and getdirentries64.
1155 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
1157 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
1158 pointer in case of an invalid [[: expression.
1160 * posix/testfnm.c: Add more test cases.
1162 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
1164 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
1165 set, pass EXEC_SIGTRAP flag in exec RPC.
1167 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
1169 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
1170 extra parameter. Fix several more bugs involving wildcard and
1172 (fnmatch): New function. Call internal_fnmatch.
1174 * posix/testfnm.c: More test cases.
1176 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1178 * manual/install.texi (Configuring and compiling): Explain that
1179 files are changed in the source directory.
1181 (Configuring and compiling): Explain situation with PARALLELMFLAGS
1182 in the source directory.
1184 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1186 * locale/programs/ld-ctype.c: Spelling fixes.
1187 (ctype_finish): Fix argument of error message format.
1188 * locale/programs/ld-messages.c: Spelling fixes.
1189 * locale/programs/ld-monetary.c: Spelling fixes.
1190 * locale/programs/ld-time.c (time_finish): Make sure that name and
1191 format of era_entries are adjacent.
1192 (time_output): Reduce the size of the io vector.
1194 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1196 * manual/filesys.texi (Attribute Meanings): Move a misplaced
1199 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1201 * locale/programs/ld-collate.c (collate_output): Convert
1202 undefined_offset to an array index. Fix computation of other
1205 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
1207 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
1208 return success with empty value.
1210 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
1212 * posix/fnmatch.c: Include string.h also for glibc.
1213 (fnmatch, case '?'): Optimize if cascades a bit.
1214 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
1216 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
1218 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
1220 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
1221 * iconv/gconv_int.h: Declare UTF16 functions.
1222 * iconv/gconv_simple.c: Add UTF16 conversion functions.
1224 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1226 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
1227 be used correctly as parameter for parse_dollars/parse_tilde.
1229 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1231 * manual/conf.texi (Utility Limits): Remove duplicate description
1234 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
1236 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
1237 outbufend for dst==NULL.
1239 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
1241 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
1245 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
1248 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
1250 * sunrpc/Makefile: Remove special handling of bootparam.x,
1251 add rpcsvc/bootparam.h to headers.
1252 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
1253 * sunrpc/rpcsvc/bootparam.x: Renamed to...
1254 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
1256 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
1258 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
1259 detect and handle invalid descriptors.
1261 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
1263 * timezone/zic.c (dolink): Append complete path not only filename
1266 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1268 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
1270 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
1272 * iconvdata/gconv-modules: Rename CP874 to IBM874.
1273 * iconvdata/Makefile: Likewise.
1274 * iconvdata/cp874.h: Removed.
1275 * iconvdata/cp874.c: Renamed to...
1276 * iconvdata/ibm874.c: ...this.
1278 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
1280 * sysdeps/unix/sysv/linux/bits/types.h: Correct
1281 signed/unsigned-ness of blkcnt and fsblkcnt.
1282 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1283 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1285 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
1286 SOL_AAL, and SOL_IRDA.
1288 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1290 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
1291 include "linux_fsinfo.h".
1292 Based on a patch by H.J. Lu <hjl@gnu.org>.
1294 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
1296 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
1298 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
1300 * nscd/cache.c (prune_cache): Only disable file checking for
1301 future if the file does not exist.
1302 Update file_mtime if cache was flushed.
1304 1999-04-15 David S. Miller <davem@redhat.com>
1306 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
1307 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
1309 1999-04-15 Scott Bambrough <scottb@netwinder.org>
1311 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
1312 compilation of file.
1314 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1316 * Versions.def: Add GLIBC_2.1.1 to libpthread.
1318 * iconvdata/Makefile (modules): Add KOI8-U.
1319 (distribute): Add koi8-u.c.
1320 (gen-8bit-gap-modules): Add koi8-u.
1321 * iconvdata/gconv-modules: Add KOI8-U entries.
1322 * iconvdata/koi8-u.c: New file.
1324 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
1326 * sunrpc/auth_des.c: 64bit fixes, security fixes.
1327 * sunrpc/auth_none.c: Pretty print.
1328 * sunrpc/auth_unix.c: Likewise.
1329 * sunrpc/authdes_prot.c: Likewise.
1330 * sunrpc/authuxprot.c: Likewise.
1331 * sunrpc/bindrsvprt.c: Likewise.
1332 * sunrpc/clnt_gen.c: Likewise.
1333 * sunrpc/rpc/xdr.h: Likewise.
1334 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
1335 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
1336 * sunrpc/rtime.c: Use new rpc_timeval.
1337 * sunrpc/svc_authux.c: Don't use *long pointers.
1338 * sunrpc/svcauth_des.c: Likewise + security fixes.
1339 * sunrpc/xdr_mem.c: Don't use *long pointers.
1340 * sunrpc/xdr_rec.c: Likewise.
1341 * sunrpc/xdr_sizeof.c: Likewise.
1342 * sunrpc/xdr_stdio.c: Likewise.
1344 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1346 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
1347 so that it is redone for each sending.
1349 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1351 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
1353 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1355 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
1356 known to not exist don't try to load shared objects.
1357 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
1359 * nscd/cache.c (prune_cache): The table might not be unused. In
1360 this case do nothing.
1362 * catgets/gencat.c (read_input_file): Don't drop white spaces
1363 between number/identifier and string.
1364 Patch by Dima Barsky <dima@pwd.hp.com>.
1365 If no white space at all follows number/identifier remove existing
1366 message with the number/identifier.
1368 1999-04-14 H.J. Lu <hjl@gnu.org>
1370 * sunrpc/clnt_udp.c (is_network_up): New function.
1371 (clntudp_call): Call is_network_up () to check if any network
1372 interface is up in case of timeout.
1374 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1376 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
1377 * wctype/Makefile (tests): Add test_wcfuncs.
1379 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
1381 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
1383 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
1385 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
1386 instead of CFLAGS. For gnulib and string directories use
1387 -Wa,-Av9a gcc ASFLAGS.
1388 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
1389 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
1390 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
1391 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
1392 the same way as sparc-*.
1394 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
1396 * locale/programs/locfile.c (locfile_read): Fix typo.
1397 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
1399 1999-04-14 Scott Bambrough <scottb@netwinder.org>
1401 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
1402 restarted after being interrupted by a signal. The parameters on
1403 the stack were corrupted by the signal handler.
1405 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
1406 restarted after being interrupted by a signal. The parameters on
1407 the stack were corrupted by the signal handler.
1409 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1411 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
1412 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
1414 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
1416 * posix/wordexp-test.c: In field-splitting test cases where
1417 subshells were involved, unset IFS first: some shells (ash) use
1418 IFS even when no expansion is performed.
1420 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1422 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
1423 the real end of the chunk, not some random point inbetween.
1424 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
1425 obstack when growing. Use fast version of obstack_blank when
1427 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
1428 allocating the vtable pointer.
1429 (_IO_obstack_vprintf): Adjust for above change and avoid
1430 unnecessary casts. Use fast version of obstack_blank when
1434 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
1436 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
1437 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
1439 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
1441 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
1442 is seen, as well as fixing semantics. Don't reset the word count
1443 to zero when an invalid character is seen, but leave it as it was
1444 (this makes a difference with WRDE_APPEND).
1446 * posix/wordexp-test.c: More test cases.
1448 * posix/wordexp.c (parse_param): In words like ${var#pattern},
1449 always expand pattern when it is needed. Also, handle quoting in
1452 1999-04-12 Philip Blundell <philb@gnu.org>
1454 * elf/elf.h: Update ARM definitions to match current gas2.
1456 * sysdeps/arm/bits/endian.h: Support big endian operation.
1458 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
1459 Don't bother range checking the port number.
1461 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
1463 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
1464 the syscall name in assembler output for ease of debugging.
1466 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
1468 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
1469 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
1470 (sysdep_routines): Add sigrestorer.
1472 * string/tester.c (test_strcpy): Add new tests for unaligned
1474 * sysdeps/arm/bits/string.h: Delete inline implementations of
1477 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
1479 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
1481 1999-04-10 Mark Kettenis <kettenis@gnu.org>
1483 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
1485 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
1487 * iconvdata/Makefile (modules): Add TIS-620.
1488 (distribute): Add tis-620.c.
1489 (gen-8bit-gap-modules): tis-620.
1490 * iconvdata/tis-620.c: New file.
1491 * iconvdata/gconv-modules: Add TIS-620 entries.
1493 * iconvdata/asmo_449.c: Correct comment.
1495 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1497 * manual/install.texi (Configuring and compiling): Comment out
1498 description of --disable-static since this doesn't work currently
1499 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
1501 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
1503 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
1505 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
1507 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1509 * scripts/test-installation.pl (installation_problem): Skip
1510 libnss1_* libraries from glibc-compat add-on.
1512 1999-04-07 H.J. Lu <hjl@gnu.org>
1514 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
1516 * posix/Versions (__waitpid): Likewise.
1518 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1520 * manual/install.texi (Reporting Bugs): Add section about reported
1521 bugs and correct email address of glibcbug script.
1523 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
1525 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
1526 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
1527 xdr_u_longlong_t. Based on patch from Dan Shechter
1528 <damageboy@isdn.net.il>.
1529 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
1530 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
1532 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
1534 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1536 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
1537 directly if getdents returns with error set.
1539 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1541 * locale/langinfo.h (THOUSEP): Rename second occurence of
1542 THOUSANDS_SEP to THOUSEP.
1543 Reported by Roman Belenov <roman@nstl.nnov.ru>.
1545 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
1547 * hurd/STATUS: File removed. Moved items that are still relevant into
1548 TODO list in hurd source.
1550 1999-03-26 Mark Kettenis <kettenis@gnu.org>
1552 * sysdeps/mach/hurd/bits/time.h: New file.
1553 * sysdeps/mach/hurd/getrusage.c: New file.
1554 * sysdeps/mach/hurd/clk_tck.c: New file.
1555 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
1556 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
1557 (sysdep_routines): Add clk_tck.
1558 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
1561 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
1563 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
1564 (closelog): But instead here.
1565 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
1567 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1569 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
1570 the source directory. Fixes PR libc/1059.
1572 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1574 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
1575 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1577 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
1579 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
1580 * iconvdata/testdata/ISO-8859-14: New file.
1581 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
1582 * iconvdata/testdata/ISO-8859-15: New file.
1583 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
1585 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
1587 * iconvdata/testdata/CP1258: New file.
1588 * iconvdata/testdata/CP1258..UTF8: New file.
1589 * iconvdata/TESTS: Add CP1258 entry.
1591 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
1593 * timezone/africa: Update from tzdata1999d.
1594 * timezone/europe: Likewise.
1595 * timezone/northamerica: Likewise.
1597 1999-03-31 Mark Kettenis <kettenis@gnu.org>
1599 * login/programs/pt_chown.c (main): Save effective user ID before
1600 dropping priviliges and use this to check if the program is
1603 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
1605 * iconvdata/testdata/CP1254: Update for charmap changes.
1606 * iconvdata/testdata/CP1254..UTF8: Likewise.
1607 * iconvdata/testdata/CP1255: Likewise.
1608 * iconvdata/testdata/CP1255..UTF8: Likewise.
1609 * iconvdata/testdata/CP1256: Likewise.
1610 * iconvdata/testdata/CP1256..UTF8: Likewise.
1611 * iconvdata/testdata/CP1257: Likewise.
1612 * iconvdata/testdata/CP1257..UTF8: Likewise.
1614 * iconvdata/Makefile (distribute): Remove cp1258.h.
1615 (gen-8bit-gap-modules): Add cp1258.
1616 * iconvdata/cp1258.h: Removed.
1618 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
1620 * timezone/tst-timezone.c (tests): Add more cases.
1621 (check_tzvars): Mark errors clearer.
1624 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1626 * login/programs/pt_chown.c: Drop privileges if invoked with
1627 arguments. Don't close the master pty.
1629 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
1631 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
1634 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
1636 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
1637 relocation for SUID binaries.
1639 1999-03-29 Paul Eggert <eggert@twinsun.com>
1641 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
1642 while in child process.
1644 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
1646 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
1647 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
1648 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
1649 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
1650 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
1652 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
1653 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
1654 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
1655 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
1656 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
1657 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
1658 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
1659 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
1660 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
1661 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
1662 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
1663 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
1664 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
1665 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
1666 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
1667 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
1668 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
1669 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
1670 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
1671 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
1672 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
1673 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
1674 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
1675 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
1676 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
1677 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
1679 * sysdeps/sparc/sparc32/bcopy.c: New file.
1680 * sysdeps/sparc/sparc32/bzero.c: New file.
1681 * sysdeps/sparc/sparc32/memchr.S: New file.
1682 * sysdeps/sparc/sparc32/memcpy.S: New file.
1683 * sysdeps/sparc/sparc32/memmove.c: New file.
1684 * sysdeps/sparc/sparc32/memset.S: New file.
1685 * sysdeps/sparc/sparc32/stpcpy.S: New file.
1686 * sysdeps/sparc/sparc32/strchr.S: New file.
1687 * sysdeps/sparc/sparc32/strrchr.c: New file.
1688 * sysdeps/sparc/sparc32/strcpy.S: New file.
1689 * sysdeps/sparc/sparc32/strlen.S: New file.
1690 * sysdeps/sparc/sparc32/strcat.S: New file.
1691 * sysdeps/sparc/sparc32/strcmp.S: New file.
1693 * sysdeps/sparc/sparc64/bcopy.c: New file.
1694 * sysdeps/sparc/sparc64/bzero.c: New file.
1695 * sysdeps/sparc/sparc64/memchr.S: New file.
1696 * sysdeps/sparc/sparc64/memcmp.S: New file.
1697 * sysdeps/sparc/sparc64/memcpy.S: New file.
1698 * sysdeps/sparc/sparc64/memset.S: New file.
1699 * sysdeps/sparc/sparc64/stpcpy.S: New file.
1700 * sysdeps/sparc/sparc64/strcat.S: New file.
1701 * sysdeps/sparc/sparc64/strchr.S: New file.
1702 * sysdeps/sparc/sparc64/strcmp.S: New file.
1703 * sysdeps/sparc/sparc64/strcpy.S: New file.
1704 * sysdeps/sparc/sparc64/strcspn.S: New file.
1705 * sysdeps/sparc/sparc64/strlen.S: New file.
1706 * sysdeps/sparc/sparc64/strncpy.S: New file.
1707 * sysdeps/sparc/sparc64/strpbrk.S: New file.
1708 * sysdeps/sparc/sparc64/strrchr.c: New file.
1709 * sysdeps/sparc/sparc64/strspn.S: New file.
1710 * sysdeps/sparc/sparc64/stpncpy.S: New file.
1711 * sysdeps/sparc/sparc64/strncmp.S: New file.
1713 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
1714 Append -fPIC, don't replace.
1716 * configure.in: Recognize sparcv8plus / sparcv9.
1718 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1720 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
1721 char * to avoid C++ warning.
1722 Patch by yasushi@cs.washington.edu [PR libc/1035].
1724 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1726 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
1727 declared in stdlib.h, correct return value of mkstemp.
1728 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
1730 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
1733 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1735 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
1738 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
1739 inline functions. Closes PR libc/1049.
1741 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1743 * timezone/README: Update from tzdata1999c and tzcode1999c.
1745 * timezone/africa: Update from tzdata1999c.
1746 * timezone/antarctica: Likewise.
1747 * timezone/asia: Likewise.
1748 * timezone/australasia: Likewise.
1749 * timezone/europe: Likewise.
1750 * timezone/northamerica: Likewise.
1751 * timezone/southamerica: Likewise.
1752 * timezone/zone.tab: Likewise.
1754 * timezone/zic.c: Update from tzcode1999c.
1756 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1758 * Makerules: Add $(common-objpfx)Versions.all to common-generated
1759 outside of ifndef avoid-generated.
1761 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
1763 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
1765 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
1767 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
1768 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
1770 1999-03-26 Mark Kettenis <kettenis@gnu.org>
1772 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
1773 if we build the profiled library.
1775 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1777 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
1778 Jaeger <aj@arthur.rhein-neckar.de>
1780 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
1782 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
1783 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
1784 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
1786 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
1788 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
1789 works properly in subdirs.
1791 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
1793 * sysdeps/mach/hurd/Makefile: Undo last change.
1794 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
1795 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
1797 * mach/Machrules (+preinit, +postinit, +interp,
1798 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
1799 linked just like other shared libraries.
1800 (interface.so): Fix typo in defn, so it works.
1801 ($(objpfx)$(interface.so)): Make it depend on libc.so.
1803 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
1805 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
1806 $(link-rpcuserlibs).
1808 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1810 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
1811 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
1812 targets if not building shared libraries.
1814 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1816 * configure.in: Also look in $PATH when searching for
1817 install-info. Remove autoconf bug workaround and require autoconf
1820 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1822 * db/Makefile: Don't try to install shared library link if not
1823 building with shared libs.
1825 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1827 * rt/Makefile: Link against static library if no shared lib is
1830 * localedata/Makefile: The shells scripts implementing the test
1831 require the dynamic linker which is not available with
1832 --disable-shared. Skip the test if --disable-shared is given.
1834 * linuxthreads/Makefile: Link test against static libpthread if no
1835 shared lib is available.
1837 * iconvdata/Makefile (tests): Run iconv-test only if we're
1838 building shared libraries.
1839 * elf/Makefile (tests): Likewise for elf tests.
1841 * posix/Makefile: The test frameworks globtest and wordexp-test
1842 require the dynamic linker which is not available with
1843 --disable-shared. Skip the test if --disable-shared is given.
1845 * grp/Makefile (otherlibs): For static nss build link against
1848 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1850 * debug/Makefile (install-bin): Install and build catchsegv only
1851 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
1854 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1856 * time/tzfile.c (__tzfile_read): Handle the case where there are
1857 transitions but no DST.
1859 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
1861 * mach/Machrules (extra-libs-others): Add $(interface-library) here
1862 too, so it gets built in the others pass rather than the lib pass.
1863 This is necessary since the RPC libraries need to be linked against
1866 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
1868 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
1871 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
1872 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
1873 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
1874 versions of lib{mach,hurd}user.so without reference to libc.so,
1875 then link libc.so against that to get deps and symbol versions, then
1876 finally link real lib*user.so against libc.so.
1878 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
1879 Support whole-file locking (only) by using the file_lock RPC. This
1880 has very wrong semantics, but is better than nothing for the time
1881 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
1882 protocols that will be somewhat hairy to specify.)
1884 1999-03-17 Mark Kettenis <kettenis@gnu.org>
1886 * sysdeps/mach/hurd/ptsname.c: New file.
1888 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1890 * timezone/asia: Fix rule in Asia/Nicosia entry.
1892 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1894 * manual/getopt.texi (Using Getopt): Explain "::" in option
1895 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
1897 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
1899 * sunrpc/clnt_unix.c: Fix creation of parameters for
1900 sendmsg/recvmsg on non intel platforms.
1901 * sunrpc/svc_unix.c: Likewise.
1903 1999-03-18 Philip Blundell <philb@gnu.org>
1905 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
1908 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1910 * timezone/africa: Update from tzdata1999b.
1911 * timezone/asia: Likewise.
1912 * timezone/australasia: Likewise.
1913 * timezone/europe: Likewise.
1914 * timezone/northamerica: Likewise.
1915 * timezone/southamerica: Likewise.
1916 * timezone/zone.tab: Likewise.
1918 * timezone/README: Mention tzdata1999b.
1920 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
1922 * sysdeps/generic/segfault.c (write_strsignal): New function.
1923 (catch_segfault): Use it instead of calling strsignal.
1925 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1927 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
1928 char to avoid warning.
1930 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1932 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
1934 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
1935 outbuf to unsigned char to avoid warning.
1937 1999-03-11 David S. Miller <davem@redhat.com>
1939 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
1941 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
1943 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1945 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
1947 (gconv_step_data): Likewise.
1948 * iconv/gconv_int.h (__gconv): Likewise.
1949 (__BUILINT_TRANS): Likewise.
1950 * iconv/gconv.c (__gconv): Likewise.
1951 * iconv/iconv.c (iconv): Add casts for call of __gconv.
1952 * iconv/skeleton.c: Change local parameters and variable from `char' to
1953 `unsigned char'. Remove casts from calls into modules.
1954 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
1955 `char' to `unsigned char'.
1956 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
1957 * wcsmbs/mbrtowc.c: Likewise.
1958 * wcsmbs/mbsnrtowcs.c: Likewise.
1959 * wcsmbs/mbsrtowcs.c: Likewise.
1960 * wcsmbs/wcrtomb.c: Likewise.
1961 * wcsmbs/wcsnrtombs.c: Likewise.
1962 * wcsmbs/wcsrtombs.c: Likewise.
1963 * wcsmbs/wctob.c: Likewise.
1965 1999-03-15 Mark Kettenis <kettenis@gnu.org>
1967 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
1968 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
1969 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
1970 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
1971 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
1972 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
1974 1999-03-15 Mark Kettenis <kettenis@gnu.org>
1976 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
1977 _hurd_select if TIMEMOUT is -1.
1979 1999-03-15 Mark Kettenis <kettenis@gnu.org>
1981 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
1983 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1985 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
1986 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
1988 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1990 * manual/libc.texinfo: Undo last change for now.
1992 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1994 * intl/locale.alias: Add entries for Croatian.
1995 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
1997 1999-03-13 Mark Kettenis <kettenis@gnu.org>
1999 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
2000 if the opened master pty really is a pty. `isatty' checks for
2001 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
2002 if we are out of pty's.
2004 1999-03-13 Mark Kettenis <kettenis@gnu.org>
2006 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
2007 opened file is closed on exec.
2008 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
2011 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2013 * manual/llio.texi (File Position Primitive): Reformat @end
2014 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
2016 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
2018 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
2020 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2021 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
2023 * locale/programs/localedef.c (main): Initialize `cat' to please
2026 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
2028 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
2029 check for root-owned symlinks and reject them too.
2031 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2033 * stdio-common/printf_fphex.c: Move to ...
2034 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
2035 extended precision number.
2036 * sysdeps/m68k/printf_fphex.c: New file.
2038 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2040 * manual/stdio.texi: Fix typos.
2042 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
2044 * version.h (VERSION): Bump to 2.1.1.
2046 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
2048 * nis/ypclnt.c: Try only twice to connect to NIS server.
2050 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
2052 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
2054 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2056 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
2057 (DENORM_EXP): New define. Use it as the exponent for a denormal.
2058 * stdlib/strtold.c: Moved to ...
2059 * sysdeps/generic/strtold.c: ... here.
2060 * sysdeps/m68k/strtold.c: New file.
2062 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2064 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
2065 point if the precision is zero, even if the mantissa is non-zero.
2067 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
2069 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
2070 arguments into the request message buffer inside `send_rpc'
2071 subfunction. We must repeat the marshalling when retrying the RPC
2072 after a SIGTTOU delivery.
2074 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
2075 path when there is no ctty port.
2076 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2077 Move sigstate check inside loop so we recheck after handling a signal.
2079 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2081 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
2082 O_EXLOCK are BSD extensions.
2083 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
2085 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
2087 * manual/signal.texi (Termination in Handler): Correct example.
2088 Install default handler before reraising the signal.
2089 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
2091 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
2093 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
2094 null, in which case send an empty string.
2096 1999-03-02 Mark Kettenis <kettenis@gnu.org>
2098 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
2099 backward compatibility EH functions to be linked when using
2100 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
2102 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2104 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
2105 /dev/pts status may change during runtime.
2107 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2109 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
2110 change. /dev/pts status can change during runtime.
2112 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
2114 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
2116 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
2117 add some more sanity checks.
2118 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
2121 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
2123 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
2124 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
2125 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
2126 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
2127 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
2129 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
2130 * nis/nis_print.c: Fix ctime argument for platforms where
2131 sizeof (time_t) != sizeof (int).
2133 1999-03-07 Mark Kettenis <kettenis@gnu.org>
2135 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
2136 CLOCKS_PER_SEC instead of CLK_TCK.
2138 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
2140 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
2141 whether /dev/pts is available.
2142 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
2145 * posix/globtest.sh: Make common_objpfx path absolute and and db2
2146 and hesiod directory to library path [PR libc/1007].
2148 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2150 * resolv/inet_addr.c (inet_aton): Don't allow componets >
2151 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
2153 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
2155 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
2156 DT_PLTGOT has already been relocated.
2157 (__elf_machine_fixup_plt): Likewise.
2160 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
2162 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
2164 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
2166 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
2167 and fold string to uppercase [PR libc/1005].
2169 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2171 * elf/dl-load.c (lose): Fix return type.
2173 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
2175 * sysdeps/mach/hurd/bits/fcntl.h
2176 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
2177 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
2178 set O_NOTRANS as well.
2179 (__hurd_file_name_lookup_retry): At successful end of lookup,
2180 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
2181 it is a translated node not owned by root.
2182 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
2183 on the file name passed to LOOKUP.
2185 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
2187 * manual/time.texi (High Resolution Timer): Correct computation in
2188 example. Reported by jjf@devel.cemsys.com.
2190 1999-03-02 Philip Blundell <pb@nexus.co.uk>
2192 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
2193 entry is already relocated.
2195 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2197 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
2198 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
2200 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2202 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
2203 uc_link which is the right name according to Unix98.
2204 Reported by Craig Metz [PR libc/1001].
2205 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
2206 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
2207 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
2208 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
2209 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
2210 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
2212 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2214 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
2217 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2219 * iconvdata/Makefile: Always include iconv-rules, but disable rule
2220 to regenerate it if avoid-generated.
2222 * Makeconfig: Always include sys-dirs, but disable rule to
2223 regenerate it when avoid-generated.
2225 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
2226 rule to generate sysd-syscalls.
2228 * elf/Makefile (generated): Remove $(objpfx) from names.
2230 1999-02-28 Mark Kettenis <kettenis@gnu.org>
2232 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
2233 actual length if the adress length is smaller than the input
2234 value. Change type of *LEN paramater to socklen_t.
2235 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
2236 * sysdeps/mach/hurd/accept.c (accept): Likewise.
2237 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
2238 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
2239 paramater to socklen_t.
2241 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
2243 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
2244 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
2247 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
2249 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
2250 __get_phys_pages): Cast &HBI to silence warning.
2252 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
2253 * hurd/hurdchdir.c: New file.
2254 * hurd/hurdfchdir.c: New file.
2255 * sysdeps/mach/hurd/chroot.c: Call
2256 _hurd_change_directory_port_from_name to do the work.
2257 * sysdeps/mach/hurd/chdir.c: Likewise.
2258 * sysdeps/mach/hurd/fchdir.c: Call
2259 _hurd_change_directory_port_from_fd to do the work.
2260 * hurd/fchroot.c: Likewise.
2261 * hurd/hurd.h: Declare them.
2263 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
2265 * elf/dl-load.c (lose): Add more comments to explain the `why'.
2266 (_dl_map_object): Remove redundant test.
2268 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
2270 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
2271 try to _hurd_port_free a lower-numbered descriptor that was not in any
2274 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2276 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
2277 declaration for ____wcstod_l_internal.
2279 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
2280 __strtod_internal prototype.
2281 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
2282 (____strtold_l_internal): Add prototype declaration.
2283 (__strtold_l): Call correct function.
2285 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
2287 * elf/elf.h: Add 32bit HPPA definitions.
2289 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2291 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
2292 non-checked heap is restored when malloc checking was requested by
2294 (struct malloc_state): Add using_malloc_checking.
2295 (MALLOC_STATE_VERSION): Increment minor.
2296 (using_malloc_checking, disallow_malloc_check): New variables.
2297 (__malloc_check_init): Use them.
2298 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
2299 that it can the chunk is properly instrumented when malloc
2300 checking is enabled. Set the new using_malloc_checking field.
2301 (malloc_hook_ini): Correct signature when _LIBC is not defined.
2303 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2305 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
2306 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
2309 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
2310 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
2311 if ld.so is the main program.
2313 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
2315 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
2316 large for work_buffer, allocate new buffer.
2317 (printf_unknown): Likewise. [PR libc/988]
2319 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
2321 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
2322 instead of stat and fstat.
2323 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2325 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2327 * elf/dl-error.c (_dl_signal_cerror): New function.
2328 (_dl_signal_error): Don't call receiver function.
2329 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
2330 instead of _dl_signal_error when reporting references to undefined
2331 symbols or versions.
2332 (_dl_lookup_versioned_symbol): Likewise.
2333 (_dl_lookup_versioned_symbol_skip): Likewise.
2334 * elf/dl-version.c (match_symbol): Likewise.
2336 * elf/ldsodefs.h: Declare _dl_signal_cerror.
2338 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
2340 * misc/getttyent.c (getttyent): Release lock on stream later to
2341 also protect global variable zapchar.
2343 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
2344 __times [PR libc/990].
2346 1999-02-21 David S. Miller <davem@redhat.com>
2348 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
2349 parentheses in Feb 2 changes.
2350 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2352 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2354 * sysdeps/generic/glob.c (glob): Save previous errno.
2356 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
2358 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
2359 lookup functions if it is too small.
2361 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
2363 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
2364 for tracing to the scope lists.
2365 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
2366 DT_SYMTAB is always available according to ELF spec.
2368 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
2369 call test whether there is any scope left.
2370 (_dl_lookup_versioned_symbol_skip): Likewise.
2372 * elf/Makefile (distribute): Add do-lookup.h.
2373 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
2374 * elf/dl-lookup.c: Move do_lookup function in separate file and
2375 include the file twice, for handling versioning and without it.
2377 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
2378 entry is already relocated.
2379 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
2380 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
2381 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
2382 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
2384 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
2386 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
2389 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
2390 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
2391 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
2392 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
2393 rel and rela relocations can both happen and skip one test if this
2395 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
2397 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
2399 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
2401 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
2402 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
2403 (_dl_map_object): DT_STRTAB entry is already relocated.
2404 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
2406 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
2408 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
2409 DT_VERSYM entries are already relocated.
2410 (profile_fixup): Likewise.
2411 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
2413 (match_symbol): DT_STRTAB entry is already relocated.
2414 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
2415 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
2416 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
2417 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
2418 (find_needed): DT_STRTAB entry is already relocated.
2419 (dl_main): Pass extra argument to elf_get_dynamic_info.
2420 DT_STRTAB entry is already relocated.
2421 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
2422 DT_PLTGOT entries are already relocated.
2423 (elf_machine_rela): Likewise for DT_SYMTAB.
2424 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
2426 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2427 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
2428 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2429 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2430 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
2431 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
2432 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
2433 * sysdeps/mips/mips64/dl-machine.h: Likewise.
2435 * grp/initgroups.c (initgroups): If function in current module was
2436 successful don't stop but continue to process to get all the groups.
2438 * elf/dl-load.c (_dl_map_object_from_fd): Use global
2439 _dl_pf_to_proot array to convert p_flags value.
2440 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2442 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
2443 loop to clear `info'.
2445 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
2446 do the work and don't use inline assembler.
2448 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
2450 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
2451 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
2452 noreturn, and prevent it from being inlined.
2453 Define LOSE appropriately.
2454 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
2455 Optimize decoding of p_flags for certain platforms.
2457 1999-02-19 Philip Blundell <pb@nexus.co.uk>
2459 * Makeconfig (link-libc): When doing a static link, make sure that
2460 libgcc.a is included both before and after libc.a.
2462 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
2464 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
2465 sp_warn, sp_inact, sp_expire and sp_flag.
2467 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
2469 * elf/link.h (link_map): Add l_dev and l_ino.
2470 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
2471 loaded shared object with all loaded objects. Initialize l_ino
2472 and l_dev in case it's new.
2473 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
2475 * elf/Makefile: Compile and run new test.
2476 * elf/multiload.c: New file.
2478 * nss/nsswitch.h (service_user): Change name field from const char *
2480 (name_database_entry): Likewise.
2481 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
2482 for change of `service_user'.
2483 (nss_getline): Adjust memory allocation for change of
2484 `name_database_entry'.
2486 * catgets/catgets.c: Correctly handle NLSPATH from environment
2489 * io/Makefile (routines): Add lock64.
2490 * io/Versions: Add lockf64 for GLIBC_2.1.1.
2491 * sysdeps/generic/lockf64.c: New file.
2493 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2495 * string/bits/string2.h: Only use strncmp optimization if count
2496 argument is constant.
2498 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
2500 * sysdeps/mach/hurd/revoke.c: New file.
2502 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2504 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
2505 int to avoid warning about `ISO C restricts enumerator values to
2508 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2510 * elf/dlfcn.h: Fix typo.
2511 * sysdeps/generic/bits/dlfcn.h: Likewise.
2512 * sysdeps/mips/bits/dlfcn.h: Likewise.
2514 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2516 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
2517 for the case N == 0.
2519 * db2/Makefile (distribute): Add LICENSE.
2521 1999-02-03 Jeff Bailey <jbailey@nisa.net>
2523 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
2526 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
2528 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2530 * time/mktime.c: Use ISO C form for function definitions and
2531 remove unnecessary prototypes.
2533 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
2535 * time/time.h: Avoid unneccesary #ifdef.
2537 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
2539 * stdio-common/_itoa.c (_itoa): Correct parameters to
2542 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2544 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
2545 before (e.g. in glob.h).
2548 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2550 * sysdeps/mips/fpu_control.h: Fix typo.
2551 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
2554 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
2556 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
2557 the "unused" ends of the sockets. Let pipes be bidirectional.
2559 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
2561 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
2564 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2566 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
2567 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
2569 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
2570 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
2572 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
2574 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
2576 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2578 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
2579 check for priority mask.
2581 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
2583 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
2584 Reported by Craig Metz <cmetz@inner.net> .
2586 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2588 * stdio-common/Makefile (tests): tllformat added.
2590 * stdio-common/tllformat.c: New program, based on tiformat.c with
2591 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2593 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2595 * posix/test-vfork.c: Fix exit status test.
2597 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2599 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
2600 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
2602 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2604 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
2605 of separare explicit comparisons.
2607 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2609 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
2612 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
2615 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
2617 * po/el.po: Update from translation team.
2619 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2621 * intl/locale.alias: Fix slovenian entry [PR libc/948].
2623 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2625 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
2626 * inet/ruserpass.c: Likewise.
2627 * locale/programs/stringtrans.c: Likewise.
2628 * locale/programs/localedef.c: Likewise.
2629 * nscd/grpcache.c: Likewise.
2630 * nss/nss_files/files-XXX.c: Likewise.
2631 * stdlib/canonicalize.c: Likewise.
2632 * sysdeps/posix/sigwait.c: Likewise.
2634 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2636 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
2637 even on 64 bit platforms.
2639 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
2640 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
2642 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
2644 * intl/dcgettext.c: Include locale.h is available.
2646 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
2648 * po/nl.po: Update from translation team.
2650 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
2652 * Makefile: Allow calling goals for po subdir.
2654 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
2657 * po/el.po: New file.
2659 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2661 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
2662 when processing DT_SYMBOLIC objects.
2664 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2666 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
2667 program headers without PT_PHDR only require that they are
2668 contained within one of the loaded segments. Don't use assert,
2669 since that would be a bug in the object, not the dynamic linker.
2671 1999-02-08 Richard Henderson <rth@cygnus.com>
2673 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
2674 restore all call-clobbered fp regs.
2676 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
2678 * po/cs.po: New file.
2680 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
2683 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
2685 * signal/signal.h: Don't declare __libc_allocate_rtsig.
2686 * include/signal.h: Declare __libc_allocate_rtsig here.
2688 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
2689 point functions, not do_lookup since the later can be called more
2692 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
2694 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
2695 macro, so that architectures which need to add some special
2696 offset to stack pointer can share this file.
2698 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
2699 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
2700 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
2701 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
2703 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
2704 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
2705 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
2706 between sparc32 and sparc64.
2708 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
2709 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
2710 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
2711 between sparc32 and sparc64.
2713 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
2714 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
2715 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
2716 between sparc32 and sparc64.
2718 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
2719 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
2720 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
2721 between sparc32 and sparc64.
2723 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
2725 * Versions.def: New version GLIBC_2.1.1 for libc.
2726 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
2727 * stdlib/labs.c: Moved to...
2728 * sysdeps/generic/labs.c: ...here.
2729 * stdlib/llabs.c: Moved to...
2730 * sysdeps/generic/llabs.c: ...here.
2731 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
2732 header. Declare _Exit.
2733 * sysdeps/generic/_exit.c: Add alias _Exit.
2734 * sysdeps/mach/hurd/_exit.c: Likewise.
2735 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
2736 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
2737 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
2738 * sysdeps/unix/_exit.c: Likewise.
2739 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
2740 imaxdiv and imaxabs. Declare lldiv_t if necessary.
2741 * sysdeps/wordsize-64/inttypes.h: Likewise.
2742 * sysdeps/wordsize-32/llabs.c: New file.
2743 * sysdeps/wordsize-32/lldiv.c: New file.
2744 * sysdeps/wordsize-64/labs.c: New file.
2745 * sysdeps/wordsize-64/ldiv.c: New file.
2746 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
2747 * manual/startup.texi: Document _Exit.
2749 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2751 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
2753 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
2755 * Versions.def: Add versions for ld.so.
2756 * csu/Versions: Remove __libc_stack_end here.
2757 * elf/Versions: Split libc definitions in libc and ld.so definitions.
2758 * elf/Makefile (ld-map): Change to ld.so.map.
2759 * scripts/versions.awk: Recognize dot in library names.
2761 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
2762 Don't use __tolower and __toupper in inline functions.
2763 Add optimizing macros for tolower and toupper.
2764 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
2765 (_toupper): Don't use __toupper.
2766 * ctype/ctype.c (tolower): Don't use __tolower.
2767 (toupper): Don't use toupper.
2769 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
2771 * resolv/Versions (libresolv): Export __ns_name_unpack and
2773 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
2774 make it global. Change all users. Similar for ns_name_ntop.
2775 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
2776 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
2777 directly to detect too small buffer.
2778 * resolv/nss_dns/dns-network.c: Likewise.
2780 * stdio-common/Makefile (tests): Add scanf12.
2781 * stdio-common/scanf12.c: New file.
2782 * stdio-common/scanf12.input: New file.
2783 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
2784 floating-point correctly if the number is invalid.
2786 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
2788 * stdio-common/printf_fp.c: Likewise.
2789 * stdio-common/printf_fphex.c: Likewise.
2790 * stdio-common/vfprintf.c: Likewise.
2793 See ChangeLog.9 for earlier changes.