1 1998-06-01 Gordon Matzigkeit <gord@profitpress.com>
3 * hurd/Makefile (routines): Add cthreads.
5 1998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
7 * login/login.c (login): Let pututline take care of finding the
8 positin to insert the UTMP entry. This corrects a bug where ssh
9 was not reusing UTMP entries marked as DEAD_PROCESS.
10 Reported by Herbert Xu <herbert@gondor.apana.org.au>.
12 1998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
14 * login/Makefile (tests): New variable, add tst-utmp and
16 * login/tst-utmp.c: New file.
17 * login/tst-utmpx.c: New file.
19 1998-06-01 Gordon Matzigkeit <gord@profitpress.com>
21 * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak
22 aliases for _hurd_nerr, for programs that don't use sys_errlist,
25 1998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
27 * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx.
28 * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1.
30 1998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
32 * sysdeps/mach/hurd/read.c: Rename function to __libc_read and
33 make __read a weak alias. Use ANSI-style function definition.
34 * sysdeps/mach/hurd/write.c: Likewise.
36 1998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
38 * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of
41 1998-05-30 Mark Kettenis <kettenis@phys.uva.nl>
43 * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os):
44 Renamed from librtld.so.
46 1998-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
48 * libc.map: Remove _IO_getline_info which was erroneously
49 introduced in section GLIBC_2.0.
50 Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
52 1998-06-01 Gordon Matzigkeit <gord@profitpress.com>
54 * sysdeps/generic/socket.c (__socket): Renamed from socket, and
56 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
58 1998-05-31 Gordon Matzigkeit <gord@profitpress.com>
60 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
61 ftruncate function, and create a weak alias to ftruncate.
63 1998-06-01 Gordon Matzigkeit <gord@profitpress.com>
65 * grp/fgetgrent_r.c: Use &errno instead of __errno_location ().
66 * inet/getnetgrent_r.c: Likewise.
67 * nss/getXXbyYY_r.c: Likewise.
68 * nss/getXXent_r.c: Likewise.
69 * pwd/fgetpwent_r.c: Likewise.
70 * shadow/sgetspent_r.c: Likewise.
71 * shadow/fgetspent_r.c: Likewise.
72 * sunrpc/publickey.c: Likewise.
74 1998-06-01 Gordon Matzigkeit <gord@profitpress.com>
76 * hurd/libhurduser.map: New file.
77 * mach/libmachuser.map: Likewise.
79 * libc.map: Add Hurd-specific functions to version 2.1.
80 Add __flshfp and __fillbf.
82 1998-05-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
84 * manual/signal.texi (Basic Signal Handling): Fix typo.
85 * manual/errno.texi (Error Codes): Likewise.
87 1998-06-02 Ulrich Drepper <drepper@cygnus.com>
89 * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h>
90 instead of <sys/socket.h>.
91 Patch by NIIBE Yutaka <gniibe@mri.co.jp>
93 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS):
94 Finally make it working.
95 Patch by Mark Hatle <fray@kernel.crashing.org>.
97 1998-03-22 Paul Eggert <eggert@twinsun.com>
99 * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around
102 1998-05-30 Philip Blundell <Philip.Blundell@pobox.com>
104 * stdlib/gmp-impl.h: Support strange mixed-endian double format
106 * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to
108 * sysdeps/arm/bits/fenv.h: Deleted.
109 * sysdeps/arm/fpu/ieee754.h: New file.
110 * sysdeps/arm/gmp-mparam.h: New file.
111 * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM
114 1998-06-01 Ulrich Drepper <drepper@cygnus.com>
116 * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
118 * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
119 of ((unused)). Reported by Bruno Haible.
121 1998-05-31 Philip Blundell <philb@gnu.org>
123 * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when
124 referring to errno and _errno.
126 * sysdeps/arm/fpu/feholdexcpt.c: New file.
128 * sysdeps/i386/fpu_control.h: Fix typo.
130 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support.
131 (_JMPBUF_UNWINDS): Added.
132 * sysdeps/arm/fpu/bits/setjmp.h: New file.
134 1998-05-25 Gordon Matzigkeit <gord@profitpress.com>
136 * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in
137 order to build header files, not `generated'.
139 * Rules (before-compile): New target which depends on all
140 $(before-compile) files.
142 1998-06-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
144 * nis/nis_call.c: Make directory search faster.
146 * nis/nis_callback.c: Insert public key of user in callback data.
148 * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
150 * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
152 * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
154 * nis/nis_intern.h: Remove duplicated prototype.
156 1998-06-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
158 * sunrpc/auth_des.c: Move prototypes from here ...
159 * sunrpc/rpc/auth.h: ... to here.
161 * sunrpc/clnt_tcp.c: Add more control flags.
162 * sunrpc/clnt_udp.c: Likewise.
164 * sunrpc/netname.c (host2netname): Remove prefixing dot from
167 * sunrpc/rpc/clnt.h: Document, which control flags are not
170 * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
172 1998-05-29 Ulrich Drepper <drepper@cygnus.com>
174 * locale/loadlocale.c (_nl_load_locale): Don't allow too small
175 files crash the program.
177 * io/Makefile: Don't run ftwtest-sh if cross-compiling.
178 * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
179 Reported by Deborah Wallach <kerr@pa.dec.com>.
181 1998-05-28 00:53 Zack Weinberg <zack@rabi.phys.columbia.edu>
183 * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
184 on whether this is a stable release or not (keeps snapshot bug
185 reports out of the database).
187 * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
188 * sysdeps/arm/sysdep.h: Likewise.
189 * sysdeps/i386/sysdep.h: Likewise.
190 * sysdeps/m68k/sysdep.h: Likewise.
191 * sysdeps/mach/mips/sysdep.h: Likewise.
192 * sysdeps/mach/sys/reboot.h: Likewise.
193 * sysdeps/mach/sysdep.h: Likewise.
194 * sysdeps/unix/alpha/sysdep.h: Likewise.
195 * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
196 * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
197 * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
198 * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
199 * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
200 * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
201 * sysdeps/unix/i386/sysdep.h: Likewise.
202 * sysdeps/unix/mips/sysdep.h: Likewise.
203 * sysdeps/unix/sparc/sysdep.h: Likewise.
204 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
205 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
206 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
207 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
208 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
209 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
210 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
211 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
213 1998-05-27 Mark Kettenis <kettenis@phys.uva.nl>
215 * mach/Machrules: Use $(move-if-change).
217 1998-05-27 Mark Kettenis <kettenis@phys.uva.nl>
219 * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
220 * Makerules (lib%.so): Depend on $(+interp).
221 (libc.so): Add interp.os to list of dependencies.
222 (interp-obj): Remove variable.
223 * mach/Machrules (+interp): Define to empty since libhurduser and
224 libmachuser don't need to have the interpreter set.
226 1998-05-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
228 * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
230 * resolv/gethnamaddr.c: Likewise.
232 * resolv/res_comp.c: Likewise.
234 1998-05-28 Mark Kettenis <kettenis@phys.uva.nl>
236 * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
237 so that transparent union works.
239 1998-05-29 08:58 Ulrich Drepper <drepper@cygnus.com>
241 * manual/texinfo.tex: Update to last available version.
243 * timezone/africa: Update from tzdata1998e.
244 * timezone/antarctica: Likewise.
245 * timezone/asia: Likewise.
246 * timezone/australasia: Likewise.
247 * timezone/europe: Likewise.
248 * timezone/iso3166.tab: Likewise.
249 * timezone/northamerica: Likewise.
250 * timezone/tzselect.ksh: Likewise.
251 * timezone/zone.tab: Likewise.
253 1998-05-27 Ulrich Drepper <drepper@cygnus.com>
255 * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
256 Reported by Matt McLean <keys@brio.yikes.com>.
258 1998-05-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
260 * catgets/Makefile ($(objpfx)de.cat): Renamed from
261 do-gencat-test. Use automatic variables.
262 ($(objpfx)de.msg): Fix reference to po file.
264 1998-05-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
266 * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
269 1998-05-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
271 * intl/dcgettext.c: Fix typo.
273 1998-05-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
275 * configure.in: Allow more make versions e.g 3.76.90.
277 1998-05-25 Ulrich Drepper <drepper@cygnus.com>
279 * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
281 * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
282 for Hurd. Patch by Mark Kettenis.
284 1998-04-18 Gordon Matzigkeit <gord@profitpress.com>
286 * mach/Machrules (+preinit, +postinit): Define these variables to
287 empty because libhurduser and libmachuser don't need startup
290 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
292 * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
293 instead of a raw bitmask.
295 1998-05-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
297 * Makeconfig (rpath-dirs): New variable.
298 (rpath-link): Use it.
299 (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
300 (db-objpfx): Removed.
301 * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
302 * md5-crypt/Makefile: Likewise.
303 * sysdeps/mach/hurd/Makefile: Likewise.
305 * Makeconfig (move-if-change): New variable.
306 * iconvdata/Makefile (move-if-change): Removed.
307 * manual/Makefile (move-if-change): Set only if undefined, use
308 local script by default.
309 * sunrpc/Makefile (move-if-change): Removed.
310 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
313 * elf/Makefile: Remove all references to obsolete file
315 ($(objpfx)trusted-dirs.h): Use stamp file. Cleanup command.
317 1998-05-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
319 * elf/dl-close.c (_dl_close): Add debugging message.
321 1998-05-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
323 * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
324 to get Linux version and not gcc version.
325 Reported by Alan Curry <pacman@cqc.com>.
327 1998-05-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
329 * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
330 pointers - return unknown error message instead.
331 Reported by Alan Curry <pacman@cqc.com>.
333 1998-05-24 Mark Kettenis <kettenis@phys.uva.nl>
335 * iconvdata/Makefile (modules, sed-generated-headers,
336 perl-generated-headers): ibm424.h is perl generated. Make
337 necessary modifications to compile without perl.
339 1998-05-24 Mark Kettenis <kettenis@phys.uva.nl>
341 * hesiod/hesiod.c (read_config_file): Fix typo.
343 1998-05-24 Ulrich Drepper <drepper@cygnus.com>
345 * version.h: Bump VERSION.
347 * csu/Makefile (distribute): Add munch-tmpl.c.
349 1998-05-23 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
351 * nis/nis_defaults.c: Fix buffer problems and typos.
353 1998-05-23 08:42 Ulrich Drepper <drepper@cygnus.com>
355 * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
358 1998-05-22 Ulrich Drepper <drepper@cygnus.com>
360 * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
363 * libio/strops.c (_IO_str_underflow): Read newly available
364 character from buffer as unsigned.
366 1998-05-22 10:56 Ulrich Drepper <drepper@cygnus.com>
368 * catgets/Makefile (distribute): Add xopen-msg.h.
369 (generated): Add de.msg and de.cat.
370 (tests): Add do-gencat-test.
371 (do-gencat-test): New goal. Run gencat on a generated msg file.
372 * catgets/xopen-msg.h: New file.
374 1998-05-22 Ulrich Drepper <drepper@cygnus.com>
376 * catgets/open_catalog.c (__open_catalog): Use byteswap.h
377 functions. Optimize filename creation a bit.
379 1998-05-22 09:29 Ulrich Drepper <drepper@cygnus.com>
381 * stdlib/random_r.c: Help gcc to optimize the code.
382 Patch by Joe Keane <jgk@jgk.org>.
384 1998-05-21 Ulrich Drepper <drepper@cygnus.com>
386 * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
389 1998-05-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
391 * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
394 1998-05-21 15:27 Ulrich Drepper <drepper@cygnus.com>
396 * wcsmbs/wcsnrtombs.c: Correct computation of result.
397 * wcsmbs/wcsrtombs.c: Likewise.
399 * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
400 * wcsmbs/wcsmbs-tst1.c: New file.
402 * iconv/loop.c (COUNT_CONVERTED): Correct computation.
404 * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
407 * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
410 1998-05-21 Philip Blundell <philb@gnu.org>
412 * sysdeps/arm/fpu_control.h: Replace stub file with real
414 * sysdeps/arm/fpu/bits/fenv.h: New file.
415 * sysdeps/arm/fpu/fesetround.c: Likewise.
416 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
417 * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
418 * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
419 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
420 * sysdeps/arm/fpu/fegetenv.c: Likewise.
421 * sysdeps/arm/fpu/fesetenv.c: Likewise.
423 1998-05-21 16:34 Richard Henderson <rth@cygnus.com>
425 * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
426 read instead of mmap.
428 1998-05-21 8:16 Richard Henderson <rth@cygnus.com>
430 * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
431 directly instead of include_next. Add missing semicolons.
432 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
433 Add missing semicolons.
435 1998-05-21 Ulrich Drepper <drepper@cygnus.com>
437 * iconvdata/gconv-modules: Add more aliases to please java
440 1998-05-20 Ulrich Drepper <drepper@cygnus.com>
442 * stdio-common/vfprintf.c (process_arg): Fix typo.
444 * iconvdata/TESTS: New tests for EUC-KR.
446 * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
447 * iconvdata/testdata/EUC-KR: New file.
449 1998-05-20 07:26 H.J. Lu <hjl@gnu.org>
451 * math/libm-test.c (hypot_test): Fix a typo.
453 1998-05-20 Ulrich Drepper <drepper@cygnus.com>
455 * stdio-common/vfprintf.c: When precision is specified for %ls or
456 %S handle it correctly.
458 1998-05-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
460 * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
461 the" in one line - fixed it.
462 * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
463 * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
464 * posix/unistd.h: Likewise
466 1998-05-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
468 * Makeconfig (rpath-link): Add resolvobjdir.
469 (resolvobjdir): New variable.
470 Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
472 1998-05-20 09:36 Ulrich Drepper <drepper@cygnus.com>
474 * elf/dl-close.c: Call shared object terminators at the right time.
475 Patch by Philippe Troin <phil@fifi.org>.
477 1998-05-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
479 * Make-dist (+tsrcs): Also add *.map for every member of
482 * Makefile (distribute): Don't distribute scripts/printsources and
483 scripts/=__ify. Distribute FAQ.in.
484 (rpm/%): Don't pass subdirs to sub-make.
486 * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
487 instead of $(no_deps).
489 1998-05-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
491 * sysdeps/generic/setenv.c: Protect against GNU C extension.
492 (KNOWN_VALUE, STORE_VALUE): Do it right.
493 (setenv): Remove unused variable.
495 1998-05-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
497 * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
498 (CFLAGS-zdump.c): Add $(tz-cflags).
500 * timezone/zdump.c (abbr): Use TM_ZONE if defined. Add const to
503 1998-05-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
505 * time/tzfile.c (__tzfile_compute): Undo last change. Instead
506 take struct tm parameter and set tm_isdst, tm_zone and tm_offset
508 * time/tzset.c: Update prototype of __tzfile_compute.
509 (__tz_convert): Pass tp to __tzfile_compute. Don't set tm_isdst,
510 tm_zone and tm_offset here if __use_tzfile.
512 1998-05-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
514 * Makerules: Install libc.a even if there are no object file.
516 1998-05-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
518 * Makerules (do-makelib): Don't force creating library from
519 scratch, to avoid wasting time and space and to get correct
520 behaviour if $(subdirs) is incomplete.
522 1998-05-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
524 * Makerules (do-stamp): Make it work when building in source
527 1998-05-20 00:10 Ulrich Drepper <drepper@cygnus.com>
529 * elf/dl-load.c: Rename option and variable from ignore-rpath to
531 * elf/dl-support.c: Likewise.
532 * elf/ldsodefs.h: Likewise.
533 * elf/rtld.c: Likewise.
534 * iconvdata/run-iconv-test.sh: Likewise.
536 1998-05-19 23:08 Ulrich Drepper <drepper@cygnus.com>
538 * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
539 variable using the value.
540 * elf/ldsodefs.h: Declare _dl_ignore_path.
541 * elf/dl-load.c (decompose_rpath): Compare name of handled shared
542 object against list in _dl_ignore_path and ignore RPATH if on the list.
543 * elf/dl-support.c: Define _dl_ignore_path for static binaries.
544 * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
545 to make sure we get the correct helper libraries loaded.
547 * elf/dl-load.c (decompose_rpath): Remove `room' parameter. Use
548 "RPATH" string in call to fillin_rpath instead.
549 (_dl_init_paths): Remove this parameter from call to decompose_rpath.
551 1998-05-19 Ulrich Drepper <drepper@cygnus.com>
553 * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
554 correctly. Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
556 1998-05-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
558 * manual/terminal.texi (I/O Queues): Fix typo.
560 * manual/stdio.texi (Closing Streams): Fix grammar.
562 * manual/arith.texi (Absolute Value): Correct typo.
563 Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
565 1998-05-19 15:58 Ulrich Drepper <drepper@cygnus.com>
567 * elf/rtld.c (process_envvars): Fix typo. Don't handle
568 LD_PROFILE_OUTPUT in SUID binaries.
569 * intl/dcgettext.c: In SUID binaries don't let language part of
570 locale value contain path elements.
571 * intl/explodename.h: Define new function _nl_find_language.
572 * intl/loadinfo.h: Declare _nl_find_language.
573 * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
574 language part it drop the value is path element is contained.
576 * locale/setlocale.c: Fix typo.
578 1998-05-18 Philip Blundell <Philip.Blundell@pobox.com>
580 * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
582 * sysdeps/arm/strlen.S: Support both big and little endian processors.
584 * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
585 log, not a byte-count.
587 * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
590 1998-05-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
592 * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
593 * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
594 * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
595 * posix/unistd.h: Likewise.
596 * math/math.h: Likewise.
597 * manual/users.texi (Manipulating the Database): Likewise.
598 * manual/signal.texi (Job Control Signals): Likewise.
599 * manual/message.texi (The gencat program): Likewise.
600 * manual/filesys.texi (Hard Links): Likewise.
601 * manual/math.texi (SVID Random): Likewise.
602 * manual/llio.texi (Waiting for I/O): Likewise.
603 * manual/io.texi (File Name Errors): Likewise.
604 * manual/conf.texi (String Parameters): Likewise.
605 * manual/arith.texi (Infinity): Likewise.
606 * malloc/malloc.c: Likewise.
607 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
608 * csu/Makefile: Likewise.
610 1998-05-19 12:16 Ulrich Drepper <drepper@cygnus.com>
612 * manual/memory.texi: Add back accidently removed line.
614 1998-04-25 Mark Kettenis <kettenis@phys.uva.nl>
616 * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
617 (timeout_handler): New function.
618 (LOCK_FILE, UNLOCK_FILE): New macros.
619 Implement file locking with timeout.
620 (getutent_r_file, internal_getut_r, getutline_r_file,
621 pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
624 1998-05-18 11:38 Ulrich Drepper <drepper@cygnus.com>
626 * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
629 1998-05-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
631 * rpm/Makefile: Delete inclusion of version.mk.
633 1998-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
635 * libc.map: Add all libio functions needed libstdc++ with version
638 1998-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
640 * iconvdata/Makefile (generated): Add *.stmp files.
642 1998-05-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
644 * timezone/Makefile (testdata, build-testdata): New variables, use
645 them in rules for test data.
646 ($(objpfx)tst-timezone.out): Depend on test data.
647 ($(testdata)/Europe/Berlin, $(testdata)/Universal,
648 $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
649 New rules to build test data.
650 (tst-timezone-ENV): Pass TZDIR to point to test data.
652 1998-05-18 Ulrich Drepper <drepper@cygnus.com>
654 * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
655 (the designation sequence is disturbing).
657 1998-05-17 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
659 * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
660 * sunrpc/xdr_rec.c: Likewise.
662 1998-05-15 Ulrich Drepper <drepper@cygnus.com>
664 * posix/Makefile (tests): Add runptests.
665 (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
666 (before-compile): Add ptestcases.h.
667 (ptestscases.h): Add rule to generate from PTESTS.
668 * posix/runptests.c: New file.
669 * posix/PTESTS: New file.
670 * posix/PTESTS2C.sed: New file.
672 1998-05-15 Ulrich Drepper <drepper@cygnus.com>
674 * iconv/loop.c: Let user add code to use and set paramaters.
676 * iconvdata/iso-2022-kr.c: Correct to-loop.
678 * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
679 point to output buffer.
681 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
684 * iconvdata/TESTS: Add ISO-2022-KR test.
685 * iconvdata/testdata/ISO-2022-KR: New file.
687 1998-05-15 21:07 Ulrich Drepper <drepper@cygnus.com>
689 * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
691 * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
693 * wcsmbs/btowc.c: Likewise.
694 * wcsmbs/mbrtowcs.c: Likewise.
695 * wcsmbs/mbsnrtowcs.c: Likewise.
696 * wcsmbs/mbsrtowcs.c: Likewise.
697 * wcsmbs/wcrtomb.c: Likewise.
698 * wcsmbs/wcsnrtombs.c: Likewise.
699 * wcsmbs/wcsrtombs.c: Likewise.
700 * wcsmbs/wctob.c: Likewise.
701 * iconv/skeleton.c: Increment invocation_counter.
702 * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
705 * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
706 * iconvdata/iso-2022-jp.c: Likewise.
707 * iconvdata/iso646.c: Likewise.
709 * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
711 1998-05-15 Ulrich Drepper <drepper@cygnus.com>
713 * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
715 * sysdeps/generic/setenv.c (setenv): Remove optimization for
716 overwriting existing values if it fits.
718 1998-05-15 14:36 Ulrich Drepper <drepper@cygnus.com>
720 * posix/wordexp-test.c: Avoid duplicate messages.
722 * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
723 tsearch. Correctly interpret values returned by those functions.
724 (unsetenv): Store pointer to string, not pointer to string pointer.
726 * time/tzfile.c (__tzfile_compute): Take new arguments. Store
727 DST information and offset in them.
728 * time/tzset.c (__tz_convert): Pass extra parameters to
729 __tzfile_compute. Compute equivalent values for use of tz_rules.
731 1998-05-15 00:49:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
733 * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
734 stamp files to avoid unnecessary recompilation.
735 (gen-8bit-gap-table): Likewise.
736 (move-if-change): New variable.
737 (all generated .h rules): Change to be .stmp rules.
738 (%.h): New rule; depend on %.stmp; no commands.
739 (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
742 1998-05-15 01:09 Zack Weinberg <zack@rabi.phys.columbia.edu>
744 * Makerules (libc-map): Deleted.
745 (load-map-file): Set to the appropriate compiler switch, not
746 just the file name. If libfoo-map is not set, look for a
747 libfoo.map in the current directory and $(..).
748 (map-file): New variable, contains just the mapfile name.
749 (build-shlib): Adjust for new value of load-map-file.
750 (libc.so): Correct dependencies.
752 * extra-lib.mk: Correct shlib dependencies since libfoo-map
753 may not be set anymore.
755 * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
756 Delete libdl-map. Tweak ld.so link rule to work with changed
757 variable settings in Makerules.
758 * iconvdata/Makefile: Tweak build-module to work with changed
759 variable settings in Makerules.
761 * db/Makefile: Delete libdb-map.
762 * hesiod/Makefile: Delete libnss_hesiod-map.
763 * linuxthreads/Makefile: Delete libpthread-map.
764 * locale/Makefile: Delete libBrokenLocale-map.
765 * login/Makefile: Delete libutil-map.
766 * math/Makefile: Delete libm-map.
767 * md5-crypt/Makefile: Delete libcrypt-map.
768 * nis/Makefile: Delete libnsl-map, libnss_nis-map,
769 libnss_nisplus-map, and libnss_compat-map.
770 * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
772 * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
773 * rt/Makefile: Delete librt-map.
775 1998-05-15 01:06 Zack Weinberg <zack@rabi.phys.columbia.edu>
777 * configure.in: Instead of substituting `yes' or `no' for whether
778 --no-whole-archive is available, set @no_whole_archive@ to the
779 appropriate gcc switch or the empty string. Likewise for
781 * config.make.in: Replace have-no-whole-archive with
782 no-whole-archive and have-no-exceptions with no-exceptions.
783 * Makerules: Delete stanzas setting no-whole-archive and
786 * sunrpc/Makefile: Use move-if-change to update generated .h
789 1998-05-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
791 * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
794 1998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
796 * time/tzfile.c (__tzfile_read): Remove unused variable info.
797 (__tzfile_compute): Likewise.
799 1998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
801 * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
802 defines from Linux 2.1.102.
804 1998-05-14 23:14 Ulrich Drepper <drepper@cygnus.com>
806 * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
808 1998-05-14 13:25 Ulrich Drepper <drepper@cygnus.com>
810 * inet/netinet/in.h: Add defines for multicast.
811 Reported by Jeremy Hall <jhall@UU.NET>.
813 * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
814 * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
815 and unsetenv. Optimize _LIBC case.
816 * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
817 Define functions with leading __.
819 * time/tzfile.c: Correct handling of global variables daylight,
820 timezone, and tzname.
821 * time/tzset.c: Likewise.
822 * timezone/Makefile (tests): Add tst-timezone.
823 * timezone/tst-timezone.c: New file.
825 1998-05-14 10:35 Ulrich Drepper <drepper@cygnus.com>
827 * timezone/asia: Update from tzdata1998d.
828 * timezone/australasia: Likewise.
829 * timezone/europe: Likewise.
831 1998-05-13 Ulrich Drepper <drepper@cygnus.com>
833 * string/string.h: Don't use the optimized versions for the string
834 functions if optimizing for space.
836 * stdlib/tst-strtod.c: Add test for -0.0.
838 * io/ftwtest-sh: Prevent tests from being run by root.
840 * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
841 last addition. Patch by wkpark@chem.skku.ac.kr.
843 1998-05-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
845 * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
848 1998-05-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
850 * iconvdata/gen-8bit.sh: New file.
851 * iconvdata/gen-8bit-gap.sh: New file.
852 * iconvdata/gen-8bit-gap-1.sh: New file.
853 * iconvdata/Makefile (generate-8bit-table): Use shell script
854 instead of writing the commands directly.
855 (generate-8bit-gap-table): Likewise.
856 ($(objpfx)iso8859-7jp.h): Likewise.
857 (generated headers): Depend on shell script instead of Makefile.
858 (before-compile): Add $(perl-generated-headers) only if perl is
860 (headers): Depend on $(perl-generated-headers) only if perl is
862 (sed-generated-headers): Remove iso8859-7jp.h.
864 1998-05-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
866 * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command. Clean up.
869 1998-05-12 Ulrich Drepper <drepper@cygnus.com>
871 * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
872 formed charset names to getfct. Let user override charset
873 selection by mention charset in locale name.
875 1998-05-12 12:15 Ulrich Drepper <drepper@cygnus.com>
877 * posix/glob.c: Move to ...
878 * sysdeps/generic/glob.c: ...here.
879 * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
881 * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
882 * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
883 * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
884 * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
886 * libc.map [GLIBC_2.1]: Add glob and globfree.
888 1998-05-12 Ulrich Drepper <drepper@cygnus.com>
890 * sunrpc/Makefile (generated): Restore old list.
892 1998-05-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
894 * rt/Makefile (tests): Define only if we have a thread library.
896 * nis/ypclnt.c: Add: #include <errno.h>.
898 1998-05-10 15:39 Zack Weinberg <zack@rabi.phys.columbia.edu>
900 * configure.in: Define and substitute RELEASE as well as
902 * config.make.in: Add RELEASE and VERSION to be substituted.
903 * Makeconfig: Delete all references to version.mk.
904 * Make-dist: Likewise.
905 * MakeTAGS: Likewise.
906 * elf/Makefile: Likewise.
908 1998-05-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
910 * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
911 yp_get_default_domain.
913 1998-05-12 Ulrich Drepper <drepper@cygnus.com>
915 * sysdeps/posix/profil.c (__profil): Don't define act and timer
916 variables as static. Patch by Joe Keane <jgk@jgk.org>.
918 1998-05-12 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
920 * malloc/malloc.c: Fix for NO_THREADS case.
922 1998-05-11 18:02 Richard Henderson <rth@cygnus.com>
924 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
925 Remove statfs and fstatfs.
926 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
928 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
930 1998-05-09 Ulrich Drepper <drepper@cygnus.com>
932 * libc.map: Add capget and capset.
934 1998-05-08 Ulrich Drepper <drepper@cygnus.com>
936 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
937 (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
938 vector. Patch by Mark Hatle <fray@kernel.crashing.org>
939 and Matt McLean <keys@brio.yikes.com>.
941 1998-05-08 23:49 Ulrich Drepper <drepper@cygnus.com>
943 * misc/Makefile (tests): Add tst-mntent.
944 * misc/tst-mntent.c: New file.
946 1998-05-08 21:56 Zack Weinberg <zack@rabi.phys.columbia.edu>
948 * autolock.sh: Removed.
949 * manual/move-if-change: Removed.
951 * scripts: New directory.
952 * =__ify: Moved to scripts.
953 * config.guess: Likewise.
954 * config.sub: Likewise.
955 * gen-FAQ.pl: Likewise.
956 * install-sh: Likewise.
957 * mkinstalldirs: Likewise.
958 * move-if-change: Likewise.
959 * printsources: Likewise.
960 * rellns.sh: Likewise.
961 * test-installation.pl: Likewise.
963 * configure.in: Look in scripts for config.guess, config.sub,
965 * Makefile: Distribute all above files in their
966 new home. Find gen-FAQ.pl and test-installation.pl in scripts.
967 * manual/Makefile: Find mkinstalldirs and move-if-change in
968 $(..)scripts. Drop them from distribute. Minor cleanups.
969 * Makerules: Find mkinstalldirs and rellns-sh in scripts.
970 * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
971 * timezone/Makefile: Find rellns-sh in scripts.
973 1998-05-08 Ulrich Drepper <drepper@cygnus.com>
975 * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
976 Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
978 1998-05-08 19:24 Zack Weinberg <zack@rabi.phys.columbia.edu>
980 * Makefile (+subdir-inits): Delete variable.
981 (+init_subdirs): Likewise.
983 (before-compile): Likewise.
984 (libc-init): Delete stanza.
985 (version-info.h): Delete rule and associated variable.
986 (distribute): Don't distribute moved files.
987 * Makerules (interp-obj): It lives in elf now. Only use it
988 if $(elf) is set. Delete rule to build it.
989 * csu/Makefile: Build set-init.o and/or munch-init.o. Build
990 version.o and version-info.h. Minor cleanups.
991 (routines): Add libc-init, sysdep, version.
992 (generated): Add version-info.h.
993 * elf/Makefile: Build interp.os.
995 * interp.c: Moved to elf.
996 * set-init.c: Moved to csu.
997 * munch-init.c: Likewise.
998 * munch.awk: Likewise.
999 * version.c: Likewise.
1001 * Rules: Unconfuse syntax highlighting with a fake comment.
1003 1998-05-08 Ulrich Drepper <drepper@cygnus.com>
1005 * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
1008 1998-05-08 16:36 Zack Weinberg <zack@rabi.phys.columbia.edu>
1010 * iconvdata/Makefile (generated): Set to *-generated-headers
1012 (tests): Set to iconv-test.
1013 * localedata/Makefile (generated-dirs): Add ld-test-names to list.
1014 * posix/Makefile (generated): Set to wordexp-test-result*.
1015 * sunrpc/Makefile (generated): Remove rpcsvc/*.
1016 (generated-dirs): Add rpcsvc.
1017 * libio/Makefile: Clean up.
1019 1998-05-08 14:55 Ulrich Drepper <drepper@cygnus.com>
1021 * Make-dist (+tsrcs): Also use tests-statc where tests is used.
1022 * Makerules: Likewise.
1023 (+depfiles): Also add sysdep-others.
1025 * iconv/Makefile (distribute): Add loop.s and skeleton.c.
1026 * iconvdata/Makefile (distribute): Add TESTS.
1027 * localedata/Makefile (repertoires): Rename to repertoiremaps.
1028 * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
1029 * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
1030 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
1031 sysdep-others, not others.
1032 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1033 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
1035 1998-05-08 12:26 Ulrich Drepper <drepper@cygnus.com>
1037 * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
1038 cost_hi and cost_lo.
1039 * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
1040 Cost parameter and set cost_lo to INT_MAX.
1041 (add_module): Take new parameter and use it to initialize cost_lo.
1042 (read_conf_file): Count modules being loaded and use counter for
1043 new parameter to add_module.
1044 * iconv/gconv_db.c (find_derivation): When look for cost examine
1045 cost_hi and cost_lo.
1047 1998-05-08 10:52 Ulrich Drepper <drepper@cygnus.com>
1049 * string/bits/string2.h: Don't use unsigned char * unless really
1050 necessary since this disturbs C++.
1051 * sysdeps/i386/i486/bits/string.h: Likewise.
1052 Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
1054 1998-05-08 13:53 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1056 * malloc/malloc.c (top_check): Fix last change.
1058 1998-05-07 Ulrich Drepper <drepper@cygnus.com>
1060 * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
1061 Patch by Matt McLean <keys@brio.yikes.com>.
1063 1997-05-07 13:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1065 * Makerules (lib): Put back dependency on lib-noranlib.
1066 ($(subdirs-stamps)): Remove dependency on stamp.* again.
1068 1998-05-07 Ulrich Drepper <drepper@cygnus.com>
1070 * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
1071 test in __pow2 implementation.
1073 1998-04-16 07:42 Geoff Keating <geoffk@ozemail.com.au>
1075 * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
1076 Still need *FLAGS-.o because we still sometimes build .o files.
1077 * db2/Makefile: Don't build libndbm.a if !build-static.
1079 1998-05-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1081 * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
1083 1998-04-16 07:42 Geoff Keating <geoffk@ozemail.com.au>
1085 * configure.in: New test for broken gcc on PowerPC.
1086 * sysdeps/powerpc/atomicity.h: Use result of test.
1087 * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
1089 * math/libm-test.c: Update many of the epsilon to match actual
1092 * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
1093 * sysdeps/libm-ieee754/e_expf.c: Likewise.
1094 * sysdeps/libm-ieee754/s_exp2.c: Likewise.
1095 * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
1097 * sysdeps/libm-ieee754/e_pow.c: Correct typo.
1099 * sysdeps/powerpc/elf/libc-start.c: New file.
1100 * sysdeps/powerpc/elf/start.S: New file, use libc-start.
1101 * sysdeps/powerpc/elf/start.c: Delete.
1103 * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
1104 * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete. It was unused.
1106 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
1109 1998-05-06 12:51 Ulrich Drepper <drepper@cygnus.com>
1111 * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
1114 * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
1115 * sysdeps/libm-i387/e_powl.S: Likewise.
1117 1998-03-31 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
1119 * malloc/malloc.c (chunk2mem_check, top_check): New functions.
1120 (malloc_check, free_check, realloc_check, memalign_check): Use
1121 them to improve overrun checking. Overruns of a single byte and
1122 corruption of the top chunk are now detected much more reliably.
1124 1998-05-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1126 * math/libm-test.c (pow_test): Add test for special value from PR
1129 1998-05-06 Ulrich Drepper <drepper@cygnus.com>
1131 * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
1132 including linux/errno.h.
1134 1998-05-06 09:49 Ulrich Drepper <drepper@cygnus.com>
1136 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
1138 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
1139 * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
1141 1998-05-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1143 * Makerules (elide-routines.*): Fix assignments.
1144 (do-makelib): Fix typo.
1145 ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
1148 1998-05-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1150 * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
1151 $(objpfx)sysd-dirs): Move them...
1152 * Makeconfig: ... here.
1153 * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
1154 (stubs): Fix circular depedency.
1155 (do-makelib): Clean up.
1156 (lib): Don't depend on lib-noranlib.
1157 ($(objpfx)stamp.oS): Remove special case for empty
1158 static-only-routines.
1159 (elide-routines.o): Add $(static-only-routines).
1160 (elide-routines$o): Define this instead of elide-routines.$o.
1161 * manual/Makefile (stubs): Fix circular dependency.
1163 1998-05-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1165 * libio/Makefile (routines): Remove duplicate oldiofclose.
1167 1998-05-05 Ulrich Drepper <drepper@cygnus.com>
1169 * string/strcoll.c: Use uint32_t instead of u_int32_t.
1171 1998-05-05 Ulrich Drepper <drepper@cygnus.com>
1173 * libio/stdio.h: Fix typo in __REDIRECT.
1174 * io/sys/stat.h: Likewise.
1175 Reported by Myles Uyema <myles@uyema.nws.net>.
1177 1998-05-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1179 * locale/programs/localedef.c (options): Fix help message.
1181 1998-05-04 Ulrich Drepper <drepper@cygnus.com>
1183 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
1184 relocations. Patch by Joe Keane <jgk@jgk.org>.
1186 1998-05-04 12:40 Ulrich Drepper <drepper@cygnus.com>
1188 * malloc/malloc.c (ptmalloc_init_all): New function. Similar to
1189 ptmalloc_unlock_all, but re-initializes the mutexes instead.
1190 (ptmalloc_init): Use new function in thread_at_fork call.
1191 (thread_atfork_static): Likewise.
1192 Suggested by Wolfram Gloger and Xavier Leroy.
1194 1998-05-04 Ulrich Drepper <drepper@cygnus.com>
1196 * signal/signal.h: Move definitions of struct sigstack and
1197 struct sigaltstack into separate file and include it.
1198 * sysdeps/generic/bits/sigstack.h: New file.
1199 * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
1200 * signal/Makefile (headers): Add bits/sigstack.h.
1202 1998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1204 * elf/rtld.c (dl_main): Fix check for number of references to
1207 1998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1209 * elf/rtld.c (dl_main): Check has_interp after executing platform
1212 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1214 * iconvdata/run-iconv-test.sh: Fix typo.
1216 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1218 * Makerules (+depfiles): Add depfiles for $(tests-static).
1221 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1223 * manual/terminal.texi (Special Characters): Fix description of
1226 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1228 * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
1230 * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise. Initialize rest
1233 1998-04-30 14:15 Zack Weinberg <zack@rabi.phys.columbia.edu>
1235 * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
1237 1998-05-01 Ulrich Drepper <drepper@cygnus.com>
1239 * intl/locale.alias: Update russian entry.
1241 1998-05-01 21:54 Zack Weinberg <zack@rabi.phys.columbia.edu>
1243 * Makerules (static-only-routines): Reimplement in terms of
1245 (shared-only-routines): Reimplement in terms of
1246 elide-routines.X [where X is all object-suffixes except .os].
1248 (stubs): Create stubs file inside the subdir.
1249 (common-mostlyclean): Remove stubs file from inside the subdir.
1250 * Makefile (subdir-stubs): Look for stubs files inside the
1252 * manual/Makefile (stubs): Create dummy stubs file inside the
1255 1998-05-01 21:01 Zack Weinberg <zack@rabi.phys.columbia.edu>
1257 Build speed improvement: make ar less of a bottleneck.
1259 * Makerules (stamp$o): Just record the object list for later
1261 (libc_foo.a): New rule, depends on subdir stamp files; builds
1262 and ranlibs the library from the lists saved in those files.
1264 (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
1265 (subdirs-stamp-o): Likewise.
1267 (ar-symtab-name): Delete variable.
1268 (lib%.a): Delete target.
1269 (libc_foo.a(bar.%)): Delete target.
1270 (libc_foo.a($(ar-symtab-name))): Delete target.
1272 (objects objs): Just depend on libobjs and extra-objs.
1273 (libobjs): Depend on the stamp files, not the objects.
1274 (extra-objs): New target, just depends on the extra-objs list.
1276 (CREATE_ARFLAGS): Kill the `ar S' hack.
1278 * config.make.in (have-ar-S): Deleted.
1279 * configure.in: Delete test for `ar S'. Add test to determine
1280 whether ranlib does anything useful.
1282 1998-05-01 Ulrich Drepper <drepper@cygnus.com>
1284 * inet/tst-ether_aton.c: Include <stdio.h>.
1286 1998-04-30 16:45 Ulrich Drepper <drepper@cygnus.com>
1288 * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
1290 * locale/Makefile (distribute): Add programs/repertoire.h.
1291 (localedef-modules): Add repertoire.
1292 (CPPFLAGS): Define REPERTOIREMAP_PATH.
1293 * locale/programs/repertoire.c: New file.
1294 * locale/programs/repertoire.h: New file.
1295 * locale/programs/charmap.c: Starting fixing character set handling
1296 to handle multi-byte encodings.
1297 * locale/programs/charset.c: Likewise.
1298 * locale/programs/charset.h: Likewise.
1299 * locale/programs/ld-collate.c: Likewise.
1300 * locale/programs/ld-ctype.c: Likewise.
1301 * locale/programs/linereader.c: Likewise.
1302 * locale/programs/localedef.c: Likewise.
1303 * locale/programs/locfile-kw.gperf: Likewise.
1304 * locale/programs/locfile-kw.h: Likewise.
1305 * locale/programs/locfile-token.h: Likewise.
1306 * locale/programs/locfile.h: Likewise.
1307 * locale/programs/stringtrans.c: Likewise.
1309 * locale/programs/locfile.c: Interpret I18NPATH value as base of
1310 path, extended with "/locales/".
1312 1998-04-18 Philip Blundell <Philip.Blundell@pobox.com>
1314 * sysdeps/arm/memset.S: Fix off by one error.
1316 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
1317 __syscall_error rather than syscall_error directly.
1319 1998-04-17 Philip Blundell <Philip.Blundell@pobox.com>
1321 * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
1322 mmap() syscall for ARM.
1324 * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
1327 1998-04-30 Ulrich Drepper <drepper@cygnus.com>
1329 * locale/programs/localedef.c: Recognize repertoire-map option.
1331 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
1333 * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
1334 converting non-hex numbers.
1335 Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
1337 1998-04-23 07:31 H.J. Lu <hjl@gnu.org>
1339 * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
1341 * resolv/Makefile (tests): New, add tst-aton.
1342 * resolv/tst-aton.c: New file.
1344 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
1346 * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
1349 1998-04-29 12:11 Ulrich Drepper <drepper@cygnus.com>
1351 * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
1352 by letting the later modify the variable computing the total directly.
1353 * wcsmbs/mbsrtowcs.c: Likewise.
1354 * wcsmbs/wcsnrtombs.c: Likewise.
1355 * wcsmbs/wcsrtombs.c: Likewise.
1357 * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
1359 * wcsmbs/wctoc.c: Likewise.
1361 * wcsmbs/mbsrtowcs.c: Optimize a bit more.
1362 * wcsmbs/wcsrtombs.c: Likewise.
1364 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
1366 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
1368 * iconv/skeleton.c: Correct counting of actually converted
1371 * intl/localealias.c (read_alias_file): Use unsigned char for
1372 local variables. Remove unused variable tp.
1373 * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
1374 for type of codeset. For loosing Solaris systems.
1375 * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
1376 * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
1378 Patches by Jim Meyering.
1380 * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
1381 wcsrtombs must put it into initial state.
1383 1998-04-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1385 * iconv/gconv_simple.c: Fix endian bug. Don't put side effects in
1386 argument of bswap_XX macro.
1388 1998-04-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1390 * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
1393 1998-04-28 Ulrich Drepper <drepper@cygnus.com>
1395 * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
1396 semun and use stdarg macros to get the value.
1397 * sysdeps/generic/semctl.c: Don't use union semun.
1399 * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
1401 * string/basename.c [!_LIBC]: Define function as gnu_basename.
1403 * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
1406 * stdlib/grouping.h: Accept ungrouped numbers even if locale
1409 * intl/hash-string.h: Don't include values.h.
1411 * inet/Makefile (tests): Add tst-ether_aton.
1412 * inet/tst-ether_aton.c: New file.
1414 * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
1416 * inet/ether_aton.c (ether_aton): Declare result variable static.
1417 Reported by ahyung@unixg.ubc.ca.
1419 * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
1420 Define macro _SEM_SEMUN_UNDEFINED instead.
1421 Reported by Dirk Laessig <d.laessig@tu-bs.de>.
1423 * stdio-common/tst-wc-printf.c: New file. Test for %S and %C format.
1424 * stdio-common/Makefile (tests): Add tst-wc-printf.
1426 1998-04-28 16:32 Philip Blundell <philb@gnu.org>
1428 * manual/stdio.texi (Variable Arguments Output): Correct variable
1429 name. Patch from Ewan Mellor <em@nexus.co.uk>
1431 1998-04-27 Ulrich Drepper <drepper@cygnus.com>
1433 * intl/dcgettext.c: Remove unneeded definition of
1436 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1438 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
1439 instead of do-iconv-test.
1440 ($(objpfx)gconv-modules): Define rule only if objpfx is not
1443 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1445 * string/string.h: Fix feature test.
1447 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1449 * iconvdata/iso646.c (BODY): Don't use character constants that
1450 depend on signedness of char.
1452 1998-04-27 Ulrich Drepper <drepper@cygnus.com>
1454 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
1455 (sysdep_routines): Add s_pread64 and s_pwrite64.
1457 1998-04-27 09:54 Ulrich Drepper <drepper@cygnus.com>
1459 * iconvdata/Makefile (distribute): Remove generated .h files.
1460 * iconvdata/koi8-r.h: Removed.
1461 * iconvdata/latin-greek-1.h: Removed.
1462 * iconvdata/latin-greek.h: Removed.
1464 * iconvdata/testdata/CP1258..UTF8: New iconv test source.
1465 * iconvdata/KOI-8: Likewise.
1466 * iconvdata/KOI-8..UTF8: Likewise.
1467 * iconvdata/KOI8-R: Likewise.
1468 * iconvdata/KOI8-R..UTF8: Likewise.
1470 1998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1472 * streams/Makefile (headers): Add sys/stropts.h.
1473 * streams/sys/stropts.h: New file.
1475 1998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1477 * sysdeps/unix/sysv/linux/ttyname.c,
1478 sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
1479 sysdeps/posix/ttyname*.c, but look in /dev/pts first.
1481 1998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1483 * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
1484 argument of _itoa_word.
1486 1998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1488 * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
1489 s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
1490 caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
1491 sigprocmask, resp., instead of EXTRA.
1493 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1494 s_pread64 and s_pwrite64.
1496 1998-04-26 18:44 Ulrich Drepper <drepper@cygnus.com>
1498 * iconvdata/Makefile: Correct rules to generate gap table.
1499 * iconvdata/gap.pl: Simplify.
1501 * iconvdata/TESTS: Name new tests.
1502 * iconvdata/testdata/CP1250: New file.
1503 * iconvdata/testdata/CP1250..UTF8: New file.
1504 * iconvdata/testdata/CP1251: New file.
1505 * iconvdata/testdata/CP1251..UTF8: New file.
1506 * iconvdata/testdata/CP1252: New file.
1507 * iconvdata/testdata/CP1252..UTF8: New file.
1508 * iconvdata/testdata/CP1253: New file.
1509 * iconvdata/testdata/CP1253..UTF8: New file.
1510 * iconvdata/testdata/CP1254: New file.
1511 * iconvdata/testdata/CP1254..UTF8: New file.
1512 * iconvdata/testdata/CP1255: New file.
1513 * iconvdata/testdata/CP1255..UTF8: New file.
1514 * iconvdata/testdata/CP1256: New file.
1515 * iconvdata/testdata/CP1256..UTF8: New file.
1516 * iconvdata/testdata/CP1257: New file.
1517 * iconvdata/testdata/CP1257..UTF8: New file.
1519 1998-04-26 Ulrich Drepper <drepper@cygnus.com>
1521 * iconvdata/Makefile: Add rules for ISO-2022-KR.
1522 * iconvdata/iso-2022-kr.c: New file.
1524 * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
1527 1998-04-25 18:39 Ulrich Drepper <drepper@cygnus.com>
1529 * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
1530 iso8859-8 and iso8859-10.
1531 * iconvdata/iso8859-5.c: Change to use gap method.
1532 * iconvdata/iso8859-7.c: Likewise.
1533 * iconvdata/iso8859-8.c: Likewise.
1534 * iconvdata/iso8859-10.c: Likewise.
1536 * iconvdata/Makefile: Add rules for ISO-2022-JP module.
1537 * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
1539 * iconvdata/iso-2022-jp.c: New file.
1541 * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
1542 * iconvdata/ksc5601.h: Unify function interfaces.
1543 * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
1544 * iconvdata/uhc.c: Likewise.
1546 * iconvdata/gb2312.h: Use correct types.
1548 * iconvdata/iso646.c (gconv_open): Correctly initialize the character
1549 size elements of data.
1551 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
1553 * string/tst-svc.expect: Adapt for change in .input.
1554 * string/tst-svc.input: More tests.
1556 1998-04-24 17:15 Ulrich Drepper <drepper@cygnus.com>
1558 * iconvdata/Makefile: Add rules for new modules.
1559 * iconvdata/gconv-modules: Likewise.
1560 * iconvdata/cp737.c: New file.
1561 * iconvdata/cp737.h: New file.
1562 * iconvdata/cp775.c: New file.
1563 * iconvdata/cp775.h: New file.
1564 * iconvdata/cp874.c: New file.
1565 * iconvdata/cp874.h: New file.
1567 1998-04-24 16:30 Ulrich Drepper <drepper@cygnus.com>
1569 * iconvdata/Makefile: Create target directory before generating
1572 1998-04-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1574 * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
1575 __USER_LABEL_PREFIX__.
1576 (__ASMNAME, __ASMNAME2): New macros.
1578 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
1580 * elf/dl-load.c: Include sys/param.h for MAX.
1582 1998-04-24 21:44 Richard Henderson <rth@cygnus.com>
1584 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
1585 __ftruncate the strong symbol, and add weak alias.
1586 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1588 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
1590 * termios/cfsetspeed.c: Make code cleaner and add missing const.
1591 Patch by Joe Keane <jgk@jgk.org>.
1593 * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
1596 1998-04-24 13:56 Ulrich Drepper <drepper@cygnus.com>
1598 * sysdeps/generic/bits/socket.h: Add #defines for enum values.
1599 Patch by Thomas Bushnell, n/BSG.
1601 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
1603 * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
1605 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
1607 * iconvdata/Makefile: Put generated headers in build directory.
1609 1998-04-23 22:43 Ulrich Drepper <drepper@cygnus.com>
1611 * elf/dl-load.c (fillin_rpath): Handle empty element returned by
1612 strsep as current directory.
1614 * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
1615 Java. Add definitions for unicodelittle implementation.
1616 * iconv/gconv_int.h: Add declaration for unicodelittle functions.
1617 * iconv/gconv_simple.c: Define unicodelittle functions.
1619 * iconv/iconv_prog.c: Make program print information about position
1620 of illegal character in input.
1622 * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
1623 comparison of charset name.
1624 * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
1625 * iconvdata/ebcdic-at-de-a.c: Likewise.
1626 * iconvdata/ebcdic-at-de.c: Likewise.
1627 * iconvdata/ebcdic-ca-fr.c: Likewise.
1628 * iconvdata/euccn.c: Likewise.
1629 * iconvdata/eucjp.c: Likewise.
1630 * iconvdata/euckr.c: Likewise.
1631 * iconvdata/euctw.c: Likewise.
1632 * iconvdata/hp-roman8.c: Likewise.
1633 * iconvdata/iso6937.c: Likewise.
1634 * iconvdata/iso8859-1.c: Likewise.
1635 * iconvdata/iso8859-10.c: Likewise.
1636 * iconvdata/iso8859-2.c: Likewise.
1637 * iconvdata/iso8859-3.c: Likewise.
1638 * iconvdata/iso8859-4.c: Likewise.
1639 * iconvdata/iso8859-5.c: Likewise.
1640 * iconvdata/iso8859-6.c: Likewise.
1641 * iconvdata/iso8859-7.c: Likewise.
1642 * iconvdata/iso8859-8.c: Likewise.
1643 * iconvdata/iso8859-9.c: Likewise.
1644 * iconvdata/johab.c: Likewise.
1645 * iconvdata/koi-8.c: Likewise.
1646 * iconvdata/koi8-r.c: Likewise.
1647 * iconvdata/latin-greek-1.c: Likewise.
1648 * iconvdata/latin-greek.c: Likewise.
1649 * iconvdata/sjis.c: Likewise.
1650 * iconvdata/t61.c: Likewise.
1651 * iconvdata/uhc.c: Likewise.
1653 * iconvdata/iso646.c: Add support for more ISO 646 variants.
1654 * iconvdata/TESTS: Add tests for ISO646 module.
1655 * iconvdata/gconv-modules: Add new modules.
1656 * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
1657 * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
1658 * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
1659 * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
1660 * iconvdata/testdate/DIN_66003: Likewise.
1661 * iconvdata/testdate/DIN_66003..UTF8: Likewise.
1662 * iconvdata/testdate/DS_2089: Likewise.
1663 * iconvdata/testdate/DS_2089..UTF8: Likewise.
1664 * iconvdata/testdate/ES: Likewise.
1665 * iconvdata/testdate/ES..UTF8: Likewise.
1666 * iconvdata/testdate/ES2: Likewise.
1667 * iconvdata/testdate/ES2..UTF8: Likewise.
1668 * iconvdata/testdate/GB_1988-80: Likewise.
1669 * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
1670 * iconvdata/testdate/IT: Likewise.
1671 * iconvdata/testdate/IT..UTF8: Likewise.
1672 * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
1673 * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
1674 * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
1675 * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
1676 * iconvdata/testdate/JUS_I.B1.002: Likewise.
1677 * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
1678 * iconvdata/testdate/KSC5636: Likewise.
1679 * iconvdata/testdate/KSC5636..UTF8: Likewise.
1680 * iconvdata/testdate/MSZ_7795.3: Likewise.
1681 * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
1682 * iconvdata/testdate/NC_NC00-10: Likewise.
1683 * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
1684 * iconvdata/testdate/NF_Z_62-010: Likewise.
1685 * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
1686 * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
1687 * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
1688 * iconvdata/testdate/NS_4551-1: Likewise.
1689 * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
1690 * iconvdata/testdate/NS_4551-2: Likewise.
1691 * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
1692 * iconvdata/testdate/PT: Likewise.
1693 * iconvdata/testdate/PT..UTF8: Likewise.
1694 * iconvdata/testdate/PT2: Likewise.
1695 * iconvdata/testdate/PT2..UTF8: Likewise.
1696 * iconvdata/testdate/SEN_850200_B: Likewise.
1697 * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
1698 * iconvdata/testdate/SEN_850200_C: Likewise.
1699 * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
1701 * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
1702 * iconvdata/cns11643l1.h: Likewise.
1703 * iconvdata/latin-greek-1.h: Likewise.
1704 * iconvdata/latin-greek.h: Likewise.
1705 * iconvdata/koi8-r.h: Likewise.
1706 * iconvdata/jis0212.h: Likewise.
1707 * iconvdata/gb2312.h: Likewise.
1708 * iconvdata/ksc5601.h: Likewise.
1710 * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
1712 * iconvdata/Makefile: Add rules for lots of more modules.
1713 * iconvdata/cp1250.c: New file.
1714 * iconvdata/cp1251.c: New file.
1715 * iconvdata/cp1252.c: New file.
1716 * iconvdata/cp1253.c: New file.
1717 * iconvdata/cp1254.c: New file.
1718 * iconvdata/cp1255.c: New file.
1719 * iconvdata/cp1256.c: New file.
1720 * iconvdata/cp1257.c: New file.
1721 * iconvdata/ebcdic-dk-no-a.c: New file.
1722 * iconvdata/ebcdic-dk-no.c: New file.
1723 * iconvdata/ebcdic-es-a.c: New file.
1724 * iconvdata/ebcdic-es-s.c: New file.
1725 * iconvdata/ebcdic-es.c: New file.
1726 * iconvdata/ebcdic-fi-se-a.c: New file.
1727 * iconvdata/ebcdic-fi-se.c: New file.
1728 * iconvdata/ebcdic-fr.c: New file.
1729 * iconvdata/ebcdic-is-friss.c: New file.
1730 * iconvdata/ebcdic-it.c: New file.
1731 * iconvdata/ebcdic-pt.c: New file.
1732 * iconvdata/ebcdic-uk.c: New file.
1733 * iconvdata/ebcdic-us.c: New file.
1734 * iconvdata/ibm037.c: New file.
1735 * iconvdata/ibm038.c: New file.
1736 * iconvdata/ibm1004.c: New file.
1737 * iconvdata/ibm1026.c: New file.
1738 * iconvdata/ibm1047.c: New file.
1739 * iconvdata/ibm256.c: New file.
1740 * iconvdata/ibm273.c: New file.
1741 * iconvdata/ibm274.c: New file.
1742 * iconvdata/ibm275.c: New file.
1743 * iconvdata/ibm277.c: New file.
1744 * iconvdata/ibm278.c: New file.
1745 * iconvdata/ibm280.c: New file.
1746 * iconvdata/ibm281.c: New file.
1747 * iconvdata/ibm284.c: New file.
1748 * iconvdata/ibm285.c: New file.
1749 * iconvdata/ibm290.c: New file.
1750 * iconvdata/ibm297.c: New file.
1751 * iconvdata/ibm420.c: New file.
1752 * iconvdata/ibm423.c: New file.
1753 * iconvdata/ibm424.c: New file.
1754 * iconvdata/ibm437.c: New file.
1755 * iconvdata/ibm500.c: New file.
1756 * iconvdata/ibm850.c: New file.
1757 * iconvdata/ibm851.c: New file.
1758 * iconvdata/ibm852.c: New file.
1759 * iconvdata/ibm855.c: New file.
1760 * iconvdata/ibm857.c: New file.
1761 * iconvdata/ibm860.c: New file.
1762 * iconvdata/ibm861.c: New file.
1763 * iconvdata/ibm862.c: New file.
1764 * iconvdata/ibm863.c: New file.
1765 * iconvdata/ibm864.c: New file.
1766 * iconvdata/ibm865.c: New file.
1767 * iconvdata/ibm868.c: New file.
1768 * iconvdata/ibm869.c: New file.
1769 * iconvdata/ibm870.c: New file.
1770 * iconvdata/ibm871.c: New file.
1771 * iconvdata/ibm875.c: New file.
1772 * iconvdata/ibm880.c: New file.
1773 * iconvdata/ibm891.c: New file.
1774 * iconvdata/ibm903.c: New file.
1775 * iconvdata/ibm904.c: New file.
1776 * iconvdata/ibm905.c: New file.
1777 * iconvdata/ibm918.c: New file.
1779 * locale/iso-4217.def: Update.
1780 * localedata/locales/pt_BR: Correct. Patches by Andreas Jaeger.
1782 * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
1785 1998-04-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1787 * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
1790 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
1792 * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
1793 * Makefile: Likewise.
1794 * posix/Makefile: Likewise.
1795 * sysdeps/mach/hurd/Makefile: Likewise.
1797 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
1799 * sysdeps/mach/hurd/bits/dirent.h: New file.
1800 * sysdeps/mach/hurd/readdir64.c: New file.
1801 * sysdeps/mach/hurd/readdir64_r.c: New file.
1803 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
1805 * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
1806 dprintf): Synchronize declarations with libio/stdio.h.
1808 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
1810 * elf/dlerror.c (dlerror): Don't assume that
1811 __libc_internal_tsd_get is defined. __libc_getspecific is already
1812 well-protected, so just use it directly.
1814 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
1816 * io/ftw.h (ftw): Fix typo.
1818 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
1820 * sysdeps/gnu/utmp_file.c: Fix typo.
1822 1998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1824 * iconvdata/run-iconv-test.sh: Fix more portability bugs. When
1825 one part of a test fails move on to the next test.
1827 1998-04-24 5:45 Richard Henderson <rth@cygnus.com>
1829 * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
1831 1998-04-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1833 * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
1834 as pointers, not signed integers.
1836 1998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1838 * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
1840 1998-04-21 21:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
1842 * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
1843 asm symbol name of functions.
1844 * include/features.h: Kill redundant test.
1846 * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
1847 * io/ftw.h: Likewise.
1848 * io/sys/stat.h: Likewise.
1849 * io/sys/statfs.h: Likewise.
1850 * io/sys/statvfs.h: Likewise.
1851 * libio/stdio.h: Likewise.
1852 * resource/sys/resource.h: Likewise.
1853 * rt/aio.h: Likewise.
1855 * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
1857 * signal/signal.h: Use new macros for BSD vs. SysV signal().
1859 * misc/Makefile: Drop bsd-compat.c. Make libbsd-compat.a
1861 * misc/bsd-compat.c: Removed.
1863 1998-04-21 20:32 Ulrich Drepper <drepper@cygnus.com>
1865 * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
1866 function declaration.
1867 * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
1868 and use them in conversion function.
1869 * iconvdata/Makefile (modules): Re-add ISO6446.
1870 * iconvdata/TEST: Add tests for ASCII variants.
1871 * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
1872 * iconvdata/testdata/ANSI_X3.4-1968: New file.
1873 * iconvdata/testdata/BS_4730: New file.
1874 * iconvdata/testdata/BS_4730..UTF8: New file.
1876 1998-04-21 19:05 Ulrich Drepper <drepper@cygnus.com>
1878 * iconv/gconv.h (struct gconv_step): Add element stateful.
1879 * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
1880 to zero for all internal conversions.
1881 * iconv/skeleton.c: Initialize stateful depending on whether or not
1882 RESET_STATE is defined to one or zero respectively.
1883 * stdlib/mblen.c: Use stateful element of currently selected
1884 converter for result if S is NULL.
1885 * stdlib/mbtowc.c: Likewise.
1886 * stdlib/wctomb.c: Likewise.
1888 1998-04-21 18:00 Ulrich Drepper <drepper@cygnus.com>
1890 * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
1892 * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
1894 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
1895 character in comparison with uint32_t.
1896 (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
1897 (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
1898 Optimize BODY a bit.
1900 * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
1903 * iconv/skeleton.c: Also reset converted counter in case of an error.
1904 Call reset function using correct value for output buffer start.
1906 * iconvdata/Makefile: Re-enable tests.
1908 * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
1909 value for to-conversion.
1911 * iconvdata/TESTS: Add new third column.
1912 * iconvdata/run-iconv-test.sh: Add support for charsets which are
1914 * iconvdata/testdata/suntzus: New file.
1916 * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
1917 while reading. Correctly used base. Little optimization.
1918 (__strtoul_internal): Likewise.
1920 * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
1921 was wrong. Use explicit variable.
1923 1998-04-20 23:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
1925 * configure.in: Check for awk.
1926 * config.make.in: Add AWK to be substituted.
1928 * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
1929 * manual/users.texi: Fix typo exposed by above rewrite.
1931 * Makefile: Invoke awk using AWK variable.
1932 * csu/Makefile: Likewise.
1933 * elf/Makefile: Likewise.
1934 * mach/Makefile: Likewise.
1935 * manual/Makefile: Likewise.
1936 * sysdeps/gnu/Makefile: Likewise.
1937 * sysdeps/mach/hurd/Makefile: Likewise.
1938 * sysdeps/unix/Makefile: Likewise.
1939 * timezone/Makefile: Likewise.
1941 1998-04-10 Gordon Matzigkeit <gord@profitpress.com>
1943 * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
1944 array index translation.
1945 (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
1948 * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
1950 * sysdeps/mach/hurd/errlist.c: New file.
1951 (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
1952 (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
1953 semantics, so rename it.
1955 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1957 * iconvdata/run-iconv-test.sh: Make portable. Always test all
1960 1998-04-21 12:30 H.J. Lu <hjl@gnu.org>
1962 * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
1963 * wcsmbs/wcsnrtombs.c: Likewise.
1965 1998-04-21 Ulrich Drepper <drepper@cygnus.com>
1967 * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
1969 * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
1971 * time/strftime.c (my_strftime): Initialize pad variable in
1974 * iconvdata/big5.c: Don't use character constants in comparisons
1975 with unsigned value.
1977 1998-04-20 18:00 Ulrich Drepper <drepper@cygnus.com>
1979 * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
1980 __libc_siglongjmp to GLIBC_2.1.
1982 * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
1985 * iconv/Makefile: Don't run tests now.
1987 * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
1988 with correct output buffer.
1990 Major rewrite of the low-level gconv functionality.
1991 * iconv/gconv.c: Rewritten.
1992 * iconv/gconv.h: Likewise.
1993 * iconv/gconv_builtin.c: Likewise.
1994 * iconv/gconv_builtin.h: Likewise.
1995 * iconv/gconv_conf.c: Likewise.
1996 * iconv/gconv_int.h: Likewise.
1997 * iconv/gconv_open.c: Likewise.
1998 * iconv/gconv_simple.c: Likewise.
1999 * iconv/iconv.c: Likewise.
2000 * iconvdata/8bit-gap.c: Likewise.
2001 * iconvdata/8bit-generic.c: Likewise.
2002 * iconvdata/Makefile: Likewise.
2003 * iconvdata/big5.c: Likewise.
2004 * iconvdata/cns11643.c: Likewise.
2005 * iconvdata/cns11643.h: Likewise.
2006 * iconvdata/cns11643l1.c: Likewise.
2007 * iconvdata/cns11643l1.h: Likewise.
2008 * iconvdata/ebcdic-at-de-a.c: Likewise.
2009 * iconvdata/ebcdic-at-de.c: Likewise.
2010 * iconvdata/ebcdic-ca-fr.c: Likewise.
2011 * iconvdata/euccn.c: Likewise.
2012 * iconvdata/eucjp.c: Likewise.
2013 * iconvdata/euckr.c: Likewise.
2014 * iconvdata/euctw.c: Likewise.
2015 * iconvdata/gb2312.c: Likewise.
2016 * iconvdata/gb2312.h: Likewise.
2017 * iconvdata/hp-roman8.c: Likewise.
2018 * iconvdata/iso646.c: Likewise.
2019 * iconvdata/iso6937.c: Likewise.
2020 * iconvdata/iso8859-1.c: Likewise.
2021 * iconvdata/iso8859-10.c: Likewise.
2022 * iconvdata/iso8859-2.c: Likewise.
2023 * iconvdata/iso8859-3.c: Likewise.
2024 * iconvdata/iso8859-4.c: Likewise.
2025 * iconvdata/iso8859-5.c: Likewise.
2026 * iconvdata/iso8859-6.c: Likewise.
2027 * iconvdata/iso8859-7.c: Likewise.
2028 * iconvdata/iso8859-8.c: Likewise.
2029 * iconvdata/iso8859-9.c: Likewise.
2030 * iconvdata/jis0201.c: Likewise.
2031 * iconvdata/jis0201.h: Likewise.
2032 * iconvdata/jis0208.c: Likewise.
2033 * iconvdata/jis0208.h: Likewise.
2034 * iconvdata/jis0212.c: Likewise.
2035 * iconvdata/jis0212.h: Likewise.
2036 * iconvdata/johab.c: Likewise.
2037 * iconvdata/koi-8.c: Likewise.
2038 * iconvdata/koi8-r.c: Likewise.
2039 * iconvdata/ksc5601.c: Likewise.
2040 * iconvdata/ksc5601.h: Likewise.
2041 * iconvdata/latin-greek-1.c: Likewise.
2042 * iconvdata/latin-greek.c: Likewise.
2043 * iconvdata/run-iconv-test.sh: Likewise.
2044 * iconvdata/sjis.c: Likewise.
2045 * iconvdata/t61.c: Likewise.
2046 * iconvdata/uhc.c: Likewise.
2047 * wcsmbs/btowc.c: Likewise.
2048 * wcsmbs/mbrtowc.c: Likewise.
2049 * wcsmbs/mbsnrtowcs.c: Likewise.
2050 * wcsmbs/mbsrtowcs.c: Likewise.
2051 * wcsmbs/wcrtomb.c: Likewise.
2052 * wcsmbs/wcsmbsload.c: Likewise.
2053 * wcsmbs/wcsnrtombs.c: Likewise.
2054 * wcsmbs/wcsrtombs.c: Likewise.
2055 * wcsmbs/wctob.c: Likewise.
2056 * iconv/loop.c: New file.
2057 * iconv/skeleton.c: New file.
2059 * stdlib/mblen.c: Handle empty input string correctly.
2060 * stdlib/mbtowc.c: Likewise.
2062 * posix/getopt.c: Various cleanups.
2064 * sysdeps/arm/bits/setjmp.h: Add copyright text.
2065 * sysdeps/i386/bits/setjmp.h: Likewise.
2066 * sysdeps/m68k/bits/setjmp.h: Likewise.
2067 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2068 * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
2070 * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
2071 and make longjmp weak alias.
2073 1998-04-18 20:29 Philip Blundell <Philip.Blundell@pobox.com>
2075 * iconv/Makefile (routines): Only include gconv_dl if building for
2076 an ELF system - dynamic linking is not available on a.out.
2077 (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
2079 * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
2080 routines from gconv_dl.
2082 1998-04-17 Gordon Matzigkeit <gord@profitpress.com>
2084 * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
2085 we can compile without libio.
2087 1998-04-20 16:28 Ulrich Drepper <drepper@cygnus.com>
2089 * sysdeps/mach/hurd/Subdirs: Remove login.
2091 1998-04-11 Gordon Matzigkeit <gord@profitpress.com>
2093 * db2/compat.h: Include <errno.h>, to make sure we get the
2094 definition of EFTYPE before we define it ourselves.
2096 1998-04-10 Gordon Matzigkeit <gord@profitpress.com>
2098 * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
2099 * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
2100 Fix typo to allow inclusion from sys/ioctl.h again.
2102 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2104 * iconvdata/*.[ch]: Clean up namespace. Optimize character lookup.
2106 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2108 * libc.map: Export __strerror_r. Remove _strerror_internal.
2110 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2112 * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
2113 Also undefine __strcasestr.
2115 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2117 * posix/regex.c: Rename __re_max_failures back to re_max_failures,
2118 aliases do not work with global variables due to copy relocations.
2120 1998-04-20 15:12 Ulrich Drepper <drepper@cygnus.com>
2122 * manual/creature.texi: Fix type. Patch by Andreas Schwab.
2124 1998-04-20 13:47 Ulrich Drepper <drepper@cygnus.com>
2126 * signal/sighold.c: Include stddef.h for NULL definition.
2127 * signal/sigrelse.c: Likewise.
2128 * sysdeps/posix/sigignore.c: Likewise.
2129 * sysdeps/posix/sigset.c: Likewise.
2130 * sysdeps/posix/waitid.c: Likewise.
2131 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
2132 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
2133 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2134 * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
2135 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2137 1998-04-13 Mark Kettenis <kettenis@phys.uva.nl>
2139 * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
2140 * login/getutent.c (getutxent): Remove alias.
2141 * login/getutent_r.c (setutxent, pututxline, endutxent):
2143 * login/getutid.c (getutxid): Remove alias.
2144 * login/getutline.c (getutxline): Remove alias.
2145 * login/utmp.h: Add prototypes for __updwtmp, __getutent,
2146 __getutid, __getutline and __pututline.
2147 * login/utmpx.h: Moved to ...
2148 * sysdeps/gnu/utmpx.h: ... here. [__USE_GNU]: Define UTMPX_FILE,
2149 UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
2151 * login/updwtmp.c: Moved to ...
2152 * sysdeps/generic/updwtmp.c: ... here. (updwtmp): Generalized by
2153 allowing file name transformation.
2154 * sysdeps/gnu/updwtmp.c: New file. Use generic implementation with
2155 additional file name transformation.
2156 * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
2157 * login/utmp_file.c: Moved to ...
2158 * sysdeps/generic/utmp_file.c: ... here. (setutent_file):
2159 Generalized by allowing file name transformation. Do not
2160 print error message. Library functions should not print them.
2161 Reported by Jim Meyering.
2162 * sysdeps/gnu/utmp_file.c: New file. Use generic implementation
2163 with additional file name transformation.
2164 * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
2165 * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
2166 setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
2167 pututxline, utmpxname and updwtmpx. (sysdep_headers): Add utmpx.h
2169 * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
2170 (_PATH_UTMPX): Define to _PATH_UTMP. (_PATH_WTMPX): Define to
2171 _PATH_WTMPX. (RUN_LVL): Define only if __USE_GNU. (ACCOUNTING):
2172 Define if __USE_GNU.
2173 * sysdeps/generic/setutxent.c: New file.
2174 * sysdeps/generic/getutxent.c: New file.
2175 * sysdeps/generic/endutxent.c: New file.
2176 * sysdeps/generic/getutxid.c: New file.
2177 * sysdeps/generic/getutxline.c: New file.
2178 * sysdeps/generic/pututxline.c: New file.
2179 * sysdeps/generic/utmpxname.c: New file.
2180 * sysdeps/generic/updwtmpx.c: New file.
2181 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
2182 * sysdeps/generic/bits/utmpx.h: Remove.
2184 1998-04-20 Ulrich Drepper <drepper@cygnus.com>
2186 * posix/wordexp-test.c (main): Initialize ifs element of ts for
2189 1998-04-17 07:53 H.J. Lu <hjl@gnu.org>
2191 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
2193 1998-04-17 11:32 Ulrich Drepper <drepper@cygnus.com>
2195 * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
2196 variable using _G_stat64.
2197 * libio/fileops.c: Remove macro definition of fstat, it is in the
2199 Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
2201 1998-04-17 Philip Blundell <pb@nexus.co.uk>
2203 * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
2204 <willy@odie.barnet.ac.uk>.
2206 1998-04-16 Philip Blundell <Philip.Blundell@pobox.com>
2208 * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
2209 required by IPv6 Basic API.
2210 (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
2211 (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
2212 (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
2213 (IN6_IS_ADDR_MC_GLOBAL): Likewise.
2215 1998-04-15 16:41 Ulrich Drepper <drepper@cygnus.com>
2217 Don't name internal representation since it might be different from
2218 the external form (namely on little endian machines).
2219 * iconv/gconv_builtin.h: Add UCS4 support. Change references to
2220 UCS4 into references to INTERNAL.
2221 * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
2222 Add endianess support to UCS functions. Change references to
2223 UCS4 into references to INTERNAL.
2224 * iconv/gconv_int.h: Change references to UCS4 into references to
2226 * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
2227 * iconvdata/gconv-modules: Change accordingly.
2228 * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
2230 * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
2232 * iconvdata/8bit-gap.c: Likewise.
2233 * iconvdata/8bit-generic.c: Likewise.
2234 * iconvdata/big5.c: Likewise.
2235 * iconvdata/euccn.c: Likewise.
2236 * iconvdata/eucjp.c: Likewise.
2237 * iconvdata/euckr.c: Likewise.
2238 * iconvdata/euctw.c: Likewise.
2239 * iconvdata/iso646.c: Likewise.
2240 * iconvdata/iso6937.c: Likewise.
2241 * iconvdata/iso8859-1.c: Likewise.
2242 * iconvdata/johab.c: Likewise.
2243 * iconvdata/sjis.c: Likewise.
2244 * iconvdata/t61.c: Likewise.
2245 * iconvdata/uhc.c: Likewise.
2247 * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
2248 * iconvdata/8bit-generic.c: Likewise.
2250 * iconvdata/TESTS: Add more tests.
2252 * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
2254 1998-04-15 11:47 Ulrich Drepper <drepper@cygnus.com>
2256 * iconvdata/Makefile: Better rules to run tests.
2258 * iconvdata/testdata/ISO-8859-1..UTF8: New file.
2259 * iconvdata/testdata/ISO-8859-10: Likewise.
2260 * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
2261 * iconvdata/testdata/ISO-8859-2: Likewise.
2262 * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
2263 * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
2264 * iconvdata/testdata/ISO-8859-3: Likewise.
2265 * iconvdata/testdata/ISO-8859-4: Likewise.
2266 * iconvdata/testdata/ISO-8859-5: Likewise.
2267 * iconvdata/testdata/ISO-8859-6: Likewise.
2268 * iconvdata/testdata/ISO-8859-7: Likewise.
2269 * iconvdata/testdata/ISO-8859-8: Likewise.
2270 * iconvdata/testdata/ISO-8859-9: Likewise.
2272 1998-04-15 Ulrich Drepper <drepper@cygnus.com>
2274 * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
2275 intermediate result (if available).
2277 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
2280 * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
2281 (distribute): Add run-iconv-test.sh and testdata/*.
2283 * stdlib/testmb.c (main): Simplify mbc array handling.
2285 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2287 * elf/dl-minimal.c (__strtol_internal): Correct range check. Fix
2288 return value on overflow.
2290 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2292 * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
2295 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2297 * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
2298 of non-standard function setbuffer.
2300 1998-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2302 * stdio-common/perror.c: Include <string.h> for __strerror_r.
2304 1998-04-14 23:54 Ulrich Drepper <drepper@cygnus.com>
2306 * iconvdata/Makefile: Add rules to run tests.
2307 * iconvdata/TESTS: New file.
2308 * iconvdata/run-iconv-test.sh: New file.
2309 * iconvdata/testdata/ISO-8859-1: New file.
2311 * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
2314 1998-04-14 18:22 Ulrich Drepper <drepper@cygnus.com>
2316 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
2317 counter element of step.
2319 * iconv/gconv_dl.c: Don't mark get_sym as internal function.
2321 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
2323 (__gconv_transform_ucs4_utf8): Likewise. Remove unnecessary variable
2325 (__gconv_transform_utf8_ucs4): Correct test for empty input.
2327 1998-04-14 Ulrich Drepper <drepper@cygnus.com>
2329 * Makefile: Include makeconfig before defining rule to regenerate
2332 * configure.in: Remove restriction on compiling without static
2335 1998-04-14 16:34 Ulrich Drepper <drepper@cygnus.com>
2337 * test-skeleton.c: Provide hook for initializing code before the fork.
2338 * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
2341 * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
2342 * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
2343 * libio/libioP.h: Adopt _IO_cleanup prototype.
2345 * stdlib/Makefile (tests): Add test-canon2.
2346 * stdlib/test-canon2.c: New file.
2347 * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
2348 be NULL. Use __lxstat, not __lstat. Correctly recognize long
2350 (__realpath): Make real function which checks RESOLVED parameter for
2353 1998-04-14 Ulrich Drepper <drepper@cygnus.com>
2355 * catgets/open_catalog.c (__open_catalog): Fix problems with
2356 reading non-files. Always close file.
2357 Reported by Cristian Gafton <gafton@redhat.com>.
2359 * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
2361 1998-04-14 13:28 Ulrich Drepper <drepper@cygnus.com>
2363 * libc.map: Add various low-level I/O functions.
2365 1998-04-14 10:35 Ulrich Drepper <drepper@cygnus.com>
2367 * string/Makefile (routines): Remove strerror_r.
2368 * string/strerror_r.c: Removed.
2369 * string/strerror.c: Call __strerror_r for doing the real work.
2370 * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
2371 add weak alias strerror_r.
2372 * sysdeps/mach/_strerror.c: Likewise.
2373 * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
2374 * elf/dl-error.c (_dl_signal_error): Likewise.
2375 * elf/dl-profile.c (_dl_start_profile): Likewise.
2376 * gmon/gmon.c (write_gmon): Likewise.
2377 * stdio-common/perror.c: Likewise.
2378 * stdio-common/vfprintf.c: Likewise.
2380 1998-04-10 Mark Kettenis <kettenis@phys.uva.nl>
2382 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
2383 (sysdep_headers): Add netatalk/at.h.
2385 1998-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2387 * manual/socket.texi, manual/creature.texi, manual/time.texi:
2390 1998-04-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2392 * posix/regex.c: Rename __re_syntax_options back to
2393 re_syntax_options, aliases do not work with global variables due
2394 to copy relocations.
2395 (regex_compile): Use syntax parameter instead of
2398 1998-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2400 * configure.in: Document that enable-force-install is default.
2402 1998-04-13 Ulrich Drepper <drepper@cygnus.com>
2404 * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
2406 * sysdeps/posix/mkstemp.c: Likewise.
2408 1998-04-13 17:40 Ulrich Drepper <drepper@cygnus.com>
2410 * iconvdata/8bit-gap.c: Simplify step data handling.
2411 * iconvdata/8bit-generic.c: Likewise.
2412 * iconvdata/big5.c: Likewise.
2413 * iconvdata/euccn.c: Likewise.
2414 * iconvdata/eucjp.c: Likewise.
2415 * iconvdata/euckr.c: Likewise.
2416 * iconvdata/euctw.c: Likewise.
2417 * iconvdata/iso6937.c: Likewise.
2418 * iconvdata/iso8859-1.c: Likewise.
2419 * iconvdata/jis0208.h: Likewise.
2420 * iconvdata/jis0212.c: Likewise.
2421 * iconvdata/jis0212.h: Likewise.
2422 * iconvdata/johab.c: Likewise.
2423 * iconvdata/ksc5601.h: Likewise.
2424 * iconvdata/sjis.c: Likewise.
2425 * iconvdata/t61.c: Likewise.
2426 * iconvdata/uhc.c: Likewise.
2428 1998-04-13 16:36 Ulrich Drepper <drepper@cygnus.com>
2430 * manual/texinfo.texi: Updated from last version.
2432 1998-04-13 14:52 Ulrich Drepper <drepper@cygnus.com>
2434 * iconvdata/cns11643.c: New file.
2435 * iconvdata/cns11643.h: New file.
2436 * iconvdata/cns11643l1.c: New file.
2437 * iconvdata/cns11643l1.h: New file.
2438 * iconvdata/euctw.c: New file.
2439 * iconvdata/Makefile: Add rules for EUC-TW and CNS.
2440 * iconvdata/gconv-modules: Likewise.
2442 * iconvdata/eucjp.c: Several bug fixes and improvements.
2443 * iconvdata/gb2312.h: Likewise.
2444 * iconvdata/jis0201.h: Likewise.
2445 * iconvdata/jis0208.h: Likewise.
2446 * iconvdata/jis0212.h: Likewise.
2448 1998-04-13 09:11 Ulrich Drepper <drepper@cygnus.com>
2450 * iconvdata/eucjp.c: New file.
2451 * iconvdata/euccn.c: New file.
2452 * iconvdata/gb2312.h: New file.
2453 * iconvdata/gb2312.c: New file.
2454 * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
2455 * iconvdata/gconv-modules: Likewise.
2457 * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
2459 1998-04-12 Ulrich Drepper <drepper@cygnus.com>
2461 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2462 (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
2463 Patch by Mark Hatle <fray@kernel.crashing.org>.
2465 1998-04-12 22:47 Philip Blundell <Philip.Blundell@pobox.com>
2467 * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
2469 (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
2470 (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
2472 1998-04-12 Ulrich Drepper <drepper@cygnus.com>
2474 * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
2476 * iconvdata/Makefile: Add rules for big5 conversion.
2477 * iconvdata/gconv-modules: Likewise.
2478 * iconvdata/big5.c: New file.
2480 * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
2481 Patch by Jim Meyering.
2483 1998-04-11 Ulrich Drepper <drepper@cygnus.com>
2485 * rt/tst-aio.c: Add test for aio_read and lio_listio.
2487 * rt/lio_listio.c: Correct total counter handling.
2489 * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
2492 * test-skeleton.c (main): Make stdout unbuffered. Improve message
2493 of signal on exit even more.
2495 * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
2496 instead of call to pthread_cond_init.
2497 * rt/lio_listio.c (lio_listio): Likewise.
2498 * rt/lio_listio64.c (lio_listio64): Likewise.
2500 * nis/nis_findserv.c: Include sys/socket.h.
2502 1998-04-11 09:33 Ulrich Drepper <drepper@cygnus.com>
2504 * Makeconfig (rtobjdir): New variable.
2505 (rpath-link): Add rtobjdir and thread directory, if available.
2507 * test-skeleton.c: Add support to remove temporary files.
2508 Always define test_dir. Improve message about expected signal.
2510 * rt/Makefile (tests): Add tst-aio.
2511 Add rules for tst-aio to be linked with librt and thread library.
2512 * rt/aio_misc.c: Correct fundamental bugs.
2513 * rt/aio_suspend.c: Correct bug in test for available request.
2514 Initialize conditional variable.
2515 * rt/lio_listio.c: Initialize conditional variable.
2516 * rt/lio_listio64.c: Likewise.
2517 * rt/tst-aio.c: New file.
2519 * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
2520 * sysdeps/libm-ieee754/w_gamma.c: Likewise. Adopt for ISO C 9x.
2521 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
2522 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
2523 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
2524 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
2525 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
2527 1998-04-11 14:49 Mark Kettenis <kettenis@landau.phys.uva.nl>
2529 * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
2531 1998-04-10 Ulrich Drepper <drepper@cygnus.com>
2533 * elf/dl-load.c (open_path): Use correct name for test whether
2534 directory in load path exists.
2536 * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
2537 * sysdeps/libm-ieee754/e_pow.c: Fix typo.
2538 Patches by Tom Rini <trini@kernel.crashing.org>.
2540 * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
2541 * wcsmbs/wcstod_l.c: Likewise.
2542 * wcsmbs/wcstold_l.c: Likewise.
2544 * include/byteswap.h: New file.
2546 * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
2547 .bss segment size. Patch by Joe Keane <jgk@jgk.org>.
2549 * inet/getnameinfo.c (getnameinfo): Change parameter to match
2550 declaration. Patch by Richard Henderson.
2552 1998-04-10 12:40 Zack Weinberg <zack@rabi.phys.columbia.edu>
2554 * manual/process.texi (SIGCHLD example): Save errno.
2556 1998-04-09 Ulrich Drepper <drepper@cygnus.com>
2558 * posix/regex.c: Define regerror really as __regerror.
2559 * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
2560 regerror and regfree.
2562 * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
2563 * stdlib/strtod_l.c: Likewise.
2564 * stdlib/strtold_l.c: Likewise.
2566 * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
2568 * sysdeps/i386/i486/bits/string.h: Remove unused variables.
2570 * misc/syslog.c (closelog_internal): Set LogTag to NULL.
2571 Patch by Christian Gafton.
2573 1998-04-09 14:27 Ulrich Drepper <drepper@cygnus.com>
2575 * manual/socket.texi (Interface Naming): Correct @deftypefun line
2578 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2580 * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
2582 * manual/socket.texi (Interface Naming): Fix typo.
2584 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2586 * manual/examples/filesrv.c (main): Remove filename first.
2588 * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
2591 * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
2594 * manual/examples/filecli.c (main): Use AF_LOCAL
2597 1998-04-09 Ulrich Drepper <drepper@cygnus.com>
2599 * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
2601 * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
2602 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
2603 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
2604 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
2605 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
2606 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
2608 * login/utmp_daemon.c (open_socket): Use __connect not connect.
2610 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2612 * configure.in: Add new option --enable-force-install. Substitute
2614 * config.make.in (force-install): Set from configure.
2615 * Makerules (force-install): New phony target.
2616 * Makeconfig (+force): New variable.
2617 * Makefile: Use it in dependency list of installation targets.
2618 * db/Makefile: Likewise.
2619 * db2/Makefile: Likewise.
2620 * elf/Makefile: Likewise.
2621 * hurd/Makefile: Likewise.
2622 * iconv/Makefile: Likewise.
2623 * iconvdata/Makefile: Likewise.
2624 * intl/Makefile: Likewise.
2625 * localedata/Makefile: Likewise.
2626 * login/Makefile: Likewise.
2627 * po/Makefile: Likewise.
2628 * sunrpc/Makefile: Likewise.
2629 * sysdeps/mach/hurd/Makefile: Likewise.
2630 * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
2631 * sysdeps/unix/sysv/linux/Makefile: Likewise.
2632 * timezone/Makefile: Likewise.
2634 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2636 * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
2637 alloc_size. Pass return value of getcwd syscall to realloc.
2639 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2641 * manual/socket.texi: Spelling fixes.
2643 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2645 * elf/dl-load.c (print_search_path): Remove unused variable.
2647 1998-04-08 Ulrich Drepper <drepper@cygnus.com>
2649 * login/utmp_file.c: use __ftruncate not ftruncate.
2650 * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
2651 for system call and make ftruncate weak alias.
2652 * posix/unistd.h: Add prototype for __ftruncate.
2653 * login/utmp_daemon.c (open_socket): Use __socket not socket.
2654 * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
2655 instead of snprintf and readv.
2656 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
2658 * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
2661 1998-04-08 20:06 Ulrich Drepper <drepper@cygnus.com>
2663 * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
2664 * iconv/gconv_db.c: Use __ protected regex functions.
2665 * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
2666 * posix/getopt_init.c: Use __getpid not getpid.
2667 * posix/regex.c: Rename all global functions to start with __ and
2668 make old names weak aliases.
2669 * posix/regex.h: Adopt prototypes for this.
2670 * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
2671 a weak alias and use __getcwd instead of getcwd.
2672 * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
2673 * stdlib/strtod.c: Use __btowc instead of btowc.
2674 * stdlib/strtol.c: Likewise.
2675 * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
2676 * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
2677 and sys_errlist are weak.
2678 * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
2679 * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
2680 * wcsmbs/mbsnrtowcs.c: Likewise.
2681 * wcsmbs/mbsrtowcs.c: Likewise.
2682 * wcsmbs/wcsnrtombs.c: Likewise.
2683 * wcsmbs/wcsrtombs.c: Likewise.
2684 * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
2686 * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
2687 * wctype/wctype.c: Define function as __wctype and make wctype
2689 * wctype/wctype.h: Declare __wctype.
2691 1998-04-08 Ulrich Drepper <drepper@cygnus.com>
2693 * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
2695 1998-04-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2697 * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
2699 (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
2701 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
2703 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2704 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
2705 * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
2706 make it a weak alias.
2707 * posix/unistd.h: Declare __lseek64.
2709 * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
2710 (_IO_file_stat): Fix typo.
2711 (_IO_file_xsgetn): Update fd->_offset. Read a multiple of the
2712 block size from the file. Use __mempcpy if _LIBC.
2714 1998-04-07 20:32 Ulrich Drepper <drepper@cygnus.com>
2716 * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
2717 * wcsmbs/mbrtowc.c: Likewise.
2718 * wcsmbs/mbsnrtowcs.c: Likewise.
2719 * wcsmbs/mbsrtowcs.c: Likewise.
2720 * wcsmbs/wcrtomb.c: Likewise.
2721 * wcsmbs/wcsnrtombs.c: Likewise.
2722 * wcsmbs/wcsrtombs.c: Likewise.
2723 * wcsmbs/wctob.c: Likewise.
2725 * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
2726 position of next output character correctly.
2727 (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
2729 * stdio-common/vfprintf.c (vfprintf): Clear state before used.
2731 * stdlib/strtod.c: Don't use mbtowc.
2733 1998-04-07 19:07 H.J. Lu <hjl@gnu.org>
2735 * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
2736 what we want is smaller than a buffer.
2738 1998-04-07 18:14 Ulrich Drepper <drepper@cygnus.com>
2740 * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
2743 1998-04-07 Ulrich Drepper <drepper@cygnus.com>
2745 * configure.in: Recognize --with-headers flag and determine
2746 commandline options to be used in compilation.
2747 * Makeconfig (+includes): Use $(sysincludes).
2748 * config.make.in (sysincludes): Define from SYSINCLUDES.
2749 * glibcbug.in: Use SYSINCLUDES information.
2750 Patches by Zack Weinberg.
2752 1998-04-07 19:03 Zack Weinberg <zack@rabi.phys.columbia.edu>
2754 * glibcbug.in: On linux, report version of kernel headers seen
2757 1998-04-07 16:18 Ulrich Drepper <drepper@cygnus.com>
2759 * libc.map: Add __asprintf to GLIBC_2.1.
2760 * elf/dlerror.c: Use __asprintf, not asprintf.
2761 * libio/stdio.h: Declare __asprintf.
2762 * stdio-common/asprintf.c: Define as __asprintf and make asprintf
2765 * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
2766 to avoid inclusion from libc_pic.a.
2768 * elf/dl-runtime.c: Undo last patch.
2770 * stdlib/strtod.c: Don't use mbtowc, use btowc.
2772 * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
2773 as default, use NULL.
2775 1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2777 * resolv/Makefile: Include ../Makeconfig - needed for building
2780 1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2782 * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
2783 static-nss since we don't want hesiod in the static NSS.
2785 * nss/Makefile: Build only nss_files as static.
2787 * nss/function.def: Remove support for service db.
2789 1998-04-04 09:44 H.J. Lu <hjl@gnu.org>
2791 * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
2793 1998-04-04 18:29 Tim Waugh <tim@cyberelk.demon.co.uk>
2795 * posix/wordexp-test.c: Make IFS per test-case.
2797 1998-04-07 17:50 Zack Weinberg <zack@rabi.phys.columbia.edu>
2799 * glibcbug.in: Report version of gcc in use. Remove unused variable
2802 1998-04-07 Gordon Matzigkeit <gord@profitpress.com>
2804 * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
2805 `-print-file-name' to find as and ld.
2807 1998-04-07 Ulrich Drepper <drepper@cygnus.com>
2809 * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
2810 template is wrong. Remove unused varaible `ignored'.
2812 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2814 * libc.map: Export __libc_sa_len.
2816 * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
2818 1998-04-07 08:51 Ulrich Drepper <drepper@cygnus.com>
2820 * iconv/gconv.c: Take care for NULL arguments.
2821 * iconv/gconv_dl.c: Make find_func function global.
2822 * iconv/gconv_int.h: Add prototype for __gconv_find_func.
2823 Add prototypes for ASCII conversion functions.
2824 * iconv/gconv_simple.c: Add ASCII conversion functions.
2825 * locale/C-ctype.c: Correct charset name.
2827 * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
2828 (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
2830 * wcsmbs/btowc.c: Rewrite to use iconv functionality.
2831 * wcsmbs/mbrtowc.c: Likewise.
2832 * wcsmbs/mbsnrtowcs.c: Likewise.
2833 * wcsmbs/mbsrtowcs.c: Likewise.
2834 * wcsmbs/wcrtomb.c: Likewise.
2835 * wcsmbs/wcsnrtombs.c: Likewise.
2836 * wcsmbs/wcsrtombs.c: Likewise.
2837 * wcsmbs/wctob.c: Likewise.
2838 * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen. Remove
2839 prototypes for wmemr*.
2840 * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
2841 * wcsmbs/wcsnlen.c: New file.
2842 * wcsmbs/wcsmbsload.c: New file.
2843 * wcsmbs/wcsmbsload.h: New file.
2845 * manual/filesys.texi: Mention risks of tmpnam and mktemp.
2847 * manual/install.texi: Describe some more critical points.
2849 * string/string.h: Add prototype for __strnlen.
2850 * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
2852 * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
2853 much less predictable names.
2854 * sysdeps/posix/mkstemp.c: Likewise.
2856 1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2858 * manual/libc.texinfo (Top): Change "file namespace" to "local
2861 * manual/socket.texi: Change file namespace to local namespace.
2862 (Out-of-Band Data): Remove unneeded variable link.
2863 (Host Address Functions): Use uint32_t consequently and add a
2864 number of clarifications for IPv4/IPv6, classless addresses.
2865 (Internet Namespace): Added some paragraphs about IPv6.
2866 Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
2868 1998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
2870 Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
2872 * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
2873 (NI_NUMERICHOST, et al.): Tidy up and add comments.
2874 (AI_NUMERICHOST): Define.
2875 (getnodebyname): New prototype.
2876 (AI_V4MAPPED, et al.): New constants.
2878 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
2879 * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
2880 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
2882 * sysdeps/unix/sysv/linux/sa_len.c: New file.
2883 * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
2885 * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
2887 * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
2888 * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
2889 * socket/Makefile (headers): Add bits/sockunion.h.
2890 * socket/sys/socket.h: Include <bits/sockunion.h>
2891 * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
2892 <sys/socket.h>, to avoid getting sockaddr_union defined.
2893 * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
2894 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2895 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2897 * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
2898 (2.2.x kernels won't have it).
2900 1998-04-06 21:21 Ulrich Drepper <drepper@cygnus.com>
2902 * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
2903 * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
2904 * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
2905 Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
2907 1998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
2909 * manual/socket.texi (Socket Addresses): Fix a typo.
2910 (Interface Naming): New section.
2912 1998-04-05 23:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
2914 * configure.in: Check for CC using $ac_tool_prefix, to handle
2915 cross-compilation. Use AC_CHECK_TOOL to find MiG.
2916 * config.make.in: Add MIG to be substituted.
2917 * mach/Machrules: Don't define MIG variable.
2919 Patch by Gordon Matzigkeit <gord@profitpress.com>.
2921 1998-04-05 Mark Kettenis <kettenis@phys.uva.nl>
2923 * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
2924 strdupa to copy rpath.
2926 1998-04-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2928 * configure.in: Fix gcc version check.
2930 * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
2933 1998-03-31 Mark Kettenis <kettenis@phys.uva.nl>
2935 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
2938 * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
2940 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
2941 * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
2942 * sysdeps/unix/grantpt.c (grantpt): Change check of return value
2943 of __ptsname_r accordingly.
2944 * login/openpty.c (openpty): Likewise.
2946 1998-06-04 18:47 H.J. Lu <hjl@gnu.org>
2948 * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
2950 1998-04-06 13:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2952 * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
2954 * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
2956 1998-04-06 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2958 * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
2959 return value for better error checking.
2961 1998-04-06 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
2963 * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
2964 _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
2966 * elf/elf.h (EM_SPARC64): Remove.
2967 (EM_SPARC32PLUS, EM_SPARCV9): Add.
2968 (HWCAP_SPARC_V9): Add.
2970 * elf/ldsodefs.h (_dl_hwcap): Declare.
2971 * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
2972 Weaken so dlopen from static progies works.
2973 (WEAKADDR): New macro.
2974 (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
2975 (LD_SO_PRELOAD): New macro.
2976 (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
2977 (elf_machine_rela): Weaken _dl_rtld_map.
2979 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
2980 to __clone, and remove the later's alias.
2981 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2983 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
2984 the kernel's structure.
2986 * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
2987 Sparc needs a custom value of __KERNEL_NCCS.
2989 1998-04-06 Richard Henderson <rth@cygnus.com>
2991 * sysdeps/generic/libc-start.c: Allow init and fini to be null.
2993 * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
2994 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2996 1998-04-06 Richard Henderson <rth@cygnus.com>
2998 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
2999 as the buffer is not properly aligned.
3000 Reported by Juan Cespedes <cespedes@debian.org>.
3002 1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3004 * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
3007 1998-04-05 Ulrich Drepper <drepper@cygnus.com>
3009 * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
3010 and wc*tomb* functions.
3012 1998-04-04 15:16 Philip Blundell <Philip.Blundell@pobox.com>
3014 * sysdeps/unix/start.c: Fix typo.
3016 1998-04-04 Ulrich Drepper <drepper@cygnus.com>
3018 * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
3020 1998-04-03 23:38 Ulrich Drepper <drepper@cygnus.com>
3022 * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
3023 expressions and using array variables.
3024 * sysdeps/libm-ieee754/e_asin.c: Likewise.
3025 * sysdeps/libm-ieee754/e_j0.c: Likewise.
3026 * sysdeps/libm-ieee754/e_j1.c: Likewise.
3027 * sysdeps/libm-ieee754/e_log.c: Likewise.
3028 * sysdeps/libm-ieee754/e_pow.c: Likewise.
3029 * sysdeps/libm-ieee754/k_cos.c: Likewise.
3030 * sysdeps/libm-ieee754/k_sin.c: Likewise.
3031 * sysdeps/libm-ieee754/k_tan.c: Likewise.
3032 * sysdeps/libm-ieee754/s_atan.c: Likewise.
3033 * sysdeps/libm-ieee754/s_erf.c: Likewise.
3034 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
3035 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
3036 Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
3038 1998-04-03 23:17 Ulrich Drepper <drepper@cygnus.com>
3040 * iconv/gconv.c: Rewrite of the low-level of gconv.
3041 * iconv/gconv.h: Likewise.
3042 * iconv/gconv_builtin.h: Likewise.
3043 * iconv/gconv_close.c: Likewise.
3044 * iconv/gconv_db.: Likewise.
3045 * iconv/gconv_dl.c: Likewise.
3046 * iconv/gconv_int.h: Likewise.
3047 * iconv/gconv_open.c: Likewise.
3048 * iconv/gconv_simple.c: Likewise.
3049 * iconvdata/8bit-gap.c: Adapt for rewrite.
3050 * iconvdata/8bit-generic.c: Likewise.
3051 * iconvdata/euckr.c: Likewise.
3052 * iconvdata/iso646.c: Likewise.
3053 * iconvdata/iso6937.c: Likewise.
3054 * iconvdata/iso8859-1.c: Likewise.
3055 * iconvdata/johab.c: Likewise.
3056 * iconvdata/sjis.c: Likewise.
3057 * iconvdata/t61.c: Likewise.
3058 * iconvdata/uhc.c: Likewise.
3060 1998-04-03 15:34 Ulrich Drepper <drepper@cygnus.com>
3062 * iconv/gconv_int.h: New file. Internal header.
3063 * iconv/Makefile (distribute): Add gconv_int.h.
3064 * iconv/gconv.h: Remove definition which are now in gconv_int.h.
3065 * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
3066 * iconv/gconv_close.c: Likewise.
3067 * iconv/gconv_conf.c: Likewise.
3068 * iconv/gconv_db.c: Likewise.
3069 * iconv/gconv_dl.c: Likewise.
3070 * iconv/gconv_int.h: Likewise.
3071 * iconv/gconv_open.c: Likewise.
3072 * iconv/iconv.c: Likewise.
3073 * iconv/iconv_close.c: Likewise.
3074 * iconv/iconv_open.c: Likewise.
3075 * iconv/iconv_prog.c: Likewise.
3077 1998-04-03 Ulrich Drepper <drepper@cygnus.com>
3079 * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
3082 1998-04-03 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3084 * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
3086 1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
3088 Based on patch from Pat Beirne:
3089 * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
3090 PIC and non-PIC now. Correctly negate error number.
3091 (errno): Use `%' not `@' in .type directives.
3093 1998-04-03 Ulrich Drepper <drepper@cygnus.com>
3095 * sysdeps/i386/strtok.S: Change to use single exit point.
3096 * sysdeps/i386/i686/strtok.S: Likewise.
3098 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3100 * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
3103 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3105 * Makerules (installed-libcs): Fix typo.
3107 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3109 * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
3110 (UHC-routines): Remove ksc5601.
3112 1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
3114 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
3115 introduced in last change.
3117 1998-04-03 06:22 Ulrich Drepper <drepper@cygnus.com>
3119 * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
3122 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
3124 * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
3126 * stdlib/isomac.c: Use -isystem instead of -I for system include
3129 1998-03-30 08:05 H.J. Lu <hjl@gnu.org>
3131 * resolv/res_comp.c (underscorechar): New.
3132 (middlechar): Allow '_'.
3134 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
3136 * intl/explodename.c (stdlib.h): Include that file only if
3137 STDC_HEADERS or _LIBC.
3138 (string.h): Include that file only if HAVE_STRING_H or _LIBC.
3139 Patch by Philippe De Muyter <phdm@macqel.be>.
3141 1998-04-01 21:08 Zack Weinberg <zack@rabi.phys.columbia.edu>
3143 * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
3144 (AC_PROG_CHECK_VER): New macro.
3145 * configure.in: Use AC_PROG_CHECK_VER to check versions of
3146 gcc, gmake, msgfmt, makeinfo. Remove superfluous tests.
3148 1998-04-02 15:13 Ulrich Drepper <drepper@cygnus.com>
3150 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
3151 * sysdeps/i386/i686/strtok.S: New file
3152 * sysdeps/i386/i686/strtok_r.S: New file
3154 1998-04-02 Mark Kettenis <kettenis@phys.uva.nl>
3156 * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
3158 * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
3159 parameter as __off64_t instead of __off_t.
3160 (ftello): Make alias for ftello64 instead of ftello. Change
3161 return type to __off64_t.
3163 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
3165 * sysdeps/i386/bits/string.h: Fix various typos.
3166 Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
3168 * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
3170 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
3172 * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
3173 lchown syscall correctly. [PR libc/541].
3175 1998-04-02 11:45 Ulrich Drepper <drepper@cygnus.com>
3177 * localedata/Makefile: Correct testsuite rules.
3179 * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
3180 * iconvdata/iso646.c: Fix conversion from UCS4.
3182 * elf/ldsodefs.h: Mark internal function with internal_function.
3183 * elf/dl-addr.c: Likewise.
3184 * elf/dl-close.c: Likewise.
3185 * elf/dl-debug.c: Likewise.
3186 * elf/dl-deps.c: Likewise.
3187 * elf/dl-error.c: Likewise.
3188 * elf/dl-fini.c: Likewise.
3189 * elf/dl-init.c: Likewise.
3190 * elf/dl-load.c: Likewise.
3191 * elf/dl-lookup.c: Likewise.
3192 * elf/dl-object.c: Likewise.
3193 * elf/dl-open.c: Likewise.
3194 * elf/dl-profile.c: Likewise.
3195 * elf/dl-reloc.c: Likewise.
3196 * elf/dl-runtime.c: Likewise.
3197 * elf/dl-symbol.c: Likewise.
3198 * elf/dl-version.c: Likewise.
3199 * elf/dlerror.c: Likewise.
3200 * sysdeps/generic/dl-sysdep.c: Likewise.
3201 * sysdeps/i386/dl-machine.h: Likewise.
3202 * intl/finddomain.c: Likewise.
3203 * intl/gettextP.h: Likewise.
3204 * intl/loadmsgcat.c: Likewise.
3206 1998-04-01 17:38 Ulrich Drepper <drepper@cygnus.com>
3208 * iconv/gconv_simple.c: New builtins for UCS en/decoding.
3209 * iconv/gconv_builtin.h: Add definitions for new builtins.
3210 * iconv/gconv.h: Add prototypes for new builtins.
3212 * iconvdata/Makefile (modules): Add ISO646.
3213 Add rules for ISO646 module.
3214 (distribute): Add iso646.c.
3215 * iconvdata/gconv-modules: Add module and alias definition for
3217 * iconvdata/iso646.c: New file.
3219 1998-04-01 16:10 Ulrich Drepper <drepper@cygnus.com>
3221 * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
3222 * iconv/iconv_prog.c: Implement --list option to print available
3223 coded character sets.
3225 1998-04-01 18:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
3227 Make fread() read large blocks straight to the user buffer.
3229 * libio/fileops.c (_IO_file_xsgetn): New function.
3230 (_IO_file_jumps): Use it.
3231 * libio/libioP.h: Prototype it.
3233 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
3235 * iconv/gconv_conf.c (builtin_aliases): New variable.
3236 (__gconv_read_conf): Add builtin aliases.
3237 * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
3238 noop macro before including gconv_builtin.h.
3239 * iconv/gconv_builtin.h: Add alias names.
3241 * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
3242 number of converted bytes correctly.
3244 1998-04-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3246 * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
3247 we only wait for a replay.
3249 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
3251 * iconvdata/Makefile: Finally fix dependencies for JOHAB and
3254 1998-04-1 16:52 Philip Blundell <pb@nexus.co.uk>
3256 * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
3257 use PLTJMP() rather than explicit (PLT).
3259 * sysdeps/arm/elf/start.S: Leave most of the initialisation for
3260 __libc_start_main().
3262 Based on patch from Pat Beirne:
3263 * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
3264 Always define, not only #ifndef PIC.
3265 (DO_CALL): Pass fifth argument correctly in R4.
3266 (PSEUDO): Correct test for error, call syscall_error through PLT
3269 1998-03-31 10:51 Philip Blundell <pb@nexus.co.uk>
3271 * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
3274 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
3276 * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
3279 1998-04-01 13:20 Mark Kettenis <kettenis@phys.uva.nl>
3281 * io/Makefile (static-only-routines): Add stat64, fstat64 and
3284 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3286 * manual/Makefile: Use object-suffixes-for-libc instead of
3288 * rpm/Makefile (install-lib): Likewise.
3290 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3292 * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
3294 * sysdeps/unix/sysv/linux/configure.in: Match $machine against
3295 `m68*', not only `m68k'.
3297 1998-04-01 10:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3299 * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
3301 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
3304 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
3306 * iconvdata/Makefile: Use libKSC shared object in JOHAB and
3309 * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
3312 1998-03-30 08:43 H.J. Lu <hjl@gnu.org>
3314 * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
3317 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
3319 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
3321 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
3323 Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
3325 1998-03-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3327 * Makerules (install): Change comment for libc.so following the
3328 libc_nonshared changes.
3330 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
3332 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
3334 * iconvdata/gap.pl: Avoid using %#06x.
3336 1998-03-31 19:55 Zack Weinberg <zack@rabi.phys.columbia.edu>
3338 * Makerules: Use $? instead of S^ when invoking ar.
3340 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
3342 * db2/compat.h: Allow EFTYPE being defined.
3343 * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
3344 * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
3345 * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
3346 * sysdeps/mach/bits/libc-lock.h: Fix typo.
3347 (__libc_once): Correctly unlock semaphore.
3348 * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
3349 * sysdeps/unix/bsd/getpt.c: Fix typo.
3350 Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
3352 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
3354 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
3357 1998-03-31 18:11 Ulrich Drepper <drepper@cygnus.com>
3359 * include/mntent.h: New file.
3361 * elf/Makefile (trusted-dirs.h): Append slash to filename.
3362 * elf/dl-load.c: Rewrite search path handling.
3363 * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
3364 * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
3365 * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
3366 * elf/ldsodefs.h: Add prototype.
3368 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
3370 * nss/nsswitch.c (__nss_lookup): Adjust comment.
3372 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
3375 * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
3377 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
3379 (HWCAP_IMPORTANT): New definition.
3381 1998-03-30 17:26 H.J. Lu <hjl@gnu.org>
3383 * elf/dl-open.c (_dl_open): Fix a typo.
3384 (_dl_global_scope_alloc): Make it static.
3386 1998-03-30 17:20 Ulrich Drepper <drepper@cygnus.com>
3388 * Makerules: Remove duplicate rules to handle stamp.oS.
3390 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3392 * manual/examples/inetsrv.c (main): Change prototype of
3393 make_socket following change in mkisock.c.
3395 * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
3397 (main): Change prototype of init_sockaddr following change in
3400 * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
3401 * manual/examples/isockad.c (init_sockaddr): Likewise.
3403 * manual/examples/mkfsock.c (make_named_socket): Removed blank
3404 lines for clarification.
3405 (make_named_socket): Use strncpy instead of strcpy.
3406 Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
3408 1998-03-30 13:28 Ulrich Drepper <drepper@cygnus.com>
3410 * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
3411 determining libs to remove.
3412 (postclean): Add soversions.mk.
3413 * Makerules (common-mostlyclean): Add tests-static and generated
3416 1998-03-30 12:53 Ulrich Drepper <drepper@cygnus.com>
3418 * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
3420 (__strncat_g): Add i686 specific code.
3422 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3424 * manual/install.texi (Reporting Bugs): Ask to include section
3427 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3429 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
3430 guard against direct inclusion.
3432 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3434 Rework support for libc_nonshared.a:
3435 * Makeconfig (object-suffixes-for-libc): New variable.
3436 * Rules: Remove handling of static-only and shared-only routines.
3437 * Makerules: Handle them here instead. Use
3438 object-suffixes-for-libc instead of object-suffixes when dealing
3440 (object-suffixes-for-rules): Remove variable.
3441 (elide-routines.oS): Elide all routines except static-only
3443 ($(objpfx)stamp.oS): Special rule for when static-only-routines is
3445 (installed-libcs): Remove special case for .oS.
3448 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3450 * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
3451 do-tst-rpmatch): New targets.
3453 (install-locales): Ignore comment lines.
3455 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3457 * elf/Makefile ($(objpfx)ld.so): Depend on version script.
3458 ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
3459 ($(objpfx)rtldtbl.h): Likewise.
3460 (CPPFLAGS-dl-load.c): Fix reference to object directory.
3462 1998-03-30 09:36 Ulrich Drepper <drepper@cygnus.com>
3464 * manual/string.texi (Finding Tokens in a String): Extend strsep
3465 description and correct example.
3467 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3469 * manual/socket.texi: Remove misguided explicit line breaks and
3470 fix the formatting problem instead by reformulating the
3472 * manual/filesys.texi: Likewise.
3473 * manual/conf.texi: Likewise. Don't typeset table with index
3474 fonts, that looks worse than a minimally overfull line.
3476 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3478 * nscd/Makefile (nscd-modules): Move definition outside of
3481 * pwd/Makefile: Use have-thread-library to test for thread
3484 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3486 * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
3488 * iconvdata/uhc.c (gconv): Remove unused variable idx.
3490 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
3492 * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
3494 1998-03-29 Ulrich Drepper <drepper@cygnus.com>
3496 * nss/getXXent_r.c: Correctly handle failing setXXent function.
3498 * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
3499 Reported by Andreas Jaeger.
3501 1998-03-29 20:59 Ulrich Drepper <drepper@cygnus.com>
3503 * elf/Makefile: Fix typo.
3504 (distribute): Add dl-librecon.h.
3505 * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
3506 * elf/ldd.sh.in: Likewise.
3507 * elf/ldsodefs.h: Declare _dl_correct_cache_id.
3508 * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
3509 Use strsep correctly.
3510 (process_envvars): Allow platform specific variables.
3511 * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
3512 (_dl_load_cache_lookup): Test cache IDs found against
3513 _dl_correct_cache_id.
3514 * sysdeps/generic/dl-librecon.h: New file.
3515 * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
3517 * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
3519 1998-03-29 16:50 Ulrich Drepper <drepper@cygnus.com>
3521 * config.make.in (ldd-rewrite-script): New variable.
3522 * configure.in: Substitute ldd-rewrite-script.
3523 * elf/Makefile: Rewrite rules to generate ldd script.
3524 * elf/ldd.bash.in: Allow handling of non-ELF binaries.
3525 * elf/ldd.sh.in: Likewise.
3526 * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
3527 * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
3528 point to sed script for libc4 handling insertion for ix86, m68, SPARC.
3529 * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
3530 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
3532 1998-03-26 15:20 Zack Weinberg <zack@rabi.phys.columbia.edu>
3534 * inet/rcmd.c (iruserok): Remain setuid to the local user
3535 while .rhosts is actually read, to make .rhosts-over-NFS work
3536 (PR libc/524). Use iruserfopen() for security checks on both
3537 hosts.equiv and .rhosts. General cleanup.
3538 (iruserfopen): New function, performs careful checking on
3539 hosts.equiv/.rhosts files. Disallows all the old forbidden
3540 stuff plus hard links to files.
3542 1998-03-29 09:26 Ulrich Drepper <drepper@cygnus.com>
3544 * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
3546 * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
3548 1998-03-29 02:02 H.J. Lu <hjl@gnu.org>
3550 * sysdeps/i386/i486/bits/string.h: Fix typos.
3552 1998-03-28 00:13 H.J. Lu <hjl@gnu.org>
3554 * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
3557 * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
3559 * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
3560 Added. Used by libm.so on alpha.
3562 1998-03-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3564 * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
3567 1998-03-27 07:29 H.J. Lu <hjl@gnu.org>
3569 * Makerules (object-suffixes-for-rules): Add .oS only for
3570 building shared library.
3571 Add ranlib rule for nonshared library.
3574 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
3575 into for shared library only.
3576 (CPPFLAGS-.oS): Add -DPIC.
3577 (libtypes): Use $(object-suffixes-for-rules) instead of
3580 1998-03-28 Ulrich Drepper <drepper@cygnus.com>
3582 * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
3583 and install lddlibc4.
3585 1998-03-28 09:13 Zack Weinberg <zack@rabi.phys.columbia.edu>
3587 * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
3589 * iconvdata/gaptab.pl: Likewise.
3591 1998-03-27 22:46 Ulrich Drepper <drepper@cygnus.com>
3593 * Rules: Allow Makefiles to specify test-static for tests which
3594 cannot be linked dynamically.
3595 * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
3598 * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
3600 * misc/error.c: Pretty print.
3602 1998-03-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3604 * Makerules (libc_nonshared-name): Remove variable.
3605 (installed-libcs): Use libc-name instead.
3606 ($(inst_libdir)/libc.so): Likewise. Remove explicit reference to
3609 * Makeconfig (link-libc): Link against libc_nonshared.a instead&nb